compiler: improve escape analysis
[official-gcc.git] / libstdc++-v3 / configure
blobd126addd40a1156b894bf49b496e18fab37824d0
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 INCLUDE_DIR_NOTPARALLEL_FALSE
625 INCLUDE_DIR_NOTPARALLEL_TRUE
626 BUILD_PDF_FALSE
627 BUILD_PDF_TRUE
628 PDFLATEX
629 DBLATEX
630 BUILD_MAN_FALSE
631 BUILD_MAN_TRUE
632 BUILD_HTML_FALSE
633 BUILD_HTML_TRUE
634 BUILD_XML_FALSE
635 BUILD_XML_TRUE
636 BUILD_EPUB_FALSE
637 BUILD_EPUB_TRUE
638 XSL_STYLE_DIR
639 XMLLINT
640 XSLTPROC
642 DOXYGEN
643 BUILD_INFO_FALSE
644 BUILD_INFO_TRUE
645 ENABLE_FILESYSTEM_TS_FALSE
646 ENABLE_FILESYSTEM_TS_TRUE
647 baseline_subdir_switch
648 baseline_dir
649 HWCAP_CFLAGS
650 GLIBCXX_LDBL_COMPAT_FALSE
651 GLIBCXX_LDBL_COMPAT_TRUE
652 LONG_DOUBLE_COMPAT_FLAGS
653 ENABLE_CXX11_ABI_FALSE
654 ENABLE_CXX11_ABI_TRUE
655 glibcxx_cxx98_abi
656 ENABLE_DUAL_ABI_FALSE
657 ENABLE_DUAL_ABI_TRUE
658 ENABLE_VISIBILITY_FALSE
659 ENABLE_VISIBILITY_TRUE
660 libtool_VERSION
661 ENABLE_SYMVERS_SUN_FALSE
662 ENABLE_SYMVERS_SUN_TRUE
663 ENABLE_SYMVERS_DARWIN_FALSE
664 ENABLE_SYMVERS_DARWIN_TRUE
665 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
667 ENABLE_SYMVERS_GNU_FALSE
668 ENABLE_SYMVERS_GNU_TRUE
669 ENABLE_SYMVERS_FALSE
670 ENABLE_SYMVERS_TRUE
671 port_specific_symbol_files
672 SYMVER_FILE
673 CXXFILT
674 LTLIBICONV
675 LIBICONV
676 OPT_LDFLAGS
677 SECTION_LDFLAGS
678 GLIBCXX_LIBS
679 ENABLE_VTABLE_VERIFY_FALSE
680 ENABLE_VTABLE_VERIFY_TRUE
681 VTV_CYGMIN_FALSE
682 VTV_CYGMIN_TRUE
683 VTV_CXXLINKFLAGS
684 VTV_PCH_CXXFLAGS
685 VTV_CXXFLAGS
686 ENABLE_WERROR_FALSE
687 ENABLE_WERROR_TRUE
688 ENABLE_PYTHONDIR_FALSE
689 ENABLE_PYTHONDIR_TRUE
690 python_mod_dir
691 ENABLE_EXTERN_TEMPLATE_FALSE
692 ENABLE_EXTERN_TEMPLATE_TRUE
693 EXTRA_CXX_FLAGS
694 GLIBCXX_BUILD_DEBUG_FALSE
695 GLIBCXX_BUILD_DEBUG_TRUE
696 DEBUG_FLAGS
697 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
698 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
701 GLIBCXX_C_HEADERS_C_STD_FALSE
702 GLIBCXX_C_HEADERS_C_STD_TRUE
703 GLIBCXX_C_HEADERS_C_FALSE
704 GLIBCXX_C_HEADERS_C_TRUE
705 C_INCLUDE_DIR
706 ALLOCATOR_NAME
707 ALLOCATOR_H
708 ENABLE_ALLOCATOR_NEW_FALSE
709 ENABLE_ALLOCATOR_NEW_TRUE
710 CLOCALE_INTERNAL_H
711 CLOCALE_CC
712 CTIME_CC
713 CTIME_H
714 CNUMERIC_CC
715 CMONEY_CC
716 CMESSAGES_CC
717 CCTYPE_CC
718 CCOLLATE_CC
719 CCODECVT_CC
720 CMESSAGES_H
721 CLOCALE_H
722 USE_NLS
723 glibcxx_localedir
724 glibcxx_POFILES
725 glibcxx_MOFILES
726 check_msgfmt
727 BASIC_FILE_CC
728 BASIC_FILE_H
729 CSTDIO_H
730 SECTION_FLAGS
731 WERROR
732 ENABLE_FLOAT128_FALSE
733 ENABLE_FLOAT128_TRUE
734 thread_header
735 glibcxx_PCHFLAGS
736 GLIBCXX_BUILD_PCH_FALSE
737 GLIBCXX_BUILD_PCH_TRUE
738 GLIBCXX_HOSTED_FALSE
739 GLIBCXX_HOSTED_TRUE
740 glibcxx_compiler_shared_flag
741 glibcxx_compiler_pic_flag
742 glibcxx_lt_pic_flag
743 enable_static
744 enable_shared
745 lt_host_flags
746 CXXCPP
747 OTOOL64
748 OTOOL
749 LIPO
750 NMEDIT
751 DSYMUTIL
752 OBJDUMP
754 ac_ct_DUMPBIN
755 DUMPBIN
757 FGREP
759 LIBTOOL
760 EGREP
761 GREP
763 MAINT
764 MAINTAINER_MODE_FALSE
765 MAINTAINER_MODE_TRUE
766 RANLIB
769 LN_S
770 toplevel_srcdir
771 toplevel_builddir
772 glibcxx_srcdir
773 glibcxx_builddir
774 ac_ct_CXX
775 CXXFLAGS
777 OBJEXT
778 EXEEXT
779 ac_ct_CC
780 CPPFLAGS
781 LDFLAGS
782 CFLAGS
784 am__untar
785 am__tar
786 AMTAR
787 am__leading_dot
788 SET_MAKE
790 mkdir_p
791 MKDIR_P
792 INSTALL_STRIP_PROGRAM
793 STRIP
794 install_sh
795 MAKEINFO
796 AUTOHEADER
797 AUTOMAKE
798 AUTOCONF
799 ACLOCAL
800 VERSION
801 PACKAGE
802 CYGPATH_W
803 am__isrc
804 INSTALL_DATA
805 INSTALL_SCRIPT
806 INSTALL_PROGRAM
807 target_os
808 target_vendor
809 target_cpu
810 target
811 host_os
812 host_vendor
813 host_cpu
814 host
815 build_os
816 build_vendor
817 build_cpu
818 build
819 multi_basedir
820 target_alias
821 host_alias
822 build_alias
823 LIBS
824 ECHO_T
825 ECHO_N
826 ECHO_C
827 DEFS
828 mandir
829 localedir
830 libdir
831 psdir
832 pdfdir
833 dvidir
834 htmldir
835 infodir
836 docdir
837 oldincludedir
838 includedir
839 localstatedir
840 sharedstatedir
841 sysconfdir
842 datadir
843 datarootdir
844 libexecdir
845 sbindir
846 bindir
847 program_transform_name
848 prefix
849 exec_prefix
850 PACKAGE_URL
851 PACKAGE_BUGREPORT
852 PACKAGE_STRING
853 PACKAGE_VERSION
854 PACKAGE_TARNAME
855 PACKAGE_NAME
856 PATH_SEPARATOR
857 SHELL'
858 ac_subst_files=''
859 ac_user_opts='
860 enable_option_checking
861 enable_multilib
862 with_target_subdir
863 with_cross_host
864 with_newlib
865 enable_maintainer_mode
866 enable_shared
867 enable_static
868 with_pic
869 enable_fast_install
870 with_gnu_ld
871 enable_libtool_lock
872 enable_hosted_libstdcxx
873 enable_libstdcxx_verbose
874 enable_libstdcxx_pch
875 enable_cstdio
876 enable_clocale
877 enable_nls
878 enable_libstdcxx_allocator
879 enable_cheaders
880 enable_long_long
881 enable_wchar_t
882 enable_c99
883 enable_concept_checks
884 enable_libstdcxx_debug_flags
885 enable_libstdcxx_debug
886 enable_cxx_flags
887 enable_fully_dynamic_string
888 enable_extern_template
889 with_python_dir
890 enable_werror
891 enable_vtable_verify
892 enable_libstdcxx_time
893 enable_tls
894 enable_rpath
895 with_libiconv_prefix
896 with_system_libunwind
897 enable_linux_futex
898 enable_symvers
899 enable_libstdcxx_visibility
900 enable_libstdcxx_dual_abi
901 with_default_libstdcxx_abi
902 enable_libstdcxx_threads
903 enable_libstdcxx_filesystem_ts
904 enable_cet
905 with_gxx_include_dir
906 enable_version_specific_runtime_libs
907 with_gcc_major_version_only
909 ac_precious_vars='build_alias
910 host_alias
911 target_alias
913 CFLAGS
914 LDFLAGS
915 LIBS
916 CPPFLAGS
918 CXXFLAGS
921 CXXCPP
922 CXXFILT'
925 # Initialize some variables set by options.
926 ac_init_help=
927 ac_init_version=false
928 ac_unrecognized_opts=
929 ac_unrecognized_sep=
930 # The variables have the same names as the options, with
931 # dashes changed to underlines.
932 cache_file=/dev/null
933 exec_prefix=NONE
934 no_create=
935 no_recursion=
936 prefix=NONE
937 program_prefix=NONE
938 program_suffix=NONE
939 program_transform_name=s,x,x,
940 silent=
941 site=
942 srcdir=
943 verbose=
944 x_includes=NONE
945 x_libraries=NONE
947 # Installation directory options.
948 # These are left unexpanded so users can "make install exec_prefix=/foo"
949 # and all the variables that are supposed to be based on exec_prefix
950 # by default will actually change.
951 # Use braces instead of parens because sh, perl, etc. also accept them.
952 # (The list follows the same order as the GNU Coding Standards.)
953 bindir='${exec_prefix}/bin'
954 sbindir='${exec_prefix}/sbin'
955 libexecdir='${exec_prefix}/libexec'
956 datarootdir='${prefix}/share'
957 datadir='${datarootdir}'
958 sysconfdir='${prefix}/etc'
959 sharedstatedir='${prefix}/com'
960 localstatedir='${prefix}/var'
961 includedir='${prefix}/include'
962 oldincludedir='/usr/include'
963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
964 infodir='${datarootdir}/info'
965 htmldir='${docdir}'
966 dvidir='${docdir}'
967 pdfdir='${docdir}'
968 psdir='${docdir}'
969 libdir='${exec_prefix}/lib'
970 localedir='${datarootdir}/locale'
971 mandir='${datarootdir}/man'
973 ac_prev=
974 ac_dashdash=
975 for ac_option
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 eval $ac_prev=\$ac_option
980 ac_prev=
981 continue
984 case $ac_option in
985 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 *) ac_optarg=yes ;;
987 esac
989 # Accept the important Cygnus configure options, so we can diagnose typos.
991 case $ac_dashdash$ac_option in
993 ac_dashdash=yes ;;
995 -bindir | --bindir | --bindi | --bind | --bin | --bi)
996 ac_prev=bindir ;;
997 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
998 bindir=$ac_optarg ;;
1000 -build | --build | --buil | --bui | --bu)
1001 ac_prev=build_alias ;;
1002 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1003 build_alias=$ac_optarg ;;
1005 -cache-file | --cache-file | --cache-fil | --cache-fi \
1006 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1007 ac_prev=cache_file ;;
1008 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1009 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1010 cache_file=$ac_optarg ;;
1012 --config-cache | -C)
1013 cache_file=config.cache ;;
1015 -datadir | --datadir | --datadi | --datad)
1016 ac_prev=datadir ;;
1017 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1018 datadir=$ac_optarg ;;
1020 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1021 | --dataroo | --dataro | --datar)
1022 ac_prev=datarootdir ;;
1023 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1024 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1025 datarootdir=$ac_optarg ;;
1027 -disable-* | --disable-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error "invalid feature name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_$ac_useropt"
1037 "*) ;;
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1040 esac
1041 eval enable_$ac_useropt=no ;;
1043 -docdir | --docdir | --docdi | --doc | --do)
1044 ac_prev=docdir ;;
1045 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1046 docdir=$ac_optarg ;;
1048 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1049 ac_prev=dvidir ;;
1050 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1051 dvidir=$ac_optarg ;;
1053 -enable-* | --enable-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 as_fn_error "invalid feature name: $ac_useropt"
1058 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_$ac_useropt"
1063 "*) ;;
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065 ac_unrecognized_sep=', ';;
1066 esac
1067 eval enable_$ac_useropt=\$ac_optarg ;;
1069 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1070 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1071 | --exec | --exe | --ex)
1072 ac_prev=exec_prefix ;;
1073 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1074 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1075 | --exec=* | --exe=* | --ex=*)
1076 exec_prefix=$ac_optarg ;;
1078 -gas | --gas | --ga | --g)
1079 # Obsolete; use --with-gas.
1080 with_gas=yes ;;
1082 -help | --help | --hel | --he | -h)
1083 ac_init_help=long ;;
1084 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1085 ac_init_help=recursive ;;
1086 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1087 ac_init_help=short ;;
1089 -host | --host | --hos | --ho)
1090 ac_prev=host_alias ;;
1091 -host=* | --host=* | --hos=* | --ho=*)
1092 host_alias=$ac_optarg ;;
1094 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1095 ac_prev=htmldir ;;
1096 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1097 | --ht=*)
1098 htmldir=$ac_optarg ;;
1100 -includedir | --includedir | --includedi | --included | --include \
1101 | --includ | --inclu | --incl | --inc)
1102 ac_prev=includedir ;;
1103 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1104 | --includ=* | --inclu=* | --incl=* | --inc=*)
1105 includedir=$ac_optarg ;;
1107 -infodir | --infodir | --infodi | --infod | --info | --inf)
1108 ac_prev=infodir ;;
1109 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1110 infodir=$ac_optarg ;;
1112 -libdir | --libdir | --libdi | --libd)
1113 ac_prev=libdir ;;
1114 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1115 libdir=$ac_optarg ;;
1117 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1118 | --libexe | --libex | --libe)
1119 ac_prev=libexecdir ;;
1120 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1121 | --libexe=* | --libex=* | --libe=*)
1122 libexecdir=$ac_optarg ;;
1124 -localedir | --localedir | --localedi | --localed | --locale)
1125 ac_prev=localedir ;;
1126 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1127 localedir=$ac_optarg ;;
1129 -localstatedir | --localstatedir | --localstatedi | --localstated \
1130 | --localstate | --localstat | --localsta | --localst | --locals)
1131 ac_prev=localstatedir ;;
1132 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1133 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1134 localstatedir=$ac_optarg ;;
1136 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1137 ac_prev=mandir ;;
1138 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1139 mandir=$ac_optarg ;;
1141 -nfp | --nfp | --nf)
1142 # Obsolete; use --without-fp.
1143 with_fp=no ;;
1145 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1146 | --no-cr | --no-c | -n)
1147 no_create=yes ;;
1149 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1150 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1151 no_recursion=yes ;;
1153 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1154 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1155 | --oldin | --oldi | --old | --ol | --o)
1156 ac_prev=oldincludedir ;;
1157 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1158 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1159 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1160 oldincludedir=$ac_optarg ;;
1162 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1163 ac_prev=prefix ;;
1164 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1165 prefix=$ac_optarg ;;
1167 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1168 | --program-pre | --program-pr | --program-p)
1169 ac_prev=program_prefix ;;
1170 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1171 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1172 program_prefix=$ac_optarg ;;
1174 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1175 | --program-suf | --program-su | --program-s)
1176 ac_prev=program_suffix ;;
1177 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1178 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1179 program_suffix=$ac_optarg ;;
1181 -program-transform-name | --program-transform-name \
1182 | --program-transform-nam | --program-transform-na \
1183 | --program-transform-n | --program-transform- \
1184 | --program-transform | --program-transfor \
1185 | --program-transfo | --program-transf \
1186 | --program-trans | --program-tran \
1187 | --progr-tra | --program-tr | --program-t)
1188 ac_prev=program_transform_name ;;
1189 -program-transform-name=* | --program-transform-name=* \
1190 | --program-transform-nam=* | --program-transform-na=* \
1191 | --program-transform-n=* | --program-transform-=* \
1192 | --program-transform=* | --program-transfor=* \
1193 | --program-transfo=* | --program-transf=* \
1194 | --program-trans=* | --program-tran=* \
1195 | --progr-tra=* | --program-tr=* | --program-t=*)
1196 program_transform_name=$ac_optarg ;;
1198 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1199 ac_prev=pdfdir ;;
1200 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1201 pdfdir=$ac_optarg ;;
1203 -psdir | --psdir | --psdi | --psd | --ps)
1204 ac_prev=psdir ;;
1205 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1206 psdir=$ac_optarg ;;
1208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1209 | -silent | --silent | --silen | --sile | --sil)
1210 silent=yes ;;
1212 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1213 ac_prev=sbindir ;;
1214 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1215 | --sbi=* | --sb=*)
1216 sbindir=$ac_optarg ;;
1218 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1219 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1220 | --sharedst | --shareds | --shared | --share | --shar \
1221 | --sha | --sh)
1222 ac_prev=sharedstatedir ;;
1223 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1224 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1225 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1226 | --sha=* | --sh=*)
1227 sharedstatedir=$ac_optarg ;;
1229 -site | --site | --sit)
1230 ac_prev=site ;;
1231 -site=* | --site=* | --sit=*)
1232 site=$ac_optarg ;;
1234 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1235 ac_prev=srcdir ;;
1236 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1237 srcdir=$ac_optarg ;;
1239 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1240 | --syscon | --sysco | --sysc | --sys | --sy)
1241 ac_prev=sysconfdir ;;
1242 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1243 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1244 sysconfdir=$ac_optarg ;;
1246 -target | --target | --targe | --targ | --tar | --ta | --t)
1247 ac_prev=target_alias ;;
1248 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1249 target_alias=$ac_optarg ;;
1251 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1252 verbose=yes ;;
1254 -version | --version | --versio | --versi | --vers | -V)
1255 ac_init_version=: ;;
1257 -with-* | --with-*)
1258 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261 as_fn_error "invalid package name: $ac_useropt"
1262 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1266 "with_$ac_useropt"
1267 "*) ;;
1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep=', ';;
1270 esac
1271 eval with_$ac_useropt=\$ac_optarg ;;
1273 -without-* | --without-*)
1274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277 as_fn_error "invalid package name: $ac_useropt"
1278 ac_useropt_orig=$ac_useropt
1279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1282 "with_$ac_useropt"
1283 "*) ;;
1284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1285 ac_unrecognized_sep=', ';;
1286 esac
1287 eval with_$ac_useropt=no ;;
1289 --x)
1290 # Obsolete; use --with-x.
1291 with_x=yes ;;
1293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1294 | --x-incl | --x-inc | --x-in | --x-i)
1295 ac_prev=x_includes ;;
1296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1298 x_includes=$ac_optarg ;;
1300 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1302 ac_prev=x_libraries ;;
1303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1305 x_libraries=$ac_optarg ;;
1307 -*) as_fn_error "unrecognized option: \`$ac_option'
1308 Try \`$0 --help' for more information."
1311 *=*)
1312 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1313 # Reject names that are not valid shell variable names.
1314 case $ac_envvar in #(
1315 '' | [0-9]* | *[!_$as_cr_alnum]* )
1316 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1317 esac
1318 eval $ac_envvar=\$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1329 esac
1330 done
1332 if test -n "$ac_prev"; then
1333 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1334 as_fn_error "missing argument to $ac_option"
1337 if test -n "$ac_unrecognized_opts"; then
1338 case $enable_option_checking in
1339 no) ;;
1340 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342 esac
1345 # Check all directory arguments for consistency.
1346 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347 datadir sysconfdir sharedstatedir localstatedir includedir \
1348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349 libdir localedir mandir
1351 eval ac_val=\$$ac_var
1352 # Remove trailing slashes.
1353 case $ac_val in
1354 */ )
1355 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1356 eval $ac_var=\$ac_val;;
1357 esac
1358 # Be sure to have absolute directory names.
1359 case $ac_val in
1360 [\\/$]* | ?:[\\/]* ) continue;;
1361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1362 esac
1363 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1364 done
1366 # There might be people who depend on the old broken behavior: `$host'
1367 # used to hold the argument of --host etc.
1368 # FIXME: To remove some day.
1369 build=$build_alias
1370 host=$host_alias
1371 target=$target_alias
1373 # FIXME: To remove some day.
1374 if test "x$host_alias" != x; then
1375 if test "x$build_alias" = x; then
1376 cross_compiling=maybe
1377 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1378 If a cross compiler is detected then cross compile mode will be used." >&2
1379 elif test "x$build_alias" != "x$host_alias"; then
1380 cross_compiling=yes
1384 ac_tool_prefix=
1385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1387 test "$silent" = yes && exec 6>/dev/null
1390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di=`ls -di .` &&
1392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1393 as_fn_error "working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395 as_fn_error "pwd does not report name of working directory"
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1409 s//\1/
1412 /^X\(\/\/\)[^/].*/{
1413 s//\1/
1416 /^X\(\/\/\)$/{
1417 s//\1/
1420 /^X\(\/\).*/{
1421 s//\1/
1424 s/.*/./; q'`
1425 srcdir=$ac_confdir
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1427 srcdir=..
1429 else
1430 ac_srcdir_defaulted=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 ac_abs_confdir=`(
1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1439 pwd)`
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1442 srcdir=.
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1447 case $srcdir in
1448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 esac
1450 for ac_var in $ac_precious_vars; do
1451 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_${ac_var}_value=\$${ac_var}
1453 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1455 done
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1463 cat <<_ACEOF
1464 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1473 Configuration:
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1488 [PREFIX]
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1517 _ACEOF
1519 cat <<\_ACEOF
1521 Program names:
1522 --program-prefix=PREFIX prepend PREFIX to installed program names
1523 --program-suffix=SUFFIX append SUFFIX to installed program names
1524 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1526 System types:
1527 --build=BUILD configure for building on BUILD [guessed]
1528 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1529 --target=TARGET configure for building compilers for TARGET [HOST]
1530 _ACEOF
1533 if test -n "$ac_init_help"; then
1534 case $ac_init_help in
1535 short | recursive ) echo "Configuration of package-unused version-unused:";;
1536 esac
1537 cat <<\_ACEOF
1539 Optional Features:
1540 --disable-option-checking ignore unrecognized --enable/--with options
1541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1543 --enable-multilib build many library versions (default)
1544 --enable-maintainer-mode enable make rules and dependencies not useful
1545 (and sometimes confusing) to the casual installer
1546 --enable-shared[=PKGS] build shared libraries [default=yes]
1547 --enable-static[=PKGS] build static libraries [default=yes]
1548 --enable-fast-install[=PKGS]
1549 optimize for fast installation [default=yes]
1550 --disable-libtool-lock avoid locking (might break parallel builds)
1551 --disable-hosted-libstdcxx
1552 only build freestanding C++ runtime support
1553 --disable-libstdcxx-verbose
1554 disable termination messages to standard error
1555 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1556 [default=$is_hosted]
1557 --enable-cstdio[=PACKAGE]
1558 use target-specific I/O package [default=stdio]
1559 --enable-clocale[=MODEL]
1560 use MODEL for target locale package [default=auto]
1561 --enable-nls use Native Language Support (default)
1562 --enable-libstdcxx-allocator[=KIND]
1563 use KIND for target std::allocator base
1564 [default=auto]
1565 --enable-cheaders[=KIND]
1566 construct "C" headers for g++ [default=$c_model]
1567 --enable-long-long enable template specializations for 'long long'
1568 [default=yes]
1569 --enable-wchar_t enable template specializations for 'wchar_t'
1570 [default=yes]
1571 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1572 --enable-concept-checks use Boost-derived template checks [default=no]
1573 --enable-libstdcxx-debug-flags=FLAGS
1574 pass compiler FLAGS when building debug library
1575 [default="-gdwarf-4 -g3 -O0"]
1576 --enable-libstdcxx-debug
1577 build extra debug library [default=no]
1578 --enable-cxx-flags=FLAGS
1579 pass compiler FLAGS when building library [default=]
1580 --enable-fully-dynamic-string
1581 do not put empty strings in per-process static
1582 memory [default=no]
1583 --enable-extern-template
1584 enable extern template [default=yes]
1585 --enable-werror turns on -Werror [default=yes]
1586 --enable-vtable-verify enable vtable verify [default=no]
1587 --enable-libstdcxx-time[=KIND]
1588 use KIND for check type [default=auto]
1589 --enable-tls Use thread-local storage [default=yes]
1590 --disable-rpath do not hardcode runtime library paths
1591 --enable-linux-futex use the Linux futex system call [default=default]
1592 --enable-symvers[=STYLE]
1593 enables symbol versioning of the shared library
1594 [default=yes]
1595 --enable-libstdcxx-visibility
1596 enables visibility safe usage [default=yes]
1597 --enable-libstdcxx-dual-abi
1598 support two versions of std::string [default=yes]
1599 --enable-libstdcxx-threads
1600 enable C++11 threads support [default=auto]
1601 --enable-libstdcxx-filesystem-ts
1602 turns on ISO/IEC TS 18822 support [default=auto]
1603 --enable-cet enable Intel CET in target libraries [default=no]
1604 --enable-version-specific-runtime-libs
1605 Specify that runtime libraries should be installed
1606 in a compiler-specific directory
1608 Optional Packages:
1609 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1610 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1611 --with-target-subdir=SUBDIR
1612 configuring in a subdirectory
1613 --with-cross-host=HOST configuring with a cross compiler
1614 --with-newlib assume newlib as a system C library
1615 --with-pic try to use only PIC/non-PIC objects [default=use
1616 both]
1617 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1618 --with-python-dir the location to install Python modules. This path is
1619 relative starting from the prefix.
1620 --with-gnu-ld assume the C compiler uses GNU ld default=no
1621 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1622 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1623 --with-system-libunwind use installed libunwind
1624 --with-default-libstdcxx-abi
1625 set the std::string ABI to use by default
1626 --with-gxx-include-dir=DIR
1627 installation directory for include files
1628 --with-gcc-major-version-only
1629 use only GCC major number in filesystem paths
1631 Some influential environment variables:
1632 CC C compiler command
1633 CFLAGS C compiler flags
1634 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1635 nonstandard directory <lib dir>
1636 LIBS libraries to pass to the linker, e.g. -l<library>
1637 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1638 you have headers in a nonstandard directory <include dir>
1639 CXX C++ compiler command
1640 CXXFLAGS C++ compiler flags
1641 CPP C preprocessor
1642 CXXCPP C++ preprocessor
1643 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1644 `c++filt', `gc++filt' on PATH.
1646 Use these variables to override the choices made by `configure' or to help
1647 it to find libraries and programs with nonstandard names/locations.
1649 Report bugs to the package provider.
1650 _ACEOF
1651 ac_status=$?
1654 if test "$ac_init_help" = "recursive"; then
1655 # If there are subdirs, report their specific --help.
1656 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1657 test -d "$ac_dir" ||
1658 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1659 continue
1660 ac_builddir=.
1662 case "$ac_dir" in
1663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1665 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1666 # A ".." for each directory in $ac_dir_suffix.
1667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1668 case $ac_top_builddir_sub in
1669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1671 esac ;;
1672 esac
1673 ac_abs_top_builddir=$ac_pwd
1674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1675 # for backward compatibility:
1676 ac_top_builddir=$ac_top_build_prefix
1678 case $srcdir in
1679 .) # We are building in place.
1680 ac_srcdir=.
1681 ac_top_srcdir=$ac_top_builddir_sub
1682 ac_abs_top_srcdir=$ac_pwd ;;
1683 [\\/]* | ?:[\\/]* ) # Absolute name.
1684 ac_srcdir=$srcdir$ac_dir_suffix;
1685 ac_top_srcdir=$srcdir
1686 ac_abs_top_srcdir=$srcdir ;;
1687 *) # Relative name.
1688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1689 ac_top_srcdir=$ac_top_build_prefix$srcdir
1690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1691 esac
1692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1694 cd "$ac_dir" || { ac_status=$?; continue; }
1695 # Check for guested configure.
1696 if test -f "$ac_srcdir/configure.gnu"; then
1697 echo &&
1698 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1699 elif test -f "$ac_srcdir/configure"; then
1700 echo &&
1701 $SHELL "$ac_srcdir/configure" --help=recursive
1702 else
1703 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1704 fi || ac_status=$?
1705 cd "$ac_pwd" || { ac_status=$?; break; }
1706 done
1709 test -n "$ac_init_help" && exit $ac_status
1710 if $ac_init_version; then
1711 cat <<\_ACEOF
1712 package-unused configure version-unused
1713 generated by GNU Autoconf 2.64
1715 Copyright (C) 2009 Free Software Foundation, Inc.
1716 This configure script is free software; the Free Software Foundation
1717 gives unlimited permission to copy, distribute and modify it.
1718 _ACEOF
1719 exit
1722 ## ------------------------ ##
1723 ## Autoconf initialization. ##
1724 ## ------------------------ ##
1726 # ac_fn_c_try_compile LINENO
1727 # --------------------------
1728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1729 ac_fn_c_try_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext
1733 if { { ac_try="$ac_compile"
1734 case "(($ac_try" in
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1737 esac
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_compile") 2>conftest.err
1741 ac_status=$?
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest.$ac_objext; then :
1752 ac_retval=0
1753 else
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1757 ac_retval=1
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 return $ac_retval
1762 } # ac_fn_c_try_compile
1764 # ac_fn_cxx_try_compile LINENO
1765 # ----------------------------
1766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1767 ac_fn_cxx_try_compile ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext
1771 if { { ac_try="$ac_compile"
1772 case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_compile") 2>conftest.err
1779 ac_status=$?
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_cxx_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest.$ac_objext; then :
1790 ac_retval=0
1791 else
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1795 ac_retval=1
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798 return $ac_retval
1800 } # ac_fn_cxx_try_compile
1802 # ac_fn_c_try_cpp LINENO
1803 # ----------------------
1804 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1805 ac_fn_c_try_cpp ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 if { { ac_try="$ac_cpp conftest.$ac_ext"
1809 case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1816 ac_status=$?
1817 if test -s conftest.err; then
1818 grep -v '^ *+' conftest.err >conftest.er1
1819 cat conftest.er1 >&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } >/dev/null && {
1824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1825 test ! -s conftest.err
1826 }; then :
1827 ac_retval=0
1828 else
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=1
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835 return $ac_retval
1837 } # ac_fn_c_try_cpp
1839 # ac_fn_c_try_link LINENO
1840 # -----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded.
1842 ac_fn_c_try_link ()
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 rm -f conftest.$ac_objext conftest$ac_exeext
1846 if { { ac_try="$ac_link"
1847 case "(($ac_try" in
1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1850 esac
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>conftest.err
1854 ac_status=$?
1855 if test -s conftest.err; then
1856 grep -v '^ *+' conftest.err >conftest.er1
1857 cat conftest.er1 >&5
1858 mv -f conftest.er1 conftest.err
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && {
1862 test -z "$ac_c_werror_flag" ||
1863 test ! -s conftest.err
1864 } && test -s conftest$ac_exeext && {
1865 test "$cross_compiling" = yes ||
1866 $as_test_x conftest$ac_exeext
1867 }; then :
1868 ac_retval=0
1869 else
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1873 ac_retval=1
1875 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1876 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1877 # interfere with the next link command; also delete a directory that is
1878 # left behind by Apple's compiler. We do this before executing the actions.
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 return $ac_retval
1883 } # ac_fn_c_try_link
1885 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1886 # -------------------------------------------------------
1887 # Tests whether HEADER exists and can be compiled using the include files in
1888 # INCLUDES, setting the cache variable VAR accordingly.
1889 ac_fn_c_check_header_compile ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895 $as_echo_n "(cached) " >&6
1896 else
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1900 #include <$2>
1901 _ACEOF
1902 if ac_fn_c_try_compile "$LINENO"; then :
1903 eval "$3=yes"
1904 else
1905 eval "$3=no"
1907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 eval ac_res=\$$3
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 } # ac_fn_c_check_header_compile
1916 # ac_fn_c_try_run LINENO
1917 # ----------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1919 # that executables *can* be run.
1920 ac_fn_c_try_run ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 if { { ac_try="$ac_link"
1924 case "(($ac_try" in
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>&5
1931 ac_status=$?
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1934 { { case "(($ac_try" in
1935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1936 *) ac_try_echo=$ac_try;;
1937 esac
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_try") 2>&5
1941 ac_status=$?
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; }; }; then :
1944 ac_retval=0
1945 else
1946 $as_echo "$as_me: program exited with status $ac_status" >&5
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1950 ac_retval=$ac_status
1952 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1953 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1954 return $ac_retval
1956 } # ac_fn_c_try_run
1958 # ac_fn_c_check_func LINENO FUNC VAR
1959 # ----------------------------------
1960 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1961 ac_fn_c_check_func ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 if test x$gcc_no_link = xyes; then
1970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1974 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1976 #define $2 innocuous_$2
1978 /* System header to define __stub macros and hopefully few prototypes,
1979 which can conflict with char $2 (); below.
1980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1981 <limits.h> exists even on freestanding compilers. */
1983 #ifdef __STDC__
1984 # include <limits.h>
1985 #else
1986 # include <assert.h>
1987 #endif
1989 #undef $2
1991 /* Override any GCC internal prototype to avoid an error.
1992 Use char because int might match the return type of a GCC
1993 builtin and then its argument prototype would still apply. */
1994 #ifdef __cplusplus
1995 extern "C"
1996 #endif
1997 char $2 ();
1998 /* The GNU C library defines this for functions which it implements
1999 to always fail with ENOSYS. Some functions are actually named
2000 something starting with __ and the normal name is an alias. */
2001 #if defined __stub_$2 || defined __stub___$2
2002 choke me
2003 #endif
2006 main ()
2008 return $2 ();
2010 return 0;
2012 _ACEOF
2013 if ac_fn_c_try_link "$LINENO"; then :
2014 eval "$3=yes"
2015 else
2016 eval "$3=no"
2018 rm -f core conftest.err conftest.$ac_objext \
2019 conftest$ac_exeext conftest.$ac_ext
2021 eval ac_res=\$$3
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 } # ac_fn_c_check_func
2028 # ac_fn_cxx_try_cpp LINENO
2029 # ------------------------
2030 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2031 ac_fn_cxx_try_cpp ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 if { { ac_try="$ac_cpp conftest.$ac_ext"
2035 case "(($ac_try" in
2036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037 *) ac_try_echo=$ac_try;;
2038 esac
2039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2042 ac_status=$?
2043 if test -s conftest.err; then
2044 grep -v '^ *+' conftest.err >conftest.er1
2045 cat conftest.er1 >&5
2046 mv -f conftest.er1 conftest.err
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } >/dev/null && {
2050 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 }; then :
2053 ac_retval=0
2054 else
2055 $as_echo "$as_me: failed program was:" >&5
2056 sed 's/^/| /' conftest.$ac_ext >&5
2058 ac_retval=1
2060 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2061 return $ac_retval
2063 } # ac_fn_cxx_try_cpp
2065 # ac_fn_cxx_try_link LINENO
2066 # -------------------------
2067 # Try to link conftest.$ac_ext, and return whether this succeeded.
2068 ac_fn_cxx_try_link ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 rm -f conftest.$ac_objext conftest$ac_exeext
2072 if { { ac_try="$ac_link"
2073 case "(($ac_try" in
2074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2075 *) ac_try_echo=$ac_try;;
2076 esac
2077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2078 $as_echo "$ac_try_echo"; } >&5
2079 (eval "$ac_link") 2>conftest.err
2080 ac_status=$?
2081 if test -s conftest.err; then
2082 grep -v '^ *+' conftest.err >conftest.er1
2083 cat conftest.er1 >&5
2084 mv -f conftest.er1 conftest.err
2086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2087 test $ac_status = 0; } && {
2088 test -z "$ac_cxx_werror_flag" ||
2089 test ! -s conftest.err
2090 } && test -s conftest$ac_exeext && {
2091 test "$cross_compiling" = yes ||
2092 $as_test_x conftest$ac_exeext
2093 }; then :
2094 ac_retval=0
2095 else
2096 $as_echo "$as_me: failed program was:" >&5
2097 sed 's/^/| /' conftest.$ac_ext >&5
2099 ac_retval=1
2101 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2102 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2103 # interfere with the next link command; also delete a directory that is
2104 # left behind by Apple's compiler. We do this before executing the actions.
2105 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2106 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 return $ac_retval
2109 } # ac_fn_cxx_try_link
2111 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2112 # -------------------------------------------------------
2113 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114 # the include files in INCLUDES and setting the cache variable VAR
2115 # accordingly.
2116 ac_fn_c_check_header_mongrel ()
2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2123 $as_echo_n "(cached) " >&6
2125 eval ac_res=\$$3
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 else
2129 # Is the header compilable?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131 $as_echo_n "checking $2 usability... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2135 #include <$2>
2136 _ACEOF
2137 if ac_fn_c_try_compile "$LINENO"; then :
2138 ac_header_compiler=yes
2139 else
2140 ac_header_compiler=no
2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144 $as_echo "$ac_header_compiler" >&6; }
2146 # Is the header present?
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148 $as_echo_n "checking $2 presence... " >&6; }
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2151 #include <$2>
2152 _ACEOF
2153 if ac_fn_c_try_cpp "$LINENO"; then :
2154 ac_header_preproc=yes
2155 else
2156 ac_header_preproc=no
2158 rm -f conftest.err conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160 $as_echo "$ac_header_preproc" >&6; }
2162 # So? What about this header?
2163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2164 yes:no: )
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 no:yes:* )
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2182 esac
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2184 $as_echo_n "checking for $2... " >&6; }
2185 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2186 $as_echo_n "(cached) " >&6
2187 else
2188 eval "$3=\$ac_header_compiler"
2190 eval ac_res=\$$3
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2192 $as_echo "$ac_res" >&6; }
2194 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2196 } # ac_fn_c_check_header_mongrel
2198 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2199 # ---------------------------------------------------------
2200 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2201 # the include files in INCLUDES and setting the cache variable VAR
2202 # accordingly.
2203 ac_fn_cxx_check_header_mongrel ()
2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2208 $as_echo_n "checking for $2... " >&6; }
2209 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2210 $as_echo_n "(cached) " >&6
2212 eval ac_res=\$$3
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2214 $as_echo "$ac_res" >&6; }
2215 else
2216 # Is the header compilable?
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2218 $as_echo_n "checking $2 usability... " >&6; }
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2222 #include <$2>
2223 _ACEOF
2224 if ac_fn_cxx_try_compile "$LINENO"; then :
2225 ac_header_compiler=yes
2226 else
2227 ac_header_compiler=no
2229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2231 $as_echo "$ac_header_compiler" >&6; }
2233 # Is the header present?
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2235 $as_echo_n "checking $2 presence... " >&6; }
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2238 #include <$2>
2239 _ACEOF
2240 if ac_fn_cxx_try_cpp "$LINENO"; then :
2241 ac_header_preproc=yes
2242 else
2243 ac_header_preproc=no
2245 rm -f conftest.err conftest.$ac_ext
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2247 $as_echo "$ac_header_preproc" >&6; }
2249 # So? What about this header?
2250 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2251 yes:no: )
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2253 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 no:yes:* )
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2259 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2261 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2263 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2265 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2267 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2269 esac
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2271 $as_echo_n "checking for $2... " >&6; }
2272 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2273 $as_echo_n "(cached) " >&6
2274 else
2275 eval "$3=\$ac_header_compiler"
2277 eval ac_res=\$$3
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2279 $as_echo "$ac_res" >&6; }
2281 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2283 } # ac_fn_cxx_check_header_mongrel
2285 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2286 # --------------------------------------------
2287 # Tries to find the compile-time value of EXPR in a program that includes
2288 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2289 # computed
2290 ac_fn_c_compute_int ()
2292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293 if test "$cross_compiling" = yes; then
2294 # Depending upon the size, compute the lo and hi bounds.
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2299 main ()
2301 static int test_array [1 - 2 * !(($2) >= 0)];
2302 test_array [0] = 0
2305 return 0;
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_lo=0 ac_mid=0
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2315 main ()
2317 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2318 test_array [0] = 0
2321 return 0;
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_hi=$ac_mid; break
2326 else
2327 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2328 if test $ac_lo -le $ac_mid; then
2329 ac_lo= ac_hi=
2330 break
2332 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2341 main ()
2343 static int test_array [1 - 2 * !(($2) < 0)];
2344 test_array [0] = 0
2347 return 0;
2349 _ACEOF
2350 if ac_fn_c_try_compile "$LINENO"; then :
2351 ac_hi=-1 ac_mid=-1
2352 while :; do
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2357 main ()
2359 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2360 test_array [0] = 0
2363 return 0;
2365 _ACEOF
2366 if ac_fn_c_try_compile "$LINENO"; then :
2367 ac_lo=$ac_mid; break
2368 else
2369 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2370 if test $ac_mid -le $ac_hi; then
2371 ac_lo= ac_hi=
2372 break
2374 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 done
2378 else
2379 ac_lo= ac_hi=
2381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384 # Binary search between lo and hi bounds.
2385 while test "x$ac_lo" != "x$ac_hi"; do
2386 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2391 main ()
2393 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2394 test_array [0] = 0
2397 return 0;
2399 _ACEOF
2400 if ac_fn_c_try_compile "$LINENO"; then :
2401 ac_hi=$ac_mid
2402 else
2403 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2406 done
2407 case $ac_lo in #((
2408 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2409 '') ac_retval=1 ;;
2410 esac
2411 else
2412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413 /* end confdefs.h. */
2415 static long int longval () { return $2; }
2416 static unsigned long int ulongval () { return $2; }
2417 #include <stdio.h>
2418 #include <stdlib.h>
2420 main ()
2423 FILE *f = fopen ("conftest.val", "w");
2424 if (! f)
2425 return 1;
2426 if (($2) < 0)
2428 long int i = longval ();
2429 if (i != ($2))
2430 return 1;
2431 fprintf (f, "%ld", i);
2433 else
2435 unsigned long int i = ulongval ();
2436 if (i != ($2))
2437 return 1;
2438 fprintf (f, "%lu", i);
2440 /* Do not output a trailing newline, as this causes \r\n confusion
2441 on some platforms. */
2442 return ferror (f) || fclose (f) != 0;
2445 return 0;
2447 _ACEOF
2448 if ac_fn_c_try_run "$LINENO"; then :
2449 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2450 else
2451 ac_retval=1
2453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2454 conftest.$ac_objext conftest.beam conftest.$ac_ext
2455 rm -f conftest.val
2458 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2459 return $ac_retval
2461 } # ac_fn_c_compute_int
2463 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2464 # -------------------------------------------
2465 # Tests whether TYPE exists after having included INCLUDES, setting cache
2466 # variable VAR accordingly.
2467 ac_fn_c_check_type ()
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2471 $as_echo_n "checking for $2... " >&6; }
2472 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2473 $as_echo_n "(cached) " >&6
2474 else
2475 eval "$3=no"
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2480 main ()
2482 if (sizeof ($2))
2483 return 0;
2485 return 0;
2487 _ACEOF
2488 if ac_fn_c_try_compile "$LINENO"; then :
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2493 main ()
2495 if (sizeof (($2)))
2496 return 0;
2498 return 0;
2500 _ACEOF
2501 if ac_fn_c_try_compile "$LINENO"; then :
2503 else
2504 eval "$3=yes"
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 eval ac_res=\$$3
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2512 $as_echo "$ac_res" >&6; }
2513 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2515 } # ac_fn_c_check_type
2517 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2518 # ---------------------------------------------
2519 # Tests whether TYPE exists after having included INCLUDES, setting cache
2520 # variable VAR accordingly.
2521 ac_fn_cxx_check_type ()
2523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2525 $as_echo_n "checking for $2... " >&6; }
2526 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 eval "$3=no"
2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531 /* end confdefs.h. */
2534 main ()
2536 if (sizeof ($2))
2537 return 0;
2539 return 0;
2541 _ACEOF
2542 if ac_fn_cxx_try_compile "$LINENO"; then :
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2547 main ()
2549 if (sizeof (($2)))
2550 return 0;
2552 return 0;
2554 _ACEOF
2555 if ac_fn_cxx_try_compile "$LINENO"; then :
2557 else
2558 eval "$3=yes"
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564 eval ac_res=\$$3
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2566 $as_echo "$ac_res" >&6; }
2567 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2569 } # ac_fn_cxx_check_type
2570 cat >config.log <<_ACEOF
2571 This file contains any messages produced by compilers while
2572 running configure, to aid debugging if configure makes a mistake.
2574 It was created by package-unused $as_me version-unused, which was
2575 generated by GNU Autoconf 2.64. Invocation command line was
2577 $ $0 $@
2579 _ACEOF
2580 exec 5>>config.log
2582 cat <<_ASUNAME
2583 ## --------- ##
2584 ## Platform. ##
2585 ## --------- ##
2587 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2588 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2589 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2590 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2591 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2593 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2594 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2596 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2597 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2598 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2599 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2600 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2601 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2602 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2604 _ASUNAME
2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 for as_dir in $PATH
2609 IFS=$as_save_IFS
2610 test -z "$as_dir" && as_dir=.
2611 $as_echo "PATH: $as_dir"
2612 done
2613 IFS=$as_save_IFS
2615 } >&5
2617 cat >&5 <<_ACEOF
2620 ## ----------- ##
2621 ## Core tests. ##
2622 ## ----------- ##
2624 _ACEOF
2627 # Keep a trace of the command line.
2628 # Strip out --no-create and --no-recursion so they do not pile up.
2629 # Strip out --silent because we don't want to record it for future runs.
2630 # Also quote any args containing shell meta-characters.
2631 # Make two passes to allow for proper duplicate-argument suppression.
2632 ac_configure_args=
2633 ac_configure_args0=
2634 ac_configure_args1=
2635 ac_must_keep_next=false
2636 for ac_pass in 1 2
2638 for ac_arg
2640 case $ac_arg in
2641 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2642 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2643 | -silent | --silent | --silen | --sile | --sil)
2644 continue ;;
2645 *\'*)
2646 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2647 esac
2648 case $ac_pass in
2649 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2651 as_fn_append ac_configure_args1 " '$ac_arg'"
2652 if test $ac_must_keep_next = true; then
2653 ac_must_keep_next=false # Got value, back to normal.
2654 else
2655 case $ac_arg in
2656 *=* | --config-cache | -C | -disable-* | --disable-* \
2657 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2658 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2659 | -with-* | --with-* | -without-* | --without-* | --x)
2660 case "$ac_configure_args0 " in
2661 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2662 esac
2664 -* ) ac_must_keep_next=true ;;
2665 esac
2667 as_fn_append ac_configure_args " '$ac_arg'"
2669 esac
2670 done
2671 done
2672 { ac_configure_args0=; unset ac_configure_args0;}
2673 { ac_configure_args1=; unset ac_configure_args1;}
2675 # When interrupted or exit'd, cleanup temporary files, and complete
2676 # config.log. We remove comments because anyway the quotes in there
2677 # would cause problems or look ugly.
2678 # WARNING: Use '\'' to represent an apostrophe within the trap.
2679 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2680 trap 'exit_status=$?
2681 # Save into config.log some information that might help in debugging.
2683 echo
2685 cat <<\_ASBOX
2686 ## ---------------- ##
2687 ## Cache variables. ##
2688 ## ---------------- ##
2689 _ASBOX
2690 echo
2691 # The following way of writing the cache mishandles newlines in values,
2693 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2694 eval ac_val=\$$ac_var
2695 case $ac_val in #(
2696 *${as_nl}*)
2697 case $ac_var in #(
2698 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2699 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2700 esac
2701 case $ac_var in #(
2702 _ | IFS | as_nl) ;; #(
2703 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2704 *) { eval $ac_var=; unset $ac_var;} ;;
2705 esac ;;
2706 esac
2707 done
2708 (set) 2>&1 |
2709 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2710 *${as_nl}ac_space=\ *)
2711 sed -n \
2712 "s/'\''/'\''\\\\'\'''\''/g;
2713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2714 ;; #(
2716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2718 esac |
2719 sort
2721 echo
2723 cat <<\_ASBOX
2724 ## ----------------- ##
2725 ## Output variables. ##
2726 ## ----------------- ##
2727 _ASBOX
2728 echo
2729 for ac_var in $ac_subst_vars
2731 eval ac_val=\$$ac_var
2732 case $ac_val in
2733 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2734 esac
2735 $as_echo "$ac_var='\''$ac_val'\''"
2736 done | sort
2737 echo
2739 if test -n "$ac_subst_files"; then
2740 cat <<\_ASBOX
2741 ## ------------------- ##
2742 ## File substitutions. ##
2743 ## ------------------- ##
2744 _ASBOX
2745 echo
2746 for ac_var in $ac_subst_files
2748 eval ac_val=\$$ac_var
2749 case $ac_val in
2750 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2751 esac
2752 $as_echo "$ac_var='\''$ac_val'\''"
2753 done | sort
2754 echo
2757 if test -s confdefs.h; then
2758 cat <<\_ASBOX
2759 ## ----------- ##
2760 ## confdefs.h. ##
2761 ## ----------- ##
2762 _ASBOX
2763 echo
2764 cat confdefs.h
2765 echo
2767 test "$ac_signal" != 0 &&
2768 $as_echo "$as_me: caught signal $ac_signal"
2769 $as_echo "$as_me: exit $exit_status"
2770 } >&5
2771 rm -f core *.core core.conftest.* &&
2772 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2773 exit $exit_status
2775 for ac_signal in 1 2 13 15; do
2776 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2777 done
2778 ac_signal=0
2780 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2781 rm -f -r conftest* confdefs.h
2783 $as_echo "/* confdefs.h */" > confdefs.h
2785 # Predefined preprocessor variables.
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_NAME "$PACKAGE_NAME"
2789 _ACEOF
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2793 _ACEOF
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2797 _ACEOF
2799 cat >>confdefs.h <<_ACEOF
2800 #define PACKAGE_STRING "$PACKAGE_STRING"
2801 _ACEOF
2803 cat >>confdefs.h <<_ACEOF
2804 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2805 _ACEOF
2807 cat >>confdefs.h <<_ACEOF
2808 #define PACKAGE_URL "$PACKAGE_URL"
2809 _ACEOF
2812 # Let the site file select an alternate cache file if it wants to.
2813 # Prefer an explicitly selected file to automatically selected ones.
2814 ac_site_file1=NONE
2815 ac_site_file2=NONE
2816 if test -n "$CONFIG_SITE"; then
2817 ac_site_file1=$CONFIG_SITE
2818 elif test "x$prefix" != xNONE; then
2819 ac_site_file1=$prefix/share/config.site
2820 ac_site_file2=$prefix/etc/config.site
2821 else
2822 ac_site_file1=$ac_default_prefix/share/config.site
2823 ac_site_file2=$ac_default_prefix/etc/config.site
2825 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2827 test "x$ac_site_file" = xNONE && continue
2828 if test -r "$ac_site_file"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2830 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2831 sed 's/^/| /' "$ac_site_file" >&5
2832 . "$ac_site_file"
2834 done
2836 if test -r "$cache_file"; then
2837 # Some versions of bash will fail to source /dev/null (special
2838 # files actually), so we avoid doing that.
2839 if test -f "$cache_file"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2841 $as_echo "$as_me: loading cache $cache_file" >&6;}
2842 case $cache_file in
2843 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2844 *) . "./$cache_file";;
2845 esac
2847 else
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2849 $as_echo "$as_me: creating cache $cache_file" >&6;}
2850 >$cache_file
2853 # Check that the precious variables saved in the cache have kept the same
2854 # value.
2855 ac_cache_corrupted=false
2856 for ac_var in $ac_precious_vars; do
2857 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2858 eval ac_new_set=\$ac_env_${ac_var}_set
2859 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2860 eval ac_new_val=\$ac_env_${ac_var}_value
2861 case $ac_old_set,$ac_new_set in
2862 set,)
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2864 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2865 ac_cache_corrupted=: ;;
2866 ,set)
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2868 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2869 ac_cache_corrupted=: ;;
2870 ,);;
2872 if test "x$ac_old_val" != "x$ac_new_val"; then
2873 # differences in whitespace do not lead to failure.
2874 ac_old_val_w=`echo x $ac_old_val`
2875 ac_new_val_w=`echo x $ac_new_val`
2876 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2878 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2879 ac_cache_corrupted=:
2880 else
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2882 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2883 eval $ac_var=\$ac_old_val
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2886 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2888 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2889 fi;;
2890 esac
2891 # Pass precious variables to config.status.
2892 if test "$ac_new_set" = set; then
2893 case $ac_new_val in
2894 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2895 *) ac_arg=$ac_var=$ac_new_val ;;
2896 esac
2897 case " $ac_configure_args " in
2898 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2899 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2900 esac
2902 done
2903 if $ac_cache_corrupted; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2907 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2908 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2910 ## -------------------- ##
2911 ## Main body of script. ##
2912 ## -------------------- ##
2914 ac_ext=c
2915 ac_cpp='$CPP $CPPFLAGS'
2916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925 ac_config_headers="$ac_config_headers config.h"
2928 # This works around the fact that libtool configuration may change LD
2929 # for this particular configuration, but some shells, instead of
2930 # keeping the changes in LD private, export them just because LD is
2931 # exported. Only used at the end of this file.
2932 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2934 # Find the rest of the source tree framework.
2935 # Default to --enable-multilib
2936 # Check whether --enable-multilib was given.
2937 if test "${enable_multilib+set}" = set; then :
2938 enableval=$enable_multilib; case "$enableval" in
2939 yes) multilib=yes ;;
2940 no) multilib=no ;;
2941 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2942 esac
2943 else
2944 multilib=yes
2948 # We may get other options which we leave undocumented:
2949 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2950 # See config-ml.in if you want the gory details.
2952 if test "$srcdir" = "."; then
2953 if test "$with_target_subdir" != "."; then
2954 multi_basedir="$srcdir/$with_multisrctop../.."
2955 else
2956 multi_basedir="$srcdir/$with_multisrctop.."
2958 else
2959 multi_basedir="$srcdir/.."
2963 # Even if the default multilib is not a cross compilation,
2964 # it may be that some of the other multilibs are.
2965 if test $cross_compiling = no && test $multilib = yes \
2966 && test "x${with_multisubdir}" != x ; then
2967 cross_compiling=maybe
2970 ac_config_commands="$ac_config_commands default-1"
2973 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2975 # You will slowly go insane if you do not grok the following fact: when
2976 # building v3 as part of the compiler, the top-level /target/ becomes the
2977 # library's /host/. configure then causes --target to default to --host,
2978 # exactly like any other package using autoconf. Therefore, 'target' and
2979 # 'host' will always be the same. This makes sense both for native and
2980 # cross compilers, just think about it for a little while. :-)
2982 # Also, if v3 is being configured as part of a cross compiler, the top-level
2983 # configure script will pass the "real" host as $with_cross_host.
2985 # Do not delete or change the following two lines. For why, see
2986 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2987 ac_aux_dir=
2988 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2989 for ac_t in install-sh install.sh shtool; do
2990 if test -f "$ac_dir/$ac_t"; then
2991 ac_aux_dir=$ac_dir
2992 ac_install_sh="$ac_aux_dir/$ac_t -c"
2993 break 2
2995 done
2996 done
2997 if test -z "$ac_aux_dir"; then
2998 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3001 # These three variables are undocumented and unsupported,
3002 # and are intended to be withdrawn in a future Autoconf release.
3003 # They can cause serious problems if a builder's source tree is in a directory
3004 # whose full name contains unusual characters.
3005 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3006 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3007 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3010 # Make sure we can run config.sub.
3011 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3012 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3015 $as_echo_n "checking build system type... " >&6; }
3016 if test "${ac_cv_build+set}" = set; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 ac_build_alias=$build_alias
3020 test "x$ac_build_alias" = x &&
3021 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3022 test "x$ac_build_alias" = x &&
3023 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3024 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3025 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3029 $as_echo "$ac_cv_build" >&6; }
3030 case $ac_cv_build in
3031 *-*-*) ;;
3032 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3033 esac
3034 build=$ac_cv_build
3035 ac_save_IFS=$IFS; IFS='-'
3036 set x $ac_cv_build
3037 shift
3038 build_cpu=$1
3039 build_vendor=$2
3040 shift; shift
3041 # Remember, the first character of IFS is used to create $*,
3042 # except with old shells:
3043 build_os=$*
3044 IFS=$ac_save_IFS
3045 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3049 $as_echo_n "checking host system type... " >&6; }
3050 if test "${ac_cv_host+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 if test "x$host_alias" = x; then
3054 ac_cv_host=$ac_cv_build
3055 else
3056 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3057 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3062 $as_echo "$ac_cv_host" >&6; }
3063 case $ac_cv_host in
3064 *-*-*) ;;
3065 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3066 esac
3067 host=$ac_cv_host
3068 ac_save_IFS=$IFS; IFS='-'
3069 set x $ac_cv_host
3070 shift
3071 host_cpu=$1
3072 host_vendor=$2
3073 shift; shift
3074 # Remember, the first character of IFS is used to create $*,
3075 # except with old shells:
3076 host_os=$*
3077 IFS=$ac_save_IFS
3078 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3082 $as_echo_n "checking target system type... " >&6; }
3083 if test "${ac_cv_target+set}" = set; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 if test "x$target_alias" = x; then
3087 ac_cv_target=$ac_cv_host
3088 else
3089 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3090 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3095 $as_echo "$ac_cv_target" >&6; }
3096 case $ac_cv_target in
3097 *-*-*) ;;
3098 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3099 esac
3100 target=$ac_cv_target
3101 ac_save_IFS=$IFS; IFS='-'
3102 set x $ac_cv_target
3103 shift
3104 target_cpu=$1
3105 target_vendor=$2
3106 shift; shift
3107 # Remember, the first character of IFS is used to create $*,
3108 # except with old shells:
3109 target_os=$*
3110 IFS=$ac_save_IFS
3111 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3114 # The aliases save the names the user supplied, while $host etc.
3115 # will get canonicalized.
3116 test -n "$target_alias" &&
3117 test "$program_prefix$program_suffix$program_transform_name" = \
3118 NONENONEs,x,x, &&
3119 program_prefix=${target_alias}-
3121 target_alias=${target_alias-$host_alias}
3123 # Handy for debugging:
3124 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3126 if test "$build" != "$host"; then
3127 # We are being configured with some form of cross compiler.
3128 GLIBCXX_IS_NATIVE=false
3129 case "$host","$target" in
3130 # Darwin crosses can use the host system's libraries and headers,
3131 # because of the fat library support. Of course, it must be the
3132 # same version of Darwin on both sides. Allow the user to
3133 # just say --target=foo-darwin without a version number to mean
3134 # "the version on this system".
3135 *-*-darwin*,*-*-darwin*)
3136 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3137 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3138 if test $hostos = $targetos -o $targetos = darwin ; then
3139 GLIBCXX_IS_NATIVE=true
3146 esac
3147 else
3148 GLIBCXX_IS_NATIVE=true
3151 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3152 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3153 # 1.x: minimum required version
3154 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3155 # of other PACKAGE_* variables will, however, and there's nothing
3156 # we can do about that; they come from AC_INIT).
3157 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3158 # file in the top srcdir, etc, etc), so stop complaining.
3159 # no-dependencies: turns off auto dependency generation (just for now)
3160 # no-dist: we don't want 'dist' and related rules.
3161 # -Wall: turns on all automake warnings...
3162 # -Wno-portability: ...except this one, since GNU make is now required.
3163 am__api_version='1.11'
3165 # Find a good install program. We prefer a C program (faster),
3166 # so one script is as good as another. But avoid the broken or
3167 # incompatible versions:
3168 # SysV /etc/install, /usr/sbin/install
3169 # SunOS /usr/etc/install
3170 # IRIX /sbin/install
3171 # AIX /bin/install
3172 # AmigaOS /C/install, which installs bootblocks on floppy discs
3173 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3174 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3175 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3176 # OS/2's system install, which has a completely different semantic
3177 # ./install, which can be erroneously created by make from ./install.sh.
3178 # Reject install programs that cannot install multiple files.
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3180 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3181 if test -z "$INSTALL"; then
3182 if test "${ac_cv_path_install+set}" = set; then :
3183 $as_echo_n "(cached) " >&6
3184 else
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 # Account for people who put trailing slashes in PATH elements.
3191 case $as_dir/ in #((
3192 ./ | .// | /[cC]/* | \
3193 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3194 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3195 /usr/ucb/* ) ;;
3197 # OSF1 and SCO ODT 3.0 have their own names for install.
3198 # Don't use installbsd from OSF since it installs stuff as root
3199 # by default.
3200 for ac_prog in ginstall scoinst install; do
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3203 if test $ac_prog = install &&
3204 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3205 # AIX install. It has an incompatible calling convention.
3207 elif test $ac_prog = install &&
3208 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3209 # program-specific install script used by HP pwplus--don't use.
3211 else
3212 rm -rf conftest.one conftest.two conftest.dir
3213 echo one > conftest.one
3214 echo two > conftest.two
3215 mkdir conftest.dir
3216 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3217 test -s conftest.one && test -s conftest.two &&
3218 test -s conftest.dir/conftest.one &&
3219 test -s conftest.dir/conftest.two
3220 then
3221 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3222 break 3
3226 done
3227 done
3229 esac
3231 done
3232 IFS=$as_save_IFS
3234 rm -rf conftest.one conftest.two conftest.dir
3237 if test "${ac_cv_path_install+set}" = set; then
3238 INSTALL=$ac_cv_path_install
3239 else
3240 # As a last resort, use the slow shell script. Don't cache a
3241 # value for INSTALL within a source directory, because that will
3242 # break other packages using the cache if that directory is
3243 # removed, or if the value is a relative name.
3244 INSTALL=$ac_install_sh
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3248 $as_echo "$INSTALL" >&6; }
3250 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3251 # It thinks the first close brace ends the variable substitution.
3252 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3254 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3256 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3259 $as_echo_n "checking whether build environment is sane... " >&6; }
3260 # Just in case
3261 sleep 1
3262 echo timestamp > conftest.file
3263 # Reject unsafe characters in $srcdir or the absolute working directory
3264 # name. Accept space and tab only in the latter.
3265 am_lf='
3267 case `pwd` in
3268 *[\\\"\#\$\&\'\`$am_lf]*)
3269 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3270 esac
3271 case $srcdir in
3272 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3273 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3274 esac
3276 # Do `set' in a subshell so we don't clobber the current shell's
3277 # arguments. Must try -L first in case configure is actually a
3278 # symlink; some systems play weird games with the mod time of symlinks
3279 # (eg FreeBSD returns the mod time of the symlink's containing
3280 # directory).
3281 if (
3282 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3283 if test "$*" = "X"; then
3284 # -L didn't work.
3285 set X `ls -t "$srcdir/configure" conftest.file`
3287 rm -f conftest.file
3288 if test "$*" != "X $srcdir/configure conftest.file" \
3289 && test "$*" != "X conftest.file $srcdir/configure"; then
3291 # If neither matched, then we have a broken ls. This can happen
3292 # if, for instance, CONFIG_SHELL is bash and it inherits a
3293 # broken ls alias from the environment. This has actually
3294 # happened. Such a system could not be considered "sane".
3295 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3296 alias in your environment" "$LINENO" 5
3299 test "$2" = conftest.file
3301 then
3302 # Ok.
3304 else
3305 as_fn_error "newly created file is older than distributed files!
3306 Check your system clock" "$LINENO" 5
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3309 $as_echo "yes" >&6; }
3310 test "$program_prefix" != NONE &&
3311 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3312 # Use a double $ so make ignores it.
3313 test "$program_suffix" != NONE &&
3314 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3315 # Double any \ or $.
3316 # By default was `s,x,x', remove it if useless.
3317 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3318 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3320 # expand $ac_aux_dir to an absolute path
3321 am_aux_dir=`cd $ac_aux_dir && pwd`
3323 if test x"${MISSING+set}" != xset; then
3324 case $am_aux_dir in
3325 *\ * | *\ *)
3326 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3328 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3329 esac
3331 # Use eval to expand $SHELL
3332 if eval "$MISSING --run true"; then
3333 am_missing_run="$MISSING --run "
3334 else
3335 am_missing_run=
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3337 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3340 if test x"${install_sh}" != xset; then
3341 case $am_aux_dir in
3342 *\ * | *\ *)
3343 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3345 install_sh="\${SHELL} $am_aux_dir/install-sh"
3346 esac
3349 # Installed binaries are usually stripped using `strip' when the user
3350 # run `make install-strip'. However `strip' might not be the right
3351 # tool to use in cross-compilation environments, therefore Automake
3352 # will honor the `STRIP' environment variable to overrule this program.
3353 if test "$cross_compiling" != no; then
3354 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3356 set dummy ${ac_tool_prefix}strip; ac_word=$2
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if test "${ac_cv_prog_STRIP+set}" = set; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 if test -n "$STRIP"; then
3363 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3364 else
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH
3368 IFS=$as_save_IFS
3369 test -z "$as_dir" && as_dir=.
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3372 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 break 2
3376 done
3377 done
3378 IFS=$as_save_IFS
3382 STRIP=$ac_cv_prog_STRIP
3383 if test -n "$STRIP"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3385 $as_echo "$STRIP" >&6; }
3386 else
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3393 if test -z "$ac_cv_prog_STRIP"; then
3394 ac_ct_STRIP=$STRIP
3395 # Extract the first word of "strip", so it can be a program name with args.
3396 set dummy strip; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3400 $as_echo_n "(cached) " >&6
3401 else
3402 if test -n "$ac_ct_STRIP"; then
3403 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3408 IFS=$as_save_IFS
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3412 ac_cv_prog_ac_ct_STRIP="strip"
3413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 break 2
3416 done
3417 done
3418 IFS=$as_save_IFS
3422 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3423 if test -n "$ac_ct_STRIP"; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3425 $as_echo "$ac_ct_STRIP" >&6; }
3426 else
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428 $as_echo "no" >&6; }
3431 if test "x$ac_ct_STRIP" = x; then
3432 STRIP=":"
3433 else
3434 case $cross_compiling:$ac_tool_warned in
3435 yes:)
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438 ac_tool_warned=yes ;;
3439 esac
3440 STRIP=$ac_ct_STRIP
3442 else
3443 STRIP="$ac_cv_prog_STRIP"
3447 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3450 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3451 if test -z "$MKDIR_P"; then
3452 if test "${ac_cv_path_mkdir+set}" = set; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3458 IFS=$as_save_IFS
3459 test -z "$as_dir" && as_dir=.
3460 for ac_prog in mkdir gmkdir; do
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3463 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3464 'mkdir (GNU coreutils) '* | \
3465 'mkdir (coreutils) '* | \
3466 'mkdir (fileutils) '4.1*)
3467 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3468 break 3;;
3469 esac
3470 done
3471 done
3472 done
3473 IFS=$as_save_IFS
3477 if test "${ac_cv_path_mkdir+set}" = set; then
3478 MKDIR_P="$ac_cv_path_mkdir -p"
3479 else
3480 # As a last resort, use the slow shell script. Don't cache a
3481 # value for MKDIR_P within a source directory, because that will
3482 # break other packages using the cache if that directory is
3483 # removed, or if the value is a relative name.
3484 test -d ./--version && rmdir ./--version
3485 MKDIR_P="$ac_install_sh -d"
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3489 $as_echo "$MKDIR_P" >&6; }
3491 mkdir_p="$MKDIR_P"
3492 case $mkdir_p in
3493 [\\/$]* | ?:[\\/]*) ;;
3494 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3495 esac
3497 for ac_prog in gawk mawk nawk awk
3499 # Extract the first word of "$ac_prog", so it can be a program name with args.
3500 set dummy $ac_prog; ac_word=$2
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502 $as_echo_n "checking for $ac_word... " >&6; }
3503 if test "${ac_cv_prog_AWK+set}" = set; then :
3504 $as_echo_n "(cached) " >&6
3505 else
3506 if test -n "$AWK"; then
3507 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3508 else
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH
3512 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3516 ac_cv_prog_AWK="$ac_prog"
3517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 break 2
3520 done
3521 done
3522 IFS=$as_save_IFS
3526 AWK=$ac_cv_prog_AWK
3527 if test -n "$AWK"; then
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3529 $as_echo "$AWK" >&6; }
3530 else
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3536 test -n "$AWK" && break
3537 done
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3540 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3541 set x ${MAKE-make}
3542 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3543 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3544 $as_echo_n "(cached) " >&6
3545 else
3546 cat >conftest.make <<\_ACEOF
3547 SHELL = /bin/sh
3548 all:
3549 @echo '@@@%%%=$(MAKE)=@@@%%%'
3550 _ACEOF
3551 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3552 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3553 *@@@%%%=?*=@@@%%%*)
3554 eval ac_cv_prog_make_${ac_make}_set=yes;;
3556 eval ac_cv_prog_make_${ac_make}_set=no;;
3557 esac
3558 rm -f conftest.make
3560 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3562 $as_echo "yes" >&6; }
3563 SET_MAKE=
3564 else
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 SET_MAKE="MAKE=${MAKE-make}"
3570 rm -rf .tst 2>/dev/null
3571 mkdir .tst 2>/dev/null
3572 if test -d .tst; then
3573 am__leading_dot=.
3574 else
3575 am__leading_dot=_
3577 rmdir .tst 2>/dev/null
3579 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3580 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3581 # is not polluted with repeated "-I."
3582 am__isrc=' -I$(srcdir)'
3583 # test to see if srcdir already configured
3584 if test -f $srcdir/config.status; then
3585 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3589 # test whether we have cygpath
3590 if test -z "$CYGPATH_W"; then
3591 if (cygpath --version) >/dev/null 2>/dev/null; then
3592 CYGPATH_W='cygpath -w'
3593 else
3594 CYGPATH_W=echo
3599 # Define the identity of the package.
3600 PACKAGE='libstdc++'
3601 VERSION='version-unused'
3604 # Some tools Automake needs.
3606 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3609 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3612 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3615 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3618 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3620 # We need awk for the "check" target. The system "awk" is bad on
3621 # some platforms.
3622 # Always define AMTAR for backward compatibility. Yes, it's still used
3623 # in the wild :-( We should find a proper way to deprecate it ...
3624 AMTAR='$${TAR-tar}'
3626 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3635 # -fno-builtin must be present here so that a non-conflicting form of
3636 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3638 save_CXXFLAGS="$CXXFLAGS"
3639 CXXFLAGS="$CXXFLAGS -fno-builtin"
3640 ac_ext=c
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if test "${ac_cv_prog_CC+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC="$CC" # Let the user override the test.
3655 else
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3659 IFS=$as_save_IFS
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 break 2
3667 done
3668 done
3669 IFS=$as_save_IFS
3673 CC=$ac_cv_prog_CC
3674 if test -n "$CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3676 $as_echo "$CC" >&6; }
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3684 if test -z "$ac_cv_prog_CC"; then
3685 ac_ct_CC=$CC
3686 # Extract the first word of "gcc", so it can be a program name with args.
3687 set dummy gcc; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3691 $as_echo_n "(cached) " >&6
3692 else
3693 if test -n "$ac_ct_CC"; then
3694 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3695 else
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3699 IFS=$as_save_IFS
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703 ac_cv_prog_ac_ct_CC="gcc"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 break 2
3707 done
3708 done
3709 IFS=$as_save_IFS
3713 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3714 if test -n "$ac_ct_CC"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3716 $as_echo "$ac_ct_CC" >&6; }
3717 else
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3722 if test "x$ac_ct_CC" = x; then
3723 CC=""
3724 else
3725 case $cross_compiling:$ac_tool_warned in
3726 yes:)
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3729 ac_tool_warned=yes ;;
3730 esac
3731 CC=$ac_ct_CC
3733 else
3734 CC="$ac_cv_prog_CC"
3737 if test -z "$CC"; then
3738 if test -n "$ac_tool_prefix"; then
3739 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3740 set dummy ${ac_tool_prefix}cc; ac_word=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if test "${ac_cv_prog_CC+set}" = set; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 if test -n "$CC"; then
3747 ac_cv_prog_CC="$CC" # Let the user override the test.
3748 else
3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 for as_dir in $PATH
3752 IFS=$as_save_IFS
3753 test -z "$as_dir" && as_dir=.
3754 for ac_exec_ext in '' $ac_executable_extensions; do
3755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3756 ac_cv_prog_CC="${ac_tool_prefix}cc"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 break 2
3760 done
3761 done
3762 IFS=$as_save_IFS
3766 CC=$ac_cv_prog_CC
3767 if test -n "$CC"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3769 $as_echo "$CC" >&6; }
3770 else
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3778 if test -z "$CC"; then
3779 # Extract the first word of "cc", so it can be a program name with args.
3780 set dummy cc; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$CC"; then
3787 ac_cv_prog_CC="$CC" # Let the user override the test.
3788 else
3789 ac_prog_rejected=no
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3793 IFS=$as_save_IFS
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3798 ac_prog_rejected=yes
3799 continue
3801 ac_cv_prog_CC="cc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 break 2
3805 done
3806 done
3807 IFS=$as_save_IFS
3809 if test $ac_prog_rejected = yes; then
3810 # We found a bogon in the path, so make sure we never use it.
3811 set dummy $ac_cv_prog_CC
3812 shift
3813 if test $# != 0; then
3814 # We chose a different compiler from the bogus one.
3815 # However, it has the same basename, so the bogon will be chosen
3816 # first if we set CC to just the basename; use the full file name.
3817 shift
3818 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3823 CC=$ac_cv_prog_CC
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3834 if test -z "$CC"; then
3835 if test -n "$ac_tool_prefix"; then
3836 for ac_prog in cl.exe
3838 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3839 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if test "${ac_cv_prog_CC+set}" = set; then :
3843 $as_echo_n "(cached) " >&6
3844 else
3845 if test -n "$CC"; then
3846 ac_cv_prog_CC="$CC" # Let the user override the test.
3847 else
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 break 2
3859 done
3860 done
3861 IFS=$as_save_IFS
3865 CC=$ac_cv_prog_CC
3866 if test -n "$CC"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3868 $as_echo "$CC" >&6; }
3869 else
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3875 test -n "$CC" && break
3876 done
3878 if test -z "$CC"; then
3879 ac_ct_CC=$CC
3880 for ac_prog in cl.exe
3882 # Extract the first word of "$ac_prog", so it can be a program name with args.
3883 set dummy $ac_prog; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3888 else
3889 if test -n "$ac_ct_CC"; then
3890 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3895 IFS=$as_save_IFS
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_ac_ct_CC="$ac_prog"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 break 2
3903 done
3904 done
3905 IFS=$as_save_IFS
3909 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3910 if test -n "$ac_ct_CC"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3912 $as_echo "$ac_ct_CC" >&6; }
3913 else
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3919 test -n "$ac_ct_CC" && break
3920 done
3922 if test "x$ac_ct_CC" = x; then
3923 CC=""
3924 else
3925 case $cross_compiling:$ac_tool_warned in
3926 yes:)
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3929 ac_tool_warned=yes ;;
3930 esac
3931 CC=$ac_ct_CC
3938 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3940 as_fn_error "no acceptable C compiler found in \$PATH
3941 See \`config.log' for more details." "$LINENO" 5; }
3943 # Provide some information about the compiler.
3944 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3945 set X $ac_compile
3946 ac_compiler=$2
3947 for ac_option in --version -v -V -qversion; do
3948 { { ac_try="$ac_compiler $ac_option >&5"
3949 case "(($ac_try" in
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3952 esac
3953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954 $as_echo "$ac_try_echo"; } >&5
3955 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3956 ac_status=$?
3957 if test -s conftest.err; then
3958 sed '10a\
3959 ... rest of stderr output deleted ...
3960 10q' conftest.err >conftest.er1
3961 cat conftest.er1 >&5
3962 rm -f conftest.er1 conftest.err
3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965 test $ac_status = 0; }
3966 done
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3972 main ()
3976 return 0;
3978 _ACEOF
3979 # FIXME: Cleanup?
3980 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3981 (eval $ac_link) 2>&5
3982 ac_status=$?
3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3984 test $ac_status = 0; }; then :
3985 gcc_no_link=no
3986 else
3987 gcc_no_link=yes
3989 if test x$gcc_no_link = xyes; then
3990 # Setting cross_compile will disable run tests; it will
3991 # also disable AC_CHECK_FILE but that's generally
3992 # correct if we can't link.
3993 cross_compiling=yes
3994 EXEEXT=
3995 else
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4000 main ()
4004 return 0;
4006 _ACEOF
4007 ac_clean_files_save=$ac_clean_files
4008 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4009 # Try to create an executable without -o first, disregard a.out.
4010 # It will help us diagnose broken compilers, and finding out an intuition
4011 # of exeext.
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4013 $as_echo_n "checking for C compiler default output file name... " >&6; }
4014 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4016 # The possible output files:
4017 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4019 ac_rmfiles=
4020 for ac_file in $ac_files
4022 case $ac_file in
4023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4024 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4025 esac
4026 done
4027 rm -f $ac_rmfiles
4029 if { { ac_try="$ac_link_default"
4030 case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link_default") 2>&5
4037 ac_status=$?
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4041 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4042 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4043 # so that the user can short-circuit this test for compilers unknown to
4044 # Autoconf.
4045 for ac_file in $ac_files ''
4047 test -f "$ac_file" || continue
4048 case $ac_file in
4049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4051 [ab].out )
4052 # We found the default executable, but exeext='' is most
4053 # certainly right.
4054 break;;
4055 *.* )
4056 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4057 then :; else
4058 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4060 # We set ac_cv_exeext here because the later test for it is not
4061 # safe: cross compilers may not add the suffix if given an `-o'
4062 # argument, so we may need to know it at that point already.
4063 # Even if this section looks crufty: it has the advantage of
4064 # actually working.
4065 break;;
4067 break;;
4068 esac
4069 done
4070 test "$ac_cv_exeext" = no && ac_cv_exeext=
4072 else
4073 ac_file=''
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4076 $as_echo "$ac_file" >&6; }
4077 if test -z "$ac_file"; then :
4078 $as_echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 { as_fn_set_status 77
4084 as_fn_error "C compiler cannot create executables
4085 See \`config.log' for more details." "$LINENO" 5; }; }
4087 ac_exeext=$ac_cv_exeext
4089 # Check that the compiler produces executables we can run. If not, either
4090 # the compiler is broken, or we cross compile.
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4092 $as_echo_n "checking whether the C compiler works... " >&6; }
4093 # If not cross compiling, check that we can run a simple program.
4094 if test "$cross_compiling" != yes; then
4095 if { ac_try='./$ac_file'
4096 { { case "(($ac_try" in
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4099 esac
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_try") 2>&5
4103 ac_status=$?
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; }; then
4106 cross_compiling=no
4107 else
4108 if test "$cross_compiling" = maybe; then
4109 cross_compiling=yes
4110 else
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "cannot run C compiled programs.
4114 If you meant to cross compile, use \`--host'.
4115 See \`config.log' for more details." "$LINENO" 5; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120 $as_echo "yes" >&6; }
4122 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4123 ac_clean_files=$ac_clean_files_save
4124 # Check that the compiler produces executables we can run. If not, either
4125 # the compiler is broken, or we cross compile.
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4127 $as_echo_n "checking whether we are cross compiling... " >&6; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4129 $as_echo "$cross_compiling" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4132 $as_echo_n "checking for suffix of executables... " >&6; }
4133 if { { ac_try="$ac_link"
4134 case "(($ac_try" in
4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136 *) ac_try_echo=$ac_try;;
4137 esac
4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139 $as_echo "$ac_try_echo"; } >&5
4140 (eval "$ac_link") 2>&5
4141 ac_status=$?
4142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143 test $ac_status = 0; }; then :
4144 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4145 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4146 # work properly (i.e., refer to `conftest.exe'), while it won't with
4147 # `rm'.
4148 for ac_file in conftest.exe conftest conftest.*; do
4149 test -f "$ac_file" || continue
4150 case $ac_file in
4151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4152 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4153 break;;
4154 * ) break;;
4155 esac
4156 done
4157 else
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error "cannot compute suffix of executables: cannot compile and link
4161 See \`config.log' for more details." "$LINENO" 5; }
4163 rm -f conftest$ac_cv_exeext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4165 $as_echo "$ac_cv_exeext" >&6; }
4167 rm -f conftest.$ac_ext
4168 EXEEXT=$ac_cv_exeext
4169 ac_exeext=$EXEEXT
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4172 $as_echo_n "checking for suffix of object files... " >&6; }
4173 if test "${ac_cv_objext+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 main ()
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.o conftest.obj
4188 if { { ac_try="$ac_compile"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4194 $as_echo "$ac_try_echo"; } >&5
4195 (eval "$ac_compile") 2>&5
4196 ac_status=$?
4197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4198 test $ac_status = 0; }; then :
4199 for ac_file in conftest.o conftest.obj conftest.*; do
4200 test -f "$ac_file" || continue;
4201 case $ac_file in
4202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4203 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4204 break;;
4205 esac
4206 done
4207 else
4208 $as_echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error "cannot compute suffix of object files: cannot compile
4214 See \`config.log' for more details." "$LINENO" 5; }
4216 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4219 $as_echo "$ac_cv_objext" >&6; }
4220 OBJEXT=$ac_cv_objext
4221 ac_objext=$OBJEXT
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4223 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4224 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4231 main ()
4233 #ifndef __GNUC__
4234 choke me
4235 #endif
4238 return 0;
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242 ac_compiler_gnu=yes
4243 else
4244 ac_compiler_gnu=no
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4251 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4252 if test $ac_compiler_gnu = yes; then
4253 GCC=yes
4254 else
4255 GCC=
4257 ac_test_CFLAGS=${CFLAGS+set}
4258 ac_save_CFLAGS=$CFLAGS
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4260 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4261 if test "${ac_cv_prog_cc_g+set}" = set; then :
4262 $as_echo_n "(cached) " >&6
4263 else
4264 ac_save_c_werror_flag=$ac_c_werror_flag
4265 ac_c_werror_flag=yes
4266 ac_cv_prog_cc_g=no
4267 CFLAGS="-g"
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4272 main ()
4276 return 0;
4278 _ACEOF
4279 if ac_fn_c_try_compile "$LINENO"; then :
4280 ac_cv_prog_cc_g=yes
4281 else
4282 CFLAGS=""
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4287 main ()
4291 return 0;
4293 _ACEOF
4294 if ac_fn_c_try_compile "$LINENO"; then :
4296 else
4297 ac_c_werror_flag=$ac_save_c_werror_flag
4298 CFLAGS="-g"
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4303 main ()
4307 return 0;
4309 _ACEOF
4310 if ac_fn_c_try_compile "$LINENO"; then :
4311 ac_cv_prog_cc_g=yes
4313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 ac_c_werror_flag=$ac_save_c_werror_flag
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4321 $as_echo "$ac_cv_prog_cc_g" >&6; }
4322 if test "$ac_test_CFLAGS" = set; then
4323 CFLAGS=$ac_save_CFLAGS
4324 elif test $ac_cv_prog_cc_g = yes; then
4325 if test "$GCC" = yes; then
4326 CFLAGS="-g -O2"
4327 else
4328 CFLAGS="-g"
4330 else
4331 if test "$GCC" = yes; then
4332 CFLAGS="-O2"
4333 else
4334 CFLAGS=
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4338 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4339 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 ac_cv_prog_cc_c89=no
4343 ac_save_CC=$CC
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4346 #include <stdarg.h>
4347 #include <stdio.h>
4348 #include <sys/types.h>
4349 #include <sys/stat.h>
4350 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4351 struct buf { int x; };
4352 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4353 static char *e (p, i)
4354 char **p;
4355 int i;
4357 return p[i];
4359 static char *f (char * (*g) (char **, int), char **p, ...)
4361 char *s;
4362 va_list v;
4363 va_start (v,p);
4364 s = g (p, va_arg (v,int));
4365 va_end (v);
4366 return s;
4369 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4370 function prototypes and stuff, but not '\xHH' hex character constants.
4371 These don't provoke an error unfortunately, instead are silently treated
4372 as 'x'. The following induces an error, until -std is added to get
4373 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4374 array size at least. It's necessary to write '\x00'==0 to get something
4375 that's true only with -std. */
4376 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4378 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4379 inside strings and character constants. */
4380 #define FOO(x) 'x'
4381 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4383 int test (int i, double x);
4384 struct s1 {int (*f) (int a);};
4385 struct s2 {int (*f) (double a);};
4386 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4387 int argc;
4388 char **argv;
4390 main ()
4392 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4394 return 0;
4396 _ACEOF
4397 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4398 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4400 CC="$ac_save_CC $ac_arg"
4401 if ac_fn_c_try_compile "$LINENO"; then :
4402 ac_cv_prog_cc_c89=$ac_arg
4404 rm -f core conftest.err conftest.$ac_objext
4405 test "x$ac_cv_prog_cc_c89" != "xno" && break
4406 done
4407 rm -f conftest.$ac_ext
4408 CC=$ac_save_CC
4411 # AC_CACHE_VAL
4412 case "x$ac_cv_prog_cc_c89" in
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4415 $as_echo "none needed" >&6; } ;;
4416 xno)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4418 $as_echo "unsupported" >&6; } ;;
4420 CC="$CC $ac_cv_prog_cc_c89"
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4422 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4423 esac
4424 if test "x$ac_cv_prog_cc_c89" != xno; then :
4428 ac_ext=c
4429 ac_cpp='$CPP $CPPFLAGS'
4430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434 ac_ext=cpp
4435 ac_cpp='$CXXCPP $CPPFLAGS'
4436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4439 if test -z "$CXX"; then
4440 if test -n "$CCC"; then
4441 CXX=$CCC
4442 else
4443 if test -n "$ac_tool_prefix"; then
4444 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4447 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if test "${ac_cv_prog_CXX+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4452 else
4453 if test -n "$CXX"; then
4454 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4455 else
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH
4459 IFS=$as_save_IFS
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 break 2
4467 done
4468 done
4469 IFS=$as_save_IFS
4473 CXX=$ac_cv_prog_CXX
4474 if test -n "$CXX"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4476 $as_echo "$CXX" >&6; }
4477 else
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4483 test -n "$CXX" && break
4484 done
4486 if test -z "$CXX"; then
4487 ac_ct_CXX=$CXX
4488 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4490 # Extract the first word of "$ac_prog", so it can be a program name with args.
4491 set dummy $ac_prog; ac_word=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4495 $as_echo_n "(cached) " >&6
4496 else
4497 if test -n "$ac_ct_CXX"; then
4498 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4499 else
4500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501 for as_dir in $PATH
4503 IFS=$as_save_IFS
4504 test -z "$as_dir" && as_dir=.
4505 for ac_exec_ext in '' $ac_executable_extensions; do
4506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507 ac_cv_prog_ac_ct_CXX="$ac_prog"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 break 2
4511 done
4512 done
4513 IFS=$as_save_IFS
4517 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4518 if test -n "$ac_ct_CXX"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4520 $as_echo "$ac_ct_CXX" >&6; }
4521 else
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4527 test -n "$ac_ct_CXX" && break
4528 done
4530 if test "x$ac_ct_CXX" = x; then
4531 CXX="g++"
4532 else
4533 case $cross_compiling:$ac_tool_warned in
4534 yes:)
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4537 ac_tool_warned=yes ;;
4538 esac
4539 CXX=$ac_ct_CXX
4545 # Provide some information about the compiler.
4546 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4547 set X $ac_compile
4548 ac_compiler=$2
4549 for ac_option in --version -v -V -qversion; do
4550 { { ac_try="$ac_compiler $ac_option >&5"
4551 case "(($ac_try" in
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4554 esac
4555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4556 $as_echo "$ac_try_echo"; } >&5
4557 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4558 ac_status=$?
4559 if test -s conftest.err; then
4560 sed '10a\
4561 ... rest of stderr output deleted ...
4562 10q' conftest.err >conftest.er1
4563 cat conftest.er1 >&5
4564 rm -f conftest.er1 conftest.err
4566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4567 test $ac_status = 0; }
4568 done
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4571 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4572 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4573 $as_echo_n "(cached) " >&6
4574 else
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4579 main ()
4581 #ifndef __GNUC__
4582 choke me
4583 #endif
4586 return 0;
4588 _ACEOF
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 ac_compiler_gnu=yes
4591 else
4592 ac_compiler_gnu=no
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4599 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4600 if test $ac_compiler_gnu = yes; then
4601 GXX=yes
4602 else
4603 GXX=
4605 ac_test_CXXFLAGS=${CXXFLAGS+set}
4606 ac_save_CXXFLAGS=$CXXFLAGS
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4608 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4609 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4611 else
4612 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4613 ac_cxx_werror_flag=yes
4614 ac_cv_prog_cxx_g=no
4615 CXXFLAGS="-g"
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4620 main ()
4624 return 0;
4626 _ACEOF
4627 if ac_fn_cxx_try_compile "$LINENO"; then :
4628 ac_cv_prog_cxx_g=yes
4629 else
4630 CXXFLAGS=""
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4639 return 0;
4641 _ACEOF
4642 if ac_fn_cxx_try_compile "$LINENO"; then :
4644 else
4645 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4646 CXXFLAGS="-g"
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4651 main ()
4655 return 0;
4657 _ACEOF
4658 if ac_fn_cxx_try_compile "$LINENO"; then :
4659 ac_cv_prog_cxx_g=yes
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4669 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4670 if test "$ac_test_CXXFLAGS" = set; then
4671 CXXFLAGS=$ac_save_CXXFLAGS
4672 elif test $ac_cv_prog_cxx_g = yes; then
4673 if test "$GXX" = yes; then
4674 CXXFLAGS="-g -O2"
4675 else
4676 CXXFLAGS="-g"
4678 else
4679 if test "$GXX" = yes; then
4680 CXXFLAGS="-O2"
4681 else
4682 CXXFLAGS=
4685 ac_ext=c
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4691 CXXFLAGS="$save_CXXFLAGS"
4693 # Runs configure.host, and assorted other critical bits. Sets
4694 # up critical shell variables.
4696 ac_ext=c
4697 ac_cpp='$CPP $CPPFLAGS'
4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4702 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4703 # On Suns, sometimes $CPP names a directory.
4704 if test -n "$CPP" && test -d "$CPP"; then
4705 CPP=
4707 if test -z "$CPP"; then
4708 if test "${ac_cv_prog_CPP+set}" = set; then :
4709 $as_echo_n "(cached) " >&6
4710 else
4711 # Double quotes because CPP needs to be expanded
4712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4714 ac_preproc_ok=false
4715 for ac_c_preproc_warn_flag in '' yes
4717 # Use a header file that comes with gcc, so configuring glibc
4718 # with a fresh cross-compiler works.
4719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4720 # <limits.h> exists even on freestanding compilers.
4721 # On the NeXT, cc -E runs the code through the compiler's parser,
4722 # not just through cpp. "Syntax error" is here to catch this case.
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4725 #ifdef __STDC__
4726 # include <limits.h>
4727 #else
4728 # include <assert.h>
4729 #endif
4730 Syntax error
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4734 else
4735 # Broken: fails on valid input.
4736 continue
4738 rm -f conftest.err conftest.$ac_ext
4740 # OK, works on sane cases. Now check whether nonexistent headers
4741 # can be detected and how.
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4744 #include <ac_nonexistent.h>
4745 _ACEOF
4746 if ac_fn_c_try_cpp "$LINENO"; then :
4747 # Broken: success on invalid input.
4748 continue
4749 else
4750 # Passes both tests.
4751 ac_preproc_ok=:
4752 break
4754 rm -f conftest.err conftest.$ac_ext
4756 done
4757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4758 rm -f conftest.err conftest.$ac_ext
4759 if $ac_preproc_ok; then :
4760 break
4763 done
4764 ac_cv_prog_CPP=$CPP
4767 CPP=$ac_cv_prog_CPP
4768 else
4769 ac_cv_prog_CPP=$CPP
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4772 $as_echo "$CPP" >&6; }
4773 ac_preproc_ok=false
4774 for ac_c_preproc_warn_flag in '' yes
4776 # Use a header file that comes with gcc, so configuring glibc
4777 # with a fresh cross-compiler works.
4778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4779 # <limits.h> exists even on freestanding compilers.
4780 # On the NeXT, cc -E runs the code through the compiler's parser,
4781 # not just through cpp. "Syntax error" is here to catch this case.
4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4789 Syntax error
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4793 else
4794 # Broken: fails on valid input.
4795 continue
4797 rm -f conftest.err conftest.$ac_ext
4799 # OK, works on sane cases. Now check whether nonexistent headers
4800 # can be detected and how.
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 #include <ac_nonexistent.h>
4804 _ACEOF
4805 if ac_fn_c_try_cpp "$LINENO"; then :
4806 # Broken: success on invalid input.
4807 continue
4808 else
4809 # Passes both tests.
4810 ac_preproc_ok=:
4811 break
4813 rm -f conftest.err conftest.$ac_ext
4815 done
4816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4817 rm -f conftest.err conftest.$ac_ext
4818 if $ac_preproc_ok; then :
4820 else
4821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4823 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4824 See \`config.log' for more details." "$LINENO" 5; }
4827 ac_ext=c
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4835 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4836 if test "${ac_cv_path_GREP+set}" = set; then :
4837 $as_echo_n "(cached) " >&6
4838 else
4839 if test -z "$GREP"; then
4840 ac_path_GREP_found=false
4841 # Loop through the user's path and test for each of PROGNAME-LIST
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4845 IFS=$as_save_IFS
4846 test -z "$as_dir" && as_dir=.
4847 for ac_prog in grep ggrep; do
4848 for ac_exec_ext in '' $ac_executable_extensions; do
4849 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4850 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4851 # Check for GNU ac_path_GREP and select it if it is found.
4852 # Check for GNU $ac_path_GREP
4853 case `"$ac_path_GREP" --version 2>&1` in
4854 *GNU*)
4855 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4857 ac_count=0
4858 $as_echo_n 0123456789 >"conftest.in"
4859 while :
4861 cat "conftest.in" "conftest.in" >"conftest.tmp"
4862 mv "conftest.tmp" "conftest.in"
4863 cp "conftest.in" "conftest.nl"
4864 $as_echo 'GREP' >> "conftest.nl"
4865 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4866 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4867 as_fn_arith $ac_count + 1 && ac_count=$as_val
4868 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4869 # Best one so far, save it but keep looking for a better one
4870 ac_cv_path_GREP="$ac_path_GREP"
4871 ac_path_GREP_max=$ac_count
4873 # 10*(2^10) chars as input seems more than enough
4874 test $ac_count -gt 10 && break
4875 done
4876 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4877 esac
4879 $ac_path_GREP_found && break 3
4880 done
4881 done
4882 done
4883 IFS=$as_save_IFS
4884 if test -z "$ac_cv_path_GREP"; then
4885 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4887 else
4888 ac_cv_path_GREP=$GREP
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4893 $as_echo "$ac_cv_path_GREP" >&6; }
4894 GREP="$ac_cv_path_GREP"
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4898 $as_echo_n "checking for egrep... " >&6; }
4899 if test "${ac_cv_path_EGREP+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4903 then ac_cv_path_EGREP="$GREP -E"
4904 else
4905 if test -z "$EGREP"; then
4906 ac_path_EGREP_found=false
4907 # Loop through the user's path and test for each of PROGNAME-LIST
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4911 IFS=$as_save_IFS
4912 test -z "$as_dir" && as_dir=.
4913 for ac_prog in egrep; do
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4916 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4917 # Check for GNU ac_path_EGREP and select it if it is found.
4918 # Check for GNU $ac_path_EGREP
4919 case `"$ac_path_EGREP" --version 2>&1` in
4920 *GNU*)
4921 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4923 ac_count=0
4924 $as_echo_n 0123456789 >"conftest.in"
4925 while :
4927 cat "conftest.in" "conftest.in" >"conftest.tmp"
4928 mv "conftest.tmp" "conftest.in"
4929 cp "conftest.in" "conftest.nl"
4930 $as_echo 'EGREP' >> "conftest.nl"
4931 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4932 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4933 as_fn_arith $ac_count + 1 && ac_count=$as_val
4934 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4935 # Best one so far, save it but keep looking for a better one
4936 ac_cv_path_EGREP="$ac_path_EGREP"
4937 ac_path_EGREP_max=$ac_count
4939 # 10*(2^10) chars as input seems more than enough
4940 test $ac_count -gt 10 && break
4941 done
4942 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4943 esac
4945 $ac_path_EGREP_found && break 3
4946 done
4947 done
4948 done
4949 IFS=$as_save_IFS
4950 if test -z "$ac_cv_path_EGREP"; then
4951 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4953 else
4954 ac_cv_path_EGREP=$EGREP
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4960 $as_echo "$ac_cv_path_EGREP" >&6; }
4961 EGREP="$ac_cv_path_EGREP"
4965 # Keep these sync'd with the list in Makefile.am. The first provides an
4966 # expandable list at autoconf time; the second provides an expandable list
4967 # (i.e., shell variable) at configure time.
4969 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4971 # These need to be absolute paths, yet at the same time need to
4972 # canonicalize only relative paths, because then amd will not unmount
4973 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4974 glibcxx_builddir=`${PWDCMD-pwd}`
4975 case $srcdir in
4976 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4977 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4978 esac
4979 toplevel_builddir=${glibcxx_builddir}/..
4980 toplevel_srcdir=${glibcxx_srcdir}/..
4986 # We use these options to decide which functions to include. They are
4987 # set from the top level.
4989 # Check whether --with-target-subdir was given.
4990 if test "${with_target_subdir+set}" = set; then :
4991 withval=$with_target_subdir;
4996 # Check whether --with-cross-host was given.
4997 if test "${with_cross_host+set}" = set; then :
4998 withval=$with_cross_host;
5003 # Check whether --with-newlib was given.
5004 if test "${with_newlib+set}" = set; then :
5005 withval=$with_newlib;
5009 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5010 # available). Uncomment the next line to force a particular method.
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5012 $as_echo_n "checking whether ln -s works... " >&6; }
5013 LN_S=$as_ln_s
5014 if test "$LN_S" = "ln -s"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5016 $as_echo "yes" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5019 $as_echo "no, using $LN_S" >&6; }
5022 #LN_S='cp -p'
5024 if test -n "$ac_tool_prefix"; then
5025 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5026 set dummy ${ac_tool_prefix}as; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_AS+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5031 else
5032 if test -n "$AS"; then
5033 ac_cv_prog_AS="$AS" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_AS="${ac_tool_prefix}as"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5048 IFS=$as_save_IFS
5052 AS=$ac_cv_prog_AS
5053 if test -n "$AS"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5055 $as_echo "$AS" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5063 if test -z "$ac_cv_prog_AS"; then
5064 ac_ct_AS=$AS
5065 # Extract the first word of "as", so it can be a program name with args.
5066 set dummy as; ac_word=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if test -n "$ac_ct_AS"; then
5073 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5074 else
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_prog_ac_ct_AS="as"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 break 2
5086 done
5087 done
5088 IFS=$as_save_IFS
5092 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5093 if test -n "$ac_ct_AS"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5095 $as_echo "$ac_ct_AS" >&6; }
5096 else
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5101 if test "x$ac_ct_AS" = x; then
5102 AS=""
5103 else
5104 case $cross_compiling:$ac_tool_warned in
5105 yes:)
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned=yes ;;
5109 esac
5110 AS=$ac_ct_AS
5112 else
5113 AS="$ac_cv_prog_AS"
5116 if test -n "$ac_tool_prefix"; then
5117 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5118 set dummy ${ac_tool_prefix}ar; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if test "${ac_cv_prog_AR+set}" = set; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 if test -n "$AR"; then
5125 ac_cv_prog_AR="$AR" # Let the user override the test.
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH
5130 IFS=$as_save_IFS
5131 test -z "$as_dir" && as_dir=.
5132 for ac_exec_ext in '' $ac_executable_extensions; do
5133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 ac_cv_prog_AR="${ac_tool_prefix}ar"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 break 2
5138 done
5139 done
5140 IFS=$as_save_IFS
5144 AR=$ac_cv_prog_AR
5145 if test -n "$AR"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5147 $as_echo "$AR" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5155 if test -z "$ac_cv_prog_AR"; then
5156 ac_ct_AR=$AR
5157 # Extract the first word of "ar", so it can be a program name with args.
5158 set dummy ar; ac_word=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5163 else
5164 if test -n "$ac_ct_AR"; then
5165 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5166 else
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 for as_dir in $PATH
5170 IFS=$as_save_IFS
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174 ac_cv_prog_ac_ct_AR="ar"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 break 2
5178 done
5179 done
5180 IFS=$as_save_IFS
5184 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5185 if test -n "$ac_ct_AR"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5187 $as_echo "$ac_ct_AR" >&6; }
5188 else
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5193 if test "x$ac_ct_AR" = x; then
5194 AR=""
5195 else
5196 case $cross_compiling:$ac_tool_warned in
5197 yes:)
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200 ac_tool_warned=yes ;;
5201 esac
5202 AR=$ac_ct_AR
5204 else
5205 AR="$ac_cv_prog_AR"
5208 if test -n "$ac_tool_prefix"; then
5209 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5210 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 if test -n "$RANLIB"; then
5217 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5218 else
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH
5222 IFS=$as_save_IFS
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 break 2
5230 done
5231 done
5232 IFS=$as_save_IFS
5236 RANLIB=$ac_cv_prog_RANLIB
5237 if test -n "$RANLIB"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5239 $as_echo "$RANLIB" >&6; }
5240 else
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5247 if test -z "$ac_cv_prog_RANLIB"; then
5248 ac_ct_RANLIB=$RANLIB
5249 # Extract the first word of "ranlib", so it can be a program name with args.
5250 set dummy ranlib; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 if test -n "$ac_ct_RANLIB"; then
5257 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5258 else
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 for as_dir in $PATH
5262 IFS=$as_save_IFS
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_ac_ct_RANLIB="ranlib"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 break 2
5270 done
5271 done
5272 IFS=$as_save_IFS
5276 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5277 if test -n "$ac_ct_RANLIB"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5279 $as_echo "$ac_ct_RANLIB" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5285 if test "x$ac_ct_RANLIB" = x; then
5286 RANLIB="ranlib-not-found-in-path-error"
5287 else
5288 case $cross_compiling:$ac_tool_warned in
5289 yes:)
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292 ac_tool_warned=yes ;;
5293 esac
5294 RANLIB=$ac_ct_RANLIB
5296 else
5297 RANLIB="$ac_cv_prog_RANLIB"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5303 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5304 # Check whether --enable-maintainer-mode was given.
5305 if test "${enable_maintainer_mode+set}" = set; then :
5306 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5307 else
5308 USE_MAINTAINER_MODE=no
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5312 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5313 if test $USE_MAINTAINER_MODE = yes; then
5314 MAINTAINER_MODE_TRUE=
5315 MAINTAINER_MODE_FALSE='#'
5316 else
5317 MAINTAINER_MODE_TRUE='#'
5318 MAINTAINER_MODE_FALSE=
5321 MAINT=$MAINTAINER_MODE_TRUE
5325 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5326 # which are themselves conditionally expanded.
5327 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5328 ## other macros from doing the same. This should be automated.) -pme
5330 # Check for C library flavor since GNU/Linux platforms use different
5331 # configuration directories depending on the C library in use.
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5335 #include <stdio.h>
5336 #if __UCLIBC__
5337 _using_uclibc
5338 #endif
5340 _ACEOF
5341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5342 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5343 uclibc=yes
5344 else
5345 uclibc=no
5347 rm -f conftest*
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5353 #include <stdio.h>
5354 #if __BIONIC__
5355 _using_bionic
5356 #endif
5358 _ACEOF
5359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5360 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5361 bionic=yes
5362 else
5363 bionic=no
5365 rm -f conftest*
5368 # Find platform-specific directories containing configuration info.
5369 # Also possibly modify flags used elsewhere, as needed by the platform.
5371 . $glibcxx_srcdir/configure.host
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5373 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5375 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5379 # Libtool setup.
5380 if test "x${with_newlib}" != "xyes"; then
5381 enable_dlopen=yes
5386 case `pwd` in
5387 *\ * | *\ *)
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5389 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5390 esac
5394 macro_version='2.2.7a'
5395 macro_revision='1.3134'
5409 ltmain="$ac_aux_dir/ltmain.sh"
5411 # Backslashify metacharacters that are still active within
5412 # double-quoted strings.
5413 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5415 # Same as above, but do not quote variable references.
5416 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5418 # Sed substitution to delay expansion of an escaped shell variable in a
5419 # double_quote_subst'ed string.
5420 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5422 # Sed substitution to delay expansion of an escaped single quote.
5423 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5425 # Sed substitution to avoid accidental globbing in evaled expressions
5426 no_glob_subst='s/\*/\\\*/g'
5428 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5430 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5433 $as_echo_n "checking how to print strings... " >&6; }
5434 # Test print first, because it will be a builtin if present.
5435 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5436 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5437 ECHO='print -r --'
5438 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5439 ECHO='printf %s\n'
5440 else
5441 # Use this function as a fallback that always works.
5442 func_fallback_echo ()
5444 eval 'cat <<_LTECHO_EOF
5446 _LTECHO_EOF'
5448 ECHO='func_fallback_echo'
5451 # func_echo_all arg...
5452 # Invoke $ECHO with all args, space-separated.
5453 func_echo_all ()
5455 $ECHO ""
5458 case "$ECHO" in
5459 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5460 $as_echo "printf" >&6; } ;;
5461 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5462 $as_echo "print -r" >&6; } ;;
5463 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5464 $as_echo "cat" >&6; } ;;
5465 esac
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5481 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5482 if test "${ac_cv_path_SED+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5486 for ac_i in 1 2 3 4 5 6 7; do
5487 ac_script="$ac_script$as_nl$ac_script"
5488 done
5489 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5490 { ac_script=; unset ac_script;}
5491 if test -z "$SED"; then
5492 ac_path_SED_found=false
5493 # Loop through the user's path and test for each of PROGNAME-LIST
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $PATH
5497 IFS=$as_save_IFS
5498 test -z "$as_dir" && as_dir=.
5499 for ac_prog in sed gsed; do
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5502 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5503 # Check for GNU ac_path_SED and select it if it is found.
5504 # Check for GNU $ac_path_SED
5505 case `"$ac_path_SED" --version 2>&1` in
5506 *GNU*)
5507 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5509 ac_count=0
5510 $as_echo_n 0123456789 >"conftest.in"
5511 while :
5513 cat "conftest.in" "conftest.in" >"conftest.tmp"
5514 mv "conftest.tmp" "conftest.in"
5515 cp "conftest.in" "conftest.nl"
5516 $as_echo '' >> "conftest.nl"
5517 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5518 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5519 as_fn_arith $ac_count + 1 && ac_count=$as_val
5520 if test $ac_count -gt ${ac_path_SED_max-0}; then
5521 # Best one so far, save it but keep looking for a better one
5522 ac_cv_path_SED="$ac_path_SED"
5523 ac_path_SED_max=$ac_count
5525 # 10*(2^10) chars as input seems more than enough
5526 test $ac_count -gt 10 && break
5527 done
5528 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5529 esac
5531 $ac_path_SED_found && break 3
5532 done
5533 done
5534 done
5535 IFS=$as_save_IFS
5536 if test -z "$ac_cv_path_SED"; then
5537 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5539 else
5540 ac_cv_path_SED=$SED
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5545 $as_echo "$ac_cv_path_SED" >&6; }
5546 SED="$ac_cv_path_SED"
5547 rm -f conftest.sed
5549 test -z "$SED" && SED=sed
5550 Xsed="$SED -e 1s/^X//"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5563 $as_echo_n "checking for fgrep... " >&6; }
5564 if test "${ac_cv_path_FGREP+set}" = set; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5568 then ac_cv_path_FGREP="$GREP -F"
5569 else
5570 if test -z "$FGREP"; then
5571 ac_path_FGREP_found=false
5572 # Loop through the user's path and test for each of PROGNAME-LIST
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_prog in fgrep; do
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5581 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5582 # Check for GNU ac_path_FGREP and select it if it is found.
5583 # Check for GNU $ac_path_FGREP
5584 case `"$ac_path_FGREP" --version 2>&1` in
5585 *GNU*)
5586 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5588 ac_count=0
5589 $as_echo_n 0123456789 >"conftest.in"
5590 while :
5592 cat "conftest.in" "conftest.in" >"conftest.tmp"
5593 mv "conftest.tmp" "conftest.in"
5594 cp "conftest.in" "conftest.nl"
5595 $as_echo 'FGREP' >> "conftest.nl"
5596 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5598 as_fn_arith $ac_count + 1 && ac_count=$as_val
5599 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5600 # Best one so far, save it but keep looking for a better one
5601 ac_cv_path_FGREP="$ac_path_FGREP"
5602 ac_path_FGREP_max=$ac_count
5604 # 10*(2^10) chars as input seems more than enough
5605 test $ac_count -gt 10 && break
5606 done
5607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5608 esac
5610 $ac_path_FGREP_found && break 3
5611 done
5612 done
5613 done
5614 IFS=$as_save_IFS
5615 if test -z "$ac_cv_path_FGREP"; then
5616 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5618 else
5619 ac_cv_path_FGREP=$FGREP
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5625 $as_echo "$ac_cv_path_FGREP" >&6; }
5626 FGREP="$ac_cv_path_FGREP"
5629 test -z "$GREP" && GREP=grep
5649 # Check whether --with-gnu-ld was given.
5650 if test "${with_gnu_ld+set}" = set; then :
5651 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5652 else
5653 with_gnu_ld=no
5656 ac_prog=ld
5657 if test "$GCC" = yes; then
5658 # Check if gcc -print-prog-name=ld gives a path.
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5660 $as_echo_n "checking for ld used by $CC... " >&6; }
5661 case $host in
5662 *-*-mingw*)
5663 # gcc leaves a trailing carriage return which upsets mingw
5664 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5666 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5667 esac
5668 case $ac_prog in
5669 # Accept absolute paths.
5670 [\\/]* | ?:[\\/]*)
5671 re_direlt='/[^/][^/]*/\.\./'
5672 # Canonicalize the pathname of ld
5673 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5674 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5675 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5676 done
5677 test -z "$LD" && LD="$ac_prog"
5680 # If it fails, then pretend we aren't using GCC.
5681 ac_prog=ld
5684 # If it is relative, then search for the first ld in PATH.
5685 with_gnu_ld=unknown
5687 esac
5688 elif test "$with_gnu_ld" = yes; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5690 $as_echo_n "checking for GNU ld... " >&6; }
5691 else
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5693 $as_echo_n "checking for non-GNU ld... " >&6; }
5695 if test "${lt_cv_path_LD+set}" = set; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 if test -z "$LD"; then
5699 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5700 for ac_dir in $PATH; do
5701 IFS="$lt_save_ifs"
5702 test -z "$ac_dir" && ac_dir=.
5703 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5704 lt_cv_path_LD="$ac_dir/$ac_prog"
5705 # Check to see if the program is GNU ld. I'd rather use --version,
5706 # but apparently some variants of GNU ld only accept -v.
5707 # Break only if it was the GNU/non-GNU ld that we prefer.
5708 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5709 *GNU* | *'with BFD'*)
5710 test "$with_gnu_ld" != no && break
5713 test "$with_gnu_ld" != yes && break
5715 esac
5717 done
5718 IFS="$lt_save_ifs"
5719 else
5720 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5724 LD="$lt_cv_path_LD"
5725 if test -n "$LD"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5727 $as_echo "$LD" >&6; }
5728 else
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5732 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5734 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5735 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5739 case `$LD -v 2>&1 </dev/null` in
5740 *GNU* | *'with BFD'*)
5741 lt_cv_prog_gnu_ld=yes
5744 lt_cv_prog_gnu_ld=no
5746 esac
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5749 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5750 with_gnu_ld=$lt_cv_prog_gnu_ld
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5761 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5762 if test "${lt_cv_path_NM+set}" = set; then :
5763 $as_echo_n "(cached) " >&6
5764 else
5765 if test -n "$NM"; then
5766 # Let the user override the test.
5767 lt_cv_path_NM="$NM"
5768 else
5769 lt_nm_to_check="${ac_tool_prefix}nm"
5770 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5771 lt_nm_to_check="$lt_nm_to_check nm"
5773 for lt_tmp_nm in $lt_nm_to_check; do
5774 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5775 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5776 IFS="$lt_save_ifs"
5777 test -z "$ac_dir" && ac_dir=.
5778 tmp_nm="$ac_dir/$lt_tmp_nm"
5779 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5780 # Check to see if the nm accepts a BSD-compat flag.
5781 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5782 # nm: unknown option "B" ignored
5783 # Tru64's nm complains that /dev/null is an invalid object file
5784 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5785 */dev/null* | *'Invalid file or object type'*)
5786 lt_cv_path_NM="$tmp_nm -B"
5787 break
5790 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5791 */dev/null*)
5792 lt_cv_path_NM="$tmp_nm -p"
5793 break
5796 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5797 continue # so that we can try to find one that supports BSD flags
5799 esac
5801 esac
5803 done
5804 IFS="$lt_save_ifs"
5805 done
5806 : ${lt_cv_path_NM=no}
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5810 $as_echo "$lt_cv_path_NM" >&6; }
5811 if test "$lt_cv_path_NM" != "no"; then
5812 NM="$lt_cv_path_NM"
5813 else
5814 # Didn't find any BSD compatible name lister, look for dumpbin.
5815 if test -n "$DUMPBIN"; then :
5816 # Let the user override the test.
5817 else
5818 if test -n "$ac_tool_prefix"; then
5819 for ac_prog in dumpbin "link -dump"
5821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$DUMPBIN"; then
5829 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 DUMPBIN=$ac_cv_prog_DUMPBIN
5849 if test -n "$DUMPBIN"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5851 $as_echo "$DUMPBIN" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5858 test -n "$DUMPBIN" && break
5859 done
5861 if test -z "$DUMPBIN"; then
5862 ac_ct_DUMPBIN=$DUMPBIN
5863 for ac_prog in dumpbin "link -dump"
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy $ac_prog; ac_word=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 if test -n "$ac_ct_DUMPBIN"; then
5873 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5878 IFS=$as_save_IFS
5879 test -z "$as_dir" && as_dir=.
5880 for ac_exec_ext in '' $ac_executable_extensions; do
5881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5882 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 break 2
5886 done
5887 done
5888 IFS=$as_save_IFS
5892 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5893 if test -n "$ac_ct_DUMPBIN"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5895 $as_echo "$ac_ct_DUMPBIN" >&6; }
5896 else
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$ac_ct_DUMPBIN" && break
5903 done
5905 if test "x$ac_ct_DUMPBIN" = x; then
5906 DUMPBIN=":"
5907 else
5908 case $cross_compiling:$ac_tool_warned in
5909 yes:)
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912 ac_tool_warned=yes ;;
5913 esac
5914 DUMPBIN=$ac_ct_DUMPBIN
5918 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5919 *COFF*)
5920 DUMPBIN="$DUMPBIN -symbols"
5923 DUMPBIN=:
5925 esac
5928 if test "$DUMPBIN" != ":"; then
5929 NM="$DUMPBIN"
5932 test -z "$NM" && NM=nm
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5940 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5941 if test "${lt_cv_nm_interface+set}" = set; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 lt_cv_nm_interface="BSD nm"
5945 echo "int some_variable = 0;" > conftest.$ac_ext
5946 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5947 (eval "$ac_compile" 2>conftest.err)
5948 cat conftest.err >&5
5949 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5950 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5951 cat conftest.err >&5
5952 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5953 cat conftest.out >&5
5954 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5955 lt_cv_nm_interface="MS dumpbin"
5957 rm -f conftest*
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5960 $as_echo "$lt_cv_nm_interface" >&6; }
5962 # find the maximum length of command line arguments
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5964 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5965 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5969 teststring="ABCD"
5971 case $build_os in
5972 msdosdjgpp*)
5973 # On DJGPP, this test can blow up pretty badly due to problems in libc
5974 # (any single argument exceeding 2000 bytes causes a buffer overrun
5975 # during glob expansion). Even if it were fixed, the result of this
5976 # check would be larger than it should be.
5977 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5980 gnu*)
5981 # Under GNU Hurd, this test is not required because there is
5982 # no limit to the length of command line arguments.
5983 # Libtool will interpret -1 as no limit whatsoever
5984 lt_cv_sys_max_cmd_len=-1;
5987 cygwin* | mingw* | cegcc*)
5988 # On Win9x/ME, this test blows up -- it succeeds, but takes
5989 # about 5 minutes as the teststring grows exponentially.
5990 # Worse, since 9x/ME are not pre-emptively multitasking,
5991 # you end up with a "frozen" computer, even though with patience
5992 # the test eventually succeeds (with a max line length of 256k).
5993 # Instead, let's just punt: use the minimum linelength reported by
5994 # all of the supported platforms: 8192 (on NT/2K/XP).
5995 lt_cv_sys_max_cmd_len=8192;
5998 mint*)
5999 # On MiNT this can take a long time and run out of memory.
6000 lt_cv_sys_max_cmd_len=8192;
6003 amigaos*)
6004 # On AmigaOS with pdksh, this test takes hours, literally.
6005 # So we just punt and use a minimum line length of 8192.
6006 lt_cv_sys_max_cmd_len=8192;
6009 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6010 # This has been around since 386BSD, at least. Likely further.
6011 if test -x /sbin/sysctl; then
6012 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6013 elif test -x /usr/sbin/sysctl; then
6014 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6015 else
6016 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6018 # And add a safety zone
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6020 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6023 interix*)
6024 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6025 lt_cv_sys_max_cmd_len=196608
6028 osf*)
6029 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6030 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6031 # nice to cause kernel panics so lets avoid the loop below.
6032 # First set a reasonable default.
6033 lt_cv_sys_max_cmd_len=16384
6035 if test -x /sbin/sysconfig; then
6036 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6037 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6038 esac
6041 sco3.2v5*)
6042 lt_cv_sys_max_cmd_len=102400
6044 sysv5* | sco5v6* | sysv4.2uw2*)
6045 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6046 if test -n "$kargmax"; then
6047 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6048 else
6049 lt_cv_sys_max_cmd_len=32768
6053 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6054 if test -n "$lt_cv_sys_max_cmd_len"; then
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6056 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6057 else
6058 # Make teststring a little bigger before we do anything with it.
6059 # a 1K string should be a reasonable start.
6060 for i in 1 2 3 4 5 6 7 8 ; do
6061 teststring=$teststring$teststring
6062 done
6063 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6064 # If test is not a shell built-in, we'll probably end up computing a
6065 # maximum length that is only half of the actual maximum length, but
6066 # we can't tell.
6067 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6068 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6069 test $i != 17 # 1/2 MB should be enough
6071 i=`expr $i + 1`
6072 teststring=$teststring$teststring
6073 done
6074 # Only check the string length outside the loop.
6075 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6076 teststring=
6077 # Add a significant safety factor because C++ compilers can tack on
6078 # massive amounts of additional arguments before passing them to the
6079 # linker. It appears as though 1/2 is a usable value.
6080 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6083 esac
6087 if test -n $lt_cv_sys_max_cmd_len ; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6089 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6092 $as_echo "none" >&6; }
6094 max_cmd_len=$lt_cv_sys_max_cmd_len
6101 : ${CP="cp -f"}
6102 : ${MV="mv -f"}
6103 : ${RM="rm -f"}
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6106 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6107 # Try some XSI features
6108 xsi_shell=no
6109 ( _lt_dummy="a/b/c"
6110 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6111 = c,a/b,, \
6112 && eval 'test $(( 1 + 1 )) -eq 2 \
6113 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6114 && xsi_shell=yes
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6116 $as_echo "$xsi_shell" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6120 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6121 lt_shell_append=no
6122 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6123 >/dev/null 2>&1 \
6124 && lt_shell_append=yes
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6126 $as_echo "$lt_shell_append" >&6; }
6129 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6130 lt_unset=unset
6131 else
6132 lt_unset=false
6139 # test EBCDIC or ASCII
6140 case `echo X|tr X '\101'` in
6141 A) # ASCII based system
6142 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6143 lt_SP2NL='tr \040 \012'
6144 lt_NL2SP='tr \015\012 \040\040'
6146 *) # EBCDIC based system
6147 lt_SP2NL='tr \100 \n'
6148 lt_NL2SP='tr \r\n \100\100'
6150 esac
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6161 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6162 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6163 $as_echo_n "(cached) " >&6
6164 else
6165 lt_cv_ld_reload_flag='-r'
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6168 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6169 reload_flag=$lt_cv_ld_reload_flag
6170 case $reload_flag in
6171 "" | " "*) ;;
6172 *) reload_flag=" $reload_flag" ;;
6173 esac
6174 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6175 case $host_os in
6176 darwin*)
6177 if test "$GCC" = yes; then
6178 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6179 else
6180 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6183 esac
6193 if test -n "$ac_tool_prefix"; then
6194 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6195 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6201 if test -n "$OBJDUMP"; then
6202 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 OBJDUMP=$ac_cv_prog_OBJDUMP
6222 if test -n "$OBJDUMP"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6224 $as_echo "$OBJDUMP" >&6; }
6225 else
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6232 if test -z "$ac_cv_prog_OBJDUMP"; then
6233 ac_ct_OBJDUMP=$OBJDUMP
6234 # Extract the first word of "objdump", so it can be a program name with args.
6235 set dummy objdump; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6239 $as_echo_n "(cached) " >&6
6240 else
6241 if test -n "$ac_ct_OBJDUMP"; then
6242 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6243 else
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH
6247 IFS=$as_save_IFS
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6251 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 break 2
6255 done
6256 done
6257 IFS=$as_save_IFS
6261 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6262 if test -n "$ac_ct_OBJDUMP"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6264 $as_echo "$ac_ct_OBJDUMP" >&6; }
6265 else
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6270 if test "x$ac_ct_OBJDUMP" = x; then
6271 OBJDUMP="false"
6272 else
6273 case $cross_compiling:$ac_tool_warned in
6274 yes:)
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277 ac_tool_warned=yes ;;
6278 esac
6279 OBJDUMP=$ac_ct_OBJDUMP
6281 else
6282 OBJDUMP="$ac_cv_prog_OBJDUMP"
6285 test -z "$OBJDUMP" && OBJDUMP=objdump
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6296 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6297 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 lt_cv_file_magic_cmd='$MAGIC_CMD'
6301 lt_cv_file_magic_test_file=
6302 lt_cv_deplibs_check_method='unknown'
6303 # Need to set the preceding variable on all platforms that support
6304 # interlibrary dependencies.
6305 # 'none' -- dependencies not supported.
6306 # `unknown' -- same as none, but documents that we really don't know.
6307 # 'pass_all' -- all dependencies passed with no checks.
6308 # 'test_compile' -- check by making test program.
6309 # 'file_magic [[regex]]' -- check by looking for files in library path
6310 # which responds to the $file_magic_cmd with a given extended regex.
6311 # If you have `file' or equivalent on your system and you're not sure
6312 # whether `pass_all' will *always* work, you probably want this one.
6314 case $host_os in
6315 aix[4-9]*)
6316 lt_cv_deplibs_check_method=pass_all
6319 beos*)
6320 lt_cv_deplibs_check_method=pass_all
6323 bsdi[45]*)
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6325 lt_cv_file_magic_cmd='/usr/bin/file -L'
6326 lt_cv_file_magic_test_file=/shlib/libc.so
6329 cygwin*)
6330 # func_win32_libid is a shell function defined in ltmain.sh
6331 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6332 lt_cv_file_magic_cmd='func_win32_libid'
6335 mingw* | pw32*)
6336 # Base MSYS/MinGW do not provide the 'file' command needed by
6337 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6338 # unless we find 'file', for example because we are cross-compiling.
6339 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6340 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6341 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6342 lt_cv_file_magic_cmd='func_win32_libid'
6343 else
6344 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6345 lt_cv_file_magic_cmd='$OBJDUMP -f'
6349 cegcc*)
6350 # use the weaker test based on 'objdump'. See mingw*.
6351 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6352 lt_cv_file_magic_cmd='$OBJDUMP -f'
6355 darwin* | rhapsody*)
6356 lt_cv_deplibs_check_method=pass_all
6359 freebsd* | dragonfly*)
6360 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6361 case $host_cpu in
6362 i*86 )
6363 # Not sure whether the presence of OpenBSD here was a mistake.
6364 # Let's accept both of them until this is cleared up.
6365 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6366 lt_cv_file_magic_cmd=/usr/bin/file
6367 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6369 esac
6370 else
6371 lt_cv_deplibs_check_method=pass_all
6375 gnu*)
6376 lt_cv_deplibs_check_method=pass_all
6379 haiku*)
6380 lt_cv_deplibs_check_method=pass_all
6383 hpux10.20* | hpux11*)
6384 lt_cv_file_magic_cmd=/usr/bin/file
6385 case $host_cpu in
6386 ia64*)
6387 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6388 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6390 hppa*64*)
6391 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]'
6392 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6395 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6396 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6398 esac
6401 interix[3-9]*)
6402 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6406 irix5* | irix6* | nonstopux*)
6407 case $LD in
6408 *-32|*"-32 ") libmagic=32-bit;;
6409 *-n32|*"-n32 ") libmagic=N32;;
6410 *-64|*"-64 ") libmagic=64-bit;;
6411 *) libmagic=never-match;;
6412 esac
6413 lt_cv_deplibs_check_method=pass_all
6416 # This must be Linux ELF.
6417 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6418 lt_cv_deplibs_check_method=pass_all
6421 netbsd*)
6422 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6424 else
6425 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6429 newos6*)
6430 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6431 lt_cv_file_magic_cmd=/usr/bin/file
6432 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6435 *nto* | *qnx*)
6436 lt_cv_deplibs_check_method=pass_all
6439 openbsd*)
6440 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6442 else
6443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6447 osf3* | osf4* | osf5*)
6448 lt_cv_deplibs_check_method=pass_all
6451 rdos*)
6452 lt_cv_deplibs_check_method=pass_all
6455 solaris*)
6456 lt_cv_deplibs_check_method=pass_all
6459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6460 lt_cv_deplibs_check_method=pass_all
6463 sysv4 | sysv4.3*)
6464 case $host_vendor in
6465 motorola)
6466 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]'
6467 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6469 ncr)
6470 lt_cv_deplibs_check_method=pass_all
6472 sequent)
6473 lt_cv_file_magic_cmd='/bin/file'
6474 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6476 sni)
6477 lt_cv_file_magic_cmd='/bin/file'
6478 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6479 lt_cv_file_magic_test_file=/lib/libc.so
6481 siemens)
6482 lt_cv_deplibs_check_method=pass_all
6485 lt_cv_deplibs_check_method=pass_all
6487 esac
6490 tpf*)
6491 lt_cv_deplibs_check_method=pass_all
6493 esac
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6497 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6498 file_magic_cmd=$lt_cv_file_magic_cmd
6499 deplibs_check_method=$lt_cv_deplibs_check_method
6500 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6513 if test -n "$ac_tool_prefix"; then
6514 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}ar; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if test "${ac_cv_prog_AR+set}" = set; then :
6519 $as_echo_n "(cached) " >&6
6520 else
6521 if test -n "$AR"; then
6522 ac_cv_prog_AR="$AR" # Let the user override the test.
6523 else
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 for as_dir in $PATH
6527 IFS=$as_save_IFS
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531 ac_cv_prog_AR="${ac_tool_prefix}ar"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6533 break 2
6535 done
6536 done
6537 IFS=$as_save_IFS
6541 AR=$ac_cv_prog_AR
6542 if test -n "$AR"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6544 $as_echo "$AR" >&6; }
6545 else
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547 $as_echo "no" >&6; }
6552 if test -z "$ac_cv_prog_AR"; then
6553 ac_ct_AR=$AR
6554 # Extract the first word of "ar", so it can be a program name with args.
6555 set dummy ar; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$ac_ct_AR"; then
6562 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571 ac_cv_prog_ac_ct_AR="ar"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6582 if test -n "$ac_ct_AR"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6584 $as_echo "$ac_ct_AR" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6590 if test "x$ac_ct_AR" = x; then
6591 AR="false"
6592 else
6593 case $cross_compiling:$ac_tool_warned in
6594 yes:)
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6597 ac_tool_warned=yes ;;
6598 esac
6599 AR=$ac_ct_AR
6601 else
6602 AR="$ac_cv_prog_AR"
6605 test -z "$AR" && AR=ar
6606 test -z "$AR_FLAGS" && AR_FLAGS=cru
6618 if test -n "$ac_tool_prefix"; then
6619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6620 set dummy ${ac_tool_prefix}strip; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if test "${ac_cv_prog_STRIP+set}" = set; then :
6624 $as_echo_n "(cached) " >&6
6625 else
6626 if test -n "$STRIP"; then
6627 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6636 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 STRIP=$ac_cv_prog_STRIP
6647 if test -n "$STRIP"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6649 $as_echo "$STRIP" >&6; }
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6657 if test -z "$ac_cv_prog_STRIP"; then
6658 ac_ct_STRIP=$STRIP
6659 # Extract the first word of "strip", so it can be a program name with args.
6660 set dummy strip; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6664 $as_echo_n "(cached) " >&6
6665 else
6666 if test -n "$ac_ct_STRIP"; then
6667 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6668 else
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6672 IFS=$as_save_IFS
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676 ac_cv_prog_ac_ct_STRIP="strip"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 break 2
6680 done
6681 done
6682 IFS=$as_save_IFS
6686 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6687 if test -n "$ac_ct_STRIP"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6689 $as_echo "$ac_ct_STRIP" >&6; }
6690 else
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6695 if test "x$ac_ct_STRIP" = x; then
6696 STRIP=":"
6697 else
6698 case $cross_compiling:$ac_tool_warned in
6699 yes:)
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned=yes ;;
6703 esac
6704 STRIP=$ac_ct_STRIP
6706 else
6707 STRIP="$ac_cv_prog_STRIP"
6710 test -z "$STRIP" && STRIP=:
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 if test -n "$RANLIB"; then
6726 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6727 else
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 for as_dir in $PATH
6731 IFS=$as_save_IFS
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 break 2
6739 done
6740 done
6741 IFS=$as_save_IFS
6745 RANLIB=$ac_cv_prog_RANLIB
6746 if test -n "$RANLIB"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6748 $as_echo "$RANLIB" >&6; }
6749 else
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6756 if test -z "$ac_cv_prog_RANLIB"; then
6757 ac_ct_RANLIB=$RANLIB
6758 # Extract the first word of "ranlib", so it can be a program name with args.
6759 set dummy ranlib; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6763 $as_echo_n "(cached) " >&6
6764 else
6765 if test -n "$ac_ct_RANLIB"; then
6766 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6767 else
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 for as_dir in $PATH
6771 IFS=$as_save_IFS
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_ac_ct_RANLIB="ranlib"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 break 2
6779 done
6780 done
6781 IFS=$as_save_IFS
6785 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6786 if test -n "$ac_ct_RANLIB"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6788 $as_echo "$ac_ct_RANLIB" >&6; }
6789 else
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6794 if test "x$ac_ct_RANLIB" = x; then
6795 RANLIB=":"
6796 else
6797 case $cross_compiling:$ac_tool_warned in
6798 yes:)
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6801 ac_tool_warned=yes ;;
6802 esac
6803 RANLIB=$ac_ct_RANLIB
6805 else
6806 RANLIB="$ac_cv_prog_RANLIB"
6809 test -z "$RANLIB" && RANLIB=:
6816 # Determine commands to create old-style static archives.
6817 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6818 old_postinstall_cmds='chmod 644 $oldlib'
6819 old_postuninstall_cmds=
6821 if test -n "$RANLIB"; then
6822 case $host_os in
6823 openbsd*)
6824 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6827 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6829 esac
6830 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6833 case $host_os in
6834 darwin*)
6835 lock_old_archive_extraction=yes ;;
6837 lock_old_archive_extraction=no ;;
6838 esac
6878 # If no C compiler was specified, use CC.
6879 LTCC=${LTCC-"$CC"}
6881 # If no C compiler flags were specified, use CFLAGS.
6882 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6884 # Allow CC to be a program name with arguments.
6885 compiler=$CC
6888 # Check for command to grab the raw symbol name followed by C symbol from nm.
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6890 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6891 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6892 $as_echo_n "(cached) " >&6
6893 else
6895 # These are sane defaults that work on at least a few old systems.
6896 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6898 # Character class describing NM global symbol codes.
6899 symcode='[BCDEGRST]'
6901 # Regexp to match symbols that can be accessed directly from C.
6902 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6904 # Define system-specific variables.
6905 case $host_os in
6906 aix*)
6907 symcode='[BCDT]'
6909 cygwin* | mingw* | pw32* | cegcc*)
6910 symcode='[ABCDGISTW]'
6912 hpux*)
6913 if test "$host_cpu" = ia64; then
6914 symcode='[ABCDEGRST]'
6917 irix* | nonstopux*)
6918 symcode='[BCDEGRST]'
6920 osf*)
6921 symcode='[BCDEGQRST]'
6923 solaris*)
6924 symcode='[BDRT]'
6926 sco3.2v5*)
6927 symcode='[DT]'
6929 sysv4.2uw2*)
6930 symcode='[DT]'
6932 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6933 symcode='[ABDT]'
6935 sysv4)
6936 symcode='[DFNSTU]'
6938 esac
6940 # If we're using GNU nm, then use its standard symbol codes.
6941 case `$NM -V 2>&1` in
6942 *GNU* | *'with BFD'*)
6943 symcode='[ABCDGIRSTW]' ;;
6944 esac
6946 # Transform an extracted symbol line into a proper C declaration.
6947 # Some systems (esp. on ia64) link data and code symbols differently,
6948 # so use this general approach.
6949 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6951 # Transform an extracted symbol line into symbol name and symbol address
6952 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6953 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'"
6955 # Handle CRLF in mingw tool chain
6956 opt_cr=
6957 case $build_os in
6958 mingw*)
6959 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6961 esac
6963 # Try without a prefix underscore, then with it.
6964 for ac_symprfx in "" "_"; do
6966 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6967 symxfrm="\\1 $ac_symprfx\\2 \\2"
6969 # Write the raw and C identifiers.
6970 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6971 # Fake it for dumpbin and say T for any non-static function
6972 # and D for any global variable.
6973 # Also find C++ and __fastcall symbols from MSVC++,
6974 # which start with @ or ?.
6975 lt_cv_sys_global_symbol_pipe="$AWK '"\
6976 " {last_section=section; section=\$ 3};"\
6977 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6978 " \$ 0!~/External *\|/{next};"\
6979 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6980 " {if(hide[section]) next};"\
6981 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6982 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6983 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6984 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6985 " ' prfx=^$ac_symprfx"
6986 else
6987 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6990 # Check to see that the pipe works correctly.
6991 pipe_works=no
6993 rm -f conftest*
6994 cat > conftest.$ac_ext <<_LT_EOF
6995 #ifdef __cplusplus
6996 extern "C" {
6997 #endif
6998 char nm_test_var;
6999 void nm_test_func(void);
7000 void nm_test_func(void){}
7001 #ifdef __cplusplus
7003 #endif
7004 int main(){nm_test_var='a';nm_test_func();return(0);}
7005 _LT_EOF
7007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7008 (eval $ac_compile) 2>&5
7009 ac_status=$?
7010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7011 test $ac_status = 0; }; then
7012 # Now try to grab the symbols.
7013 nlist=conftest.nm
7014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7015 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7016 ac_status=$?
7017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7018 test $ac_status = 0; } && test -s "$nlist"; then
7019 # Try sorting and uniquifying the output.
7020 if sort "$nlist" | uniq > "$nlist"T; then
7021 mv -f "$nlist"T "$nlist"
7022 else
7023 rm -f "$nlist"T
7026 # Make sure that we snagged all the symbols we need.
7027 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7028 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7029 cat <<_LT_EOF > conftest.$ac_ext
7030 #ifdef __cplusplus
7031 extern "C" {
7032 #endif
7034 _LT_EOF
7035 # Now generate the symbol file.
7036 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7038 cat <<_LT_EOF >> conftest.$ac_ext
7040 /* The mapping between symbol names and symbols. */
7041 const struct {
7042 const char *name;
7043 void *address;
7045 lt__PROGRAM__LTX_preloaded_symbols[] =
7047 { "@PROGRAM@", (void *) 0 },
7048 _LT_EOF
7049 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7050 cat <<\_LT_EOF >> conftest.$ac_ext
7051 {0, (void *) 0}
7054 /* This works around a problem in FreeBSD linker */
7055 #ifdef FREEBSD_WORKAROUND
7056 static const void *lt_preloaded_setup() {
7057 return lt__PROGRAM__LTX_preloaded_symbols;
7059 #endif
7061 #ifdef __cplusplus
7063 #endif
7064 _LT_EOF
7065 # Now try linking the two files.
7066 mv conftest.$ac_objext conftstm.$ac_objext
7067 lt_save_LIBS="$LIBS"
7068 lt_save_CFLAGS="$CFLAGS"
7069 LIBS="conftstm.$ac_objext"
7070 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7072 (eval $ac_link) 2>&5
7073 ac_status=$?
7074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7075 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7076 pipe_works=yes
7078 LIBS="$lt_save_LIBS"
7079 CFLAGS="$lt_save_CFLAGS"
7080 else
7081 echo "cannot find nm_test_func in $nlist" >&5
7083 else
7084 echo "cannot find nm_test_var in $nlist" >&5
7086 else
7087 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7089 else
7090 echo "$progname: failed program was:" >&5
7091 cat conftest.$ac_ext >&5
7093 rm -rf conftest* conftst*
7095 # Do not use the global_symbol_pipe unless it works.
7096 if test "$pipe_works" = yes; then
7097 break
7098 else
7099 lt_cv_sys_global_symbol_pipe=
7101 done
7105 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7106 lt_cv_sys_global_symbol_to_cdecl=
7108 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7110 $as_echo "failed" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7113 $as_echo "ok" >&6; }
7137 # Check whether --enable-libtool-lock was given.
7138 if test "${enable_libtool_lock+set}" = set; then :
7139 enableval=$enable_libtool_lock;
7142 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7144 # Some flags need to be propagated to the compiler or linker for good
7145 # libtool support.
7146 case $host in
7147 ia64-*-hpux*)
7148 # Find out which ABI we are using.
7149 echo 'int i;' > conftest.$ac_ext
7150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7151 (eval $ac_compile) 2>&5
7152 ac_status=$?
7153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7154 test $ac_status = 0; }; then
7155 case `/usr/bin/file conftest.$ac_objext` in
7156 *ELF-32*)
7157 HPUX_IA64_MODE="32"
7159 *ELF-64*)
7160 HPUX_IA64_MODE="64"
7162 esac
7164 rm -rf conftest*
7166 *-*-irix6*)
7167 # Find out which ABI we are using.
7168 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7170 (eval $ac_compile) 2>&5
7171 ac_status=$?
7172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7173 test $ac_status = 0; }; then
7174 if test "$lt_cv_prog_gnu_ld" = yes; then
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -melf32bsmip"
7179 *N32*)
7180 LD="${LD-ld} -melf32bmipn32"
7182 *64-bit*)
7183 LD="${LD-ld} -melf64bmip"
7185 esac
7186 else
7187 case `/usr/bin/file conftest.$ac_objext` in
7188 *32-bit*)
7189 LD="${LD-ld} -32"
7191 *N32*)
7192 LD="${LD-ld} -n32"
7194 *64-bit*)
7195 LD="${LD-ld} -64"
7197 esac
7200 rm -rf conftest*
7203 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7204 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7205 # Find out which ABI we are using.
7206 echo 'int i;' > conftest.$ac_ext
7207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7208 (eval $ac_compile) 2>&5
7209 ac_status=$?
7210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7211 test $ac_status = 0; }; then
7212 case `/usr/bin/file conftest.o` in
7213 *32-bit*)
7214 case $host in
7215 x86_64-*kfreebsd*-gnu)
7216 LD="${LD-ld} -m elf_i386_fbsd"
7218 x86_64-*linux*)
7219 case `/usr/bin/file conftest.o` in
7220 *x86-64*)
7221 LD="${LD-ld} -m elf32_x86_64"
7224 LD="${LD-ld} -m elf_i386"
7226 esac
7228 powerpc64le-*linux*)
7229 LD="${LD-ld} -m elf32lppclinux"
7231 powerpc64-*linux*)
7232 LD="${LD-ld} -m elf32ppclinux"
7234 s390x-*linux*)
7235 LD="${LD-ld} -m elf_s390"
7237 sparc64-*linux*)
7238 LD="${LD-ld} -m elf32_sparc"
7240 esac
7242 *64-bit*)
7243 case $host in
7244 x86_64-*kfreebsd*-gnu)
7245 LD="${LD-ld} -m elf_x86_64_fbsd"
7247 x86_64-*linux*)
7248 LD="${LD-ld} -m elf_x86_64"
7250 powerpcle-*linux*)
7251 LD="${LD-ld} -m elf64lppc"
7253 powerpc-*linux*)
7254 LD="${LD-ld} -m elf64ppc"
7256 s390*-*linux*|s390*-*tpf*)
7257 LD="${LD-ld} -m elf64_s390"
7259 sparc*-*linux*)
7260 LD="${LD-ld} -m elf64_sparc"
7262 esac
7264 esac
7266 rm -rf conftest*
7269 *-*-sco3.2v5*)
7270 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7271 SAVE_CFLAGS="$CFLAGS"
7272 CFLAGS="$CFLAGS -belf"
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7274 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7275 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 ac_ext=c
7279 ac_cpp='$CPP $CPPFLAGS'
7280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7284 if test x$gcc_no_link = xyes; then
7285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7291 main ()
7295 return 0;
7297 _ACEOF
7298 if ac_fn_c_try_link "$LINENO"; then :
7299 lt_cv_cc_needs_belf=yes
7300 else
7301 lt_cv_cc_needs_belf=no
7303 rm -f core conftest.err conftest.$ac_objext \
7304 conftest$ac_exeext conftest.$ac_ext
7305 ac_ext=c
7306 ac_cpp='$CPP $CPPFLAGS'
7307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7313 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7314 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7315 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7316 CFLAGS="$SAVE_CFLAGS"
7319 sparc*-*solaris*)
7320 # Find out which ABI we are using.
7321 echo 'int i;' > conftest.$ac_ext
7322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7323 (eval $ac_compile) 2>&5
7324 ac_status=$?
7325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7326 test $ac_status = 0; }; then
7327 case `/usr/bin/file conftest.o` in
7328 *64-bit*)
7329 case $lt_cv_prog_gnu_ld in
7330 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7332 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7333 LD="${LD-ld} -64"
7336 esac
7338 esac
7340 rm -rf conftest*
7342 esac
7344 need_locks="$enable_libtool_lock"
7347 case $host_os in
7348 rhapsody* | darwin*)
7349 if test -n "$ac_tool_prefix"; then
7350 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7351 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7355 $as_echo_n "(cached) " >&6
7356 else
7357 if test -n "$DSYMUTIL"; then
7358 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7359 else
7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 for as_dir in $PATH
7363 IFS=$as_save_IFS
7364 test -z "$as_dir" && as_dir=.
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7367 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 break 2
7371 done
7372 done
7373 IFS=$as_save_IFS
7377 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7378 if test -n "$DSYMUTIL"; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7380 $as_echo "$DSYMUTIL" >&6; }
7381 else
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 $as_echo "no" >&6; }
7388 if test -z "$ac_cv_prog_DSYMUTIL"; then
7389 ac_ct_DSYMUTIL=$DSYMUTIL
7390 # Extract the first word of "dsymutil", so it can be a program name with args.
7391 set dummy dsymutil; ac_word=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7395 $as_echo_n "(cached) " >&6
7396 else
7397 if test -n "$ac_ct_DSYMUTIL"; then
7398 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7399 else
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 for as_dir in $PATH
7403 IFS=$as_save_IFS
7404 test -z "$as_dir" && as_dir=.
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7407 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7418 if test -n "$ac_ct_DSYMUTIL"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7420 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7421 else
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7426 if test "x$ac_ct_DSYMUTIL" = x; then
7427 DSYMUTIL=":"
7428 else
7429 case $cross_compiling:$ac_tool_warned in
7430 yes:)
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7433 ac_tool_warned=yes ;;
7434 esac
7435 DSYMUTIL=$ac_ct_DSYMUTIL
7437 else
7438 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7441 if test -n "$ac_tool_prefix"; then
7442 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7443 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7447 $as_echo_n "(cached) " >&6
7448 else
7449 if test -n "$NMEDIT"; then
7450 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7451 else
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 for as_dir in $PATH
7455 IFS=$as_save_IFS
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 break 2
7463 done
7464 done
7465 IFS=$as_save_IFS
7469 NMEDIT=$ac_cv_prog_NMEDIT
7470 if test -n "$NMEDIT"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7472 $as_echo "$NMEDIT" >&6; }
7473 else
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7480 if test -z "$ac_cv_prog_NMEDIT"; then
7481 ac_ct_NMEDIT=$NMEDIT
7482 # Extract the first word of "nmedit", so it can be a program name with args.
7483 set dummy nmedit; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7487 $as_echo_n "(cached) " >&6
7488 else
7489 if test -n "$ac_ct_NMEDIT"; then
7490 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7491 else
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 for as_dir in $PATH
7495 IFS=$as_save_IFS
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 break 2
7503 done
7504 done
7505 IFS=$as_save_IFS
7509 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7510 if test -n "$ac_ct_NMEDIT"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7512 $as_echo "$ac_ct_NMEDIT" >&6; }
7513 else
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7518 if test "x$ac_ct_NMEDIT" = x; then
7519 NMEDIT=":"
7520 else
7521 case $cross_compiling:$ac_tool_warned in
7522 yes:)
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7525 ac_tool_warned=yes ;;
7526 esac
7527 NMEDIT=$ac_ct_NMEDIT
7529 else
7530 NMEDIT="$ac_cv_prog_NMEDIT"
7533 if test -n "$ac_tool_prefix"; then
7534 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7535 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if test "${ac_cv_prog_LIPO+set}" = set; then :
7539 $as_echo_n "(cached) " >&6
7540 else
7541 if test -n "$LIPO"; then
7542 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7543 else
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545 for as_dir in $PATH
7547 IFS=$as_save_IFS
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7551 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 break 2
7555 done
7556 done
7557 IFS=$as_save_IFS
7561 LIPO=$ac_cv_prog_LIPO
7562 if test -n "$LIPO"; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7564 $as_echo "$LIPO" >&6; }
7565 else
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7572 if test -z "$ac_cv_prog_LIPO"; then
7573 ac_ct_LIPO=$LIPO
7574 # Extract the first word of "lipo", so it can be a program name with args.
7575 set dummy lipo; ac_word=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7577 $as_echo_n "checking for $ac_word... " >&6; }
7578 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7579 $as_echo_n "(cached) " >&6
7580 else
7581 if test -n "$ac_ct_LIPO"; then
7582 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7583 else
7584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 for as_dir in $PATH
7587 IFS=$as_save_IFS
7588 test -z "$as_dir" && as_dir=.
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7591 ac_cv_prog_ac_ct_LIPO="lipo"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 break 2
7595 done
7596 done
7597 IFS=$as_save_IFS
7601 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7602 if test -n "$ac_ct_LIPO"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7604 $as_echo "$ac_ct_LIPO" >&6; }
7605 else
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607 $as_echo "no" >&6; }
7610 if test "x$ac_ct_LIPO" = x; then
7611 LIPO=":"
7612 else
7613 case $cross_compiling:$ac_tool_warned in
7614 yes:)
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7617 ac_tool_warned=yes ;;
7618 esac
7619 LIPO=$ac_ct_LIPO
7621 else
7622 LIPO="$ac_cv_prog_LIPO"
7625 if test -n "$ac_tool_prefix"; then
7626 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7627 set dummy ${ac_tool_prefix}otool; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7631 $as_echo_n "(cached) " >&6
7632 else
7633 if test -n "$OTOOL"; then
7634 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7635 else
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 for as_dir in $PATH
7639 IFS=$as_save_IFS
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 break 2
7647 done
7648 done
7649 IFS=$as_save_IFS
7653 OTOOL=$ac_cv_prog_OTOOL
7654 if test -n "$OTOOL"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7656 $as_echo "$OTOOL" >&6; }
7657 else
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7664 if test -z "$ac_cv_prog_OTOOL"; then
7665 ac_ct_OTOOL=$OTOOL
7666 # Extract the first word of "otool", so it can be a program name with args.
7667 set dummy otool; ac_word=$2
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669 $as_echo_n "checking for $ac_word... " >&6; }
7670 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7671 $as_echo_n "(cached) " >&6
7672 else
7673 if test -n "$ac_ct_OTOOL"; then
7674 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7675 else
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 for as_dir in $PATH
7679 IFS=$as_save_IFS
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683 ac_cv_prog_ac_ct_OTOOL="otool"
7684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 break 2
7687 done
7688 done
7689 IFS=$as_save_IFS
7693 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7694 if test -n "$ac_ct_OTOOL"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7696 $as_echo "$ac_ct_OTOOL" >&6; }
7697 else
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699 $as_echo "no" >&6; }
7702 if test "x$ac_ct_OTOOL" = x; then
7703 OTOOL=":"
7704 else
7705 case $cross_compiling:$ac_tool_warned in
7706 yes:)
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7709 ac_tool_warned=yes ;;
7710 esac
7711 OTOOL=$ac_ct_OTOOL
7713 else
7714 OTOOL="$ac_cv_prog_OTOOL"
7717 if test -n "$ac_tool_prefix"; then
7718 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7719 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721 $as_echo_n "checking for $ac_word... " >&6; }
7722 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7723 $as_echo_n "(cached) " >&6
7724 else
7725 if test -n "$OTOOL64"; then
7726 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7727 else
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 for as_dir in $PATH
7731 IFS=$as_save_IFS
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737 break 2
7739 done
7740 done
7741 IFS=$as_save_IFS
7745 OTOOL64=$ac_cv_prog_OTOOL64
7746 if test -n "$OTOOL64"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7748 $as_echo "$OTOOL64" >&6; }
7749 else
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7756 if test -z "$ac_cv_prog_OTOOL64"; then
7757 ac_ct_OTOOL64=$OTOOL64
7758 # Extract the first word of "otool64", so it can be a program name with args.
7759 set dummy otool64; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7761 $as_echo_n "checking for $ac_word... " >&6; }
7762 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7763 $as_echo_n "(cached) " >&6
7764 else
7765 if test -n "$ac_ct_OTOOL64"; then
7766 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7767 else
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 for as_dir in $PATH
7771 IFS=$as_save_IFS
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775 ac_cv_prog_ac_ct_OTOOL64="otool64"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 break 2
7779 done
7780 done
7781 IFS=$as_save_IFS
7785 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7786 if test -n "$ac_ct_OTOOL64"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7788 $as_echo "$ac_ct_OTOOL64" >&6; }
7789 else
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7791 $as_echo "no" >&6; }
7794 if test "x$ac_ct_OTOOL64" = x; then
7795 OTOOL64=":"
7796 else
7797 case $cross_compiling:$ac_tool_warned in
7798 yes:)
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7801 ac_tool_warned=yes ;;
7802 esac
7803 OTOOL64=$ac_ct_OTOOL64
7805 else
7806 OTOOL64="$ac_cv_prog_OTOOL64"
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7836 $as_echo_n "checking for -single_module linker flag... " >&6; }
7837 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7838 $as_echo_n "(cached) " >&6
7839 else
7840 lt_cv_apple_cc_single_mod=no
7841 if test -z "${LT_MULTI_MODULE}"; then
7842 # By default we will add the -single_module flag. You can override
7843 # by either setting the environment variable LT_MULTI_MODULE
7844 # non-empty at configure time, or by adding -multi_module to the
7845 # link flags.
7846 rm -rf libconftest.dylib*
7847 echo "int foo(void){return 1;}" > conftest.c
7848 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7849 -dynamiclib -Wl,-single_module conftest.c" >&5
7850 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7851 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7852 _lt_result=$?
7853 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7854 lt_cv_apple_cc_single_mod=yes
7855 else
7856 cat conftest.err >&5
7858 rm -rf libconftest.dylib*
7859 rm -f conftest.*
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7863 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7865 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7866 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7867 $as_echo_n "(cached) " >&6
7868 else
7869 lt_cv_ld_exported_symbols_list=no
7870 save_LDFLAGS=$LDFLAGS
7871 echo "_main" > conftest.sym
7872 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7873 if test x$gcc_no_link = xyes; then
7874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h. */
7880 main ()
7884 return 0;
7886 _ACEOF
7887 if ac_fn_c_try_link "$LINENO"; then :
7888 lt_cv_ld_exported_symbols_list=yes
7889 else
7890 lt_cv_ld_exported_symbols_list=no
7892 rm -f core conftest.err conftest.$ac_objext \
7893 conftest$ac_exeext conftest.$ac_ext
7894 LDFLAGS="$save_LDFLAGS"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7898 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7900 $as_echo_n "checking for -force_load linker flag... " >&6; }
7901 if test "${lt_cv_ld_force_load+set}" = set; then :
7902 $as_echo_n "(cached) " >&6
7903 else
7904 lt_cv_ld_force_load=no
7905 cat > conftest.c << _LT_EOF
7906 int forced_loaded() { return 2;}
7907 _LT_EOF
7908 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7909 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7910 echo "$AR cru libconftest.a conftest.o" >&5
7911 $AR cru libconftest.a conftest.o 2>&5
7912 cat > conftest.c << _LT_EOF
7913 int main() { return 0;}
7914 _LT_EOF
7915 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7916 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7917 _lt_result=$?
7918 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7919 lt_cv_ld_force_load=yes
7920 else
7921 cat conftest.err >&5
7923 rm -f conftest.err libconftest.a conftest conftest.c
7924 rm -rf conftest.dSYM
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7928 $as_echo "$lt_cv_ld_force_load" >&6; }
7929 case $host_os in
7930 rhapsody* | darwin1.[012])
7931 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7932 darwin1.*)
7933 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7934 darwin*) # darwin 5.x on
7935 # if running on 10.5 or later, the deployment target defaults
7936 # to the OS version, if on x86, and 10.4, the deployment
7937 # target defaults to 10.4. Don't you love it?
7938 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7939 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7940 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7941 10.[012][,.]*)
7942 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7943 10.*)
7944 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7945 esac
7947 esac
7948 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7949 _lt_dar_single_mod='$single_module'
7951 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7952 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7953 else
7954 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7956 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7957 _lt_dsymutil='~$DSYMUTIL $lib || :'
7958 else
7959 _lt_dsymutil=
7962 esac
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7965 $as_echo_n "checking for ANSI C header files... " >&6; }
7966 if test "${ac_cv_header_stdc+set}" = set; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 #include <stdlib.h>
7972 #include <stdarg.h>
7973 #include <string.h>
7974 #include <float.h>
7977 main ()
7981 return 0;
7983 _ACEOF
7984 if ac_fn_c_try_compile "$LINENO"; then :
7985 ac_cv_header_stdc=yes
7986 else
7987 ac_cv_header_stdc=no
7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7991 if test $ac_cv_header_stdc = yes; then
7992 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 #include <string.h>
7997 _ACEOF
7998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7999 $EGREP "memchr" >/dev/null 2>&1; then :
8001 else
8002 ac_cv_header_stdc=no
8004 rm -f conftest*
8008 if test $ac_cv_header_stdc = yes; then
8009 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8012 #include <stdlib.h>
8014 _ACEOF
8015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8016 $EGREP "free" >/dev/null 2>&1; then :
8018 else
8019 ac_cv_header_stdc=no
8021 rm -f conftest*
8025 if test $ac_cv_header_stdc = yes; then
8026 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8027 if test "$cross_compiling" = yes; then :
8029 else
8030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8032 #include <ctype.h>
8033 #include <stdlib.h>
8034 #if ((' ' & 0x0FF) == 0x020)
8035 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8036 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8037 #else
8038 # define ISLOWER(c) \
8039 (('a' <= (c) && (c) <= 'i') \
8040 || ('j' <= (c) && (c) <= 'r') \
8041 || ('s' <= (c) && (c) <= 'z'))
8042 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8043 #endif
8045 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8047 main ()
8049 int i;
8050 for (i = 0; i < 256; i++)
8051 if (XOR (islower (i), ISLOWER (i))
8052 || toupper (i) != TOUPPER (i))
8053 return 2;
8054 return 0;
8056 _ACEOF
8057 if ac_fn_c_try_run "$LINENO"; then :
8059 else
8060 ac_cv_header_stdc=no
8062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8063 conftest.$ac_objext conftest.beam conftest.$ac_ext
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8069 $as_echo "$ac_cv_header_stdc" >&6; }
8070 if test $ac_cv_header_stdc = yes; then
8072 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8076 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8077 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8078 inttypes.h stdint.h unistd.h
8079 do :
8080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8081 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8083 eval as_val=\$$as_ac_Header
8084 if test "x$as_val" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8087 _ACEOF
8091 done
8094 for ac_header in dlfcn.h
8095 do :
8096 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8098 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8099 cat >>confdefs.h <<_ACEOF
8100 #define HAVE_DLFCN_H 1
8101 _ACEOF
8105 done
8112 # Set options
8117 enable_win32_dll=no
8120 # Check whether --enable-shared was given.
8121 if test "${enable_shared+set}" = set; then :
8122 enableval=$enable_shared; p=${PACKAGE-default}
8123 case $enableval in
8124 yes) enable_shared=yes ;;
8125 no) enable_shared=no ;;
8127 enable_shared=no
8128 # Look at the argument we got. We use all the common list separators.
8129 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8130 for pkg in $enableval; do
8131 IFS="$lt_save_ifs"
8132 if test "X$pkg" = "X$p"; then
8133 enable_shared=yes
8135 done
8136 IFS="$lt_save_ifs"
8138 esac
8139 else
8140 enable_shared=yes
8151 # Check whether --enable-static was given.
8152 if test "${enable_static+set}" = set; then :
8153 enableval=$enable_static; p=${PACKAGE-default}
8154 case $enableval in
8155 yes) enable_static=yes ;;
8156 no) enable_static=no ;;
8158 enable_static=no
8159 # Look at the argument we got. We use all the common list separators.
8160 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8161 for pkg in $enableval; do
8162 IFS="$lt_save_ifs"
8163 if test "X$pkg" = "X$p"; then
8164 enable_static=yes
8166 done
8167 IFS="$lt_save_ifs"
8169 esac
8170 else
8171 enable_static=yes
8183 # Check whether --with-pic was given.
8184 if test "${with_pic+set}" = set; then :
8185 withval=$with_pic; pic_mode="$withval"
8186 else
8187 pic_mode=default
8191 test -z "$pic_mode" && pic_mode=default
8199 # Check whether --enable-fast-install was given.
8200 if test "${enable_fast_install+set}" = set; then :
8201 enableval=$enable_fast_install; p=${PACKAGE-default}
8202 case $enableval in
8203 yes) enable_fast_install=yes ;;
8204 no) enable_fast_install=no ;;
8206 enable_fast_install=no
8207 # Look at the argument we got. We use all the common list separators.
8208 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8209 for pkg in $enableval; do
8210 IFS="$lt_save_ifs"
8211 if test "X$pkg" = "X$p"; then
8212 enable_fast_install=yes
8214 done
8215 IFS="$lt_save_ifs"
8217 esac
8218 else
8219 enable_fast_install=yes
8232 # This can be used to rebuild libtool when needed
8233 LIBTOOL_DEPS="$ltmain"
8235 # Always use our own libtool.
8236 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8263 test -z "$LN_S" && LN_S="ln -s"
8278 if test -n "${ZSH_VERSION+set}" ; then
8279 setopt NO_GLOB_SUBST
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8283 $as_echo_n "checking for objdir... " >&6; }
8284 if test "${lt_cv_objdir+set}" = set; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 rm -f .libs 2>/dev/null
8288 mkdir .libs 2>/dev/null
8289 if test -d .libs; then
8290 lt_cv_objdir=.libs
8291 else
8292 # MS-DOS does not allow filenames that begin with a dot.
8293 lt_cv_objdir=_libs
8295 rmdir .libs 2>/dev/null
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8298 $as_echo "$lt_cv_objdir" >&6; }
8299 objdir=$lt_cv_objdir
8305 cat >>confdefs.h <<_ACEOF
8306 #define LT_OBJDIR "$lt_cv_objdir/"
8307 _ACEOF
8312 case $host_os in
8313 aix3*)
8314 # AIX sometimes has problems with the GCC collect2 program. For some
8315 # reason, if we set the COLLECT_NAMES environment variable, the problems
8316 # vanish in a puff of smoke.
8317 if test "X${COLLECT_NAMES+set}" != Xset; then
8318 COLLECT_NAMES=
8319 export COLLECT_NAMES
8322 esac
8324 # Global variables:
8325 ofile=libtool
8326 can_build_shared=yes
8328 # All known linkers require a `.a' archive for static linking (except MSVC,
8329 # which needs '.lib').
8330 libext=a
8332 with_gnu_ld="$lt_cv_prog_gnu_ld"
8334 old_CC="$CC"
8335 old_CFLAGS="$CFLAGS"
8337 # Set sane defaults for various variables
8338 test -z "$CC" && CC=cc
8339 test -z "$LTCC" && LTCC=$CC
8340 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8341 test -z "$LD" && LD=ld
8342 test -z "$ac_objext" && ac_objext=o
8344 for cc_temp in $compiler""; do
8345 case $cc_temp in
8346 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8347 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8348 \-*) ;;
8349 *) break;;
8350 esac
8351 done
8352 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8355 # Only perform the check for file, if the check method requires it
8356 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8357 case $deplibs_check_method in
8358 file_magic*)
8359 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8361 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8362 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 case $MAGIC_CMD in
8366 [\\/*] | ?:[\\/]*)
8367 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8370 lt_save_MAGIC_CMD="$MAGIC_CMD"
8371 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8372 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8373 for ac_dir in $ac_dummy; do
8374 IFS="$lt_save_ifs"
8375 test -z "$ac_dir" && ac_dir=.
8376 if test -f $ac_dir/${ac_tool_prefix}file; then
8377 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8378 if test -n "$file_magic_test_file"; then
8379 case $deplibs_check_method in
8380 "file_magic "*)
8381 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8384 $EGREP "$file_magic_regex" > /dev/null; then
8386 else
8387 cat <<_LT_EOF 1>&2
8389 *** Warning: the command libtool uses to detect shared libraries,
8390 *** $file_magic_cmd, produces output that libtool cannot recognize.
8391 *** The result is that libtool may fail to recognize shared libraries
8392 *** as such. This will affect the creation of libtool libraries that
8393 *** depend on shared libraries, but programs linked with such libtool
8394 *** libraries will work regardless of this problem. Nevertheless, you
8395 *** may want to report the problem to your system manager and/or to
8396 *** bug-libtool@gnu.org
8398 _LT_EOF
8399 fi ;;
8400 esac
8402 break
8404 done
8405 IFS="$lt_save_ifs"
8406 MAGIC_CMD="$lt_save_MAGIC_CMD"
8408 esac
8411 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8412 if test -n "$MAGIC_CMD"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8414 $as_echo "$MAGIC_CMD" >&6; }
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8424 if test -z "$lt_cv_path_MAGIC_CMD"; then
8425 if test -n "$ac_tool_prefix"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8427 $as_echo_n "checking for file... " >&6; }
8428 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 case $MAGIC_CMD in
8432 [\\/*] | ?:[\\/]*)
8433 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8436 lt_save_MAGIC_CMD="$MAGIC_CMD"
8437 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8438 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8439 for ac_dir in $ac_dummy; do
8440 IFS="$lt_save_ifs"
8441 test -z "$ac_dir" && ac_dir=.
8442 if test -f $ac_dir/file; then
8443 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8444 if test -n "$file_magic_test_file"; then
8445 case $deplibs_check_method in
8446 "file_magic "*)
8447 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8448 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8449 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8450 $EGREP "$file_magic_regex" > /dev/null; then
8452 else
8453 cat <<_LT_EOF 1>&2
8455 *** Warning: the command libtool uses to detect shared libraries,
8456 *** $file_magic_cmd, produces output that libtool cannot recognize.
8457 *** The result is that libtool may fail to recognize shared libraries
8458 *** as such. This will affect the creation of libtool libraries that
8459 *** depend on shared libraries, but programs linked with such libtool
8460 *** libraries will work regardless of this problem. Nevertheless, you
8461 *** may want to report the problem to your system manager and/or to
8462 *** bug-libtool@gnu.org
8464 _LT_EOF
8465 fi ;;
8466 esac
8468 break
8470 done
8471 IFS="$lt_save_ifs"
8472 MAGIC_CMD="$lt_save_MAGIC_CMD"
8474 esac
8477 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8478 if test -n "$MAGIC_CMD"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8480 $as_echo "$MAGIC_CMD" >&6; }
8481 else
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8483 $as_echo "no" >&6; }
8487 else
8488 MAGIC_CMD=:
8494 esac
8496 # Use C for the default configuration in the libtool script
8498 lt_save_CC="$CC"
8499 ac_ext=c
8500 ac_cpp='$CPP $CPPFLAGS'
8501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8506 # Source file extension for C test sources.
8507 ac_ext=c
8509 # Object file extension for compiled C test sources.
8510 objext=o
8511 objext=$objext
8513 # Code to be used in simple compile tests
8514 lt_simple_compile_test_code="int some_variable = 0;"
8516 # Code to be used in simple link tests
8517 lt_simple_link_test_code='int main(){return(0);}'
8525 # If no C compiler was specified, use CC.
8526 LTCC=${LTCC-"$CC"}
8528 # If no C compiler flags were specified, use CFLAGS.
8529 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8531 # Allow CC to be a program name with arguments.
8532 compiler=$CC
8534 # Save the default compiler, since it gets overwritten when the other
8535 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8536 compiler_DEFAULT=$CC
8538 # save warnings/boilerplate of simple test code
8539 ac_outfile=conftest.$ac_objext
8540 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8541 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8542 _lt_compiler_boilerplate=`cat conftest.err`
8543 $RM conftest*
8545 ac_outfile=conftest.$ac_objext
8546 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8547 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8548 _lt_linker_boilerplate=`cat conftest.err`
8549 $RM -r conftest*
8552 ## CAVEAT EMPTOR:
8553 ## There is no encapsulation within the following macros, do not change
8554 ## the running order or otherwise move them around unless you know exactly
8555 ## what you are doing...
8556 if test -n "$compiler"; then
8558 lt_prog_compiler_no_builtin_flag=
8560 if test "$GCC" = yes; then
8561 case $cc_basename in
8562 nvcc*)
8563 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8565 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8566 esac
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8569 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8570 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 lt_cv_prog_compiler_rtti_exceptions=no
8574 ac_outfile=conftest.$ac_objext
8575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8576 lt_compiler_flag="-fno-rtti -fno-exceptions"
8577 # Insert the option either (1) after the last *FLAGS variable, or
8578 # (2) before a word containing "conftest.", or (3) at the end.
8579 # Note that $ac_compile itself does not contain backslashes and begins
8580 # with a dollar sign (not a hyphen), so the echo should work correctly.
8581 # The option is referenced via a variable to avoid confusing sed.
8582 lt_compile=`echo "$ac_compile" | $SED \
8583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585 -e 's:$: $lt_compiler_flag:'`
8586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8587 (eval "$lt_compile" 2>conftest.err)
8588 ac_status=$?
8589 cat conftest.err >&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 if (exit $ac_status) && test -s "$ac_outfile"; then
8592 # The compiler can only warn and ignore the option if not recognized
8593 # So say no if there are warnings other than the usual output.
8594 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8596 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8597 lt_cv_prog_compiler_rtti_exceptions=yes
8600 $RM conftest*
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8604 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8606 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8607 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8608 else
8619 lt_prog_compiler_wl=
8620 lt_prog_compiler_pic=
8621 lt_prog_compiler_static=
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8624 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8626 if test "$GCC" = yes; then
8627 lt_prog_compiler_wl='-Wl,'
8628 lt_prog_compiler_static='-static'
8630 case $host_os in
8631 aix*)
8632 # All AIX code is PIC.
8633 if test "$host_cpu" = ia64; then
8634 # AIX 5 now supports IA64 processor
8635 lt_prog_compiler_static='-Bstatic'
8637 lt_prog_compiler_pic='-fPIC'
8640 amigaos*)
8641 case $host_cpu in
8642 powerpc)
8643 # see comment about AmigaOS4 .so support
8644 lt_prog_compiler_pic='-fPIC'
8646 m68k)
8647 # FIXME: we need at least 68020 code to build shared libraries, but
8648 # adding the `-m68020' flag to GCC prevents building anything better,
8649 # like `-m68040'.
8650 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8652 esac
8655 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8656 # PIC is the default for these OSes.
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8663 # (--disable-auto-import) libraries
8664 lt_prog_compiler_pic='-DDLL_EXPORT'
8667 darwin* | rhapsody*)
8668 # PIC is the default on this platform
8669 # Common symbols not allowed in MH_DYLIB files
8670 lt_prog_compiler_pic='-fno-common'
8673 haiku*)
8674 # PIC is the default for Haiku.
8675 # The "-static" flag exists, but is broken.
8676 lt_prog_compiler_static=
8679 hpux*)
8680 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8681 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8682 # sets the default TLS model and affects inlining.
8683 case $host_cpu in
8684 hppa*64*)
8685 # +Z the default
8688 lt_prog_compiler_pic='-fPIC'
8690 esac
8693 interix[3-9]*)
8694 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8695 # Instead, we relocate shared libraries at runtime.
8698 msdosdjgpp*)
8699 # Just because we use GCC doesn't mean we suddenly get shared libraries
8700 # on systems that don't support them.
8701 lt_prog_compiler_can_build_shared=no
8702 enable_shared=no
8705 *nto* | *qnx*)
8706 # QNX uses GNU C++, but need to define -shared option too, otherwise
8707 # it will coredump.
8708 lt_prog_compiler_pic='-fPIC -shared'
8711 sysv4*MP*)
8712 if test -d /usr/nec; then
8713 lt_prog_compiler_pic=-Kconform_pic
8718 lt_prog_compiler_pic='-fPIC'
8720 esac
8722 case $cc_basename in
8723 nvcc*) # Cuda Compiler Driver 2.2
8724 lt_prog_compiler_wl='-Xlinker '
8725 lt_prog_compiler_pic='-Xcompiler -fPIC'
8727 esac
8728 else
8729 # PORTME Check for flag to pass linker flags through the system compiler.
8730 case $host_os in
8731 aix*)
8732 lt_prog_compiler_wl='-Wl,'
8733 if test "$host_cpu" = ia64; then
8734 # AIX 5 now supports IA64 processor
8735 lt_prog_compiler_static='-Bstatic'
8736 else
8737 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8741 mingw* | cygwin* | pw32* | os2* | cegcc*)
8742 # This hack is so that the source file can tell whether it is being
8743 # built for inclusion in a dll (and should export symbols for example).
8744 lt_prog_compiler_pic='-DDLL_EXPORT'
8747 hpux9* | hpux10* | hpux11*)
8748 lt_prog_compiler_wl='-Wl,'
8749 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8750 # not for PA HP-UX.
8751 case $host_cpu in
8752 hppa*64*|ia64*)
8753 # +Z the default
8756 lt_prog_compiler_pic='+Z'
8758 esac
8759 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8760 lt_prog_compiler_static='${wl}-a ${wl}archive'
8763 irix5* | irix6* | nonstopux*)
8764 lt_prog_compiler_wl='-Wl,'
8765 # PIC (with -KPIC) is the default.
8766 lt_prog_compiler_static='-non_shared'
8769 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8770 case $cc_basename in
8771 # old Intel for x86_64 which still supported -KPIC.
8772 ecc*)
8773 lt_prog_compiler_wl='-Wl,'
8774 lt_prog_compiler_pic='-KPIC'
8775 lt_prog_compiler_static='-static'
8777 # icc used to be incompatible with GCC.
8778 # ICC 10 doesn't accept -KPIC any more.
8779 icc* | ifort*)
8780 lt_prog_compiler_wl='-Wl,'
8781 lt_prog_compiler_pic='-fPIC'
8782 lt_prog_compiler_static='-static'
8784 # Lahey Fortran 8.1.
8785 lf95*)
8786 lt_prog_compiler_wl='-Wl,'
8787 lt_prog_compiler_pic='--shared'
8788 lt_prog_compiler_static='--static'
8790 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8791 # Portland Group compilers (*not* the Pentium gcc compiler,
8792 # which looks to be a dead project)
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-fpic'
8795 lt_prog_compiler_static='-Bstatic'
8797 ccc*)
8798 lt_prog_compiler_wl='-Wl,'
8799 # All Alpha code is PIC.
8800 lt_prog_compiler_static='-non_shared'
8802 xl* | bgxl* | bgf* | mpixl*)
8803 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8804 lt_prog_compiler_wl='-Wl,'
8805 lt_prog_compiler_pic='-qpic'
8806 lt_prog_compiler_static='-qstaticlink'
8809 case `$CC -V 2>&1 | sed 5q` in
8810 *Sun\ F* | *Sun*Fortran*)
8811 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8812 lt_prog_compiler_pic='-KPIC'
8813 lt_prog_compiler_static='-Bstatic'
8814 lt_prog_compiler_wl=''
8816 *Sun\ C*)
8817 # Sun C 5.9
8818 lt_prog_compiler_pic='-KPIC'
8819 lt_prog_compiler_static='-Bstatic'
8820 lt_prog_compiler_wl='-Wl,'
8822 esac
8824 esac
8827 newsos6)
8828 lt_prog_compiler_pic='-KPIC'
8829 lt_prog_compiler_static='-Bstatic'
8832 *nto* | *qnx*)
8833 # QNX uses GNU C++, but need to define -shared option too, otherwise
8834 # it will coredump.
8835 lt_prog_compiler_pic='-fPIC -shared'
8838 osf3* | osf4* | osf5*)
8839 lt_prog_compiler_wl='-Wl,'
8840 # All OSF/1 code is PIC.
8841 lt_prog_compiler_static='-non_shared'
8844 rdos*)
8845 lt_prog_compiler_static='-non_shared'
8848 solaris*)
8849 lt_prog_compiler_pic='-KPIC'
8850 lt_prog_compiler_static='-Bstatic'
8851 case $cc_basename in
8852 f77* | f90* | f95*)
8853 lt_prog_compiler_wl='-Qoption ld ';;
8855 lt_prog_compiler_wl='-Wl,';;
8856 esac
8859 sunos4*)
8860 lt_prog_compiler_wl='-Qoption ld '
8861 lt_prog_compiler_pic='-PIC'
8862 lt_prog_compiler_static='-Bstatic'
8865 sysv4 | sysv4.2uw2* | sysv4.3*)
8866 lt_prog_compiler_wl='-Wl,'
8867 lt_prog_compiler_pic='-KPIC'
8868 lt_prog_compiler_static='-Bstatic'
8871 sysv4*MP*)
8872 if test -d /usr/nec ;then
8873 lt_prog_compiler_pic='-Kconform_pic'
8874 lt_prog_compiler_static='-Bstatic'
8878 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8879 lt_prog_compiler_wl='-Wl,'
8880 lt_prog_compiler_pic='-KPIC'
8881 lt_prog_compiler_static='-Bstatic'
8884 unicos*)
8885 lt_prog_compiler_wl='-Wl,'
8886 lt_prog_compiler_can_build_shared=no
8889 uts4*)
8890 lt_prog_compiler_pic='-pic'
8891 lt_prog_compiler_static='-Bstatic'
8895 lt_prog_compiler_can_build_shared=no
8897 esac
8900 case $host_os in
8901 # For platforms which do not support PIC, -DPIC is meaningless:
8902 *djgpp*)
8903 lt_prog_compiler_pic=
8906 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8908 esac
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8910 $as_echo "$lt_prog_compiler_pic" >&6; }
8918 # Check to make sure the PIC flag actually works.
8920 if test -n "$lt_prog_compiler_pic"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8922 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8923 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 lt_cv_prog_compiler_pic_works=no
8927 ac_outfile=conftest.$ac_objext
8928 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8929 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8930 # Insert the option either (1) after the last *FLAGS variable, or
8931 # (2) before a word containing "conftest.", or (3) at the end.
8932 # Note that $ac_compile itself does not contain backslashes and begins
8933 # with a dollar sign (not a hyphen), so the echo should work correctly.
8934 # The option is referenced via a variable to avoid confusing sed.
8935 lt_compile=`echo "$ac_compile" | $SED \
8936 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8938 -e 's:$: $lt_compiler_flag:'`
8939 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8940 (eval "$lt_compile" 2>conftest.err)
8941 ac_status=$?
8942 cat conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 if (exit $ac_status) && test -s "$ac_outfile"; then
8945 # The compiler can only warn and ignore the option if not recognized
8946 # So say no if there are warnings other than the usual output.
8947 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8948 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8949 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8950 lt_cv_prog_compiler_pic_works=yes
8953 $RM conftest*
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8957 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8959 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8960 case $lt_prog_compiler_pic in
8961 "" | " "*) ;;
8962 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8963 esac
8964 else
8965 lt_prog_compiler_pic=
8966 lt_prog_compiler_can_build_shared=no
8977 # Check to make sure the static flag actually works.
8979 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8981 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8982 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 lt_cv_prog_compiler_static_works=no
8986 save_LDFLAGS="$LDFLAGS"
8987 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8988 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8989 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8990 # The linker can only warn and ignore the option if not recognized
8991 # So say no if there are warnings
8992 if test -s conftest.err; then
8993 # Append any errors to the config.log.
8994 cat conftest.err 1>&5
8995 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8996 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8997 if diff conftest.exp conftest.er2 >/dev/null; then
8998 lt_cv_prog_compiler_static_works=yes
9000 else
9001 lt_cv_prog_compiler_static_works=yes
9004 $RM -r conftest*
9005 LDFLAGS="$save_LDFLAGS"
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9009 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9011 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9013 else
9014 lt_prog_compiler_static=
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9024 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9025 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9026 $as_echo_n "(cached) " >&6
9027 else
9028 lt_cv_prog_compiler_c_o=no
9029 $RM -r conftest 2>/dev/null
9030 mkdir conftest
9031 cd conftest
9032 mkdir out
9033 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9035 lt_compiler_flag="-o out/conftest2.$ac_objext"
9036 # Insert the option either (1) after the last *FLAGS variable, or
9037 # (2) before a word containing "conftest.", or (3) at the end.
9038 # Note that $ac_compile itself does not contain backslashes and begins
9039 # with a dollar sign (not a hyphen), so the echo should work correctly.
9040 lt_compile=`echo "$ac_compile" | $SED \
9041 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9042 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9043 -e 's:$: $lt_compiler_flag:'`
9044 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9045 (eval "$lt_compile" 2>out/conftest.err)
9046 ac_status=$?
9047 cat out/conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9050 then
9051 # The compiler can only warn and ignore the option if not recognized
9052 # So say no if there are warnings
9053 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9054 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9055 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9056 lt_cv_prog_compiler_c_o=yes
9059 chmod u+w . 2>&5
9060 $RM conftest*
9061 # SGI C++ compiler will create directory out/ii_files/ for
9062 # template instantiation
9063 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9064 $RM out/* && rmdir out
9065 cd ..
9066 $RM -r conftest
9067 $RM conftest*
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9071 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9079 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9080 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 lt_cv_prog_compiler_c_o=no
9084 $RM -r conftest 2>/dev/null
9085 mkdir conftest
9086 cd conftest
9087 mkdir out
9088 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9090 lt_compiler_flag="-o out/conftest2.$ac_objext"
9091 # Insert the option either (1) after the last *FLAGS variable, or
9092 # (2) before a word containing "conftest.", or (3) at the end.
9093 # Note that $ac_compile itself does not contain backslashes and begins
9094 # with a dollar sign (not a hyphen), so the echo should work correctly.
9095 lt_compile=`echo "$ac_compile" | $SED \
9096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9098 -e 's:$: $lt_compiler_flag:'`
9099 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9100 (eval "$lt_compile" 2>out/conftest.err)
9101 ac_status=$?
9102 cat out/conftest.err >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9105 then
9106 # The compiler can only warn and ignore the option if not recognized
9107 # So say no if there are warnings
9108 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9109 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9110 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9111 lt_cv_prog_compiler_c_o=yes
9114 chmod u+w . 2>&5
9115 $RM conftest*
9116 # SGI C++ compiler will create directory out/ii_files/ for
9117 # template instantiation
9118 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9119 $RM out/* && rmdir out
9120 cd ..
9121 $RM -r conftest
9122 $RM conftest*
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9126 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9131 hard_links="nottested"
9132 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9133 # do not overwrite the value of need_locks provided by the user
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9135 $as_echo_n "checking if we can lock with hard links... " >&6; }
9136 hard_links=yes
9137 $RM conftest*
9138 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9139 touch conftest.a
9140 ln conftest.a conftest.b 2>&5 || hard_links=no
9141 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9143 $as_echo "$hard_links" >&6; }
9144 if test "$hard_links" = no; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9146 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9147 need_locks=warn
9149 else
9150 need_locks=no
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9159 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9161 runpath_var=
9162 allow_undefined_flag=
9163 always_export_symbols=no
9164 archive_cmds=
9165 archive_expsym_cmds=
9166 compiler_needs_object=no
9167 enable_shared_with_static_runtimes=no
9168 export_dynamic_flag_spec=
9169 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9170 hardcode_automatic=no
9171 hardcode_direct=no
9172 hardcode_direct_absolute=no
9173 hardcode_libdir_flag_spec=
9174 hardcode_libdir_flag_spec_ld=
9175 hardcode_libdir_separator=
9176 hardcode_minus_L=no
9177 hardcode_shlibpath_var=unsupported
9178 inherit_rpath=no
9179 link_all_deplibs=unknown
9180 module_cmds=
9181 module_expsym_cmds=
9182 old_archive_from_new_cmds=
9183 old_archive_from_expsyms_cmds=
9184 thread_safe_flag_spec=
9185 whole_archive_flag_spec=
9186 # include_expsyms should be a list of space-separated symbols to be *always*
9187 # included in the symbol list
9188 include_expsyms=
9189 # exclude_expsyms can be an extended regexp of symbols to exclude
9190 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9191 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9192 # as well as any symbol that contains `d'.
9193 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9194 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9195 # platforms (ab)use it in PIC code, but their linkers get confused if
9196 # the symbol is explicitly referenced. Since portable code cannot
9197 # rely on this symbol name, it's probably fine to never include it in
9198 # preloaded symbol tables.
9199 # Exclude shared library initialization/finalization symbols.
9200 extract_expsyms_cmds=
9202 case $host_os in
9203 cygwin* | mingw* | pw32* | cegcc*)
9204 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9205 # When not using gcc, we currently assume that we are using
9206 # Microsoft Visual C++.
9207 if test "$GCC" != yes; then
9208 with_gnu_ld=no
9211 interix*)
9212 # we just hope/assume this is gcc and not c89 (= MSVC++)
9213 with_gnu_ld=yes
9215 openbsd*)
9216 with_gnu_ld=no
9218 esac
9220 ld_shlibs=yes
9222 # On some targets, GNU ld is compatible enough with the native linker
9223 # that we're better off using the native interface for both.
9224 lt_use_gnu_ld_interface=no
9225 if test "$with_gnu_ld" = yes; then
9226 case $host_os in
9227 aix*)
9228 # The AIX port of GNU ld has always aspired to compatibility
9229 # with the native linker. However, as the warning in the GNU ld
9230 # block says, versions before 2.19.5* couldn't really create working
9231 # shared libraries, regardless of the interface used.
9232 case `$LD -v 2>&1` in
9233 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9234 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9235 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9237 lt_use_gnu_ld_interface=yes
9239 esac
9242 lt_use_gnu_ld_interface=yes
9244 esac
9247 if test "$lt_use_gnu_ld_interface" = yes; then
9248 # If archive_cmds runs LD, not CC, wlarc should be empty
9249 wlarc='${wl}'
9251 # Set some defaults for GNU ld with shared library support. These
9252 # are reset later if shared libraries are not supported. Putting them
9253 # here allows them to be overridden if necessary.
9254 runpath_var=LD_RUN_PATH
9255 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256 export_dynamic_flag_spec='${wl}--export-dynamic'
9257 # ancient GNU ld didn't support --whole-archive et. al.
9258 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9259 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9260 else
9261 whole_archive_flag_spec=
9263 supports_anon_versioning=no
9264 case `$LD -v 2>&1` in
9265 *GNU\ gold*) supports_anon_versioning=yes ;;
9266 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9267 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9268 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9269 *\ 2.11.*) ;; # other 2.11 versions
9270 *) supports_anon_versioning=yes ;;
9271 esac
9273 # See if GNU ld supports shared libraries.
9274 case $host_os in
9275 aix[3-9]*)
9276 # On AIX/PPC, the GNU linker is very broken
9277 if test "$host_cpu" != ia64; then
9278 ld_shlibs=no
9279 cat <<_LT_EOF 1>&2
9281 *** Warning: the GNU linker, at least up to release 2.19, is reported
9282 *** to be unable to reliably create shared libraries on AIX.
9283 *** Therefore, libtool is disabling shared libraries support. If you
9284 *** really care for shared libraries, you may want to install binutils
9285 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9286 *** You will then need to restart the configuration process.
9288 _LT_EOF
9292 amigaos*)
9293 case $host_cpu in
9294 powerpc)
9295 # see comment about AmigaOS4 .so support
9296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297 archive_expsym_cmds=''
9299 m68k)
9300 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)'
9301 hardcode_libdir_flag_spec='-L$libdir'
9302 hardcode_minus_L=yes
9304 esac
9307 beos*)
9308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9309 allow_undefined_flag=unsupported
9310 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9311 # support --undefined. This deserves some investigation. FIXME
9312 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313 else
9314 ld_shlibs=no
9318 cygwin* | mingw* | pw32* | cegcc*)
9319 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9320 # as there is no search path for DLLs.
9321 hardcode_libdir_flag_spec='-L$libdir'
9322 export_dynamic_flag_spec='${wl}--export-all-symbols'
9323 allow_undefined_flag=unsupported
9324 always_export_symbols=no
9325 enable_shared_with_static_runtimes=yes
9326 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9328 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9329 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9330 # If the export-symbols file already is a .def file (1st line
9331 # is EXPORTS), use it as is; otherwise, prepend...
9332 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9333 cp $export_symbols $output_objdir/$soname.def;
9334 else
9335 echo EXPORTS > $output_objdir/$soname.def;
9336 cat $export_symbols >> $output_objdir/$soname.def;
9338 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9339 else
9340 ld_shlibs=no
9344 haiku*)
9345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 link_all_deplibs=yes
9349 interix[3-9]*)
9350 hardcode_direct=no
9351 hardcode_shlibpath_var=no
9352 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9353 export_dynamic_flag_spec='${wl}-E'
9354 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9355 # Instead, shared libraries are loaded at an image base (0x10000000 by
9356 # default) and relocated if they conflict, which is a slow very memory
9357 # consuming and fragmenting process. To avoid this, we pick a random,
9358 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9359 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9360 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9361 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'
9364 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9365 tmp_diet=no
9366 if test "$host_os" = linux-dietlibc; then
9367 case $cc_basename in
9368 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9369 esac
9371 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9372 && test "$tmp_diet" = no
9373 then
9374 tmp_addflag=' $pic_flag'
9375 tmp_sharedflag='-shared'
9376 case $cc_basename,$host_cpu in
9377 pgcc*) # Portland Group C compiler
9378 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'
9379 tmp_addflag=' $pic_flag'
9381 pgf77* | pgf90* | pgf95* | pgfortran*)
9382 # Portland Group f77 and f90 compilers
9383 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'
9384 tmp_addflag=' $pic_flag -Mnomain' ;;
9385 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9386 tmp_addflag=' -i_dynamic' ;;
9387 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9388 tmp_addflag=' -i_dynamic -nofor_main' ;;
9389 ifc* | ifort*) # Intel Fortran compiler
9390 tmp_addflag=' -nofor_main' ;;
9391 lf95*) # Lahey Fortran 8.1
9392 whole_archive_flag_spec=
9393 tmp_sharedflag='--shared' ;;
9394 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9395 tmp_sharedflag='-qmkshrobj'
9396 tmp_addflag= ;;
9397 nvcc*) # Cuda Compiler Driver 2.2
9398 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'
9399 compiler_needs_object=yes
9401 esac
9402 case `$CC -V 2>&1 | sed 5q` in
9403 *Sun\ C*) # Sun C 5.9
9404 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'
9405 compiler_needs_object=yes
9406 tmp_sharedflag='-G' ;;
9407 *Sun\ F*) # Sun Fortran 8.3
9408 tmp_sharedflag='-G' ;;
9409 esac
9410 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9419 case $cc_basename in
9420 xlf* | bgf* | bgxlf* | mpixlf*)
9421 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9422 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9423 hardcode_libdir_flag_spec=
9424 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9425 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9426 if test "x$supports_anon_versioning" = xyes; then
9427 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9428 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9429 echo "local: *; };" >> $output_objdir/$libname.ver~
9430 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9433 esac
9434 else
9435 ld_shlibs=no
9439 netbsd*)
9440 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9441 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9442 wlarc=
9443 else
9444 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9445 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9449 solaris*)
9450 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9451 ld_shlibs=no
9452 cat <<_LT_EOF 1>&2
9454 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9455 *** create shared libraries on Solaris systems. Therefore, libtool
9456 *** is disabling shared libraries support. We urge you to upgrade GNU
9457 *** binutils to release 2.9.1 or newer. Another option is to modify
9458 *** your PATH or compiler configuration so that the native linker is
9459 *** used, and then restart.
9461 _LT_EOF
9462 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9464 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9465 else
9466 ld_shlibs=no
9470 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9471 case `$LD -v 2>&1` in
9472 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9473 ld_shlibs=no
9474 cat <<_LT_EOF 1>&2
9476 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9477 *** reliably create shared libraries on SCO systems. Therefore, libtool
9478 *** is disabling shared libraries support. We urge you to upgrade GNU
9479 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9480 *** your PATH or compiler configuration so that the native linker is
9481 *** used, and then restart.
9483 _LT_EOF
9486 # For security reasons, it is highly recommended that you always
9487 # use absolute paths for naming shared libraries, and exclude the
9488 # DT_RUNPATH tag from executables and libraries. But doing so
9489 # requires that you compile everything twice, which is a pain.
9490 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9491 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9493 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9494 else
9495 ld_shlibs=no
9498 esac
9501 sunos4*)
9502 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9503 wlarc=
9504 hardcode_direct=yes
9505 hardcode_shlibpath_var=no
9509 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9510 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9511 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512 else
9513 ld_shlibs=no
9516 esac
9518 if test "$ld_shlibs" = no; then
9519 runpath_var=
9520 hardcode_libdir_flag_spec=
9521 export_dynamic_flag_spec=
9522 whole_archive_flag_spec=
9524 else
9525 # PORTME fill in a description of your system's linker (not GNU ld)
9526 case $host_os in
9527 aix3*)
9528 allow_undefined_flag=unsupported
9529 always_export_symbols=yes
9530 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'
9531 # Note: this linker hardcodes the directories in LIBPATH if there
9532 # are no directories specified by -L.
9533 hardcode_minus_L=yes
9534 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9535 # Neither direct hardcoding nor static linking is supported with a
9536 # broken collect2.
9537 hardcode_direct=unsupported
9541 aix[4-9]*)
9542 if test "$host_cpu" = ia64; then
9543 # On IA64, the linker does run time linking by default, so we don't
9544 # have to do anything special.
9545 aix_use_runtimelinking=no
9546 exp_sym_flag='-Bexport'
9547 no_entry_flag=""
9548 else
9549 # If we're using GNU nm, then we don't want the "-C" option.
9550 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9551 # Also, AIX nm treats weak defined symbols like other global
9552 # defined symbols, whereas GNU nm marks them as "W".
9553 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9554 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'
9555 else
9556 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'
9558 aix_use_runtimelinking=no
9560 # Test if we are trying to use run time linking or normal
9561 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9562 # need to do runtime linking.
9563 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9564 for ld_flag in $LDFLAGS; do
9565 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9566 aix_use_runtimelinking=yes
9567 break
9569 done
9571 esac
9573 exp_sym_flag='-bexport'
9574 no_entry_flag='-bnoentry'
9577 # When large executables or shared objects are built, AIX ld can
9578 # have problems creating the table of contents. If linking a library
9579 # or program results in "error TOC overflow" add -mminimal-toc to
9580 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9581 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9583 archive_cmds=''
9584 hardcode_direct=yes
9585 hardcode_direct_absolute=yes
9586 hardcode_libdir_separator=':'
9587 link_all_deplibs=yes
9588 file_list_spec='${wl}-f,'
9590 if test "$GCC" = yes; then
9591 case $host_os in aix4.[012]|aix4.[012].*)
9592 # We only want to do this on AIX 4.2 and lower, the check
9593 # below for broken collect2 doesn't work under 4.3+
9594 collect2name=`${CC} -print-prog-name=collect2`
9595 if test -f "$collect2name" &&
9596 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9597 then
9598 # We have reworked collect2
9600 else
9601 # We have old collect2
9602 hardcode_direct=unsupported
9603 # It fails to find uninstalled libraries when the uninstalled
9604 # path is not listed in the libpath. Setting hardcode_minus_L
9605 # to unsupported forces relinking
9606 hardcode_minus_L=yes
9607 hardcode_libdir_flag_spec='-L$libdir'
9608 hardcode_libdir_separator=
9611 esac
9612 shared_flag='-shared'
9613 if test "$aix_use_runtimelinking" = yes; then
9614 shared_flag="$shared_flag "'${wl}-G'
9616 else
9617 # not using gcc
9618 if test "$host_cpu" = ia64; then
9619 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9620 # chokes on -Wl,-G. The following line is correct:
9621 shared_flag='-G'
9622 else
9623 if test "$aix_use_runtimelinking" = yes; then
9624 shared_flag='${wl}-G'
9625 else
9626 shared_flag='${wl}-bM:SRE'
9631 export_dynamic_flag_spec='${wl}-bexpall'
9632 # It seems that -bexpall does not export symbols beginning with
9633 # underscore (_), so it is better to generate a list of symbols to export.
9634 always_export_symbols=yes
9635 if test "$aix_use_runtimelinking" = yes; then
9636 # Warning - without using the other runtime loading flags (-brtl),
9637 # -berok will link without error, but may produce a broken library.
9638 allow_undefined_flag='-berok'
9639 # Determine the default libpath from the value encoded in an
9640 # empty executable.
9641 if test x$gcc_no_link = xyes; then
9642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9645 /* end confdefs.h. */
9648 main ()
9652 return 0;
9654 _ACEOF
9655 if ac_fn_c_try_link "$LINENO"; then :
9657 lt_aix_libpath_sed='
9658 /Import File Strings/,/^$/ {
9659 /^0/ {
9660 s/^0 *\(.*\)$/\1/
9664 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9665 # Check for a 64-bit object if we didn't find anything.
9666 if test -z "$aix_libpath"; then
9667 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9674 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9675 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"
9676 else
9677 if test "$host_cpu" = ia64; then
9678 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9679 allow_undefined_flag="-z nodefs"
9680 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"
9681 else
9682 # Determine the default libpath from the value encoded in an
9683 # empty executable.
9684 if test x$gcc_no_link = xyes; then
9685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9691 main ()
9695 return 0;
9697 _ACEOF
9698 if ac_fn_c_try_link "$LINENO"; then :
9700 lt_aix_libpath_sed='
9701 /Import File Strings/,/^$/ {
9702 /^0/ {
9703 s/^0 *\(.*\)$/\1/
9707 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 # Check for a 64-bit object if we didn't find anything.
9709 if test -z "$aix_libpath"; then
9710 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9713 rm -f core conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9715 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9717 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9718 # Warning - without using the other run time loading flags,
9719 # -berok will link without error, but may produce a broken library.
9720 no_undefined_flag=' ${wl}-bernotok'
9721 allow_undefined_flag=' ${wl}-berok'
9722 if test "$with_gnu_ld" = yes; then
9723 # We only use this code for GNU lds that support --whole-archive.
9724 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9725 else
9726 # Exported symbols can be pulled into shared objects from archives
9727 whole_archive_flag_spec='$convenience'
9729 archive_cmds_need_lc=yes
9730 # This is similar to how AIX traditionally builds its shared libraries.
9731 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'
9736 amigaos*)
9737 case $host_cpu in
9738 powerpc)
9739 # see comment about AmigaOS4 .so support
9740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9741 archive_expsym_cmds=''
9743 m68k)
9744 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)'
9745 hardcode_libdir_flag_spec='-L$libdir'
9746 hardcode_minus_L=yes
9748 esac
9751 bsdi[45]*)
9752 export_dynamic_flag_spec=-rdynamic
9755 cygwin* | mingw* | pw32* | cegcc*)
9756 # When not using gcc, we currently assume that we are using
9757 # Microsoft Visual C++.
9758 # hardcode_libdir_flag_spec is actually meaningless, as there is
9759 # no search path for DLLs.
9760 hardcode_libdir_flag_spec=' '
9761 allow_undefined_flag=unsupported
9762 # Tell ltmain to make .lib files, not .a files.
9763 libext=lib
9764 # Tell ltmain to make .dll files, not .so files.
9765 shrext_cmds=".dll"
9766 # FIXME: Setting linknames here is a bad hack.
9767 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9768 # The linker will automatically build a .lib file if we build a DLL.
9769 old_archive_from_new_cmds='true'
9770 # FIXME: Should let the user specify the lib program.
9771 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9772 fix_srcfile_path='`cygpath -w "$srcfile"`'
9773 enable_shared_with_static_runtimes=yes
9776 darwin* | rhapsody*)
9779 archive_cmds_need_lc=no
9780 hardcode_direct=no
9781 hardcode_automatic=yes
9782 hardcode_shlibpath_var=unsupported
9783 if test "$lt_cv_ld_force_load" = "yes"; then
9784 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\"`'
9785 else
9786 whole_archive_flag_spec=''
9788 link_all_deplibs=yes
9789 allow_undefined_flag="$_lt_dar_allow_undefined"
9790 case $cc_basename in
9791 ifort*) _lt_dar_can_shared=yes ;;
9792 *) _lt_dar_can_shared=$GCC ;;
9793 esac
9794 if test "$_lt_dar_can_shared" = "yes"; then
9795 output_verbose_link_cmd=func_echo_all
9796 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9797 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9798 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}"
9799 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}"
9801 else
9802 ld_shlibs=no
9807 dgux*)
9808 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_libdir_flag_spec='-L$libdir'
9810 hardcode_shlibpath_var=no
9813 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9814 # support. Future versions do this automatically, but an explicit c++rt0.o
9815 # does not break anything, and helps significantly (at the cost of a little
9816 # extra space).
9817 freebsd2.2*)
9818 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9819 hardcode_libdir_flag_spec='-R$libdir'
9820 hardcode_direct=yes
9821 hardcode_shlibpath_var=no
9824 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9825 freebsd2.*)
9826 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_direct=yes
9828 hardcode_minus_L=yes
9829 hardcode_shlibpath_var=no
9832 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9833 freebsd* | dragonfly*)
9834 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9835 hardcode_libdir_flag_spec='-R$libdir'
9836 hardcode_direct=yes
9837 hardcode_shlibpath_var=no
9840 hpux9*)
9841 if test "$GCC" = yes; then
9842 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'
9843 else
9844 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'
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9848 hardcode_direct=yes
9850 # hardcode_minus_L: Not really in the search PATH,
9851 # but as the default location of the library.
9852 hardcode_minus_L=yes
9853 export_dynamic_flag_spec='${wl}-E'
9856 hpux10*)
9857 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9858 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9859 else
9860 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9862 if test "$with_gnu_ld" = no; then
9863 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9864 hardcode_libdir_flag_spec_ld='+b $libdir'
9865 hardcode_libdir_separator=:
9866 hardcode_direct=yes
9867 hardcode_direct_absolute=yes
9868 export_dynamic_flag_spec='${wl}-E'
9869 # hardcode_minus_L: Not really in the search PATH,
9870 # but as the default location of the library.
9871 hardcode_minus_L=yes
9875 hpux11*)
9876 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ia64*)
9882 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9885 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9887 esac
9888 else
9889 case $host_cpu in
9890 hppa*64*)
9891 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 ia64*)
9894 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9898 # Older versions of the 11.00 compiler do not understand -b yet
9899 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9901 $as_echo_n "checking if $CC understands -b... " >&6; }
9902 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 lt_cv_prog_compiler__b=no
9906 save_LDFLAGS="$LDFLAGS"
9907 LDFLAGS="$LDFLAGS -b"
9908 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9909 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9910 # The linker can only warn and ignore the option if not recognized
9911 # So say no if there are warnings
9912 if test -s conftest.err; then
9913 # Append any errors to the config.log.
9914 cat conftest.err 1>&5
9915 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9916 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9917 if diff conftest.exp conftest.er2 >/dev/null; then
9918 lt_cv_prog_compiler__b=yes
9920 else
9921 lt_cv_prog_compiler__b=yes
9924 $RM -r conftest*
9925 LDFLAGS="$save_LDFLAGS"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9929 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9931 if test x"$lt_cv_prog_compiler__b" = xyes; then
9932 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9933 else
9934 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9938 esac
9940 if test "$with_gnu_ld" = no; then
9941 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9942 hardcode_libdir_separator=:
9944 case $host_cpu in
9945 hppa*64*|ia64*)
9946 hardcode_direct=no
9947 hardcode_shlibpath_var=no
9950 hardcode_direct=yes
9951 hardcode_direct_absolute=yes
9952 export_dynamic_flag_spec='${wl}-E'
9954 # hardcode_minus_L: Not really in the search PATH,
9955 # but as the default location of the library.
9956 hardcode_minus_L=yes
9958 esac
9962 irix5* | irix6* | nonstopux*)
9963 if test "$GCC" = yes; then
9964 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'
9965 # Try to use the -exported_symbol ld option, if it does not
9966 # work, assume that -exports_file does not work either and
9967 # implicitly export all symbols.
9968 save_LDFLAGS="$LDFLAGS"
9969 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9970 if test x$gcc_no_link = xyes; then
9971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int foo(void) {}
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 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'
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 LDFLAGS="$save_LDFLAGS"
9984 else
9985 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'
9986 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'
9988 archive_cmds_need_lc='no'
9989 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9990 hardcode_libdir_separator=:
9991 inherit_rpath=yes
9992 link_all_deplibs=yes
9995 netbsd*)
9996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9997 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9998 else
9999 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10001 hardcode_libdir_flag_spec='-R$libdir'
10002 hardcode_direct=yes
10003 hardcode_shlibpath_var=no
10006 newsos6)
10007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_direct=yes
10009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010 hardcode_libdir_separator=:
10011 hardcode_shlibpath_var=no
10014 *nto* | *qnx*)
10017 openbsd*)
10018 if test -f /usr/libexec/ld.so; then
10019 hardcode_direct=yes
10020 hardcode_shlibpath_var=no
10021 hardcode_direct_absolute=yes
10022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10025 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026 export_dynamic_flag_spec='${wl}-E'
10027 else
10028 case $host_os in
10029 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10030 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_libdir_flag_spec='-R$libdir'
10034 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10035 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10037 esac
10039 else
10040 ld_shlibs=no
10044 os2*)
10045 hardcode_libdir_flag_spec='-L$libdir'
10046 hardcode_minus_L=yes
10047 allow_undefined_flag=unsupported
10048 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'
10049 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10052 osf3*)
10053 if test "$GCC" = yes; then
10054 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10055 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'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 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'
10060 archive_cmds_need_lc='no'
10061 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062 hardcode_libdir_separator=:
10065 osf4* | osf5*) # as osf3* with the addition of -msym flag
10066 if test "$GCC" = yes; then
10067 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10068 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'
10069 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10070 else
10071 allow_undefined_flag=' -expect_unresolved \*'
10072 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'
10073 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~
10074 $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'
10076 # Both c and cxx compiler support -rpath directly
10077 hardcode_libdir_flag_spec='-rpath $libdir'
10079 archive_cmds_need_lc='no'
10080 hardcode_libdir_separator=:
10083 solaris*)
10084 no_undefined_flag=' -z defs'
10085 if test "$GCC" = yes; then
10086 wlarc='${wl}'
10087 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10090 else
10091 case `$CC -V 2>&1` in
10092 *"Compilers 5.0"*)
10093 wlarc=''
10094 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10096 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10099 wlarc='${wl}'
10100 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10101 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10102 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10104 esac
10106 hardcode_libdir_flag_spec='-R$libdir'
10107 hardcode_shlibpath_var=no
10108 case $host_os in
10109 solaris2.[0-5] | solaris2.[0-5].*) ;;
10111 # The compiler driver will combine and reorder linker options,
10112 # but understands `-z linker_flag'. GCC discards it without `$wl',
10113 # but is careful enough not to reorder.
10114 # Supported since Solaris 2.6 (maybe 2.5.1?)
10115 if test "$GCC" = yes; then
10116 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10117 else
10118 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10121 esac
10122 link_all_deplibs=yes
10125 sunos4*)
10126 if test "x$host_vendor" = xsequent; then
10127 # Use $CC to link under sequent, because it throws in some extra .o
10128 # files that make .init and .fini sections work.
10129 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10133 hardcode_libdir_flag_spec='-L$libdir'
10134 hardcode_direct=yes
10135 hardcode_minus_L=yes
10136 hardcode_shlibpath_var=no
10139 sysv4)
10140 case $host_vendor in
10141 sni)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct=yes # is this really true???
10145 siemens)
10146 ## LD is ld it makes a PLAMLIB
10147 ## CC just makes a GrossModule.
10148 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10149 reload_cmds='$CC -r -o $output$reload_objs'
10150 hardcode_direct=no
10152 motorola)
10153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10154 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10156 esac
10157 runpath_var='LD_RUN_PATH'
10158 hardcode_shlibpath_var=no
10161 sysv4.3*)
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_shlibpath_var=no
10164 export_dynamic_flag_spec='-Bexport'
10167 sysv4*MP*)
10168 if test -d /usr/nec; then
10169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170 hardcode_shlibpath_var=no
10171 runpath_var=LD_RUN_PATH
10172 hardcode_runpath_var=yes
10173 ld_shlibs=yes
10177 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10178 no_undefined_flag='${wl}-z,text'
10179 archive_cmds_need_lc=no
10180 hardcode_shlibpath_var=no
10181 runpath_var='LD_RUN_PATH'
10183 if test "$GCC" = yes; then
10184 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10186 else
10187 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10192 sysv5* | sco3.2v5* | sco5v6*)
10193 # Note: We can NOT use -z defs as we might desire, because we do not
10194 # link with -lc, and that would cause any symbols used from libc to
10195 # always be unresolved, which means just about no library would
10196 # ever link correctly. If we're not using GNU ld we use -z text
10197 # though, which does catch some bad symbols but isn't as heavy-handed
10198 # as -z defs.
10199 no_undefined_flag='${wl}-z,text'
10200 allow_undefined_flag='${wl}-z,nodefs'
10201 archive_cmds_need_lc=no
10202 hardcode_shlibpath_var=no
10203 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10204 hardcode_libdir_separator=':'
10205 link_all_deplibs=yes
10206 export_dynamic_flag_spec='${wl}-Bexport'
10207 runpath_var='LD_RUN_PATH'
10209 if test "$GCC" = yes; then
10210 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 else
10213 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 uts4*)
10219 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10220 hardcode_libdir_flag_spec='-L$libdir'
10221 hardcode_shlibpath_var=no
10225 ld_shlibs=no
10227 esac
10229 if test x$host_vendor = xsni; then
10230 case $host in
10231 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10232 export_dynamic_flag_spec='${wl}-Blargedynsym'
10234 esac
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10239 $as_echo "$ld_shlibs" >&6; }
10240 test "$ld_shlibs" = no && can_build_shared=no
10242 with_gnu_ld=$with_gnu_ld
10259 # Do we need to explicitly link libc?
10261 case "x$archive_cmds_need_lc" in
10262 x|xyes)
10263 # Assume -lc should be added
10264 archive_cmds_need_lc=yes
10266 if test "$enable_shared" = yes && test "$GCC" = yes; then
10267 case $archive_cmds in
10268 *'~'*)
10269 # FIXME: we may have to deal with multi-command sequences.
10271 '$CC '*)
10272 # Test whether the compiler implicitly links with -lc since on some
10273 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10274 # to ld, don't add -lc before -lgcc.
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10276 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10277 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 $RM conftest*
10281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10284 (eval $ac_compile) 2>&5
10285 ac_status=$?
10286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287 test $ac_status = 0; } 2>conftest.err; then
10288 soname=conftest
10289 lib=conftest
10290 libobjs=conftest.$ac_objext
10291 deplibs=
10292 wl=$lt_prog_compiler_wl
10293 pic_flag=$lt_prog_compiler_pic
10294 compiler_flags=-v
10295 linker_flags=-v
10296 verstring=
10297 output_objdir=.
10298 libname=conftest
10299 lt_save_allow_undefined_flag=$allow_undefined_flag
10300 allow_undefined_flag=
10301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10302 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10303 ac_status=$?
10304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10305 test $ac_status = 0; }
10306 then
10307 lt_cv_archive_cmds_need_lc=no
10308 else
10309 lt_cv_archive_cmds_need_lc=yes
10311 allow_undefined_flag=$lt_save_allow_undefined_flag
10312 else
10313 cat conftest.err 1>&5
10315 $RM conftest*
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10319 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10320 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10322 esac
10325 esac
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10484 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10486 if test "$GCC" = yes; then
10487 case $host_os in
10488 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10489 *) lt_awk_arg="/^libraries:/" ;;
10490 esac
10491 case $host_os in
10492 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10493 *) lt_sed_strip_eq="s,=/,/,g" ;;
10494 esac
10495 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10496 case $lt_search_path_spec in
10497 *\;*)
10498 # if the path contains ";" then we assume it to be the separator
10499 # otherwise default to the standard path separator (i.e. ":") - it is
10500 # assumed that no part of a normal pathname contains ";" but that should
10501 # okay in the real world where ";" in dirpaths is itself problematic.
10502 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10505 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10507 esac
10508 # Ok, now we have the path, separated by spaces, we can step through it
10509 # and add multilib dir if necessary.
10510 lt_tmp_lt_search_path_spec=
10511 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10512 for lt_sys_path in $lt_search_path_spec; do
10513 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10514 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10515 else
10516 test -d "$lt_sys_path" && \
10517 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10519 done
10520 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10521 BEGIN {RS=" "; FS="/|\n";} {
10522 lt_foo="";
10523 lt_count=0;
10524 for (lt_i = NF; lt_i > 0; lt_i--) {
10525 if ($lt_i != "" && $lt_i != ".") {
10526 if ($lt_i == "..") {
10527 lt_count++;
10528 } else {
10529 if (lt_count == 0) {
10530 lt_foo="/" $lt_i lt_foo;
10531 } else {
10532 lt_count--;
10537 if (lt_foo != "") { lt_freq[lt_foo]++; }
10538 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10540 # AWK program above erroneously prepends '/' to C:/dos/paths
10541 # for these hosts.
10542 case $host_os in
10543 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10544 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10545 esac
10546 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10547 else
10548 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10550 library_names_spec=
10551 libname_spec='lib$name'
10552 soname_spec=
10553 shrext_cmds=".so"
10554 postinstall_cmds=
10555 postuninstall_cmds=
10556 finish_cmds=
10557 finish_eval=
10558 shlibpath_var=
10559 shlibpath_overrides_runpath=unknown
10560 version_type=none
10561 dynamic_linker="$host_os ld.so"
10562 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10563 need_lib_prefix=unknown
10564 hardcode_into_libs=no
10566 # when you set need_version to no, make sure it does not cause -set_version
10567 # flags to be left without arguments
10568 need_version=unknown
10570 case $host_os in
10571 aix3*)
10572 version_type=linux
10573 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10574 shlibpath_var=LIBPATH
10576 # AIX 3 has no versioning support, so we append a major version to the name.
10577 soname_spec='${libname}${release}${shared_ext}$major'
10580 aix[4-9]*)
10581 version_type=linux
10582 need_lib_prefix=no
10583 need_version=no
10584 hardcode_into_libs=yes
10585 if test "$host_cpu" = ia64; then
10586 # AIX 5 supports IA64
10587 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 else
10590 # With GCC up to 2.95.x, collect2 would create an import file
10591 # for dependence libraries. The import file would start with
10592 # the line `#! .'. This would cause the generated library to
10593 # depend on `.', always an invalid library. This was fixed in
10594 # development snapshots of GCC prior to 3.0.
10595 case $host_os in
10596 aix4 | aix4.[01] | aix4.[01].*)
10597 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10598 echo ' yes '
10599 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10601 else
10602 can_build_shared=no
10605 esac
10606 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10607 # soname into executable. Probably we can add versioning support to
10608 # collect2, so additional links can be useful in future.
10609 if test "$aix_use_runtimelinking" = yes; then
10610 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10611 # instead of lib<name>.a to let people know that these are not
10612 # typical AIX shared libraries.
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 else
10615 # We preserve .a as extension for shared libraries through AIX4.2
10616 # and later when we are not doing run time linking.
10617 library_names_spec='${libname}${release}.a $libname.a'
10618 soname_spec='${libname}${release}${shared_ext}$major'
10620 shlibpath_var=LIBPATH
10624 amigaos*)
10625 case $host_cpu in
10626 powerpc)
10627 # Since July 2007 AmigaOS4 officially supports .so libraries.
10628 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631 m68k)
10632 library_names_spec='$libname.ixlibrary $libname.a'
10633 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10634 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'
10636 esac
10639 beos*)
10640 library_names_spec='${libname}${shared_ext}'
10641 dynamic_linker="$host_os ld.so"
10642 shlibpath_var=LIBRARY_PATH
10645 bsdi[45]*)
10646 version_type=linux
10647 need_version=no
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec='${libname}${release}${shared_ext}$major'
10650 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10651 shlibpath_var=LD_LIBRARY_PATH
10652 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10653 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10654 # the default ld.so.conf also contains /usr/contrib/lib and
10655 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10656 # libtool to hard-code these into programs
10659 cygwin* | mingw* | pw32* | cegcc*)
10660 version_type=windows
10661 shrext_cmds=".dll"
10662 need_version=no
10663 need_lib_prefix=no
10665 case $GCC,$host_os in
10666 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10667 library_names_spec='$libname.dll.a'
10668 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10669 postinstall_cmds='base_file=`basename \${file}`~
10670 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10671 dldir=$destdir/`dirname \$dlpath`~
10672 test -d \$dldir || mkdir -p \$dldir~
10673 $install_prog $dir/$dlname \$dldir/$dlname~
10674 chmod a+x \$dldir/$dlname~
10675 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10676 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10678 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10679 dlpath=$dir/\$dldll~
10680 $RM \$dlpath'
10681 shlibpath_overrides_runpath=yes
10683 case $host_os in
10684 cygwin*)
10685 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10686 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10690 mingw* | cegcc*)
10691 # MinGW DLLs use traditional 'lib' prefix
10692 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10694 pw32*)
10695 # pw32 DLLs use 'pw' prefix rather than 'lib'
10696 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10698 esac
10702 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10704 esac
10705 dynamic_linker='Win32 ld.exe'
10706 # FIXME: first we should search . and the directory the executable is in
10707 shlibpath_var=PATH
10710 darwin* | rhapsody*)
10711 dynamic_linker="$host_os dyld"
10712 version_type=darwin
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10716 soname_spec='${libname}${release}${major}$shared_ext'
10717 shlibpath_overrides_runpath=yes
10718 shlibpath_var=DYLD_LIBRARY_PATH
10719 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10721 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10722 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10725 dgux*)
10726 version_type=linux
10727 need_lib_prefix=no
10728 need_version=no
10729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10730 soname_spec='${libname}${release}${shared_ext}$major'
10731 shlibpath_var=LD_LIBRARY_PATH
10734 freebsd* | dragonfly*)
10735 # DragonFly does not have aout. When/if they implement a new
10736 # versioning mechanism, adjust this.
10737 if test -x /usr/bin/objformat; then
10738 objformat=`/usr/bin/objformat`
10739 else
10740 case $host_os in
10741 freebsd[23].*) objformat=aout ;;
10742 *) objformat=elf ;;
10743 esac
10745 version_type=freebsd-$objformat
10746 case $version_type in
10747 freebsd-elf*)
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10749 need_version=no
10750 need_lib_prefix=no
10752 freebsd-*)
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10754 need_version=yes
10756 esac
10757 shlibpath_var=LD_LIBRARY_PATH
10758 case $host_os in
10759 freebsd2.*)
10760 shlibpath_overrides_runpath=yes
10762 freebsd3.[01]* | freebsdelf3.[01]*)
10763 shlibpath_overrides_runpath=yes
10764 hardcode_into_libs=yes
10766 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10767 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10768 shlibpath_overrides_runpath=no
10769 hardcode_into_libs=yes
10771 *) # from 4.6 on, and DragonFly
10772 shlibpath_overrides_runpath=yes
10773 hardcode_into_libs=yes
10775 esac
10778 gnu*)
10779 version_type=linux
10780 need_lib_prefix=no
10781 need_version=no
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 hardcode_into_libs=yes
10788 haiku*)
10789 version_type=linux
10790 need_lib_prefix=no
10791 need_version=no
10792 dynamic_linker="$host_os runtime_loader"
10793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10794 soname_spec='${libname}${release}${shared_ext}$major'
10795 shlibpath_var=LIBRARY_PATH
10796 shlibpath_overrides_runpath=yes
10797 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10798 hardcode_into_libs=yes
10801 hpux9* | hpux10* | hpux11*)
10802 # Give a soname corresponding to the major version so that dld.sl refuses to
10803 # link against other versions.
10804 version_type=sunos
10805 need_lib_prefix=no
10806 need_version=no
10807 case $host_cpu in
10808 ia64*)
10809 shrext_cmds='.so'
10810 hardcode_into_libs=yes
10811 dynamic_linker="$host_os dld.so"
10812 shlibpath_var=LD_LIBRARY_PATH
10813 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 if test "X$HPUX_IA64_MODE" = X32; then
10817 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10818 else
10819 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10821 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 hppa*64*)
10824 shrext_cmds='.sl'
10825 hardcode_into_libs=yes
10826 dynamic_linker="$host_os dld.sl"
10827 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10828 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10832 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10835 shrext_cmds='.sl'
10836 dynamic_linker="$host_os dld.sl"
10837 shlibpath_var=SHLIB_PATH
10838 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10842 esac
10843 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10844 postinstall_cmds='chmod 555 $lib'
10845 # or fails outright, so override atomically:
10846 install_override_mode=555
10849 interix[3-9]*)
10850 version_type=linux
10851 need_lib_prefix=no
10852 need_version=no
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10854 soname_spec='${libname}${release}${shared_ext}$major'
10855 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10856 shlibpath_var=LD_LIBRARY_PATH
10857 shlibpath_overrides_runpath=no
10858 hardcode_into_libs=yes
10861 irix5* | irix6* | nonstopux*)
10862 case $host_os in
10863 nonstopux*) version_type=nonstopux ;;
10865 if test "$lt_cv_prog_gnu_ld" = yes; then
10866 version_type=linux
10867 else
10868 version_type=irix
10869 fi ;;
10870 esac
10871 need_lib_prefix=no
10872 need_version=no
10873 soname_spec='${libname}${release}${shared_ext}$major'
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10875 case $host_os in
10876 irix5* | nonstopux*)
10877 libsuff= shlibsuff=
10880 case $LD in # libtool.m4 will add one of these switches to LD
10881 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10882 libsuff= shlibsuff= libmagic=32-bit;;
10883 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10884 libsuff=32 shlibsuff=N32 libmagic=N32;;
10885 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10886 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10887 *) libsuff= shlibsuff= libmagic=never-match;;
10888 esac
10890 esac
10891 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10892 shlibpath_overrides_runpath=no
10893 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10894 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10895 hardcode_into_libs=yes
10898 # No shared lib support for Linux oldld, aout, or coff.
10899 linux*oldld* | linux*aout* | linux*coff*)
10900 dynamic_linker=no
10903 # This must be Linux ELF.
10904 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10905 version_type=linux
10906 need_lib_prefix=no
10907 need_version=no
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 shlibpath_overrides_runpath=no
10914 # Some binutils ld are patched to set DT_RUNPATH
10915 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 lt_cv_shlibpath_overrides_runpath=no
10919 save_LDFLAGS=$LDFLAGS
10920 save_libdir=$libdir
10921 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10922 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10923 if test x$gcc_no_link = xyes; then
10924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10930 main ()
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10939 lt_cv_shlibpath_overrides_runpath=yes
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LDFLAGS=$save_LDFLAGS
10945 libdir=$save_libdir
10949 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10951 # This implies no fast_install, which is unacceptable.
10952 # Some rework will be needed to allow for fast_install
10953 # before this can be enabled.
10954 hardcode_into_libs=yes
10956 # Append ld.so.conf contents to the search path
10957 if test -f /etc/ld.so.conf; then
10958 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' ' '`
10959 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10962 # We used to test for /lib/ld.so.1 and disable shared libraries on
10963 # powerpc, because MkLinux only supported shared libraries with the
10964 # GNU dynamic linker. Since this was broken with cross compilers,
10965 # most powerpc-linux boxes support dynamic linking these days and
10966 # people can always --disable-shared, the test was removed, and we
10967 # assume the GNU/Linux dynamic linker is in use.
10968 dynamic_linker='GNU/Linux ld.so'
10971 netbsd*)
10972 version_type=sunos
10973 need_lib_prefix=no
10974 need_version=no
10975 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10977 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10978 dynamic_linker='NetBSD (a.out) ld.so'
10979 else
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 dynamic_linker='NetBSD ld.elf_so'
10984 shlibpath_var=LD_LIBRARY_PATH
10985 shlibpath_overrides_runpath=yes
10986 hardcode_into_libs=yes
10989 newsos6)
10990 version_type=linux
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 shlibpath_overrides_runpath=yes
10996 *nto* | *qnx*)
10997 version_type=qnx
10998 need_lib_prefix=no
10999 need_version=no
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 shlibpath_var=LD_LIBRARY_PATH
11003 shlibpath_overrides_runpath=no
11004 hardcode_into_libs=yes
11005 dynamic_linker='ldqnx.so'
11008 openbsd*)
11009 version_type=sunos
11010 sys_lib_dlsearch_path_spec="/usr/lib"
11011 need_lib_prefix=no
11012 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11013 case $host_os in
11014 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11015 *) need_version=no ;;
11016 esac
11017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11018 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11019 shlibpath_var=LD_LIBRARY_PATH
11020 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11021 case $host_os in
11022 openbsd2.[89] | openbsd2.[89].*)
11023 shlibpath_overrides_runpath=no
11026 shlibpath_overrides_runpath=yes
11028 esac
11029 else
11030 shlibpath_overrides_runpath=yes
11034 os2*)
11035 libname_spec='$name'
11036 shrext_cmds=".dll"
11037 need_lib_prefix=no
11038 library_names_spec='$libname${shared_ext} $libname.a'
11039 dynamic_linker='OS/2 ld.exe'
11040 shlibpath_var=LIBPATH
11043 osf3* | osf4* | osf5*)
11044 version_type=osf
11045 need_lib_prefix=no
11046 need_version=no
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11051 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11054 rdos*)
11055 dynamic_linker=no
11058 solaris*)
11059 version_type=linux
11060 need_lib_prefix=no
11061 need_version=no
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec='${libname}${release}${shared_ext}$major'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=yes
11066 hardcode_into_libs=yes
11067 # ldd complains unless libraries are executable
11068 postinstall_cmds='chmod +x $lib'
11071 sunos4*)
11072 version_type=sunos
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11074 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 shlibpath_overrides_runpath=yes
11077 if test "$with_gnu_ld" = yes; then
11078 need_lib_prefix=no
11080 need_version=yes
11083 sysv4 | sysv4.3*)
11084 version_type=linux
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086 soname_spec='${libname}${release}${shared_ext}$major'
11087 shlibpath_var=LD_LIBRARY_PATH
11088 case $host_vendor in
11089 sni)
11090 shlibpath_overrides_runpath=no
11091 need_lib_prefix=no
11092 runpath_var=LD_RUN_PATH
11094 siemens)
11095 need_lib_prefix=no
11097 motorola)
11098 need_lib_prefix=no
11099 need_version=no
11100 shlibpath_overrides_runpath=no
11101 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11103 esac
11106 sysv4*MP*)
11107 if test -d /usr/nec ;then
11108 version_type=linux
11109 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11110 soname_spec='$libname${shared_ext}.$major'
11111 shlibpath_var=LD_LIBRARY_PATH
11115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11116 version_type=freebsd-elf
11117 need_lib_prefix=no
11118 need_version=no
11119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11120 soname_spec='${libname}${release}${shared_ext}$major'
11121 shlibpath_var=LD_LIBRARY_PATH
11122 shlibpath_overrides_runpath=yes
11123 hardcode_into_libs=yes
11124 if test "$with_gnu_ld" = yes; then
11125 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11126 else
11127 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11128 case $host_os in
11129 sco3.2v5*)
11130 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11132 esac
11134 sys_lib_dlsearch_path_spec='/usr/lib'
11137 tpf*)
11138 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11139 version_type=linux
11140 need_lib_prefix=no
11141 need_version=no
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath=no
11145 hardcode_into_libs=yes
11148 uts4*)
11149 version_type=linux
11150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151 soname_spec='${libname}${release}${shared_ext}$major'
11152 shlibpath_var=LD_LIBRARY_PATH
11156 dynamic_linker=no
11158 esac
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11160 $as_echo "$dynamic_linker" >&6; }
11161 test "$dynamic_linker" = no && can_build_shared=no
11163 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11164 if test "$GCC" = yes; then
11165 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11168 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11169 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11171 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11172 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11267 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11268 hardcode_action=
11269 if test -n "$hardcode_libdir_flag_spec" ||
11270 test -n "$runpath_var" ||
11271 test "X$hardcode_automatic" = "Xyes" ; then
11273 # We can hardcode non-existent directories.
11274 if test "$hardcode_direct" != no &&
11275 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11276 # have to relink, otherwise we might link with an installed library
11277 # when we should be linking with a yet-to-be-installed one
11278 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11279 test "$hardcode_minus_L" != no; then
11280 # Linking always hardcodes the temporary library directory.
11281 hardcode_action=relink
11282 else
11283 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11284 hardcode_action=immediate
11286 else
11287 # We cannot hardcode anything, or else we can only hardcode existing
11288 # directories.
11289 hardcode_action=unsupported
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11292 $as_echo "$hardcode_action" >&6; }
11294 if test "$hardcode_action" = relink ||
11295 test "$inherit_rpath" = yes; then
11296 # Fast installation is not supported
11297 enable_fast_install=no
11298 elif test "$shlibpath_overrides_runpath" = yes ||
11299 test "$enable_shared" = no; then
11300 # Fast installation is not necessary
11301 enable_fast_install=needless
11309 if test "x$enable_dlopen" != xyes; then
11310 enable_dlopen=unknown
11311 enable_dlopen_self=unknown
11312 enable_dlopen_self_static=unknown
11313 else
11314 lt_cv_dlopen=no
11315 lt_cv_dlopen_libs=
11317 case $host_os in
11318 beos*)
11319 lt_cv_dlopen="load_add_on"
11320 lt_cv_dlopen_libs=
11321 lt_cv_dlopen_self=yes
11324 mingw* | pw32* | cegcc*)
11325 lt_cv_dlopen="LoadLibrary"
11326 lt_cv_dlopen_libs=
11329 cygwin*)
11330 lt_cv_dlopen="dlopen"
11331 lt_cv_dlopen_libs=
11334 darwin*)
11335 # if libdl is installed we need to link against it
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11337 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11338 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11339 $as_echo_n "(cached) " >&6
11340 else
11341 ac_check_lib_save_LIBS=$LIBS
11342 LIBS="-ldl $LIBS"
11343 if test x$gcc_no_link = xyes; then
11344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11352 #ifdef __cplusplus
11353 extern "C"
11354 #endif
11355 char dlopen ();
11357 main ()
11359 return dlopen ();
11361 return 0;
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"; then :
11365 ac_cv_lib_dl_dlopen=yes
11366 else
11367 ac_cv_lib_dl_dlopen=no
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_lib_save_LIBS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11374 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11375 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11376 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11377 else
11379 lt_cv_dlopen="dyld"
11380 lt_cv_dlopen_libs=
11381 lt_cv_dlopen_self=yes
11388 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11389 if test "x$ac_cv_func_shl_load" = x""yes; then :
11390 lt_cv_dlopen="shl_load"
11391 else
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11393 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11394 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11395 $as_echo_n "(cached) " >&6
11396 else
11397 ac_check_lib_save_LIBS=$LIBS
11398 LIBS="-ldld $LIBS"
11399 if test x$gcc_no_link = xyes; then
11400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char shl_load ();
11413 main ()
11415 return shl_load ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_dld_shl_load=yes
11422 else
11423 ac_cv_lib_dld_shl_load=no
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11430 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11431 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11432 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11433 else
11434 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11435 if test "x$ac_cv_func_dlopen" = x""yes; then :
11436 lt_cv_dlopen="dlopen"
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11439 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11440 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_lib_save_LIBS=$LIBS
11444 LIBS="-ldl $LIBS"
11445 if test x$gcc_no_link = xyes; then
11446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 char dlopen ();
11459 main ()
11461 return dlopen ();
11463 return 0;
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 ac_cv_lib_dl_dlopen=yes
11468 else
11469 ac_cv_lib_dl_dlopen=no
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11476 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11477 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11478 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11479 else
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11481 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11482 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 ac_check_lib_save_LIBS=$LIBS
11486 LIBS="-lsvld $LIBS"
11487 if test x$gcc_no_link = xyes; then
11488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char dlopen ();
11501 main ()
11503 return dlopen ();
11505 return 0;
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 ac_cv_lib_svld_dlopen=yes
11510 else
11511 ac_cv_lib_svld_dlopen=no
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_lib_save_LIBS
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11518 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11519 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11520 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11521 else
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11523 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11524 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11525 $as_echo_n "(cached) " >&6
11526 else
11527 ac_check_lib_save_LIBS=$LIBS
11528 LIBS="-ldld $LIBS"
11529 if test x$gcc_no_link = xyes; then
11530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char dld_link ();
11543 main ()
11545 return dld_link ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 ac_cv_lib_dld_dld_link=yes
11552 else
11553 ac_cv_lib_dld_dld_link=no
11555 rm -f core conftest.err conftest.$ac_objext \
11556 conftest$ac_exeext conftest.$ac_ext
11557 LIBS=$ac_check_lib_save_LIBS
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11560 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11561 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11562 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11581 esac
11583 if test "x$lt_cv_dlopen" != xno; then
11584 enable_dlopen=yes
11585 else
11586 enable_dlopen=no
11589 case $lt_cv_dlopen in
11590 dlopen)
11591 save_CPPFLAGS="$CPPFLAGS"
11592 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11594 save_LDFLAGS="$LDFLAGS"
11595 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11597 save_LIBS="$LIBS"
11598 LIBS="$lt_cv_dlopen_libs $LIBS"
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11601 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11602 if test "${lt_cv_dlopen_self+set}" = set; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 if test "$cross_compiling" = yes; then :
11606 lt_cv_dlopen_self=cross
11607 else
11608 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11609 lt_status=$lt_dlunknown
11610 cat > conftest.$ac_ext <<_LT_EOF
11611 #line 11611 "configure"
11612 #include "confdefs.h"
11614 #if HAVE_DLFCN_H
11615 #include <dlfcn.h>
11616 #endif
11618 #include <stdio.h>
11620 #ifdef RTLD_GLOBAL
11621 # define LT_DLGLOBAL RTLD_GLOBAL
11622 #else
11623 # ifdef DL_GLOBAL
11624 # define LT_DLGLOBAL DL_GLOBAL
11625 # else
11626 # define LT_DLGLOBAL 0
11627 # endif
11628 #endif
11630 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11631 find out it does not work in some platform. */
11632 #ifndef LT_DLLAZY_OR_NOW
11633 # ifdef RTLD_LAZY
11634 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11635 # else
11636 # ifdef DL_LAZY
11637 # define LT_DLLAZY_OR_NOW DL_LAZY
11638 # else
11639 # ifdef RTLD_NOW
11640 # define LT_DLLAZY_OR_NOW RTLD_NOW
11641 # else
11642 # ifdef DL_NOW
11643 # define LT_DLLAZY_OR_NOW DL_NOW
11644 # else
11645 # define LT_DLLAZY_OR_NOW 0
11646 # endif
11647 # endif
11648 # endif
11649 # endif
11650 #endif
11652 /* When -fvisbility=hidden is used, assume the code has been annotated
11653 correspondingly for the symbols needed. */
11654 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11655 void fnord () __attribute__((visibility("default")));
11656 #endif
11658 void fnord () { int i=42; }
11659 int main ()
11661 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11662 int status = $lt_dlunknown;
11664 if (self)
11666 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11667 else
11669 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11670 else puts (dlerror ());
11672 /* dlclose (self); */
11674 else
11675 puts (dlerror ());
11677 return status;
11679 _LT_EOF
11680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11681 (eval $ac_link) 2>&5
11682 ac_status=$?
11683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11684 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11685 (./conftest; exit; ) >&5 2>/dev/null
11686 lt_status=$?
11687 case x$lt_status in
11688 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11689 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11690 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11691 esac
11692 else :
11693 # compilation failed
11694 lt_cv_dlopen_self=no
11697 rm -fr conftest*
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11702 $as_echo "$lt_cv_dlopen_self" >&6; }
11704 if test "x$lt_cv_dlopen_self" = xyes; then
11705 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11707 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11708 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 if test "$cross_compiling" = yes; then :
11712 lt_cv_dlopen_self_static=cross
11713 else
11714 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11715 lt_status=$lt_dlunknown
11716 cat > conftest.$ac_ext <<_LT_EOF
11717 #line 11717 "configure"
11718 #include "confdefs.h"
11720 #if HAVE_DLFCN_H
11721 #include <dlfcn.h>
11722 #endif
11724 #include <stdio.h>
11726 #ifdef RTLD_GLOBAL
11727 # define LT_DLGLOBAL RTLD_GLOBAL
11728 #else
11729 # ifdef DL_GLOBAL
11730 # define LT_DLGLOBAL DL_GLOBAL
11731 # else
11732 # define LT_DLGLOBAL 0
11733 # endif
11734 #endif
11736 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11737 find out it does not work in some platform. */
11738 #ifndef LT_DLLAZY_OR_NOW
11739 # ifdef RTLD_LAZY
11740 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11741 # else
11742 # ifdef DL_LAZY
11743 # define LT_DLLAZY_OR_NOW DL_LAZY
11744 # else
11745 # ifdef RTLD_NOW
11746 # define LT_DLLAZY_OR_NOW RTLD_NOW
11747 # else
11748 # ifdef DL_NOW
11749 # define LT_DLLAZY_OR_NOW DL_NOW
11750 # else
11751 # define LT_DLLAZY_OR_NOW 0
11752 # endif
11753 # endif
11754 # endif
11755 # endif
11756 #endif
11758 /* When -fvisbility=hidden is used, assume the code has been annotated
11759 correspondingly for the symbols needed. */
11760 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11761 void fnord () __attribute__((visibility("default")));
11762 #endif
11764 void fnord () { int i=42; }
11765 int main ()
11767 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11768 int status = $lt_dlunknown;
11770 if (self)
11772 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11773 else
11775 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11776 else puts (dlerror ());
11778 /* dlclose (self); */
11780 else
11781 puts (dlerror ());
11783 return status;
11785 _LT_EOF
11786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11787 (eval $ac_link) 2>&5
11788 ac_status=$?
11789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11790 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11791 (./conftest; exit; ) >&5 2>/dev/null
11792 lt_status=$?
11793 case x$lt_status in
11794 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11795 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11796 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11797 esac
11798 else :
11799 # compilation failed
11800 lt_cv_dlopen_self_static=no
11803 rm -fr conftest*
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11808 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11811 CPPFLAGS="$save_CPPFLAGS"
11812 LDFLAGS="$save_LDFLAGS"
11813 LIBS="$save_LIBS"
11815 esac
11817 case $lt_cv_dlopen_self in
11818 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11819 *) enable_dlopen_self=unknown ;;
11820 esac
11822 case $lt_cv_dlopen_self_static in
11823 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11824 *) enable_dlopen_self_static=unknown ;;
11825 esac
11844 striplib=
11845 old_striplib=
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11847 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11848 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11849 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11850 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11852 $as_echo "yes" >&6; }
11853 else
11854 # FIXME - insert some real tests, host_os isn't really good enough
11855 case $host_os in
11856 darwin*)
11857 if test -n "$STRIP" ; then
11858 striplib="$STRIP -x"
11859 old_striplib="$STRIP -S"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11861 $as_echo "yes" >&6; }
11862 else
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11864 $as_echo "no" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869 $as_echo "no" >&6; }
11871 esac
11885 # Report which library types will actually be built
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11887 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11889 $as_echo "$can_build_shared" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11892 $as_echo_n "checking whether to build shared libraries... " >&6; }
11893 test "$can_build_shared" = "no" && enable_shared=no
11895 # On AIX, shared libraries and static libraries use the same namespace, and
11896 # are all built from PIC.
11897 case $host_os in
11898 aix3*)
11899 test "$enable_shared" = yes && enable_static=no
11900 if test -n "$RANLIB"; then
11901 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11902 postinstall_cmds='$RANLIB $lib'
11906 aix[4-9]*)
11907 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11908 test "$enable_shared" = yes && enable_static=no
11911 esac
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11913 $as_echo "$enable_shared" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11916 $as_echo_n "checking whether to build static libraries... " >&6; }
11917 # Make sure either enable_shared or enable_static is yes.
11918 test "$enable_shared" = yes || enable_static=yes
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11920 $as_echo "$enable_static" >&6; }
11926 ac_ext=c
11927 ac_cpp='$CPP $CPPFLAGS'
11928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11932 CC="$lt_save_CC"
11934 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11935 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11936 (test "X$CXX" != "Xg++"))) ; then
11937 ac_ext=cpp
11938 ac_cpp='$CXXCPP $CPPFLAGS'
11939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11943 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11944 if test -z "$CXXCPP"; then
11945 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 # Double quotes because CXXCPP needs to be expanded
11949 for CXXCPP in "$CXX -E" "/lib/cpp"
11951 ac_preproc_ok=false
11952 for ac_cxx_preproc_warn_flag in '' yes
11954 # Use a header file that comes with gcc, so configuring glibc
11955 # with a fresh cross-compiler works.
11956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11957 # <limits.h> exists even on freestanding compilers.
11958 # On the NeXT, cc -E runs the code through the compiler's parser,
11959 # not just through cpp. "Syntax error" is here to catch this case.
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11962 #ifdef __STDC__
11963 # include <limits.h>
11964 #else
11965 # include <assert.h>
11966 #endif
11967 Syntax error
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11971 else
11972 # Broken: fails on valid input.
11973 continue
11975 rm -f conftest.err conftest.$ac_ext
11977 # OK, works on sane cases. Now check whether nonexistent headers
11978 # can be detected and how.
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #include <ac_nonexistent.h>
11982 _ACEOF
11983 if ac_fn_cxx_try_cpp "$LINENO"; then :
11984 # Broken: success on invalid input.
11985 continue
11986 else
11987 # Passes both tests.
11988 ac_preproc_ok=:
11989 break
11991 rm -f conftest.err conftest.$ac_ext
11993 done
11994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11995 rm -f conftest.err conftest.$ac_ext
11996 if $ac_preproc_ok; then :
11997 break
12000 done
12001 ac_cv_prog_CXXCPP=$CXXCPP
12004 CXXCPP=$ac_cv_prog_CXXCPP
12005 else
12006 ac_cv_prog_CXXCPP=$CXXCPP
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12009 $as_echo "$CXXCPP" >&6; }
12010 ac_preproc_ok=false
12011 for ac_cxx_preproc_warn_flag in '' yes
12013 # Use a header file that comes with gcc, so configuring glibc
12014 # with a fresh cross-compiler works.
12015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12016 # <limits.h> exists even on freestanding compilers.
12017 # On the NeXT, cc -E runs the code through the compiler's parser,
12018 # not just through cpp. "Syntax error" is here to catch this case.
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021 #ifdef __STDC__
12022 # include <limits.h>
12023 #else
12024 # include <assert.h>
12025 #endif
12026 Syntax error
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12030 else
12031 # Broken: fails on valid input.
12032 continue
12034 rm -f conftest.err conftest.$ac_ext
12036 # OK, works on sane cases. Now check whether nonexistent headers
12037 # can be detected and how.
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12040 #include <ac_nonexistent.h>
12041 _ACEOF
12042 if ac_fn_cxx_try_cpp "$LINENO"; then :
12043 # Broken: success on invalid input.
12044 continue
12045 else
12046 # Passes both tests.
12047 ac_preproc_ok=:
12048 break
12050 rm -f conftest.err conftest.$ac_ext
12052 done
12053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12054 rm -f conftest.err conftest.$ac_ext
12055 if $ac_preproc_ok; then :
12057 else
12058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12060 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12061 See \`config.log' for more details." "$LINENO" 5; }
12064 ac_ext=c
12065 ac_cpp='$CPP $CPPFLAGS'
12066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12070 else
12071 _lt_caught_CXX_error=yes
12074 ac_ext=cpp
12075 ac_cpp='$CXXCPP $CPPFLAGS'
12076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12080 archive_cmds_need_lc_CXX=no
12081 allow_undefined_flag_CXX=
12082 always_export_symbols_CXX=no
12083 archive_expsym_cmds_CXX=
12084 compiler_needs_object_CXX=no
12085 export_dynamic_flag_spec_CXX=
12086 hardcode_direct_CXX=no
12087 hardcode_direct_absolute_CXX=no
12088 hardcode_libdir_flag_spec_CXX=
12089 hardcode_libdir_flag_spec_ld_CXX=
12090 hardcode_libdir_separator_CXX=
12091 hardcode_minus_L_CXX=no
12092 hardcode_shlibpath_var_CXX=unsupported
12093 hardcode_automatic_CXX=no
12094 inherit_rpath_CXX=no
12095 module_cmds_CXX=
12096 module_expsym_cmds_CXX=
12097 link_all_deplibs_CXX=unknown
12098 old_archive_cmds_CXX=$old_archive_cmds
12099 reload_flag_CXX=$reload_flag
12100 reload_cmds_CXX=$reload_cmds
12101 no_undefined_flag_CXX=
12102 whole_archive_flag_spec_CXX=
12103 enable_shared_with_static_runtimes_CXX=no
12105 # Source file extension for C++ test sources.
12106 ac_ext=cpp
12108 # Object file extension for compiled C++ test sources.
12109 objext=o
12110 objext_CXX=$objext
12112 # No sense in running all these tests if we already determined that
12113 # the CXX compiler isn't working. Some variables (like enable_shared)
12114 # are currently assumed to apply to all compilers on this platform,
12115 # and will be corrupted by setting them based on a non-working compiler.
12116 if test "$_lt_caught_CXX_error" != yes; then
12117 # Code to be used in simple compile tests
12118 lt_simple_compile_test_code="int some_variable = 0;"
12120 # Code to be used in simple link tests
12121 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12123 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12130 # If no C compiler was specified, use CC.
12131 LTCC=${LTCC-"$CC"}
12133 # If no C compiler flags were specified, use CFLAGS.
12134 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12136 # Allow CC to be a program name with arguments.
12137 compiler=$CC
12140 # save warnings/boilerplate of simple test code
12141 ac_outfile=conftest.$ac_objext
12142 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12144 _lt_compiler_boilerplate=`cat conftest.err`
12145 $RM conftest*
12147 ac_outfile=conftest.$ac_objext
12148 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12150 _lt_linker_boilerplate=`cat conftest.err`
12151 $RM -r conftest*
12154 # Allow CC to be a program name with arguments.
12155 lt_save_CC=$CC
12156 lt_save_LD=$LD
12157 lt_save_GCC=$GCC
12158 GCC=$GXX
12159 lt_save_with_gnu_ld=$with_gnu_ld
12160 lt_save_path_LD=$lt_cv_path_LD
12161 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12162 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12163 else
12164 $as_unset lt_cv_prog_gnu_ld
12166 if test -n "${lt_cv_path_LDCXX+set}"; then
12167 lt_cv_path_LD=$lt_cv_path_LDCXX
12168 else
12169 $as_unset lt_cv_path_LD
12171 test -z "${LDCXX+set}" || LD=$LDCXX
12172 CC=${CXX-"c++"}
12173 compiler=$CC
12174 compiler_CXX=$CC
12175 for cc_temp in $compiler""; do
12176 case $cc_temp in
12177 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12178 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12179 \-*) ;;
12180 *) break;;
12181 esac
12182 done
12183 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12186 if test -n "$compiler"; then
12187 # We don't want -fno-exception when compiling C++ code, so set the
12188 # no_builtin_flag separately
12189 if test "$GXX" = yes; then
12190 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12191 else
12192 lt_prog_compiler_no_builtin_flag_CXX=
12195 if test "$GXX" = yes; then
12196 # Set up default GNU C++ configuration
12200 # Check whether --with-gnu-ld was given.
12201 if test "${with_gnu_ld+set}" = set; then :
12202 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12203 else
12204 with_gnu_ld=no
12207 ac_prog=ld
12208 if test "$GCC" = yes; then
12209 # Check if gcc -print-prog-name=ld gives a path.
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12211 $as_echo_n "checking for ld used by $CC... " >&6; }
12212 case $host in
12213 *-*-mingw*)
12214 # gcc leaves a trailing carriage return which upsets mingw
12215 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12217 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12218 esac
12219 case $ac_prog in
12220 # Accept absolute paths.
12221 [\\/]* | ?:[\\/]*)
12222 re_direlt='/[^/][^/]*/\.\./'
12223 # Canonicalize the pathname of ld
12224 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12225 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12226 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12227 done
12228 test -z "$LD" && LD="$ac_prog"
12231 # If it fails, then pretend we aren't using GCC.
12232 ac_prog=ld
12235 # If it is relative, then search for the first ld in PATH.
12236 with_gnu_ld=unknown
12238 esac
12239 elif test "$with_gnu_ld" = yes; then
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12241 $as_echo_n "checking for GNU ld... " >&6; }
12242 else
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12244 $as_echo_n "checking for non-GNU ld... " >&6; }
12246 if test "${lt_cv_path_LD+set}" = set; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 if test -z "$LD"; then
12250 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12251 for ac_dir in $PATH; do
12252 IFS="$lt_save_ifs"
12253 test -z "$ac_dir" && ac_dir=.
12254 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12255 lt_cv_path_LD="$ac_dir/$ac_prog"
12256 # Check to see if the program is GNU ld. I'd rather use --version,
12257 # but apparently some variants of GNU ld only accept -v.
12258 # Break only if it was the GNU/non-GNU ld that we prefer.
12259 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12260 *GNU* | *'with BFD'*)
12261 test "$with_gnu_ld" != no && break
12264 test "$with_gnu_ld" != yes && break
12266 esac
12268 done
12269 IFS="$lt_save_ifs"
12270 else
12271 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12275 LD="$lt_cv_path_LD"
12276 if test -n "$LD"; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12278 $as_echo "$LD" >&6; }
12279 else
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12281 $as_echo "no" >&6; }
12283 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12285 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12286 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12287 $as_echo_n "(cached) " >&6
12288 else
12289 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12290 case `$LD -v 2>&1 </dev/null` in
12291 *GNU* | *'with BFD'*)
12292 lt_cv_prog_gnu_ld=yes
12295 lt_cv_prog_gnu_ld=no
12297 esac
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12300 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12301 with_gnu_ld=$lt_cv_prog_gnu_ld
12309 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12310 # archiving commands below assume that GNU ld is being used.
12311 if test "$with_gnu_ld" = yes; then
12312 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12313 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'
12315 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12316 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12318 # If archive_cmds runs LD, not CC, wlarc should be empty
12319 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12320 # investigate it a little bit more. (MM)
12321 wlarc='${wl}'
12323 # ancient GNU ld didn't support --whole-archive et. al.
12324 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12325 $GREP 'no-whole-archive' > /dev/null; then
12326 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12327 else
12328 whole_archive_flag_spec_CXX=
12330 else
12331 with_gnu_ld=no
12332 wlarc=
12334 # A generic and very simple default shared library creation
12335 # command for GNU C++ for the case where it uses the native
12336 # linker, instead of GNU ld. If possible, this setting should
12337 # overridden to take advantage of the native linker features on
12338 # the platform it is being used on.
12339 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12342 # Commands to make compiler produce verbose output that lists
12343 # what "hidden" libraries, object files and flags are used when
12344 # linking a shared library.
12345 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12347 else
12348 GXX=no
12349 with_gnu_ld=no
12350 wlarc=
12353 # PORTME: fill in a description of your system's C++ link characteristics
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12355 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12356 ld_shlibs_CXX=yes
12357 case $host_os in
12358 aix3*)
12359 # FIXME: insert proper C++ library support
12360 ld_shlibs_CXX=no
12362 aix[4-9]*)
12363 if test "$host_cpu" = ia64; then
12364 # On IA64, the linker does run time linking by default, so we don't
12365 # have to do anything special.
12366 aix_use_runtimelinking=no
12367 exp_sym_flag='-Bexport'
12368 no_entry_flag=""
12369 else
12370 aix_use_runtimelinking=no
12372 # Test if we are trying to use run time linking or normal
12373 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12374 # need to do runtime linking.
12375 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12376 for ld_flag in $LDFLAGS; do
12377 case $ld_flag in
12378 *-brtl*)
12379 aix_use_runtimelinking=yes
12380 break
12382 esac
12383 done
12385 esac
12387 exp_sym_flag='-bexport'
12388 no_entry_flag='-bnoentry'
12391 # When large executables or shared objects are built, AIX ld can
12392 # have problems creating the table of contents. If linking a library
12393 # or program results in "error TOC overflow" add -mminimal-toc to
12394 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12395 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12397 archive_cmds_CXX=''
12398 hardcode_direct_CXX=yes
12399 hardcode_direct_absolute_CXX=yes
12400 hardcode_libdir_separator_CXX=':'
12401 link_all_deplibs_CXX=yes
12402 file_list_spec_CXX='${wl}-f,'
12404 if test "$GXX" = yes; then
12405 case $host_os in aix4.[012]|aix4.[012].*)
12406 # We only want to do this on AIX 4.2 and lower, the check
12407 # below for broken collect2 doesn't work under 4.3+
12408 collect2name=`${CC} -print-prog-name=collect2`
12409 if test -f "$collect2name" &&
12410 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12411 then
12412 # We have reworked collect2
12414 else
12415 # We have old collect2
12416 hardcode_direct_CXX=unsupported
12417 # It fails to find uninstalled libraries when the uninstalled
12418 # path is not listed in the libpath. Setting hardcode_minus_L
12419 # to unsupported forces relinking
12420 hardcode_minus_L_CXX=yes
12421 hardcode_libdir_flag_spec_CXX='-L$libdir'
12422 hardcode_libdir_separator_CXX=
12424 esac
12425 shared_flag='-shared'
12426 if test "$aix_use_runtimelinking" = yes; then
12427 shared_flag="$shared_flag "'${wl}-G'
12429 else
12430 # not using gcc
12431 if test "$host_cpu" = ia64; then
12432 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12433 # chokes on -Wl,-G. The following line is correct:
12434 shared_flag='-G'
12435 else
12436 if test "$aix_use_runtimelinking" = yes; then
12437 shared_flag='${wl}-G'
12438 else
12439 shared_flag='${wl}-bM:SRE'
12444 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12445 # It seems that -bexpall does not export symbols beginning with
12446 # underscore (_), so it is better to generate a list of symbols to
12447 # export.
12448 always_export_symbols_CXX=yes
12449 if test "$aix_use_runtimelinking" = yes; then
12450 # Warning - without using the other runtime loading flags (-brtl),
12451 # -berok will link without error, but may produce a broken library.
12452 allow_undefined_flag_CXX='-berok'
12453 # Determine the default libpath from the value encoded in an empty
12454 # executable.
12455 if test x$gcc_no_link = xyes; then
12456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12462 main ()
12466 return 0;
12468 _ACEOF
12469 if ac_fn_cxx_try_link "$LINENO"; then :
12471 lt_aix_libpath_sed='
12472 /Import File Strings/,/^$/ {
12473 /^0/ {
12474 s/^0 *\(.*\)$/\1/
12478 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12479 # Check for a 64-bit object if we didn't find anything.
12480 if test -z "$aix_libpath"; then
12481 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12488 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12490 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"
12491 else
12492 if test "$host_cpu" = ia64; then
12493 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12494 allow_undefined_flag_CXX="-z nodefs"
12495 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"
12496 else
12497 # Determine the default libpath from the value encoded in an
12498 # empty executable.
12499 if test x$gcc_no_link = xyes; then
12500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12506 main ()
12510 return 0;
12512 _ACEOF
12513 if ac_fn_cxx_try_link "$LINENO"; then :
12515 lt_aix_libpath_sed='
12516 /Import File Strings/,/^$/ {
12517 /^0/ {
12518 s/^0 *\(.*\)$/\1/
12522 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12523 # Check for a 64-bit object if we didn't find anything.
12524 if test -z "$aix_libpath"; then
12525 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12528 rm -f core conftest.err conftest.$ac_objext \
12529 conftest$ac_exeext conftest.$ac_ext
12530 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12532 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12533 # Warning - without using the other run time loading flags,
12534 # -berok will link without error, but may produce a broken library.
12535 no_undefined_flag_CXX=' ${wl}-bernotok'
12536 allow_undefined_flag_CXX=' ${wl}-berok'
12537 if test "$with_gnu_ld" = yes; then
12538 # We only use this code for GNU lds that support --whole-archive.
12539 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12540 else
12541 # Exported symbols can be pulled into shared objects from archives
12542 whole_archive_flag_spec_CXX='$convenience'
12544 archive_cmds_need_lc_CXX=yes
12545 # This is similar to how AIX traditionally builds its shared
12546 # libraries.
12547 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'
12552 beos*)
12553 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12554 allow_undefined_flag_CXX=unsupported
12555 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12556 # support --undefined. This deserves some investigation. FIXME
12557 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12558 else
12559 ld_shlibs_CXX=no
12563 chorus*)
12564 case $cc_basename in
12566 # FIXME: insert proper C++ library support
12567 ld_shlibs_CXX=no
12569 esac
12572 cygwin* | mingw* | pw32* | cegcc*)
12573 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12574 # as there is no search path for DLLs.
12575 hardcode_libdir_flag_spec_CXX='-L$libdir'
12576 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12577 allow_undefined_flag_CXX=unsupported
12578 always_export_symbols_CXX=no
12579 enable_shared_with_static_runtimes_CXX=yes
12581 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12582 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'
12583 # If the export-symbols file already is a .def file (1st line
12584 # is EXPORTS), use it as is; otherwise, prepend...
12585 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12586 cp $export_symbols $output_objdir/$soname.def;
12587 else
12588 echo EXPORTS > $output_objdir/$soname.def;
12589 cat $export_symbols >> $output_objdir/$soname.def;
12591 $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'
12592 else
12593 ld_shlibs_CXX=no
12596 darwin* | rhapsody*)
12599 archive_cmds_need_lc_CXX=no
12600 hardcode_direct_CXX=no
12601 hardcode_automatic_CXX=yes
12602 hardcode_shlibpath_var_CXX=unsupported
12603 if test "$lt_cv_ld_force_load" = "yes"; then
12604 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\"`'
12605 else
12606 whole_archive_flag_spec_CXX=''
12608 link_all_deplibs_CXX=yes
12609 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12610 case $cc_basename in
12611 ifort*) _lt_dar_can_shared=yes ;;
12612 *) _lt_dar_can_shared=$GCC ;;
12613 esac
12614 if test "$_lt_dar_can_shared" = "yes"; then
12615 output_verbose_link_cmd=func_echo_all
12616 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}"
12617 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12618 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}"
12619 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}"
12620 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12621 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}"
12622 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}"
12625 else
12626 ld_shlibs_CXX=no
12631 dgux*)
12632 case $cc_basename in
12633 ec++*)
12634 # FIXME: insert proper C++ library support
12635 ld_shlibs_CXX=no
12637 ghcx*)
12638 # Green Hills C++ Compiler
12639 # FIXME: insert proper C++ library support
12640 ld_shlibs_CXX=no
12643 # FIXME: insert proper C++ library support
12644 ld_shlibs_CXX=no
12646 esac
12649 freebsd2.*)
12650 # C++ shared libraries reported to be fairly broken before
12651 # switch to ELF
12652 ld_shlibs_CXX=no
12655 freebsd-elf*)
12656 archive_cmds_need_lc_CXX=no
12659 freebsd* | dragonfly*)
12660 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12661 # conventions
12662 ld_shlibs_CXX=yes
12665 gnu*)
12668 haiku*)
12669 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12670 link_all_deplibs_CXX=yes
12673 hpux9*)
12674 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12675 hardcode_libdir_separator_CXX=:
12676 export_dynamic_flag_spec_CXX='${wl}-E'
12677 hardcode_direct_CXX=yes
12678 hardcode_minus_L_CXX=yes # Not in the search PATH,
12679 # but as the default
12680 # location of the library.
12682 case $cc_basename in
12683 CC*)
12684 # FIXME: insert proper C++ library support
12685 ld_shlibs_CXX=no
12687 aCC*)
12688 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'
12689 # Commands to make compiler produce verbose output that lists
12690 # what "hidden" libraries, object files and flags are used when
12691 # linking a shared library.
12693 # There doesn't appear to be a way to prevent this compiler from
12694 # explicitly linking system object files so we need to strip them
12695 # from the output so that they don't get included in the library
12696 # dependencies.
12697 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"'
12700 if test "$GXX" = yes; then
12701 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'
12702 else
12703 # FIXME: insert proper C++ library support
12704 ld_shlibs_CXX=no
12707 esac
12710 hpux10*|hpux11*)
12711 if test $with_gnu_ld = no; then
12712 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12713 hardcode_libdir_separator_CXX=:
12715 case $host_cpu in
12716 hppa*64*|ia64*)
12719 export_dynamic_flag_spec_CXX='${wl}-E'
12721 esac
12723 case $host_cpu in
12724 hppa*64*|ia64*)
12725 hardcode_direct_CXX=no
12726 hardcode_shlibpath_var_CXX=no
12729 hardcode_direct_CXX=yes
12730 hardcode_direct_absolute_CXX=yes
12731 hardcode_minus_L_CXX=yes # Not in the search PATH,
12732 # but as the default
12733 # location of the library.
12735 esac
12737 case $cc_basename in
12738 CC*)
12739 # FIXME: insert proper C++ library support
12740 ld_shlibs_CXX=no
12742 aCC*)
12743 case $host_cpu in
12744 hppa*64*)
12745 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12747 ia64*)
12748 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12753 esac
12754 # Commands to make compiler produce verbose output that lists
12755 # what "hidden" libraries, object files and flags are used when
12756 # linking a shared library.
12758 # There doesn't appear to be a way to prevent this compiler from
12759 # explicitly linking system object files so we need to strip them
12760 # from the output so that they don't get included in the library
12761 # dependencies.
12762 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"'
12765 if test "$GXX" = yes; then
12766 if test $with_gnu_ld = no; then
12767 case $host_cpu in
12768 hppa*64*)
12769 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12771 ia64*)
12772 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12775 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'
12777 esac
12779 else
12780 # FIXME: insert proper C++ library support
12781 ld_shlibs_CXX=no
12784 esac
12787 interix[3-9]*)
12788 hardcode_direct_CXX=no
12789 hardcode_shlibpath_var_CXX=no
12790 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12791 export_dynamic_flag_spec_CXX='${wl}-E'
12792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12793 # Instead, shared libraries are loaded at an image base (0x10000000 by
12794 # default) and relocated if they conflict, which is a slow very memory
12795 # consuming and fragmenting process. To avoid this, we pick a random,
12796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12798 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'
12799 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'
12801 irix5* | irix6*)
12802 case $cc_basename in
12803 CC*)
12804 # SGI C++
12805 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'
12807 # Archives containing C++ object files must be created using
12808 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12809 # necessary to make sure instantiated templates are included
12810 # in the archive.
12811 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12814 if test "$GXX" = yes; then
12815 if test "$with_gnu_ld" = no; then
12816 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'
12817 else
12818 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'
12821 link_all_deplibs_CXX=yes
12823 esac
12824 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12825 hardcode_libdir_separator_CXX=:
12826 inherit_rpath_CXX=yes
12829 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12830 case $cc_basename in
12831 KCC*)
12832 # Kuck and Associates, Inc. (KAI) C++ Compiler
12834 # KCC will only create a shared library if the output file
12835 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12836 # to its proper name (with version) after linking.
12837 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'
12838 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'
12839 # Commands to make compiler produce verbose output that lists
12840 # what "hidden" libraries, object files and flags are used when
12841 # linking a shared library.
12843 # There doesn't appear to be a way to prevent this compiler from
12844 # explicitly linking system object files so we need to strip them
12845 # from the output so that they don't get included in the library
12846 # dependencies.
12847 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"'
12849 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12850 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12852 # Archives containing C++ object files must be created using
12853 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12854 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12856 icpc* | ecpc* )
12857 # Intel C++
12858 with_gnu_ld=yes
12859 # version 8.0 and above of icpc choke on multiply defined symbols
12860 # if we add $predep_objects and $postdep_objects, however 7.1 and
12861 # earlier do not add the objects themselves.
12862 case `$CC -V 2>&1` in
12863 *"Version 7."*)
12864 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12865 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'
12867 *) # Version 8.0 or newer
12868 tmp_idyn=
12869 case $host_cpu in
12870 ia64*) tmp_idyn=' -i_dynamic';;
12871 esac
12872 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12873 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'
12875 esac
12876 archive_cmds_need_lc_CXX=no
12877 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12878 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12879 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12881 pgCC* | pgcpp*)
12882 # Portland Group C++ compiler
12883 case `$CC -V` in
12884 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12885 prelink_cmds_CXX='tpldir=Template.dir~
12886 rm -rf $tpldir~
12887 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12888 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12889 old_archive_cmds_CXX='tpldir=Template.dir~
12890 rm -rf $tpldir~
12891 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12892 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12893 $RANLIB $oldlib'
12894 archive_cmds_CXX='tpldir=Template.dir~
12895 rm -rf $tpldir~
12896 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12897 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12898 archive_expsym_cmds_CXX='tpldir=Template.dir~
12899 rm -rf $tpldir~
12900 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12901 $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'
12903 *) # Version 6 and above use weak symbols
12904 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12905 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'
12907 esac
12909 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12910 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12911 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'
12913 cxx*)
12914 # Compaq C++
12915 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12916 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'
12918 runpath_var=LD_RUN_PATH
12919 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12920 hardcode_libdir_separator_CXX=:
12922 # Commands to make compiler produce verbose output that lists
12923 # what "hidden" libraries, object files and flags are used when
12924 # linking a shared library.
12926 # There doesn't appear to be a way to prevent this compiler from
12927 # explicitly linking system object files so we need to strip them
12928 # from the output so that they don't get included in the library
12929 # dependencies.
12930 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'
12932 xl* | mpixl* | bgxl*)
12933 # IBM XL 8.0 on PPC, with GNU ld
12934 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12935 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12936 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12937 if test "x$supports_anon_versioning" = xyes; then
12938 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12939 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12940 echo "local: *; };" >> $output_objdir/$libname.ver~
12941 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12945 case `$CC -V 2>&1 | sed 5q` in
12946 *Sun\ C*)
12947 # Sun C++ 5.9
12948 no_undefined_flag_CXX=' -zdefs'
12949 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12950 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'
12951 hardcode_libdir_flag_spec_CXX='-R$libdir'
12952 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'
12953 compiler_needs_object_CXX=yes
12955 # Not sure whether something based on
12956 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12957 # would be better.
12958 output_verbose_link_cmd='func_echo_all'
12960 # Archives containing C++ object files must be created using
12961 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12962 # necessary to make sure instantiated templates are included
12963 # in the archive.
12964 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12966 esac
12968 esac
12971 lynxos*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12976 m88k*)
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12981 mvs*)
12982 case $cc_basename in
12983 cxx*)
12984 # FIXME: insert proper C++ library support
12985 ld_shlibs_CXX=no
12988 # FIXME: insert proper C++ library support
12989 ld_shlibs_CXX=no
12991 esac
12994 netbsd*)
12995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12996 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12997 wlarc=
12998 hardcode_libdir_flag_spec_CXX='-R$libdir'
12999 hardcode_direct_CXX=yes
13000 hardcode_shlibpath_var_CXX=no
13002 # Workaround some broken pre-1.5 toolchains
13003 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13006 *nto* | *qnx*)
13007 ld_shlibs_CXX=yes
13010 openbsd2*)
13011 # C++ shared libraries are fairly broken
13012 ld_shlibs_CXX=no
13015 openbsd*)
13016 if test -f /usr/libexec/ld.so; then
13017 hardcode_direct_CXX=yes
13018 hardcode_shlibpath_var_CXX=no
13019 hardcode_direct_absolute_CXX=yes
13020 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13021 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13022 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13023 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13024 export_dynamic_flag_spec_CXX='${wl}-E'
13025 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13027 output_verbose_link_cmd=func_echo_all
13028 else
13029 ld_shlibs_CXX=no
13033 osf3* | osf4* | osf5*)
13034 case $cc_basename in
13035 KCC*)
13036 # Kuck and Associates, Inc. (KAI) C++ Compiler
13038 # KCC will only create a shared library if the output file
13039 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13040 # to its proper name (with version) after linking.
13041 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'
13043 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13044 hardcode_libdir_separator_CXX=:
13046 # Archives containing C++ object files must be created using
13047 # the KAI C++ compiler.
13048 case $host in
13049 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13050 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13051 esac
13053 RCC*)
13054 # Rational C++ 2.4.1
13055 # FIXME: insert proper C++ library support
13056 ld_shlibs_CXX=no
13058 cxx*)
13059 case $host in
13060 osf3*)
13061 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13062 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'
13063 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13066 allow_undefined_flag_CXX=' -expect_unresolved \*'
13067 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'
13068 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13069 echo "-hidden">> $lib.exp~
13070 $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~
13071 $RM $lib.exp'
13072 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13074 esac
13076 hardcode_libdir_separator_CXX=:
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13082 # There doesn't appear to be a way to prevent this compiler from
13083 # explicitly linking system object files so we need to strip them
13084 # from the output so that they don't get included in the library
13085 # dependencies.
13086 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"'
13089 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13090 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13091 case $host in
13092 osf3*)
13093 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'
13096 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'
13098 esac
13100 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13101 hardcode_libdir_separator_CXX=:
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13108 else
13109 # FIXME: insert proper C++ library support
13110 ld_shlibs_CXX=no
13113 esac
13116 psos*)
13117 # FIXME: insert proper C++ library support
13118 ld_shlibs_CXX=no
13121 sunos4*)
13122 case $cc_basename in
13123 CC*)
13124 # Sun C++ 4.x
13125 # FIXME: insert proper C++ library support
13126 ld_shlibs_CXX=no
13128 lcc*)
13129 # Lucid
13130 # FIXME: insert proper C++ library support
13131 ld_shlibs_CXX=no
13134 # FIXME: insert proper C++ library support
13135 ld_shlibs_CXX=no
13137 esac
13140 solaris*)
13141 case $cc_basename in
13142 CC*)
13143 # Sun C++ 4.2, 5.x and Centerline C++
13144 archive_cmds_need_lc_CXX=yes
13145 no_undefined_flag_CXX=' -zdefs'
13146 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13147 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13148 $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'
13150 hardcode_libdir_flag_spec_CXX='-R$libdir'
13151 hardcode_shlibpath_var_CXX=no
13152 case $host_os in
13153 solaris2.[0-5] | solaris2.[0-5].*) ;;
13155 # The compiler driver will combine and reorder linker options,
13156 # but understands `-z linker_flag'.
13157 # Supported since Solaris 2.6 (maybe 2.5.1?)
13158 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13160 esac
13161 link_all_deplibs_CXX=yes
13163 output_verbose_link_cmd='func_echo_all'
13165 # Archives containing C++ object files must be created using
13166 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13167 # necessary to make sure instantiated templates are included
13168 # in the archive.
13169 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13171 gcx*)
13172 # Green Hills C++ Compiler
13173 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13175 # The C++ compiler must be used to create the archive.
13176 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13179 # GNU C++ compiler with Solaris linker
13180 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13181 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13182 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13183 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13184 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13185 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13187 # Commands to make compiler produce verbose output that lists
13188 # what "hidden" libraries, object files and flags are used when
13189 # linking a shared library.
13190 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13191 else
13192 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13193 # platform.
13194 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13195 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13196 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13198 # Commands to make compiler produce verbose output that lists
13199 # what "hidden" libraries, object files and flags are used when
13200 # linking a shared library.
13201 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13204 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13205 case $host_os in
13206 solaris2.[0-5] | solaris2.[0-5].*) ;;
13208 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13210 esac
13213 esac
13216 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13217 no_undefined_flag_CXX='${wl}-z,text'
13218 archive_cmds_need_lc_CXX=no
13219 hardcode_shlibpath_var_CXX=no
13220 runpath_var='LD_RUN_PATH'
13222 case $cc_basename in
13223 CC*)
13224 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13231 esac
13234 sysv5* | sco3.2v5* | sco5v6*)
13235 # Note: We can NOT use -z defs as we might desire, because we do not
13236 # link with -lc, and that would cause any symbols used from libc to
13237 # always be unresolved, which means just about no library would
13238 # ever link correctly. If we're not using GNU ld we use -z text
13239 # though, which does catch some bad symbols but isn't as heavy-handed
13240 # as -z defs.
13241 no_undefined_flag_CXX='${wl}-z,text'
13242 allow_undefined_flag_CXX='${wl}-z,nodefs'
13243 archive_cmds_need_lc_CXX=no
13244 hardcode_shlibpath_var_CXX=no
13245 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13246 hardcode_libdir_separator_CXX=':'
13247 link_all_deplibs_CXX=yes
13248 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13249 runpath_var='LD_RUN_PATH'
13251 case $cc_basename in
13252 CC*)
13253 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13255 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13256 '"$old_archive_cmds_CXX"
13257 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13258 '"$reload_cmds_CXX"
13261 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13264 esac
13267 tandem*)
13268 case $cc_basename in
13269 NCC*)
13270 # NonStop-UX NCC 3.20
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13278 esac
13281 vxworks*)
13282 # FIXME: insert proper C++ library support
13283 ld_shlibs_CXX=no
13287 # FIXME: insert proper C++ library support
13288 ld_shlibs_CXX=no
13290 esac
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13293 $as_echo "$ld_shlibs_CXX" >&6; }
13294 test "$ld_shlibs_CXX" = no && can_build_shared=no
13296 GCC_CXX="$GXX"
13297 LD_CXX="$LD"
13299 ## CAVEAT EMPTOR:
13300 ## There is no encapsulation within the following macros, do not change
13301 ## the running order or otherwise move them around unless you know exactly
13302 ## what you are doing...
13303 # Dependencies to place before and after the object being linked:
13304 predep_objects_CXX=
13305 postdep_objects_CXX=
13306 predeps_CXX=
13307 postdeps_CXX=
13308 compiler_lib_search_path_CXX=
13310 cat > conftest.$ac_ext <<_LT_EOF
13311 class Foo
13313 public:
13314 Foo (void) { a = 0; }
13315 private:
13316 int a;
13318 _LT_EOF
13320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13321 (eval $ac_compile) 2>&5
13322 ac_status=$?
13323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324 test $ac_status = 0; }; then
13325 # Parse the compiler output and extract the necessary
13326 # objects, libraries and library flags.
13328 # Sentinel used to keep track of whether or not we are before
13329 # the conftest object file.
13330 pre_test_object_deps_done=no
13332 for p in `eval "$output_verbose_link_cmd"`; do
13333 case $p in
13335 -L* | -R* | -l*)
13336 # Some compilers place space between "-{L,R}" and the path.
13337 # Remove the space.
13338 if test $p = "-L" ||
13339 test $p = "-R"; then
13340 prev=$p
13341 continue
13342 else
13343 prev=
13346 if test "$pre_test_object_deps_done" = no; then
13347 case $p in
13348 -L* | -R*)
13349 # Internal compiler library paths should come after those
13350 # provided the user. The postdeps already come after the
13351 # user supplied libs so there is no need to process them.
13352 if test -z "$compiler_lib_search_path_CXX"; then
13353 compiler_lib_search_path_CXX="${prev}${p}"
13354 else
13355 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13358 # The "-l" case would never come before the object being
13359 # linked, so don't bother handling this case.
13360 esac
13361 else
13362 if test -z "$postdeps_CXX"; then
13363 postdeps_CXX="${prev}${p}"
13364 else
13365 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13370 *.$objext)
13371 # This assumes that the test object file only shows up
13372 # once in the compiler output.
13373 if test "$p" = "conftest.$objext"; then
13374 pre_test_object_deps_done=yes
13375 continue
13378 if test "$pre_test_object_deps_done" = no; then
13379 if test -z "$predep_objects_CXX"; then
13380 predep_objects_CXX="$p"
13381 else
13382 predep_objects_CXX="$predep_objects_CXX $p"
13384 else
13385 if test -z "$postdep_objects_CXX"; then
13386 postdep_objects_CXX="$p"
13387 else
13388 postdep_objects_CXX="$postdep_objects_CXX $p"
13393 *) ;; # Ignore the rest.
13395 esac
13396 done
13398 # Clean up.
13399 rm -f a.out a.exe
13400 else
13401 echo "libtool.m4: error: problem compiling CXX test program"
13404 $RM -f confest.$objext
13406 # PORTME: override above test on systems where it is broken
13407 case $host_os in
13408 interix[3-9]*)
13409 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13410 # hack all around it, let's just trust "g++" to DTRT.
13411 predep_objects_CXX=
13412 postdep_objects_CXX=
13413 postdeps_CXX=
13416 linux*)
13417 case `$CC -V 2>&1 | sed 5q` in
13418 *Sun\ C*)
13419 # Sun C++ 5.9
13421 # The more standards-conforming stlport4 library is
13422 # incompatible with the Cstd library. Avoid specifying
13423 # it if it's in CXXFLAGS. Ignore libCrun as
13424 # -library=stlport4 depends on it.
13425 case " $CXX $CXXFLAGS " in
13426 *" -library=stlport4 "*)
13427 solaris_use_stlport4=yes
13429 esac
13431 if test "$solaris_use_stlport4" != yes; then
13432 postdeps_CXX='-library=Cstd -library=Crun'
13435 esac
13438 solaris*)
13439 case $cc_basename in
13440 CC*)
13441 # The more standards-conforming stlport4 library is
13442 # incompatible with the Cstd library. Avoid specifying
13443 # it if it's in CXXFLAGS. Ignore libCrun as
13444 # -library=stlport4 depends on it.
13445 case " $CXX $CXXFLAGS " in
13446 *" -library=stlport4 "*)
13447 solaris_use_stlport4=yes
13449 esac
13451 # Adding this requires a known-good setup of shared libraries for
13452 # Sun compiler versions before 5.6, else PIC objects from an old
13453 # archive will be linked into the output, leading to subtle bugs.
13454 if test "$solaris_use_stlport4" != yes; then
13455 postdeps_CXX='-library=Cstd -library=Crun'
13458 esac
13460 esac
13463 case " $postdeps_CXX " in
13464 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13465 esac
13466 compiler_lib_search_dirs_CXX=
13467 if test -n "${compiler_lib_search_path_CXX}"; then
13468 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13501 lt_prog_compiler_wl_CXX=
13502 lt_prog_compiler_pic_CXX=
13503 lt_prog_compiler_static_CXX=
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13506 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13508 # C++ specific cases for pic, static, wl, etc.
13509 if test "$GXX" = yes; then
13510 lt_prog_compiler_wl_CXX='-Wl,'
13511 lt_prog_compiler_static_CXX='-static'
13513 case $host_os in
13514 aix*)
13515 # All AIX code is PIC.
13516 if test "$host_cpu" = ia64; then
13517 # AIX 5 now supports IA64 processor
13518 lt_prog_compiler_static_CXX='-Bstatic'
13520 lt_prog_compiler_pic_CXX='-fPIC'
13523 amigaos*)
13524 case $host_cpu in
13525 powerpc)
13526 # see comment about AmigaOS4 .so support
13527 lt_prog_compiler_pic_CXX='-fPIC'
13529 m68k)
13530 # FIXME: we need at least 68020 code to build shared libraries, but
13531 # adding the `-m68020' flag to GCC prevents building anything better,
13532 # like `-m68040'.
13533 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13535 esac
13538 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13539 # PIC is the default for these OSes.
13541 mingw* | cygwin* | os2* | pw32* | cegcc*)
13542 # This hack is so that the source file can tell whether it is being
13543 # built for inclusion in a dll (and should export symbols for example).
13544 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13545 # (--disable-auto-import) libraries
13546 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13548 darwin* | rhapsody*)
13549 # PIC is the default on this platform
13550 # Common symbols not allowed in MH_DYLIB files
13551 lt_prog_compiler_pic_CXX='-fno-common'
13553 *djgpp*)
13554 # DJGPP does not support shared libraries at all
13555 lt_prog_compiler_pic_CXX=
13557 haiku*)
13558 # PIC is the default for Haiku.
13559 # The "-static" flag exists, but is broken.
13560 lt_prog_compiler_static_CXX=
13562 interix[3-9]*)
13563 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13564 # Instead, we relocate shared libraries at runtime.
13566 sysv4*MP*)
13567 if test -d /usr/nec; then
13568 lt_prog_compiler_pic_CXX=-Kconform_pic
13571 hpux*)
13572 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13573 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13574 # sets the default TLS model and affects inlining.
13575 case $host_cpu in
13576 hppa*64*)
13579 lt_prog_compiler_pic_CXX='-fPIC'
13581 esac
13583 *qnx* | *nto*)
13584 # QNX uses GNU C++, but need to define -shared option too, otherwise
13585 # it will coredump.
13586 lt_prog_compiler_pic_CXX='-fPIC -shared'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13591 esac
13592 else
13593 case $host_os in
13594 aix[4-9]*)
13595 # All AIX code is PIC.
13596 if test "$host_cpu" = ia64; then
13597 # AIX 5 now supports IA64 processor
13598 lt_prog_compiler_static_CXX='-Bstatic'
13599 else
13600 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13603 chorus*)
13604 case $cc_basename in
13605 cxch68*)
13606 # Green Hills C++ Compiler
13607 # _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"
13609 esac
13611 dgux*)
13612 case $cc_basename in
13613 ec++*)
13614 lt_prog_compiler_pic_CXX='-KPIC'
13616 ghcx*)
13617 # Green Hills C++ Compiler
13618 lt_prog_compiler_pic_CXX='-pic'
13622 esac
13624 freebsd* | dragonfly*)
13625 # FreeBSD uses GNU C++
13627 hpux9* | hpux10* | hpux11*)
13628 case $cc_basename in
13629 CC*)
13630 lt_prog_compiler_wl_CXX='-Wl,'
13631 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13632 if test "$host_cpu" != ia64; then
13633 lt_prog_compiler_pic_CXX='+Z'
13636 aCC*)
13637 lt_prog_compiler_wl_CXX='-Wl,'
13638 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13639 case $host_cpu in
13640 hppa*64*|ia64*)
13641 # +Z the default
13644 lt_prog_compiler_pic_CXX='+Z'
13646 esac
13650 esac
13652 interix*)
13653 # This is c89, which is MS Visual C++ (no shared libs)
13654 # Anyone wants to do a port?
13656 irix5* | irix6* | nonstopux*)
13657 case $cc_basename in
13658 CC*)
13659 lt_prog_compiler_wl_CXX='-Wl,'
13660 lt_prog_compiler_static_CXX='-non_shared'
13661 # CC pic flag -KPIC is the default.
13665 esac
13667 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13668 case $cc_basename in
13669 KCC*)
13670 # KAI C++ Compiler
13671 lt_prog_compiler_wl_CXX='--backend -Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13674 ecpc* )
13675 # old Intel C++ for x86_64 which still supported -KPIC.
13676 lt_prog_compiler_wl_CXX='-Wl,'
13677 lt_prog_compiler_pic_CXX='-KPIC'
13678 lt_prog_compiler_static_CXX='-static'
13680 icpc* )
13681 # Intel C++, used to be incompatible with GCC.
13682 # ICC 10 doesn't accept -KPIC any more.
13683 lt_prog_compiler_wl_CXX='-Wl,'
13684 lt_prog_compiler_pic_CXX='-fPIC'
13685 lt_prog_compiler_static_CXX='-static'
13687 pgCC* | pgcpp*)
13688 # Portland Group C++ compiler
13689 lt_prog_compiler_wl_CXX='-Wl,'
13690 lt_prog_compiler_pic_CXX='-fpic'
13691 lt_prog_compiler_static_CXX='-Bstatic'
13693 cxx*)
13694 # Compaq C++
13695 # Make sure the PIC flag is empty. It appears that all Alpha
13696 # Linux and Compaq Tru64 Unix objects are PIC.
13697 lt_prog_compiler_pic_CXX=
13698 lt_prog_compiler_static_CXX='-non_shared'
13700 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13701 # IBM XL 8.0, 9.0 on PPC and BlueGene
13702 lt_prog_compiler_wl_CXX='-Wl,'
13703 lt_prog_compiler_pic_CXX='-qpic'
13704 lt_prog_compiler_static_CXX='-qstaticlink'
13707 case `$CC -V 2>&1 | sed 5q` in
13708 *Sun\ C*)
13709 # Sun C++ 5.9
13710 lt_prog_compiler_pic_CXX='-KPIC'
13711 lt_prog_compiler_static_CXX='-Bstatic'
13712 lt_prog_compiler_wl_CXX='-Qoption ld '
13714 esac
13716 esac
13718 lynxos*)
13720 m88k*)
13722 mvs*)
13723 case $cc_basename in
13724 cxx*)
13725 lt_prog_compiler_pic_CXX='-W c,exportall'
13729 esac
13731 netbsd*)
13733 *qnx* | *nto*)
13734 # QNX uses GNU C++, but need to define -shared option too, otherwise
13735 # it will coredump.
13736 lt_prog_compiler_pic_CXX='-fPIC -shared'
13738 osf3* | osf4* | osf5*)
13739 case $cc_basename in
13740 KCC*)
13741 lt_prog_compiler_wl_CXX='--backend -Wl,'
13743 RCC*)
13744 # Rational C++ 2.4.1
13745 lt_prog_compiler_pic_CXX='-pic'
13747 cxx*)
13748 # Digital/Compaq C++
13749 lt_prog_compiler_wl_CXX='-Wl,'
13750 # Make sure the PIC flag is empty. It appears that all Alpha
13751 # Linux and Compaq Tru64 Unix objects are PIC.
13752 lt_prog_compiler_pic_CXX=
13753 lt_prog_compiler_static_CXX='-non_shared'
13757 esac
13759 psos*)
13761 solaris*)
13762 case $cc_basename in
13763 CC*)
13764 # Sun C++ 4.2, 5.x and Centerline C++
13765 lt_prog_compiler_pic_CXX='-KPIC'
13766 lt_prog_compiler_static_CXX='-Bstatic'
13767 lt_prog_compiler_wl_CXX='-Qoption ld '
13769 gcx*)
13770 # Green Hills C++ Compiler
13771 lt_prog_compiler_pic_CXX='-PIC'
13775 esac
13777 sunos4*)
13778 case $cc_basename in
13779 CC*)
13780 # Sun C++ 4.x
13781 lt_prog_compiler_pic_CXX='-pic'
13782 lt_prog_compiler_static_CXX='-Bstatic'
13784 lcc*)
13785 # Lucid
13786 lt_prog_compiler_pic_CXX='-pic'
13790 esac
13792 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13793 case $cc_basename in
13794 CC*)
13795 lt_prog_compiler_wl_CXX='-Wl,'
13796 lt_prog_compiler_pic_CXX='-KPIC'
13797 lt_prog_compiler_static_CXX='-Bstatic'
13799 esac
13801 tandem*)
13802 case $cc_basename in
13803 NCC*)
13804 # NonStop-UX NCC 3.20
13805 lt_prog_compiler_pic_CXX='-KPIC'
13809 esac
13811 vxworks*)
13814 lt_prog_compiler_can_build_shared_CXX=no
13816 esac
13819 case $host_os in
13820 # For platforms which do not support PIC, -DPIC is meaningless:
13821 *djgpp*)
13822 lt_prog_compiler_pic_CXX=
13825 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13827 esac
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13829 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13834 # Check to make sure the PIC flag actually works.
13836 if test -n "$lt_prog_compiler_pic_CXX"; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13838 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13839 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 lt_cv_prog_compiler_pic_works_CXX=no
13843 ac_outfile=conftest.$ac_objext
13844 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13845 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13846 # Insert the option either (1) after the last *FLAGS variable, or
13847 # (2) before a word containing "conftest.", or (3) at the end.
13848 # Note that $ac_compile itself does not contain backslashes and begins
13849 # with a dollar sign (not a hyphen), so the echo should work correctly.
13850 # The option is referenced via a variable to avoid confusing sed.
13851 lt_compile=`echo "$ac_compile" | $SED \
13852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13854 -e 's:$: $lt_compiler_flag:'`
13855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13856 (eval "$lt_compile" 2>conftest.err)
13857 ac_status=$?
13858 cat conftest.err >&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 if (exit $ac_status) && test -s "$ac_outfile"; then
13861 # The compiler can only warn and ignore the option if not recognized
13862 # So say no if there are warnings other than the usual output.
13863 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13864 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13865 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13866 lt_cv_prog_compiler_pic_works_CXX=yes
13869 $RM conftest*
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13873 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13875 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13876 case $lt_prog_compiler_pic_CXX in
13877 "" | " "*) ;;
13878 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13879 esac
13880 else
13881 lt_prog_compiler_pic_CXX=
13882 lt_prog_compiler_can_build_shared_CXX=no
13890 # Check to make sure the static flag actually works.
13892 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13894 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13895 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 lt_cv_prog_compiler_static_works_CXX=no
13899 save_LDFLAGS="$LDFLAGS"
13900 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13901 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13902 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13903 # The linker can only warn and ignore the option if not recognized
13904 # So say no if there are warnings
13905 if test -s conftest.err; then
13906 # Append any errors to the config.log.
13907 cat conftest.err 1>&5
13908 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13909 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13910 if diff conftest.exp conftest.er2 >/dev/null; then
13911 lt_cv_prog_compiler_static_works_CXX=yes
13913 else
13914 lt_cv_prog_compiler_static_works_CXX=yes
13917 $RM -r conftest*
13918 LDFLAGS="$save_LDFLAGS"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13922 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13924 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13926 else
13927 lt_prog_compiler_static_CXX=
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13934 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13935 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13936 $as_echo_n "(cached) " >&6
13937 else
13938 lt_cv_prog_compiler_c_o_CXX=no
13939 $RM -r conftest 2>/dev/null
13940 mkdir conftest
13941 cd conftest
13942 mkdir out
13943 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13945 lt_compiler_flag="-o out/conftest2.$ac_objext"
13946 # Insert the option either (1) after the last *FLAGS variable, or
13947 # (2) before a word containing "conftest.", or (3) at the end.
13948 # Note that $ac_compile itself does not contain backslashes and begins
13949 # with a dollar sign (not a hyphen), so the echo should work correctly.
13950 lt_compile=`echo "$ac_compile" | $SED \
13951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13953 -e 's:$: $lt_compiler_flag:'`
13954 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13955 (eval "$lt_compile" 2>out/conftest.err)
13956 ac_status=$?
13957 cat out/conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13960 then
13961 # The compiler can only warn and ignore the option if not recognized
13962 # So say no if there are warnings
13963 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13964 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13965 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13966 lt_cv_prog_compiler_c_o_CXX=yes
13969 chmod u+w . 2>&5
13970 $RM conftest*
13971 # SGI C++ compiler will create directory out/ii_files/ for
13972 # template instantiation
13973 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13974 $RM out/* && rmdir out
13975 cd ..
13976 $RM -r conftest
13977 $RM conftest*
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13981 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13986 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13987 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 lt_cv_prog_compiler_c_o_CXX=no
13991 $RM -r conftest 2>/dev/null
13992 mkdir conftest
13993 cd conftest
13994 mkdir out
13995 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13997 lt_compiler_flag="-o out/conftest2.$ac_objext"
13998 # Insert the option either (1) after the last *FLAGS variable, or
13999 # (2) before a word containing "conftest.", or (3) at the end.
14000 # Note that $ac_compile itself does not contain backslashes and begins
14001 # with a dollar sign (not a hyphen), so the echo should work correctly.
14002 lt_compile=`echo "$ac_compile" | $SED \
14003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14005 -e 's:$: $lt_compiler_flag:'`
14006 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14007 (eval "$lt_compile" 2>out/conftest.err)
14008 ac_status=$?
14009 cat out/conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14012 then
14013 # The compiler can only warn and ignore the option if not recognized
14014 # So say no if there are warnings
14015 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14016 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14017 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14018 lt_cv_prog_compiler_c_o_CXX=yes
14021 chmod u+w . 2>&5
14022 $RM conftest*
14023 # SGI C++ compiler will create directory out/ii_files/ for
14024 # template instantiation
14025 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14026 $RM out/* && rmdir out
14027 cd ..
14028 $RM -r conftest
14029 $RM conftest*
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14033 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14038 hard_links="nottested"
14039 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14040 # do not overwrite the value of need_locks provided by the user
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14042 $as_echo_n "checking if we can lock with hard links... " >&6; }
14043 hard_links=yes
14044 $RM conftest*
14045 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14046 touch conftest.a
14047 ln conftest.a conftest.b 2>&5 || hard_links=no
14048 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14050 $as_echo "$hard_links" >&6; }
14051 if test "$hard_links" = no; then
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14053 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14054 need_locks=warn
14056 else
14057 need_locks=no
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14063 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14065 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14066 case $host_os in
14067 aix[4-9]*)
14068 # If we're using GNU nm, then we don't want the "-C" option.
14069 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14070 # Also, AIX nm treats weak defined symbols like other global defined
14071 # symbols, whereas GNU nm marks them as "W".
14072 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14073 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'
14074 else
14075 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'
14078 pw32*)
14079 export_symbols_cmds_CXX="$ltdll_cmds"
14081 cygwin* | mingw* | cegcc*)
14082 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'
14085 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14087 esac
14088 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14091 $as_echo "$ld_shlibs_CXX" >&6; }
14092 test "$ld_shlibs_CXX" = no && can_build_shared=no
14094 with_gnu_ld_CXX=$with_gnu_ld
14102 # Do we need to explicitly link libc?
14104 case "x$archive_cmds_need_lc_CXX" in
14105 x|xyes)
14106 # Assume -lc should be added
14107 archive_cmds_need_lc_CXX=yes
14109 if test "$enable_shared" = yes && test "$GCC" = yes; then
14110 case $archive_cmds_CXX in
14111 *'~'*)
14112 # FIXME: we may have to deal with multi-command sequences.
14114 '$CC '*)
14115 # Test whether the compiler implicitly links with -lc since on some
14116 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14117 # to ld, don't add -lc before -lgcc.
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14119 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14120 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 $RM conftest*
14124 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14127 (eval $ac_compile) 2>&5
14128 ac_status=$?
14129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14130 test $ac_status = 0; } 2>conftest.err; then
14131 soname=conftest
14132 lib=conftest
14133 libobjs=conftest.$ac_objext
14134 deplibs=
14135 wl=$lt_prog_compiler_wl_CXX
14136 pic_flag=$lt_prog_compiler_pic_CXX
14137 compiler_flags=-v
14138 linker_flags=-v
14139 verstring=
14140 output_objdir=.
14141 libname=conftest
14142 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14143 allow_undefined_flag_CXX=
14144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14145 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14146 ac_status=$?
14147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148 test $ac_status = 0; }
14149 then
14150 lt_cv_archive_cmds_need_lc_CXX=no
14151 else
14152 lt_cv_archive_cmds_need_lc_CXX=yes
14154 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14155 else
14156 cat conftest.err 1>&5
14158 $RM conftest*
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14162 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14163 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14165 esac
14168 esac
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14234 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14236 library_names_spec=
14237 libname_spec='lib$name'
14238 soname_spec=
14239 shrext_cmds=".so"
14240 postinstall_cmds=
14241 postuninstall_cmds=
14242 finish_cmds=
14243 finish_eval=
14244 shlibpath_var=
14245 shlibpath_overrides_runpath=unknown
14246 version_type=none
14247 dynamic_linker="$host_os ld.so"
14248 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14249 need_lib_prefix=unknown
14250 hardcode_into_libs=no
14252 # when you set need_version to no, make sure it does not cause -set_version
14253 # flags to be left without arguments
14254 need_version=unknown
14256 case $host_os in
14257 aix3*)
14258 version_type=linux
14259 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14260 shlibpath_var=LIBPATH
14262 # AIX 3 has no versioning support, so we append a major version to the name.
14263 soname_spec='${libname}${release}${shared_ext}$major'
14266 aix[4-9]*)
14267 version_type=linux
14268 need_lib_prefix=no
14269 need_version=no
14270 hardcode_into_libs=yes
14271 if test "$host_cpu" = ia64; then
14272 # AIX 5 supports IA64
14273 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14274 shlibpath_var=LD_LIBRARY_PATH
14275 else
14276 # With GCC up to 2.95.x, collect2 would create an import file
14277 # for dependence libraries. The import file would start with
14278 # the line `#! .'. This would cause the generated library to
14279 # depend on `.', always an invalid library. This was fixed in
14280 # development snapshots of GCC prior to 3.0.
14281 case $host_os in
14282 aix4 | aix4.[01] | aix4.[01].*)
14283 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14284 echo ' yes '
14285 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14287 else
14288 can_build_shared=no
14291 esac
14292 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14293 # soname into executable. Probably we can add versioning support to
14294 # collect2, so additional links can be useful in future.
14295 if test "$aix_use_runtimelinking" = yes; then
14296 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14297 # instead of lib<name>.a to let people know that these are not
14298 # typical AIX shared libraries.
14299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14300 else
14301 # We preserve .a as extension for shared libraries through AIX4.2
14302 # and later when we are not doing run time linking.
14303 library_names_spec='${libname}${release}.a $libname.a'
14304 soname_spec='${libname}${release}${shared_ext}$major'
14306 shlibpath_var=LIBPATH
14310 amigaos*)
14311 case $host_cpu in
14312 powerpc)
14313 # Since July 2007 AmigaOS4 officially supports .so libraries.
14314 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14317 m68k)
14318 library_names_spec='$libname.ixlibrary $libname.a'
14319 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14320 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'
14322 esac
14325 beos*)
14326 library_names_spec='${libname}${shared_ext}'
14327 dynamic_linker="$host_os ld.so"
14328 shlibpath_var=LIBRARY_PATH
14331 bsdi[45]*)
14332 version_type=linux
14333 need_version=no
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 soname_spec='${libname}${release}${shared_ext}$major'
14336 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14337 shlibpath_var=LD_LIBRARY_PATH
14338 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14339 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14340 # the default ld.so.conf also contains /usr/contrib/lib and
14341 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14342 # libtool to hard-code these into programs
14345 cygwin* | mingw* | pw32* | cegcc*)
14346 version_type=windows
14347 shrext_cmds=".dll"
14348 need_version=no
14349 need_lib_prefix=no
14351 case $GCC,$host_os in
14352 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14353 library_names_spec='$libname.dll.a'
14354 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14355 postinstall_cmds='base_file=`basename \${file}`~
14356 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14357 dldir=$destdir/`dirname \$dlpath`~
14358 test -d \$dldir || mkdir -p \$dldir~
14359 $install_prog $dir/$dlname \$dldir/$dlname~
14360 chmod a+x \$dldir/$dlname~
14361 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14362 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14364 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14365 dlpath=$dir/\$dldll~
14366 $RM \$dlpath'
14367 shlibpath_overrides_runpath=yes
14369 case $host_os in
14370 cygwin*)
14371 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14372 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14375 mingw* | cegcc*)
14376 # MinGW DLLs use traditional 'lib' prefix
14377 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14379 pw32*)
14380 # pw32 DLLs use 'pw' prefix rather than 'lib'
14381 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14383 esac
14387 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14389 esac
14390 dynamic_linker='Win32 ld.exe'
14391 # FIXME: first we should search . and the directory the executable is in
14392 shlibpath_var=PATH
14395 darwin* | rhapsody*)
14396 dynamic_linker="$host_os dyld"
14397 version_type=darwin
14398 need_lib_prefix=no
14399 need_version=no
14400 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14401 soname_spec='${libname}${release}${major}$shared_ext'
14402 shlibpath_overrides_runpath=yes
14403 shlibpath_var=DYLD_LIBRARY_PATH
14404 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14406 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14409 dgux*)
14410 version_type=linux
14411 need_lib_prefix=no
14412 need_version=no
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 shlibpath_var=LD_LIBRARY_PATH
14418 freebsd* | dragonfly*)
14419 # DragonFly does not have aout. When/if they implement a new
14420 # versioning mechanism, adjust this.
14421 if test -x /usr/bin/objformat; then
14422 objformat=`/usr/bin/objformat`
14423 else
14424 case $host_os in
14425 freebsd[23].*) objformat=aout ;;
14426 *) objformat=elf ;;
14427 esac
14429 version_type=freebsd-$objformat
14430 case $version_type in
14431 freebsd-elf*)
14432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14433 need_version=no
14434 need_lib_prefix=no
14436 freebsd-*)
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14438 need_version=yes
14440 esac
14441 shlibpath_var=LD_LIBRARY_PATH
14442 case $host_os in
14443 freebsd2.*)
14444 shlibpath_overrides_runpath=yes
14446 freebsd3.[01]* | freebsdelf3.[01]*)
14447 shlibpath_overrides_runpath=yes
14448 hardcode_into_libs=yes
14450 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14451 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14452 shlibpath_overrides_runpath=no
14453 hardcode_into_libs=yes
14455 *) # from 4.6 on, and DragonFly
14456 shlibpath_overrides_runpath=yes
14457 hardcode_into_libs=yes
14459 esac
14462 gnu*)
14463 version_type=linux
14464 need_lib_prefix=no
14465 need_version=no
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 shlibpath_var=LD_LIBRARY_PATH
14469 hardcode_into_libs=yes
14472 haiku*)
14473 version_type=linux
14474 need_lib_prefix=no
14475 need_version=no
14476 dynamic_linker="$host_os runtime_loader"
14477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14478 soname_spec='${libname}${release}${shared_ext}$major'
14479 shlibpath_var=LIBRARY_PATH
14480 shlibpath_overrides_runpath=yes
14481 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14482 hardcode_into_libs=yes
14485 hpux9* | hpux10* | hpux11*)
14486 # Give a soname corresponding to the major version so that dld.sl refuses to
14487 # link against other versions.
14488 version_type=sunos
14489 need_lib_prefix=no
14490 need_version=no
14491 case $host_cpu in
14492 ia64*)
14493 shrext_cmds='.so'
14494 hardcode_into_libs=yes
14495 dynamic_linker="$host_os dld.so"
14496 shlibpath_var=LD_LIBRARY_PATH
14497 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 if test "X$HPUX_IA64_MODE" = X32; then
14501 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14502 else
14503 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14505 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14507 hppa*64*)
14508 shrext_cmds='.sl'
14509 hardcode_into_libs=yes
14510 dynamic_linker="$host_os dld.sl"
14511 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14512 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14516 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14519 shrext_cmds='.sl'
14520 dynamic_linker="$host_os dld.sl"
14521 shlibpath_var=SHLIB_PATH
14522 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14526 esac
14527 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14528 postinstall_cmds='chmod 555 $lib'
14529 # or fails outright, so override atomically:
14530 install_override_mode=555
14533 interix[3-9]*)
14534 version_type=linux
14535 need_lib_prefix=no
14536 need_version=no
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14538 soname_spec='${libname}${release}${shared_ext}$major'
14539 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14540 shlibpath_var=LD_LIBRARY_PATH
14541 shlibpath_overrides_runpath=no
14542 hardcode_into_libs=yes
14545 irix5* | irix6* | nonstopux*)
14546 case $host_os in
14547 nonstopux*) version_type=nonstopux ;;
14549 if test "$lt_cv_prog_gnu_ld" = yes; then
14550 version_type=linux
14551 else
14552 version_type=irix
14553 fi ;;
14554 esac
14555 need_lib_prefix=no
14556 need_version=no
14557 soname_spec='${libname}${release}${shared_ext}$major'
14558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14559 case $host_os in
14560 irix5* | nonstopux*)
14561 libsuff= shlibsuff=
14564 case $LD in # libtool.m4 will add one of these switches to LD
14565 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14566 libsuff= shlibsuff= libmagic=32-bit;;
14567 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14568 libsuff=32 shlibsuff=N32 libmagic=N32;;
14569 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14570 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14571 *) libsuff= shlibsuff= libmagic=never-match;;
14572 esac
14574 esac
14575 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14576 shlibpath_overrides_runpath=no
14577 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14578 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14579 hardcode_into_libs=yes
14582 # No shared lib support for Linux oldld, aout, or coff.
14583 linux*oldld* | linux*aout* | linux*coff*)
14584 dynamic_linker=no
14587 # This must be Linux ELF.
14588 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14589 version_type=linux
14590 need_lib_prefix=no
14591 need_version=no
14592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14593 soname_spec='${libname}${release}${shared_ext}$major'
14594 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14595 shlibpath_var=LD_LIBRARY_PATH
14596 shlibpath_overrides_runpath=no
14598 # Some binutils ld are patched to set DT_RUNPATH
14599 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 lt_cv_shlibpath_overrides_runpath=no
14603 save_LDFLAGS=$LDFLAGS
14604 save_libdir=$libdir
14605 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14606 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14607 if test x$gcc_no_link = xyes; then
14608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14614 main ()
14618 return 0;
14620 _ACEOF
14621 if ac_fn_cxx_try_link "$LINENO"; then :
14622 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14623 lt_cv_shlibpath_overrides_runpath=yes
14626 rm -f core conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628 LDFLAGS=$save_LDFLAGS
14629 libdir=$save_libdir
14633 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14635 # This implies no fast_install, which is unacceptable.
14636 # Some rework will be needed to allow for fast_install
14637 # before this can be enabled.
14638 hardcode_into_libs=yes
14640 # Append ld.so.conf contents to the search path
14641 if test -f /etc/ld.so.conf; then
14642 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' ' '`
14643 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14646 # We used to test for /lib/ld.so.1 and disable shared libraries on
14647 # powerpc, because MkLinux only supported shared libraries with the
14648 # GNU dynamic linker. Since this was broken with cross compilers,
14649 # most powerpc-linux boxes support dynamic linking these days and
14650 # people can always --disable-shared, the test was removed, and we
14651 # assume the GNU/Linux dynamic linker is in use.
14652 dynamic_linker='GNU/Linux ld.so'
14655 netbsd*)
14656 version_type=sunos
14657 need_lib_prefix=no
14658 need_version=no
14659 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14661 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14662 dynamic_linker='NetBSD (a.out) ld.so'
14663 else
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 dynamic_linker='NetBSD ld.elf_so'
14668 shlibpath_var=LD_LIBRARY_PATH
14669 shlibpath_overrides_runpath=yes
14670 hardcode_into_libs=yes
14673 newsos6)
14674 version_type=linux
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 shlibpath_overrides_runpath=yes
14680 *nto* | *qnx*)
14681 version_type=qnx
14682 need_lib_prefix=no
14683 need_version=no
14684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14685 soname_spec='${libname}${release}${shared_ext}$major'
14686 shlibpath_var=LD_LIBRARY_PATH
14687 shlibpath_overrides_runpath=no
14688 hardcode_into_libs=yes
14689 dynamic_linker='ldqnx.so'
14692 openbsd*)
14693 version_type=sunos
14694 sys_lib_dlsearch_path_spec="/usr/lib"
14695 need_lib_prefix=no
14696 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14697 case $host_os in
14698 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14699 *) need_version=no ;;
14700 esac
14701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14703 shlibpath_var=LD_LIBRARY_PATH
14704 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14705 case $host_os in
14706 openbsd2.[89] | openbsd2.[89].*)
14707 shlibpath_overrides_runpath=no
14710 shlibpath_overrides_runpath=yes
14712 esac
14713 else
14714 shlibpath_overrides_runpath=yes
14718 os2*)
14719 libname_spec='$name'
14720 shrext_cmds=".dll"
14721 need_lib_prefix=no
14722 library_names_spec='$libname${shared_ext} $libname.a'
14723 dynamic_linker='OS/2 ld.exe'
14724 shlibpath_var=LIBPATH
14727 osf3* | osf4* | osf5*)
14728 version_type=osf
14729 need_lib_prefix=no
14730 need_version=no
14731 soname_spec='${libname}${release}${shared_ext}$major'
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 shlibpath_var=LD_LIBRARY_PATH
14734 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14735 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14738 rdos*)
14739 dynamic_linker=no
14742 solaris*)
14743 version_type=linux
14744 need_lib_prefix=no
14745 need_version=no
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 soname_spec='${libname}${release}${shared_ext}$major'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath=yes
14750 hardcode_into_libs=yes
14751 # ldd complains unless libraries are executable
14752 postinstall_cmds='chmod +x $lib'
14755 sunos4*)
14756 version_type=sunos
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14758 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 shlibpath_overrides_runpath=yes
14761 if test "$with_gnu_ld" = yes; then
14762 need_lib_prefix=no
14764 need_version=yes
14767 sysv4 | sysv4.3*)
14768 version_type=linux
14769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14770 soname_spec='${libname}${release}${shared_ext}$major'
14771 shlibpath_var=LD_LIBRARY_PATH
14772 case $host_vendor in
14773 sni)
14774 shlibpath_overrides_runpath=no
14775 need_lib_prefix=no
14776 runpath_var=LD_RUN_PATH
14778 siemens)
14779 need_lib_prefix=no
14781 motorola)
14782 need_lib_prefix=no
14783 need_version=no
14784 shlibpath_overrides_runpath=no
14785 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14787 esac
14790 sysv4*MP*)
14791 if test -d /usr/nec ;then
14792 version_type=linux
14793 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14794 soname_spec='$libname${shared_ext}.$major'
14795 shlibpath_var=LD_LIBRARY_PATH
14799 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14800 version_type=freebsd-elf
14801 need_lib_prefix=no
14802 need_version=no
14803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14804 soname_spec='${libname}${release}${shared_ext}$major'
14805 shlibpath_var=LD_LIBRARY_PATH
14806 shlibpath_overrides_runpath=yes
14807 hardcode_into_libs=yes
14808 if test "$with_gnu_ld" = yes; then
14809 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14810 else
14811 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14812 case $host_os in
14813 sco3.2v5*)
14814 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14816 esac
14818 sys_lib_dlsearch_path_spec='/usr/lib'
14821 tpf*)
14822 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14823 version_type=linux
14824 need_lib_prefix=no
14825 need_version=no
14826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14827 shlibpath_var=LD_LIBRARY_PATH
14828 shlibpath_overrides_runpath=no
14829 hardcode_into_libs=yes
14832 uts4*)
14833 version_type=linux
14834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835 soname_spec='${libname}${release}${shared_ext}$major'
14836 shlibpath_var=LD_LIBRARY_PATH
14840 dynamic_linker=no
14842 esac
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14844 $as_echo "$dynamic_linker" >&6; }
14845 test "$dynamic_linker" = no && can_build_shared=no
14847 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14848 if test "$GCC" = yes; then
14849 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14852 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14853 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14855 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14856 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14897 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14898 hardcode_action_CXX=
14899 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14900 test -n "$runpath_var_CXX" ||
14901 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14903 # We can hardcode non-existent directories.
14904 if test "$hardcode_direct_CXX" != no &&
14905 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14906 # have to relink, otherwise we might link with an installed library
14907 # when we should be linking with a yet-to-be-installed one
14908 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14909 test "$hardcode_minus_L_CXX" != no; then
14910 # Linking always hardcodes the temporary library directory.
14911 hardcode_action_CXX=relink
14912 else
14913 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14914 hardcode_action_CXX=immediate
14916 else
14917 # We cannot hardcode anything, or else we can only hardcode existing
14918 # directories.
14919 hardcode_action_CXX=unsupported
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14922 $as_echo "$hardcode_action_CXX" >&6; }
14924 if test "$hardcode_action_CXX" = relink ||
14925 test "$inherit_rpath_CXX" = yes; then
14926 # Fast installation is not supported
14927 enable_fast_install=no
14928 elif test "$shlibpath_overrides_runpath" = yes ||
14929 test "$enable_shared" = no; then
14930 # Fast installation is not necessary
14931 enable_fast_install=needless
14940 fi # test -n "$compiler"
14942 CC=$lt_save_CC
14943 LDCXX=$LD
14944 LD=$lt_save_LD
14945 GCC=$lt_save_GCC
14946 with_gnu_ld=$lt_save_with_gnu_ld
14947 lt_cv_path_LDCXX=$lt_cv_path_LD
14948 lt_cv_path_LD=$lt_save_path_LD
14949 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14950 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14951 fi # test "$_lt_caught_CXX_error" != yes
14953 ac_ext=c
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14971 ac_config_commands="$ac_config_commands libtool"
14976 # Only expand once:
14982 case $host in
14983 *-cygwin* | *-mingw*)
14984 # 'host' will be top-level target in the case of a target lib,
14985 # we must compare to with_cross_host to decide if this is a native
14986 # or cross-compiler and select where to install dlls appropriately.
14987 if test -n "$with_cross_host" &&
14988 test x"$with_cross_host" != x"no"; then
14989 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14990 else
14991 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14995 lt_host_flags=
14997 esac
15004 if test "$enable_vtable_verify" = yes; then
15005 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15006 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15010 # libtool variables for C++ shared and position-independent compiles.
15012 # Use glibcxx_lt_pic_flag to designate the automake variable
15013 # used to encapsulate the default libtool approach to creating objects
15014 # with position-independent code. Default: -prefer-pic.
15016 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15017 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15019 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15020 # creating position-independent objects. This varies with the target
15021 # hardware and operating system, but is often: -DPIC -fPIC.
15022 if test "$enable_shared" = yes; then
15023 glibcxx_lt_pic_flag="-prefer-pic"
15024 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15025 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15027 else
15028 glibcxx_lt_pic_flag=
15029 glibcxx_compiler_pic_flag=
15030 glibcxx_compiler_shared_flag=
15036 # Override the libtool's pic_flag and pic_mode.
15037 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15038 # NB: this impacts --with-pic and --without-pic.
15039 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15040 pic_mode='default'
15042 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15043 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15045 # Possibly disable most of the library.
15046 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15047 ## than just ignoring the results. Faster /and/ more correct, win win.
15049 # Check whether --enable-hosted-libstdcxx was given.
15050 if test "${enable_hosted_libstdcxx+set}" = set; then :
15051 enableval=$enable_hosted_libstdcxx;
15052 else
15053 case "$host" in
15054 arm*-*-symbianelf*)
15055 enable_hosted_libstdcxx=no
15058 enable_hosted_libstdcxx=yes
15060 esac
15063 if test "$enable_hosted_libstdcxx" = no; then
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15065 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15066 is_hosted=no
15067 hosted_define=0
15068 enable_abi_check=no
15069 enable_libstdcxx_pch=no
15070 else
15071 is_hosted=yes
15072 hosted_define=1
15076 cat >>confdefs.h <<_ACEOF
15077 #define _GLIBCXX_HOSTED $hosted_define
15078 _ACEOF
15082 # Enable descriptive messages to standard output on termination.
15084 # Check whether --enable-libstdcxx-verbose was given.
15085 if test "${enable_libstdcxx_verbose+set}" = set; then :
15086 enableval=$enable_libstdcxx_verbose;
15087 else
15088 enable_libstdcxx_verbose=yes
15091 if test x"$enable_libstdcxx_verbose" = xyes; then
15092 verbose_define=1
15093 else
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15095 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15096 verbose_define=0
15099 cat >>confdefs.h <<_ACEOF
15100 #define _GLIBCXX_VERBOSE $verbose_define
15101 _ACEOF
15105 # Enable compiler support that doesn't require linking.
15107 # Check whether --enable-libstdcxx-pch was given.
15108 if test "${enable_libstdcxx_pch+set}" = set; then :
15109 enableval=$enable_libstdcxx_pch;
15110 case "$enableval" in
15111 yes|no) ;;
15112 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15113 esac
15115 else
15116 enable_libstdcxx_pch=$is_hosted
15120 if test $enable_libstdcxx_pch = yes; then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15122 $as_echo_n "checking for compiler with PCH support... " >&6; }
15123 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 ac_save_CXXFLAGS="$CXXFLAGS"
15127 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15129 ac_ext=cpp
15130 ac_cpp='$CXXCPP $CPPFLAGS'
15131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15135 echo '#include <math.h>' > conftest.h
15136 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15137 -o conftest.h.gch 1>&5 2>&1 &&
15138 echo '#error "pch failed"' > conftest.h &&
15139 echo '#include "conftest.h"' > conftest.cc &&
15140 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15141 then
15142 glibcxx_cv_prog_CXX_pch=yes
15143 else
15144 glibcxx_cv_prog_CXX_pch=no
15146 rm -f conftest*
15147 CXXFLAGS=$ac_save_CXXFLAGS
15148 ac_ext=c
15149 ac_cpp='$CPP $CPPFLAGS'
15150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15157 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15158 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15162 $as_echo_n "checking for enabled PCH... " >&6; }
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15164 $as_echo "$enable_libstdcxx_pch" >&6; }
15167 if test $enable_libstdcxx_pch = yes; then
15168 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15169 else
15170 glibcxx_PCHFLAGS=""
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15176 $as_echo_n "checking for thread model used by GCC... " >&6; }
15177 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15179 $as_echo "$target_thread_file" >&6; }
15181 case $target_thread_file in
15182 aix) thread_header=config/rs6000/gthr-aix.h ;;
15183 dce) thread_header=config/pa/gthr-dce.h ;;
15184 lynx) thread_header=config/gthr-lynx.h ;;
15185 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15186 posix) thread_header=gthr-posix.h ;;
15187 rtems) thread_header=config/gthr-rtems.h ;;
15188 single) thread_header=gthr-single.h ;;
15189 tpf) thread_header=config/s390/gthr-tpf.h ;;
15190 vxworks) thread_header=config/gthr-vxworks.h ;;
15191 win32) thread_header=config/i386/gthr-win32.h ;;
15192 esac
15198 ac_ext=cpp
15199 ac_cpp='$CXXCPP $CPPFLAGS'
15200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15204 old_CXXFLAGS="$CXXFLAGS"
15206 # Do link tests if possible, instead asm tests, limited to some platforms
15207 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15208 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15209 atomic_builtins_link_tests=no
15210 if test x$gcc_no_link != xyes; then
15211 # Can do link tests. Limit to some tested platforms
15212 case "$host" in
15213 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15214 atomic_builtins_link_tests=yes
15216 esac
15219 if test x$atomic_builtins_link_tests = xyes; then
15221 # Do link tests.
15223 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15226 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15227 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15228 $as_echo_n "(cached) " >&6
15229 else
15231 if test x$gcc_no_link = xyes; then
15232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15238 main ()
15240 typedef bool atomic_type;
15241 atomic_type c1;
15242 atomic_type c2;
15243 atomic_type c3(0);
15244 // N.B. __atomic_fetch_add is not supported for bool.
15245 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15246 __ATOMIC_RELAXED);
15247 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15248 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15251 return 0;
15253 _ACEOF
15254 if ac_fn_cxx_try_link "$LINENO"; then :
15255 glibcxx_cv_atomic_bool=yes
15256 else
15257 glibcxx_cv_atomic_bool=no
15259 rm -f core conftest.err conftest.$ac_objext \
15260 conftest$ac_exeext conftest.$ac_ext
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15265 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15268 $as_echo_n "checking for atomic builtins for short... " >&6; }
15269 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15273 if test x$gcc_no_link = xyes; then
15274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15280 main ()
15282 typedef short atomic_type;
15283 atomic_type c1;
15284 atomic_type c2;
15285 atomic_type c3(0);
15286 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15287 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15288 __ATOMIC_RELAXED);
15289 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15290 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15293 return 0;
15295 _ACEOF
15296 if ac_fn_cxx_try_link "$LINENO"; then :
15297 glibcxx_cv_atomic_short=yes
15298 else
15299 glibcxx_cv_atomic_short=no
15301 rm -f core conftest.err conftest.$ac_objext \
15302 conftest$ac_exeext conftest.$ac_ext
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15307 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15310 $as_echo_n "checking for atomic builtins for int... " >&6; }
15311 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15315 if test x$gcc_no_link = xyes; then
15316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15322 main ()
15324 typedef int atomic_type;
15325 atomic_type c1;
15326 atomic_type c2;
15327 atomic_type c3(0);
15328 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15329 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15330 __ATOMIC_RELAXED);
15331 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15332 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15335 return 0;
15337 _ACEOF
15338 if ac_fn_cxx_try_link "$LINENO"; then :
15339 glibcxx_cv_atomic_int=yes
15340 else
15341 glibcxx_cv_atomic_int=no
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15349 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15352 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15353 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15354 $as_echo_n "(cached) " >&6
15355 else
15357 if test x$gcc_no_link = xyes; then
15358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15364 main ()
15366 typedef long long atomic_type;
15367 atomic_type c1;
15368 atomic_type c2;
15369 atomic_type c3(0);
15370 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15371 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15372 __ATOMIC_RELAXED);
15373 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15374 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15377 return 0;
15379 _ACEOF
15380 if ac_fn_cxx_try_link "$LINENO"; then :
15381 glibcxx_cv_atomic_long_long=yes
15382 else
15383 glibcxx_cv_atomic_long_long=no
15385 rm -f core conftest.err conftest.$ac_objext \
15386 conftest$ac_exeext conftest.$ac_ext
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15391 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15393 else
15395 # Do asm tests.
15397 # Compile unoptimized.
15398 CXXFLAGS='-O0 -S'
15400 # Fake what AC_TRY_COMPILE does.
15402 cat > conftest.$ac_ext << EOF
15403 #line 15403 "configure"
15404 int main()
15406 typedef bool atomic_type;
15407 atomic_type c1;
15408 atomic_type c2;
15409 atomic_type c3(0);
15410 // N.B. __atomic_fetch_add is not supported for bool.
15411 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15412 __ATOMIC_RELAXED);
15413 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15414 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15416 return 0;
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15421 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15423 (eval $ac_compile) 2>&5
15424 ac_status=$?
15425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 test $ac_status = 0; }; then
15427 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15428 glibcxx_cv_atomic_bool=no
15429 else
15430 glibcxx_cv_atomic_bool=yes
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15434 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15435 rm -f conftest*
15437 cat > conftest.$ac_ext << EOF
15438 #line 15438 "configure"
15439 int main()
15441 typedef short atomic_type;
15442 atomic_type c1;
15443 atomic_type c2;
15444 atomic_type c3(0);
15445 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15446 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15447 __ATOMIC_RELAXED);
15448 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15449 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15451 return 0;
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15456 $as_echo_n "checking for atomic builtins for short... " >&6; }
15457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15458 (eval $ac_compile) 2>&5
15459 ac_status=$?
15460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15461 test $ac_status = 0; }; then
15462 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15463 glibcxx_cv_atomic_short=no
15464 else
15465 glibcxx_cv_atomic_short=yes
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15469 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15470 rm -f conftest*
15472 cat > conftest.$ac_ext << EOF
15473 #line 15473 "configure"
15474 int main()
15476 // NB: _Atomic_word not necessarily int.
15477 typedef int atomic_type;
15478 atomic_type c1;
15479 atomic_type c2;
15480 atomic_type c3(0);
15481 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15482 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15483 __ATOMIC_RELAXED);
15484 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15485 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15487 return 0;
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15492 $as_echo_n "checking for atomic builtins for int... " >&6; }
15493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15494 (eval $ac_compile) 2>&5
15495 ac_status=$?
15496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15497 test $ac_status = 0; }; then
15498 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15499 glibcxx_cv_atomic_int=no
15500 else
15501 glibcxx_cv_atomic_int=yes
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15505 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15506 rm -f conftest*
15508 cat > conftest.$ac_ext << EOF
15509 #line 15509 "configure"
15510 int main()
15512 typedef long long atomic_type;
15513 atomic_type c1;
15514 atomic_type c2;
15515 atomic_type c3(0);
15516 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15517 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15518 __ATOMIC_RELAXED);
15519 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15520 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15522 return 0;
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15527 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15529 (eval $ac_compile) 2>&5
15530 ac_status=$?
15531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532 test $ac_status = 0; }; then
15533 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15534 glibcxx_cv_atomic_long_long=no
15535 else
15536 glibcxx_cv_atomic_long_long=yes
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15540 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15541 rm -f conftest*
15545 CXXFLAGS="$old_CXXFLAGS"
15546 ac_ext=c
15547 ac_cpp='$CPP $CPPFLAGS'
15548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15553 # Set atomicity_dir to builtins if all but the long long test above passes,
15554 # or if the builtins were already chosen (e.g. by configure.host).
15555 if { test "$glibcxx_cv_atomic_bool" = yes \
15556 && test "$glibcxx_cv_atomic_short" = yes \
15557 && test "$glibcxx_cv_atomic_int" = yes; } \
15558 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15560 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15562 atomicity_dir=cpu/generic/atomicity_builtins
15565 # If still generic, set to mutex.
15566 if test $atomicity_dir = "cpu/generic" ; then
15567 atomicity_dir=cpu/generic/atomicity_mutex
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15569 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15570 if test "x$target_thread_file" = xsingle; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15572 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15574 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15575 else
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15577 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15579 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15586 # Fake what AC_TRY_COMPILE does, without linking as this is
15587 # unnecessary for this test.
15589 cat > conftest.$ac_ext << EOF
15590 #line 15590 "configure"
15591 int main()
15593 _Decimal32 d1;
15594 _Decimal64 d2;
15595 _Decimal128 d3;
15596 return 0;
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15601 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15603 (eval $ac_compile) 2>&5
15604 ac_status=$?
15605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15606 test $ac_status = 0; }; then
15608 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15610 enable_dfp=yes
15611 else
15612 enable_dfp=no
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15615 $as_echo "$enable_dfp" >&6; }
15616 rm -f conftest*
15621 ac_ext=cpp
15622 ac_cpp='$CXXCPP $CPPFLAGS'
15623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15628 # Fake what AC_TRY_COMPILE does, without linking as this is
15629 # unnecessary for this test.
15631 cat > conftest.$ac_ext << EOF
15632 #line 15632 "configure"
15633 template<typename T1, typename T2>
15634 struct same
15635 { typedef T2 type; };
15637 template<typename T>
15638 struct same<T, T>;
15640 int main()
15642 typename same<long, __int128>::type i1;
15643 typename same<long long, __int128>::type i2;
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15648 $as_echo_n "checking for __int128... " >&6; }
15649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15650 (eval $ac_compile) 2>&5
15651 ac_status=$?
15652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15653 test $ac_status = 0; }; then
15655 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15657 enable_int128=yes
15658 else
15659 enable_int128=no
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15662 $as_echo "$enable_int128" >&6; }
15663 rm -f conftest*
15665 cat > conftest.$ac_ext << EOF
15666 #line 15666 "configure"
15667 template<typename T1, typename T2>
15668 struct same
15669 { typedef T2 type; };
15671 template<typename T>
15672 struct same<T, T>;
15674 int main()
15676 typename same<double, __float128>::type f1;
15677 typename same<long double, __float128>::type f2;
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15682 $as_echo_n "checking for __float128... " >&6; }
15683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15684 (eval $ac_compile) 2>&5
15685 ac_status=$?
15686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15687 test $ac_status = 0; }; then
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; }
15695 rm -f conftest*
15697 ac_ext=c
15698 ac_cpp='$CPP $CPPFLAGS'
15699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15704 if test "$enable_float128" = yes; then
15705 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15708 # Checks for compiler support that doesn't require linking.
15710 # All these tests are for C++; save the language and the compiler flags.
15711 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15712 # found in GLIBCXX_CONFIGURE.
15714 ac_ext=cpp
15715 ac_cpp='$CXXCPP $CPPFLAGS'
15716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15720 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15721 ac_save_CXXFLAGS="$CXXFLAGS"
15723 # Check for maintainer-mode bits.
15724 if test x"$USE_MAINTAINER_MODE" = xno; then
15725 WERROR=''
15726 else
15727 WERROR='-Werror'
15730 # Check for -ffunction-sections -fdata-sections
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15732 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15733 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15736 int foo; void bar() { };
15738 main ()
15742 return 0;
15744 _ACEOF
15745 if ac_fn_cxx_try_compile "$LINENO"; then :
15746 ac_fdsections=yes
15747 else
15748 ac_fdsections=no
15750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15751 if test "$ac_test_CXXFLAGS" = set; then
15752 CXXFLAGS="$ac_save_CXXFLAGS"
15753 else
15754 # this is the suspicious part
15755 CXXFLAGS=''
15757 if test x"$ac_fdsections" = x"yes"; then
15758 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15761 $as_echo "$ac_fdsections" >&6; }
15763 ac_ext=c
15764 ac_cpp='$CPP $CPPFLAGS'
15765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773 # Enable all the variable C++ runtime options that don't require linking.
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15776 $as_echo_n "checking for underlying I/O to use... " >&6; }
15777 # Check whether --enable-cstdio was given.
15778 if test "${enable_cstdio+set}" = set; then :
15779 enableval=$enable_cstdio;
15780 case "$enableval" in
15781 stdio) ;;
15782 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15783 esac
15785 else
15786 enable_cstdio=stdio
15791 # Now that libio has been removed, you can have any color you want as long
15792 # as it's black. This is one big no-op until other packages are added, but
15793 # showing the framework never hurts.
15794 case ${enable_cstdio} in
15795 stdio)
15796 CSTDIO_H=config/io/c_io_stdio.h
15797 BASIC_FILE_H=config/io/basic_file_stdio.h
15798 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15800 $as_echo "stdio" >&6; }
15802 esac
15809 # Check whether --enable-clocale was given.
15810 if test "${enable_clocale+set}" = set; then :
15811 enableval=$enable_clocale;
15812 case "$enableval" in
15813 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15814 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15815 esac
15817 else
15818 enable_clocale=auto
15823 # Deal with gettext issues. Default to not using it (=no) until we detect
15824 # support for it later. Let the user turn it off via --e/d, but let that
15825 # default to on for easier handling.
15826 USE_NLS=no
15827 # Check whether --enable-nls was given.
15828 if test "${enable_nls+set}" = set; then :
15829 enableval=$enable_nls;
15830 else
15831 enable_nls=yes
15835 # Either a known package, or "auto"
15836 if test $enable_clocale = no || test $enable_clocale = yes; then
15837 enable_clocale=auto
15839 enable_clocale_flag=$enable_clocale
15841 # Probe for locale model to use if none specified.
15842 # Default to "generic".
15843 if test $enable_clocale_flag = auto; then
15844 case ${target_os} in
15845 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15846 enable_clocale_flag=gnu
15848 darwin*)
15849 enable_clocale_flag=darwin
15851 dragonfly* | freebsd*)
15852 enable_clocale_flag=dragonfly
15854 openbsd*)
15855 enable_clocale_flag=newlib
15858 if test x"$with_newlib" = x"yes"; then
15859 enable_clocale_flag=newlib
15860 else
15861 enable_clocale_flag=generic
15864 esac
15867 # Sanity check model, and test for special functionality.
15868 if test $enable_clocale_flag = gnu; then
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15872 #include <features.h>
15873 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15874 _GLIBCXX_ok
15875 #endif
15877 _ACEOF
15878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15879 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15880 enable_clocale_flag=gnu
15881 else
15882 enable_clocale_flag=generic
15884 rm -f conftest*
15887 # Set it to scream when it hurts.
15888 ac_save_CFLAGS="$CFLAGS"
15889 CFLAGS="-Wimplicit-function-declaration -Werror"
15891 # Use strxfrm_l if available.
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #define _GNU_SOURCE 1
15895 #include <string.h>
15896 #include <locale.h>
15898 main ()
15900 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_compile "$LINENO"; then :
15907 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912 # Use strerror_l if available.
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 #define _GNU_SOURCE 1
15916 #include <string.h>
15917 #include <locale.h>
15919 main ()
15921 __locale_t loc; strerror_l(5, loc);
15923 return 0;
15925 _ACEOF
15926 if ac_fn_c_try_compile "$LINENO"; then :
15928 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933 CFLAGS="$ac_save_CFLAGS"
15936 # Perhaps use strerror_r if available, and strerror_l isn't.
15937 ac_save_CFLAGS="$CFLAGS"
15938 CFLAGS="-Wimplicit-function-declaration -Werror"
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15941 #define _GNU_SOURCE 1
15942 #include <string.h>
15943 #include <locale.h>
15945 main ()
15947 char s[128]; strerror_r(5, s, 128);
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_compile "$LINENO"; then :
15954 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15958 CFLAGS="$ac_save_CFLAGS"
15960 # Set configure bits for specified locale package
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15962 $as_echo_n "checking for C locale to use... " >&6; }
15963 case ${enable_clocale_flag} in
15964 generic)
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15966 $as_echo "generic" >&6; }
15968 CLOCALE_H=config/locale/generic/c_locale.h
15969 CLOCALE_CC=config/locale/generic/c_locale.cc
15970 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15971 CCOLLATE_CC=config/locale/generic/collate_members.cc
15972 CCTYPE_CC=config/locale/generic/ctype_members.cc
15973 CMESSAGES_H=config/locale/generic/messages_members.h
15974 CMESSAGES_CC=config/locale/generic/messages_members.cc
15975 CMONEY_CC=config/locale/generic/monetary_members.cc
15976 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15977 CTIME_H=config/locale/generic/time_members.h
15978 CTIME_CC=config/locale/generic/time_members.cc
15979 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15981 darwin)
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15983 $as_echo "darwin" >&6; }
15985 CLOCALE_H=config/locale/generic/c_locale.h
15986 CLOCALE_CC=config/locale/generic/c_locale.cc
15987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15988 CCOLLATE_CC=config/locale/generic/collate_members.cc
15989 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15990 CMESSAGES_H=config/locale/generic/messages_members.h
15991 CMESSAGES_CC=config/locale/generic/messages_members.cc
15992 CMONEY_CC=config/locale/generic/monetary_members.cc
15993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15994 CTIME_H=config/locale/generic/time_members.h
15995 CTIME_CC=config/locale/generic/time_members.cc
15996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15999 dragonfly)
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16001 $as_echo "dragonfly or freebsd" >&6; }
16003 CLOCALE_H=config/locale/dragonfly/c_locale.h
16004 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16005 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16006 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16007 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16008 CMESSAGES_H=config/locale/generic/messages_members.h
16009 CMESSAGES_CC=config/locale/generic/messages_members.cc
16010 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16011 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16012 CTIME_H=config/locale/dragonfly/time_members.h
16013 CTIME_CC=config/locale/dragonfly/time_members.cc
16014 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16017 gnu)
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16019 $as_echo "gnu" >&6; }
16021 # Declare intention to use gettext, and add support for specific
16022 # languages.
16023 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16024 ALL_LINGUAS="de fr"
16026 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16027 # Extract the first word of "msgfmt", so it can be a program name with args.
16028 set dummy msgfmt; ac_word=$2
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16030 $as_echo_n "checking for $ac_word... " >&6; }
16031 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16032 $as_echo_n "(cached) " >&6
16033 else
16034 if test -n "$check_msgfmt"; then
16035 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16036 else
16037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16038 for as_dir in $PATH
16040 IFS=$as_save_IFS
16041 test -z "$as_dir" && as_dir=.
16042 for ac_exec_ext in '' $ac_executable_extensions; do
16043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16044 ac_cv_prog_check_msgfmt="yes"
16045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16046 break 2
16048 done
16049 done
16050 IFS=$as_save_IFS
16052 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16055 check_msgfmt=$ac_cv_prog_check_msgfmt
16056 if test -n "$check_msgfmt"; then
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16058 $as_echo "$check_msgfmt" >&6; }
16059 else
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16061 $as_echo "no" >&6; }
16065 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16066 USE_NLS=yes
16068 # Export the build objects.
16069 for ling in $ALL_LINGUAS; do \
16070 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16071 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16072 done
16076 CLOCALE_H=config/locale/gnu/c_locale.h
16077 CLOCALE_CC=config/locale/gnu/c_locale.cc
16078 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16079 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16080 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16081 CMESSAGES_H=config/locale/gnu/messages_members.h
16082 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16083 CMONEY_CC=config/locale/gnu/monetary_members.cc
16084 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16085 CTIME_H=config/locale/gnu/time_members.h
16086 CTIME_CC=config/locale/gnu/time_members.cc
16087 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16089 ieee_1003.1-2001)
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16091 $as_echo "IEEE 1003.1" >&6; }
16093 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16094 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16095 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16096 CCOLLATE_CC=config/locale/generic/collate_members.cc
16097 CCTYPE_CC=config/locale/generic/ctype_members.cc
16098 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16099 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16100 CMONEY_CC=config/locale/generic/monetary_members.cc
16101 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16102 CTIME_H=config/locale/generic/time_members.h
16103 CTIME_CC=config/locale/generic/time_members.cc
16104 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16106 newlib)
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16108 $as_echo "newlib" >&6; }
16110 CLOCALE_H=config/locale/generic/c_locale.h
16111 CLOCALE_CC=config/locale/generic/c_locale.cc
16112 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16113 CCOLLATE_CC=config/locale/generic/collate_members.cc
16114 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16115 CMESSAGES_H=config/locale/generic/messages_members.h
16116 CMESSAGES_CC=config/locale/generic/messages_members.cc
16117 CMONEY_CC=config/locale/generic/monetary_members.cc
16118 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16119 CTIME_H=config/locale/generic/time_members.h
16120 CTIME_CC=config/locale/generic/time_members.cc
16121 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123 esac
16125 # This is where the testsuite looks for locale catalogs, using the
16126 # -DLOCALEDIR define during testsuite compilation.
16127 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16130 # A standalone libintl (e.g., GNU libintl) may be in use.
16131 if test $USE_NLS = yes; then
16132 for ac_header in libintl.h
16133 do :
16134 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16135 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16136 cat >>confdefs.h <<_ACEOF
16137 #define HAVE_LIBINTL_H 1
16138 _ACEOF
16140 else
16141 USE_NLS=no
16144 done
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16147 $as_echo_n "checking for library containing gettext... " >&6; }
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 ac_func_search_save_LIBS=$LIBS
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16155 /* Override any GCC internal prototype to avoid an error.
16156 Use char because int might match the return type of a GCC
16157 builtin and then its argument prototype would still apply. */
16158 #ifdef __cplusplus
16159 extern "C"
16160 #endif
16161 char gettext ();
16163 main ()
16165 return gettext ();
16167 return 0;
16169 _ACEOF
16170 for ac_lib in '' intl; do
16171 if test -z "$ac_lib"; then
16172 ac_res="none required"
16173 else
16174 ac_res=-l$ac_lib
16175 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16177 if test x$gcc_no_link = xyes; then
16178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16180 if ac_fn_c_try_link "$LINENO"; then :
16181 ac_cv_search_gettext=$ac_res
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext
16185 if test "${ac_cv_search_gettext+set}" = set; then :
16186 break
16188 done
16189 if test "${ac_cv_search_gettext+set}" = set; then :
16191 else
16192 ac_cv_search_gettext=no
16194 rm conftest.$ac_ext
16195 LIBS=$ac_func_search_save_LIBS
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16198 $as_echo "$ac_cv_search_gettext" >&6; }
16199 ac_res=$ac_cv_search_gettext
16200 if test "$ac_res" != no; then :
16201 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16203 else
16204 USE_NLS=no
16208 if test $USE_NLS = yes; then
16210 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16230 $as_echo_n "checking for std::allocator base class... " >&6; }
16231 # Check whether --enable-libstdcxx-allocator was given.
16232 if test "${enable_libstdcxx_allocator+set}" = set; then :
16233 enableval=$enable_libstdcxx_allocator;
16234 case "$enableval" in
16235 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16236 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16237 esac
16239 else
16240 enable_libstdcxx_allocator=auto
16245 # If they didn't use this option switch, or if they specified --enable
16246 # with no specific model, we'll have to look for one. If they
16247 # specified --disable (???), do likewise.
16248 if test $enable_libstdcxx_allocator = no ||
16249 test $enable_libstdcxx_allocator = yes;
16250 then
16251 enable_libstdcxx_allocator=auto
16254 # Either a known package, or "auto". Auto implies the default choice
16255 # for a particular platform.
16256 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16258 # Probe for host-specific support if no specific model is specified.
16259 # Default to "new".
16260 if test $enable_libstdcxx_allocator_flag = auto; then
16261 case ${target_os} in
16262 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16263 enable_libstdcxx_allocator_flag=new
16266 enable_libstdcxx_allocator_flag=new
16268 esac
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16271 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16274 # Set configure bits for specified locale package
16275 case ${enable_libstdcxx_allocator_flag} in
16276 bitmap)
16277 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16280 malloc)
16281 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16285 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16286 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16288 new)
16289 ALLOCATOR_H=config/allocator/new_allocator_base.h
16290 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16292 pool)
16293 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16294 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16296 esac
16303 # Check whether --enable-cheaders was given.
16304 if test "${enable_cheaders+set}" = set; then :
16305 enableval=$enable_cheaders;
16306 case "$enableval" in
16307 c|c_std|c_global) ;;
16308 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16309 esac
16311 else
16312 enable_cheaders=$c_model
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16317 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16319 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16321 # Allow overrides to configure.host here.
16322 if test $enable_cheaders = c_global; then
16323 c_compatibility=yes
16332 # Check whether --enable-long-long was given.
16333 if test "${enable_long_long+set}" = set; then :
16334 enableval=$enable_long_long;
16335 case "$enableval" in
16336 yes|no) ;;
16337 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16338 esac
16340 else
16341 enable_long_long=yes
16345 if test $enable_long_long = yes; then
16347 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16351 $as_echo_n "checking for enabled long long specializations... " >&6; }
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16353 $as_echo "$enable_long_long" >&6; }
16356 # Check whether --enable-wchar_t was given.
16357 if test "${enable_wchar_t+set}" = set; then :
16358 enableval=$enable_wchar_t;
16359 case "$enableval" in
16360 yes|no) ;;
16361 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16362 esac
16364 else
16365 enable_wchar_t=yes
16370 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16371 for ac_header in wchar.h
16372 do :
16373 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_WCHAR_H 1
16377 _ACEOF
16378 ac_has_wchar_h=yes
16379 else
16380 ac_has_wchar_h=no
16383 done
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16386 $as_echo_n "checking for mbstate_t... " >&6; }
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <wchar.h>
16391 main ()
16393 mbstate_t teststate;
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_compile "$LINENO"; then :
16399 have_mbstate_t=yes
16400 else
16401 have_mbstate_t=no
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16405 $as_echo "$have_mbstate_t" >&6; }
16406 if test x"$have_mbstate_t" = xyes; then
16408 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16412 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16413 # ac_has_wchar_h.
16414 for ac_header in wctype.h
16415 do :
16416 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16417 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_WCTYPE_H 1
16420 _ACEOF
16421 ac_has_wctype_h=yes
16422 else
16423 ac_has_wctype_h=no
16426 done
16429 if test x"$enable_wchar_t" = x"yes"; then
16432 ac_ext=cpp
16433 ac_cpp='$CXXCPP $CPPFLAGS'
16434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16439 if test x"$ac_has_wchar_h" = xyes &&
16440 test x"$ac_has_wctype_h" = xyes; then
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #include <wchar.h>
16444 #include <stddef.h>
16445 wint_t i;
16446 long l = WEOF;
16447 long j = WCHAR_MIN;
16448 long k = WCHAR_MAX;
16449 namespace test
16451 using ::btowc;
16452 using ::fgetwc;
16453 using ::fgetws;
16454 using ::fputwc;
16455 using ::fputws;
16456 using ::fwide;
16457 using ::fwprintf;
16458 using ::fwscanf;
16459 using ::getwc;
16460 using ::getwchar;
16461 using ::mbrlen;
16462 using ::mbrtowc;
16463 using ::mbsinit;
16464 using ::mbsrtowcs;
16465 using ::putwc;
16466 using ::putwchar;
16467 using ::swprintf;
16468 using ::swscanf;
16469 using ::ungetwc;
16470 using ::vfwprintf;
16471 using ::vswprintf;
16472 using ::vwprintf;
16473 using ::wcrtomb;
16474 using ::wcscat;
16475 using ::wcschr;
16476 using ::wcscmp;
16477 using ::wcscoll;
16478 using ::wcscpy;
16479 using ::wcscspn;
16480 using ::wcsftime;
16481 using ::wcslen;
16482 using ::wcsncat;
16483 using ::wcsncmp;
16484 using ::wcsncpy;
16485 using ::wcspbrk;
16486 using ::wcsrchr;
16487 using ::wcsrtombs;
16488 using ::wcsspn;
16489 using ::wcsstr;
16490 using ::wcstod;
16491 using ::wcstok;
16492 using ::wcstol;
16493 using ::wcstoul;
16494 using ::wcsxfrm;
16495 using ::wctob;
16496 using ::wmemchr;
16497 using ::wmemcmp;
16498 using ::wmemcpy;
16499 using ::wmemmove;
16500 using ::wmemset;
16501 using ::wprintf;
16502 using ::wscanf;
16506 main ()
16510 return 0;
16512 _ACEOF
16513 if ac_fn_cxx_try_compile "$LINENO"; then :
16515 else
16516 enable_wchar_t=no
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 else
16520 enable_wchar_t=no
16523 ac_ext=c
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16531 if test x"$enable_wchar_t" = x"yes"; then
16533 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16538 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16540 $as_echo "$enable_wchar_t" >&6; }
16544 # Check whether --enable-c99 was given.
16545 if test "${enable_c99+set}" = set; then :
16546 enableval=$enable_c99;
16547 case "$enableval" in
16548 yes|no) ;;
16549 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16550 esac
16552 else
16553 enable_c99=yes
16558 if test x"$enable_c99" = x"yes"; then
16560 ac_ext=cpp
16561 ac_cpp='$CXXCPP $CPPFLAGS'
16562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16567 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16568 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16569 # to be spuriously enabled.
16570 ac_save_CXXFLAGS="$CXXFLAGS"
16571 CXXFLAGS="$CXXFLAGS -std=c++98"
16572 ac_save_LIBS="$LIBS"
16573 ac_save_gcc_no_link="$gcc_no_link"
16575 if test x$gcc_no_link != xyes; then
16576 # Use -fno-exceptions to that the C driver can link these tests without
16577 # hitting undefined references to personality routines.
16578 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16580 $as_echo_n "checking for sin in -lm... " >&6; }
16581 if test "${ac_cv_lib_m_sin+set}" = set; then :
16582 $as_echo_n "(cached) " >&6
16583 else
16584 ac_check_lib_save_LIBS=$LIBS
16585 LIBS="-lm $LIBS"
16586 if test x$gcc_no_link = xyes; then
16587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16592 /* Override any GCC internal prototype to avoid an error.
16593 Use char because int might match the return type of a GCC
16594 builtin and then its argument prototype would still apply. */
16595 #ifdef __cplusplus
16596 extern "C"
16597 #endif
16598 char sin ();
16600 main ()
16602 return sin ();
16604 return 0;
16606 _ACEOF
16607 if ac_fn_cxx_try_link "$LINENO"; then :
16608 ac_cv_lib_m_sin=yes
16609 else
16610 ac_cv_lib_m_sin=no
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16614 LIBS=$ac_check_lib_save_LIBS
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16617 $as_echo "$ac_cv_lib_m_sin" >&6; }
16618 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16619 LIBS="$LIBS -lm"
16620 else
16622 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16623 gcc_no_link=yes
16629 # Check for the existence of <math.h> functions used if C99 is enabled.
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16631 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16632 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16633 $as_echo_n "(cached) " >&6
16634 else
16636 if test x$gcc_no_link = xyes; then
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16639 #include <math.h>
16640 volatile double d1, d2;
16641 volatile int i;
16643 main ()
16645 i = fpclassify(d1);
16646 i = isfinite(d1);
16647 i = isinf(d1);
16648 i = isnan(d1);
16649 i = isnormal(d1);
16650 i = signbit(d1);
16651 i = isgreater(d1, d2);
16652 i = isgreaterequal(d1, d2);
16653 i = isless(d1, d2);
16654 i = islessequal(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = islessgreater(d1, d2);
16657 i = isunordered(d1, d2);
16660 return 0;
16662 _ACEOF
16663 if ac_fn_cxx_try_compile "$LINENO"; then :
16664 glibcxx_cv_c99_math_cxx98=yes
16665 else
16666 glibcxx_cv_c99_math_cxx98=no
16668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16669 else
16670 if test x$gcc_no_link = xyes; then
16671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16675 #include <math.h>
16676 volatile double d1, d2;
16677 volatile int i;
16679 main ()
16681 i = fpclassify(d1);
16682 i = isfinite(d1);
16683 i = isinf(d1);
16684 i = isnan(d1);
16685 i = isnormal(d1);
16686 i = signbit(d1);
16687 i = isgreater(d1, d2);
16688 i = isgreaterequal(d1, d2);
16689 i = isless(d1, d2);
16690 i = islessequal(d1, d2);
16691 i = islessgreater(d1, d2);
16692 i = islessgreater(d1, d2);
16693 i = isunordered(d1, d2);
16696 return 0;
16698 _ACEOF
16699 if ac_fn_cxx_try_link "$LINENO"; then :
16700 glibcxx_cv_c99_math_cxx98=yes
16701 else
16702 glibcxx_cv_c99_math_cxx98=no
16704 rm -f core conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16711 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16712 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16714 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16718 # Check for the existence of <complex.h> complex math functions.
16719 # This is necessary even though libstdc++ uses the builtin versions
16720 # of these functions, because if the builtin cannot be used, a reference
16721 # to the library function is emitted.
16722 for ac_header in tgmath.h
16723 do :
16724 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16725 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16726 cat >>confdefs.h <<_ACEOF
16727 #define HAVE_TGMATH_H 1
16728 _ACEOF
16729 ac_has_tgmath_h=yes
16730 else
16731 ac_has_tgmath_h=no
16734 done
16736 for ac_header in complex.h
16737 do :
16738 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16739 if test "x$ac_cv_header_complex_h" = x""yes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_COMPLEX_H 1
16742 _ACEOF
16743 ac_has_complex_h=yes
16744 else
16745 ac_has_complex_h=no
16748 done
16750 if test x"$ac_has_complex_h" = x"yes"; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16752 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16753 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16754 $as_echo_n "(cached) " >&6
16755 else
16757 if test x$gcc_no_link = xyes; then
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16760 #include <complex.h>
16761 typedef __complex__ float float_type;
16762 typedef __complex__ double double_type;
16763 typedef __complex__ long double ld_type;
16764 volatile float_type tmpf;
16765 volatile double_type tmpd;
16766 volatile ld_type tmpld;
16767 volatile float f;
16768 volatile double d;
16769 volatile long double ld;
16771 main ()
16773 f = cabsf(tmpf);
16774 f = cargf(tmpf);
16775 tmpf = ccosf(tmpf);
16776 tmpf = ccoshf(tmpf);
16777 tmpf = cexpf(tmpf);
16778 tmpf = clogf(tmpf);
16779 tmpf = csinf(tmpf);
16780 tmpf = csinhf(tmpf);
16781 tmpf = csqrtf(tmpf);
16782 tmpf = ctanf(tmpf);
16783 tmpf = ctanhf(tmpf);
16784 tmpf = cpowf(tmpf, tmpf);
16785 tmpf = cprojf(tmpf);
16786 d = cabs(tmpd);
16787 d = carg(tmpd);
16788 tmpd = ccos(tmpd);
16789 tmpd = ccosh(tmpd);
16790 tmpd = cexp(tmpd);
16791 tmpd = clog(tmpd);
16792 tmpd = csin(tmpd);
16793 tmpd = csinh(tmpd);
16794 tmpd = csqrt(tmpd);
16795 tmpd = ctan(tmpd);
16796 tmpd = ctanh(tmpd);
16797 tmpd = cpow(tmpd, tmpd);
16798 tmpd = cproj(tmpd);
16799 ld = cabsl(tmpld);
16800 ld = cargl(tmpld);
16801 tmpld = ccosl(tmpld);
16802 tmpld = ccoshl(tmpld);
16803 tmpld = cexpl(tmpld);
16804 tmpld = clogl(tmpld);
16805 tmpld = csinl(tmpld);
16806 tmpld = csinhl(tmpld);
16807 tmpld = csqrtl(tmpld);
16808 tmpld = ctanl(tmpld);
16809 tmpld = ctanhl(tmpld);
16810 tmpld = cpowl(tmpld, tmpld);
16811 tmpld = cprojl(tmpld);
16814 return 0;
16816 _ACEOF
16817 if ac_fn_cxx_try_compile "$LINENO"; then :
16818 glibcxx_cv_c99_complex_cxx98=yes
16819 else
16820 glibcxx_cv_c99_complex_cxx98=no
16822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823 else
16824 if test x$gcc_no_link = xyes; then
16825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16829 #include <complex.h>
16830 typedef __complex__ float float_type;
16831 typedef __complex__ double double_type;
16832 typedef __complex__ long double ld_type;
16833 volatile float_type tmpf;
16834 volatile double_type tmpd;
16835 volatile ld_type tmpld;
16836 volatile float f;
16837 volatile double d;
16838 volatile long double ld;
16840 main ()
16842 f = cabsf(tmpf);
16843 f = cargf(tmpf);
16844 tmpf = ccosf(tmpf);
16845 tmpf = ccoshf(tmpf);
16846 tmpf = cexpf(tmpf);
16847 tmpf = clogf(tmpf);
16848 tmpf = csinf(tmpf);
16849 tmpf = csinhf(tmpf);
16850 tmpf = csqrtf(tmpf);
16851 tmpf = ctanf(tmpf);
16852 tmpf = ctanhf(tmpf);
16853 tmpf = cpowf(tmpf, tmpf);
16854 tmpf = cprojf(tmpf);
16855 d = cabs(tmpd);
16856 d = carg(tmpd);
16857 tmpd = ccos(tmpd);
16858 tmpd = ccosh(tmpd);
16859 tmpd = cexp(tmpd);
16860 tmpd = clog(tmpd);
16861 tmpd = csin(tmpd);
16862 tmpd = csinh(tmpd);
16863 tmpd = csqrt(tmpd);
16864 tmpd = ctan(tmpd);
16865 tmpd = ctanh(tmpd);
16866 tmpd = cpow(tmpd, tmpd);
16867 tmpd = cproj(tmpd);
16868 ld = cabsl(tmpld);
16869 ld = cargl(tmpld);
16870 tmpld = ccosl(tmpld);
16871 tmpld = ccoshl(tmpld);
16872 tmpld = cexpl(tmpld);
16873 tmpld = clogl(tmpld);
16874 tmpld = csinl(tmpld);
16875 tmpld = csinhl(tmpld);
16876 tmpld = csqrtl(tmpld);
16877 tmpld = ctanl(tmpld);
16878 tmpld = ctanhl(tmpld);
16879 tmpld = cpowl(tmpld, tmpld);
16880 tmpld = cprojl(tmpld);
16883 return 0;
16885 _ACEOF
16886 if ac_fn_cxx_try_link "$LINENO"; then :
16887 glibcxx_cv_c99_complex_cxx98=yes
16888 else
16889 glibcxx_cv_c99_complex_cxx98=no
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16899 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16900 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16902 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16906 # Check for the existence in <stdio.h> of vscanf, et. al.
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16908 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16909 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16913 if test x$gcc_no_link = xyes; then
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <stdio.h>
16917 #include <stdarg.h>
16918 void foo(char* fmt, ...)
16920 va_list args; va_start(args, fmt);
16921 vfscanf(stderr, "%i", args);
16922 vscanf("%i", args);
16923 vsnprintf(fmt, 0, "%i", args);
16924 vsscanf(fmt, "%i", args);
16925 snprintf(fmt, 0, "%i");
16928 main ()
16932 return 0;
16934 _ACEOF
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16936 glibcxx_cv_c99_stdio_cxx98=yes
16937 else
16938 glibcxx_cv_c99_stdio_cxx98=no
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941 else
16942 if test x$gcc_no_link = xyes; then
16943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <stdio.h>
16948 #include <stdarg.h>
16949 void foo(char* fmt, ...)
16951 va_list args; va_start(args, fmt);
16952 vfscanf(stderr, "%i", args);
16953 vscanf("%i", args);
16954 vsnprintf(fmt, 0, "%i", args);
16955 vsscanf(fmt, "%i", args);
16956 snprintf(fmt, 0, "%i");
16959 main ()
16963 return 0;
16965 _ACEOF
16966 if ac_fn_cxx_try_link "$LINENO"; then :
16967 glibcxx_cv_c99_stdio_cxx98=yes
16968 else
16969 glibcxx_cv_c99_stdio_cxx98=no
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext conftest.$ac_ext
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16978 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16979 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16981 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16985 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16987 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16988 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16989 $as_echo_n "(cached) " >&6
16990 else
16992 if test x$gcc_no_link = xyes; then
16993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16994 /* end confdefs.h. */
16995 #include <stdlib.h>
16996 volatile float f;
16997 volatile long double ld;
16998 volatile unsigned long long ll;
16999 lldiv_t mydivt;
17001 main ()
17003 char* tmp;
17004 f = strtof("gnu", &tmp);
17005 ld = strtold("gnu", &tmp);
17006 ll = strtoll("gnu", &tmp, 10);
17007 ll = strtoull("gnu", &tmp, 10);
17008 ll = llabs(10);
17009 mydivt = lldiv(10,1);
17010 ll = mydivt.quot;
17011 ll = mydivt.rem;
17012 ll = atoll("10");
17013 _Exit(0);
17016 return 0;
17018 _ACEOF
17019 if ac_fn_cxx_try_compile "$LINENO"; then :
17020 glibcxx_cv_c99_stdlib_cxx98=yes
17021 else
17022 glibcxx_cv_c99_stdlib_cxx98=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025 else
17026 if test x$gcc_no_link = xyes; then
17027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 #include <stdlib.h>
17032 volatile float f;
17033 volatile long double ld;
17034 volatile unsigned long long ll;
17035 lldiv_t mydivt;
17037 main ()
17039 char* tmp;
17040 f = strtof("gnu", &tmp);
17041 ld = strtold("gnu", &tmp);
17042 ll = strtoll("gnu", &tmp, 10);
17043 ll = strtoull("gnu", &tmp, 10);
17044 ll = llabs(10);
17045 mydivt = lldiv(10,1);
17046 ll = mydivt.quot;
17047 ll = mydivt.rem;
17048 ll = atoll("10");
17049 _Exit(0);
17052 return 0;
17054 _ACEOF
17055 if ac_fn_cxx_try_link "$LINENO"; then :
17056 glibcxx_cv_c99_stdlib_cxx98=yes
17057 else
17058 glibcxx_cv_c99_stdlib_cxx98=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17067 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17068 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17070 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17074 # Check for the existence in <wchar.h> of wcstold, etc.
17075 if test x"$ac_has_wchar_h" = xyes &&
17076 test x"$ac_has_wctype_h" = xyes; then
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17078 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17079 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test
17088 using ::wcstold;
17089 using ::wcstoll;
17090 using ::wcstoull;
17094 main ()
17098 return 0;
17100 _ACEOF
17101 if ac_fn_cxx_try_compile "$LINENO"; then :
17102 glibcxx_cv_c99_wchar_cxx98=yes
17103 else
17104 glibcxx_cv_c99_wchar_cxx98=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 # Checks for wide character functions that may not be present.
17112 # Injection of these is wrapped with guard macros.
17113 # NB: only put functions here, instead of immediately above, if
17114 # absolutely necessary.
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <wchar.h>
17118 namespace test { using ::vfwscanf; }
17120 main ()
17124 return 0;
17126 _ACEOF
17127 if ac_fn_cxx_try_compile "$LINENO"; then :
17129 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 #include <wchar.h>
17137 namespace test { using ::vswscanf; }
17139 main ()
17143 return 0;
17145 _ACEOF
17146 if ac_fn_cxx_try_compile "$LINENO"; then :
17148 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 #include <wchar.h>
17156 namespace test { using ::vwscanf; }
17158 main ()
17162 return 0;
17164 _ACEOF
17165 if ac_fn_cxx_try_compile "$LINENO"; then :
17167 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 #include <wchar.h>
17175 namespace test { using ::wcstof; }
17177 main ()
17181 return 0;
17183 _ACEOF
17184 if ac_fn_cxx_try_compile "$LINENO"; then :
17186 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h. */
17193 #include <wctype.h>
17195 main ()
17197 wint_t t; int i = iswblank(t);
17199 return 0;
17201 _ACEOF
17202 if ac_fn_cxx_try_compile "$LINENO"; then :
17204 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17210 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17211 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17213 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17218 # Option parsed, now set things appropriately.
17219 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17220 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17223 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17224 enable_c99=no;
17225 else
17227 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17231 gcc_no_link="$ac_save_gcc_no_link"
17232 LIBS="$ac_save_LIBS"
17233 CXXFLAGS="$ac_save_CXXFLAGS"
17234 ac_ext=c
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242 ac_ext=cpp
17243 ac_cpp='$CXXCPP $CPPFLAGS'
17244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17249 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17250 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17251 ac_save_CXXFLAGS="$CXXFLAGS"
17252 CXXFLAGS="$CXXFLAGS -std=c++11"
17253 ac_save_LIBS="$LIBS"
17254 ac_save_gcc_no_link="$gcc_no_link"
17256 if test x$gcc_no_link != xyes; then
17257 # Use -fno-exceptions to that the C driver can link these tests without
17258 # hitting undefined references to personality routines.
17259 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17261 $as_echo_n "checking for sin in -lm... " >&6; }
17262 if test "${ac_cv_lib_m_sin+set}" = set; then :
17263 $as_echo_n "(cached) " >&6
17264 else
17265 ac_check_lib_save_LIBS=$LIBS
17266 LIBS="-lm $LIBS"
17267 if test x$gcc_no_link = xyes; then
17268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17273 /* Override any GCC internal prototype to avoid an error.
17274 Use char because int might match the return type of a GCC
17275 builtin and then its argument prototype would still apply. */
17276 #ifdef __cplusplus
17277 extern "C"
17278 #endif
17279 char sin ();
17281 main ()
17283 return sin ();
17285 return 0;
17287 _ACEOF
17288 if ac_fn_cxx_try_link "$LINENO"; then :
17289 ac_cv_lib_m_sin=yes
17290 else
17291 ac_cv_lib_m_sin=no
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 LIBS=$ac_check_lib_save_LIBS
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17298 $as_echo "$ac_cv_lib_m_sin" >&6; }
17299 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17300 LIBS="$LIBS -lm"
17301 else
17303 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17304 gcc_no_link=yes
17310 # Check for the existence of <math.h> functions used if C99 is enabled.
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17312 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17313 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17317 if test x$gcc_no_link = xyes; then
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 #include <math.h>
17321 volatile double d1, d2;
17322 volatile int i;
17324 main ()
17326 i = fpclassify(d1);
17327 i = isfinite(d1);
17328 i = isinf(d1);
17329 i = isnan(d1);
17330 i = isnormal(d1);
17331 i = signbit(d1);
17332 i = isgreater(d1, d2);
17333 i = isgreaterequal(d1, d2);
17334 i = isless(d1, d2);
17335 i = islessequal(d1, d2);
17336 i = islessgreater(d1, d2);
17337 i = islessgreater(d1, d2);
17338 i = isunordered(d1, d2);
17341 return 0;
17343 _ACEOF
17344 if ac_fn_cxx_try_compile "$LINENO"; then :
17345 glibcxx_cv_c99_math_cxx11=yes
17346 else
17347 glibcxx_cv_c99_math_cxx11=no
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 else
17351 if test x$gcc_no_link = xyes; then
17352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #include <math.h>
17357 volatile double d1, d2;
17358 volatile int i;
17360 main ()
17362 i = fpclassify(d1);
17363 i = isfinite(d1);
17364 i = isinf(d1);
17365 i = isnan(d1);
17366 i = isnormal(d1);
17367 i = signbit(d1);
17368 i = isgreater(d1, d2);
17369 i = isgreaterequal(d1, d2);
17370 i = isless(d1, d2);
17371 i = islessequal(d1, d2);
17372 i = islessgreater(d1, d2);
17373 i = islessgreater(d1, d2);
17374 i = isunordered(d1, d2);
17377 return 0;
17379 _ACEOF
17380 if ac_fn_cxx_try_link "$LINENO"; then :
17381 glibcxx_cv_c99_math_cxx11=yes
17382 else
17383 glibcxx_cv_c99_math_cxx11=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17392 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17393 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17395 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17399 # Check for the existence of <complex.h> complex math functions.
17400 # This is necessary even though libstdc++ uses the builtin versions
17401 # of these functions, because if the builtin cannot be used, a reference
17402 # to the library function is emitted.
17403 for ac_header in tgmath.h
17404 do :
17405 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17406 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_TGMATH_H 1
17409 _ACEOF
17410 ac_has_tgmath_h=yes
17411 else
17412 ac_has_tgmath_h=no
17415 done
17417 for ac_header in complex.h
17418 do :
17419 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17420 if test "x$ac_cv_header_complex_h" = x""yes; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_COMPLEX_H 1
17423 _ACEOF
17424 ac_has_complex_h=yes
17425 else
17426 ac_has_complex_h=no
17429 done
17431 if test x"$ac_has_complex_h" = x"yes"; then
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17433 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17434 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17435 $as_echo_n "(cached) " >&6
17436 else
17438 if test x$gcc_no_link = xyes; then
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 #include <complex.h>
17442 typedef __complex__ float float_type;
17443 typedef __complex__ double double_type;
17444 typedef __complex__ long double ld_type;
17445 volatile float_type tmpf;
17446 volatile double_type tmpd;
17447 volatile ld_type tmpld;
17448 volatile float f;
17449 volatile double d;
17450 volatile long double ld;
17452 main ()
17454 f = cabsf(tmpf);
17455 f = cargf(tmpf);
17456 tmpf = ccosf(tmpf);
17457 tmpf = ccoshf(tmpf);
17458 tmpf = cexpf(tmpf);
17459 tmpf = clogf(tmpf);
17460 tmpf = csinf(tmpf);
17461 tmpf = csinhf(tmpf);
17462 tmpf = csqrtf(tmpf);
17463 tmpf = ctanf(tmpf);
17464 tmpf = ctanhf(tmpf);
17465 tmpf = cpowf(tmpf, tmpf);
17466 tmpf = cprojf(tmpf);
17467 d = cabs(tmpd);
17468 d = carg(tmpd);
17469 tmpd = ccos(tmpd);
17470 tmpd = ccosh(tmpd);
17471 tmpd = cexp(tmpd);
17472 tmpd = clog(tmpd);
17473 tmpd = csin(tmpd);
17474 tmpd = csinh(tmpd);
17475 tmpd = csqrt(tmpd);
17476 tmpd = ctan(tmpd);
17477 tmpd = ctanh(tmpd);
17478 tmpd = cpow(tmpd, tmpd);
17479 tmpd = cproj(tmpd);
17480 ld = cabsl(tmpld);
17481 ld = cargl(tmpld);
17482 tmpld = ccosl(tmpld);
17483 tmpld = ccoshl(tmpld);
17484 tmpld = cexpl(tmpld);
17485 tmpld = clogl(tmpld);
17486 tmpld = csinl(tmpld);
17487 tmpld = csinhl(tmpld);
17488 tmpld = csqrtl(tmpld);
17489 tmpld = ctanl(tmpld);
17490 tmpld = ctanhl(tmpld);
17491 tmpld = cpowl(tmpld, tmpld);
17492 tmpld = cprojl(tmpld);
17495 return 0;
17497 _ACEOF
17498 if ac_fn_cxx_try_compile "$LINENO"; then :
17499 glibcxx_cv_c99_complex_cxx11=yes
17500 else
17501 glibcxx_cv_c99_complex_cxx11=no
17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 else
17505 if test x$gcc_no_link = xyes; then
17506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <complex.h>
17511 typedef __complex__ float float_type;
17512 typedef __complex__ double double_type;
17513 typedef __complex__ long double ld_type;
17514 volatile float_type tmpf;
17515 volatile double_type tmpd;
17516 volatile ld_type tmpld;
17517 volatile float f;
17518 volatile double d;
17519 volatile long double ld;
17521 main ()
17523 f = cabsf(tmpf);
17524 f = cargf(tmpf);
17525 tmpf = ccosf(tmpf);
17526 tmpf = ccoshf(tmpf);
17527 tmpf = cexpf(tmpf);
17528 tmpf = clogf(tmpf);
17529 tmpf = csinf(tmpf);
17530 tmpf = csinhf(tmpf);
17531 tmpf = csqrtf(tmpf);
17532 tmpf = ctanf(tmpf);
17533 tmpf = ctanhf(tmpf);
17534 tmpf = cpowf(tmpf, tmpf);
17535 tmpf = cprojf(tmpf);
17536 d = cabs(tmpd);
17537 d = carg(tmpd);
17538 tmpd = ccos(tmpd);
17539 tmpd = ccosh(tmpd);
17540 tmpd = cexp(tmpd);
17541 tmpd = clog(tmpd);
17542 tmpd = csin(tmpd);
17543 tmpd = csinh(tmpd);
17544 tmpd = csqrt(tmpd);
17545 tmpd = ctan(tmpd);
17546 tmpd = ctanh(tmpd);
17547 tmpd = cpow(tmpd, tmpd);
17548 tmpd = cproj(tmpd);
17549 ld = cabsl(tmpld);
17550 ld = cargl(tmpld);
17551 tmpld = ccosl(tmpld);
17552 tmpld = ccoshl(tmpld);
17553 tmpld = cexpl(tmpld);
17554 tmpld = clogl(tmpld);
17555 tmpld = csinl(tmpld);
17556 tmpld = csinhl(tmpld);
17557 tmpld = csqrtl(tmpld);
17558 tmpld = ctanl(tmpld);
17559 tmpld = ctanhl(tmpld);
17560 tmpld = cpowl(tmpld, tmpld);
17561 tmpld = cprojl(tmpld);
17564 return 0;
17566 _ACEOF
17567 if ac_fn_cxx_try_link "$LINENO"; then :
17568 glibcxx_cv_c99_complex_cxx11=yes
17569 else
17570 glibcxx_cv_c99_complex_cxx11=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17580 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17581 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17583 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17587 # Check for the existence in <stdio.h> of vscanf, et. al.
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17589 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17590 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17594 if test x$gcc_no_link = xyes; then
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <stdio.h>
17598 #include <stdarg.h>
17599 void foo(char* fmt, ...)
17601 va_list args; va_start(args, fmt);
17602 vfscanf(stderr, "%i", args);
17603 vscanf("%i", args);
17604 vsnprintf(fmt, 0, "%i", args);
17605 vsscanf(fmt, "%i", args);
17606 snprintf(fmt, 0, "%i");
17609 main ()
17613 return 0;
17615 _ACEOF
17616 if ac_fn_cxx_try_compile "$LINENO"; then :
17617 glibcxx_cv_c99_stdio_cxx11=yes
17618 else
17619 glibcxx_cv_c99_stdio_cxx11=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622 else
17623 if test x$gcc_no_link = xyes; then
17624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #include <stdio.h>
17629 #include <stdarg.h>
17630 void foo(char* fmt, ...)
17632 va_list args; va_start(args, fmt);
17633 vfscanf(stderr, "%i", args);
17634 vscanf("%i", args);
17635 vsnprintf(fmt, 0, "%i", args);
17636 vsscanf(fmt, "%i", args);
17637 snprintf(fmt, 0, "%i");
17640 main ()
17644 return 0;
17646 _ACEOF
17647 if ac_fn_cxx_try_link "$LINENO"; then :
17648 glibcxx_cv_c99_stdio_cxx11=yes
17649 else
17650 glibcxx_cv_c99_stdio_cxx11=no
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17659 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17660 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17662 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17666 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17668 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17669 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17673 if test x$gcc_no_link = xyes; then
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 #include <stdlib.h>
17677 volatile float f;
17678 volatile long double ld;
17679 volatile unsigned long long ll;
17680 lldiv_t mydivt;
17682 main ()
17684 char* tmp;
17685 f = strtof("gnu", &tmp);
17686 ld = strtold("gnu", &tmp);
17687 ll = strtoll("gnu", &tmp, 10);
17688 ll = strtoull("gnu", &tmp, 10);
17689 ll = llabs(10);
17690 mydivt = lldiv(10,1);
17691 ll = mydivt.quot;
17692 ll = mydivt.rem;
17693 ll = atoll("10");
17694 _Exit(0);
17697 return 0;
17699 _ACEOF
17700 if ac_fn_cxx_try_compile "$LINENO"; then :
17701 glibcxx_cv_c99_stdlib_cxx11=yes
17702 else
17703 glibcxx_cv_c99_stdlib_cxx11=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 else
17707 if test x$gcc_no_link = xyes; then
17708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17712 #include <stdlib.h>
17713 volatile float f;
17714 volatile long double ld;
17715 volatile unsigned long long ll;
17716 lldiv_t mydivt;
17718 main ()
17720 char* tmp;
17721 f = strtof("gnu", &tmp);
17722 ld = strtold("gnu", &tmp);
17723 ll = strtoll("gnu", &tmp, 10);
17724 ll = strtoull("gnu", &tmp, 10);
17725 ll = llabs(10);
17726 mydivt = lldiv(10,1);
17727 ll = mydivt.quot;
17728 ll = mydivt.rem;
17729 ll = atoll("10");
17730 _Exit(0);
17733 return 0;
17735 _ACEOF
17736 if ac_fn_cxx_try_link "$LINENO"; then :
17737 glibcxx_cv_c99_stdlib_cxx11=yes
17738 else
17739 glibcxx_cv_c99_stdlib_cxx11=no
17741 rm -f core conftest.err conftest.$ac_objext \
17742 conftest$ac_exeext conftest.$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17748 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17749 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17751 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17755 # Check for the existence in <wchar.h> of wcstold, etc.
17756 if test x"$ac_has_wchar_h" = xyes &&
17757 test x"$ac_has_wctype_h" = xyes; then
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17759 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17760 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17766 #include <wchar.h>
17767 namespace test
17769 using ::wcstold;
17770 using ::wcstoll;
17771 using ::wcstoull;
17775 main ()
17779 return 0;
17781 _ACEOF
17782 if ac_fn_cxx_try_compile "$LINENO"; then :
17783 glibcxx_cv_c99_wchar_cxx11=yes
17784 else
17785 glibcxx_cv_c99_wchar_cxx11=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792 # Checks for wide character functions that may not be present.
17793 # Injection of these is wrapped with guard macros.
17794 # NB: only put functions here, instead of immediately above, if
17795 # absolutely necessary.
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17798 #include <wchar.h>
17799 namespace test { using ::vfwscanf; }
17801 main ()
17805 return 0;
17807 _ACEOF
17808 if ac_fn_cxx_try_compile "$LINENO"; then :
17810 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 #include <wchar.h>
17818 namespace test { using ::vswscanf; }
17820 main ()
17824 return 0;
17826 _ACEOF
17827 if ac_fn_cxx_try_compile "$LINENO"; then :
17829 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 #include <wchar.h>
17837 namespace test { using ::vwscanf; }
17839 main ()
17843 return 0;
17845 _ACEOF
17846 if ac_fn_cxx_try_compile "$LINENO"; then :
17848 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <wchar.h>
17856 namespace test { using ::wcstof; }
17858 main ()
17862 return 0;
17864 _ACEOF
17865 if ac_fn_cxx_try_compile "$LINENO"; then :
17867 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17874 #include <wctype.h>
17876 main ()
17878 wint_t t; int i = iswblank(t);
17880 return 0;
17882 _ACEOF
17883 if ac_fn_cxx_try_compile "$LINENO"; then :
17885 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17891 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17892 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17894 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17899 gcc_no_link="$ac_save_gcc_no_link"
17900 LIBS="$ac_save_LIBS"
17901 CXXFLAGS="$ac_save_CXXFLAGS"
17902 ac_ext=c
17903 ac_cpp='$CPP $CPPFLAGS'
17904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17911 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17913 $as_echo "$enable_c99" >&6; }
17916 # Check whether --enable-concept-checks was given.
17917 if test "${enable_concept_checks+set}" = set; then :
17918 enableval=$enable_concept_checks;
17919 case "$enableval" in
17920 yes|no) ;;
17921 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17922 esac
17924 else
17925 enable_concept_checks=no
17929 if test $enable_concept_checks = yes; then
17931 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17936 # Check whether --enable-libstdcxx-debug-flags was given.
17937 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17938 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17939 xno | x) enable_libstdcxx_debug_flags= ;;
17940 x-*) ;;
17941 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17942 esac
17943 else
17944 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17949 # Option parsed, now set things appropriately
17950 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17954 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17958 $as_echo_n "checking for additional debug build... " >&6; }
17959 # Check whether --enable-libstdcxx-debug was given.
17960 if test "${enable_libstdcxx_debug+set}" = set; then :
17961 enableval=$enable_libstdcxx_debug;
17962 case "$enableval" in
17963 yes|no) ;;
17964 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17965 esac
17967 else
17968 enable_libstdcxx_debug=no
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17973 $as_echo "$enable_libstdcxx_debug" >&6; }
17978 enable_parallel=no;
17980 # See if configured libgomp/omp.h exists. (libgomp may be in
17981 # noconfigdirs but not explicitly disabled.)
17982 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17983 enable_parallel=yes;
17984 else
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17986 $as_echo "$as_me: target-libgomp not built" >&6;}
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17990 $as_echo_n "checking for parallel mode support... " >&6; }
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17992 $as_echo "$enable_parallel" >&6; }
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17995 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17996 # Check whether --enable-cxx-flags was given.
17997 if test "${enable_cxx_flags+set}" = set; then :
17998 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17999 xno | x) enable_cxx_flags= ;;
18000 x-*) ;;
18001 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18002 esac
18003 else
18004 enable_cxx_flags=
18009 # Run through flags (either default or command-line) and set anything
18010 # extra (e.g., #defines) that must accompany particular g++ options.
18011 if test -n "$enable_cxx_flags"; then
18012 for f in $enable_cxx_flags; do
18013 case "$f" in
18014 -fhonor-std) ;;
18015 -*) ;;
18016 *) # and we're trying to pass /what/ exactly?
18017 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18018 esac
18019 done
18022 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18024 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18028 # Check whether --enable-fully-dynamic-string was given.
18029 if test "${enable_fully_dynamic_string+set}" = set; then :
18030 enableval=$enable_fully_dynamic_string;
18031 case "$enableval" in
18032 yes|no) ;;
18033 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18034 esac
18036 else
18037 enable_fully_dynamic_string=no
18041 if test $enable_fully_dynamic_string = yes; then
18042 enable_fully_dynamic_string_def=1
18043 else
18044 enable_fully_dynamic_string_def=0
18047 cat >>confdefs.h <<_ACEOF
18048 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18049 _ACEOF
18054 # Check whether --enable-extern-template was given.
18055 if test "${enable_extern_template+set}" = set; then :
18056 enableval=$enable_extern_template;
18057 case "$enableval" in
18058 yes|no) ;;
18059 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18060 esac
18062 else
18063 enable_extern_template=yes
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18069 $as_echo_n "checking for extern template support... " >&6; }
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18071 $as_echo "$enable_extern_template" >&6; }
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18078 $as_echo_n "checking for custom python install directory... " >&6; }
18080 # Check whether --with-python-dir was given.
18081 if test "${with_python_dir+set}" = set; then :
18082 withval=$with_python_dir; with_python_dir=$withval
18083 else
18084 with_python_dir="no"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18088 $as_echo "${with_python_dir}" >&6; }
18090 # Needed for installing Python modules during make install.
18091 python_mod_dir="${with_python_dir}"
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18097 $as_echo_n "checking for -Werror... " >&6; }
18098 # Check whether --enable-werror was given.
18099 if test "${enable_werror+set}" = set; then :
18100 enableval=$enable_werror;
18101 case "$enableval" in
18102 yes|no) ;;
18103 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18104 esac
18106 else
18107 enable_werror=yes
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18112 $as_echo "$enable_werror" >&6; }
18117 # Check whether --enable-vtable-verify was given.
18118 if test "${enable_vtable_verify+set}" = set; then :
18119 enableval=$enable_vtable_verify;
18120 case "$enableval" in
18121 yes|no) ;;
18122 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18123 esac
18125 else
18126 enable_vtable_verify=no
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18132 $as_echo_n "checking for vtable verify support... " >&6; }
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18134 $as_echo "$enable_vtable_verify" >&6; }
18136 vtv_cygmin=no
18137 if test $enable_vtable_verify = yes; then
18138 case ${target_os} in
18139 cygwin*|mingw32*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18142 vtv_cygmin=yes
18144 darwin*)
18145 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18146 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18148 solaris2*)
18149 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18150 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18153 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18154 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18156 esac
18157 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18158 else
18159 VTV_CXXFLAGS=
18160 VTV_PCH_CXXFLAGS=
18161 VTV_CXXLINKFLAGS=
18167 if test x$vtv_cygmin = xyes; then
18168 VTV_CYGMIN_TRUE=
18169 VTV_CYGMIN_FALSE='#'
18170 else
18171 VTV_CYGMIN_TRUE='#'
18172 VTV_CYGMIN_FALSE=
18178 # Checks for operating systems support that doesn't require linking.
18182 ac_ext=cpp
18183 ac_cpp='$CXXCPP $CPPFLAGS'
18184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18189 # and we don't need a declaration for C++14 anyway.
18190 ac_save_CXXFLAGS="$CXXFLAGS"
18191 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18194 $as_echo_n "checking for gets declaration... " >&6; }
18195 if test "${glibcxx_cv_gets+set}" = set; then :
18196 $as_echo_n "(cached) " >&6
18197 else
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18201 #include <stdio.h>
18202 namespace test
18204 using ::gets;
18207 _ACEOF
18208 if ac_fn_cxx_try_compile "$LINENO"; then :
18209 glibcxx_cv_gets=yes
18210 else
18211 glibcxx_cv_gets=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 if test $glibcxx_cv_gets = yes; then
18220 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18224 $as_echo "$glibcxx_cv_gets" >&6; }
18226 CXXFLAGS="$ac_save_CXXFLAGS"
18227 ac_ext=c
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18237 ac_ext=cpp
18238 ac_cpp='$CXXCPP $CPPFLAGS'
18239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18243 ac_save_CXXFLAGS="$CXXFLAGS"
18244 CXXFLAGS="$CXXFLAGS -std=c++11"
18246 case "$host" in
18247 *-*-solaris2.*)
18248 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18249 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18251 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18252 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18253 $as_echo_n "(cached) " >&6
18254 else
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18258 #include <math.h>
18259 #undef isfinite
18260 namespace std {
18261 inline bool isfinite(float __x)
18262 { return __builtin_isfinite(__x); }
18265 _ACEOF
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18267 glibcxx_cv_math11_fp_overload=no
18268 else
18269 glibcxx_cv_math11_fp_overload=yes
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18276 # autoheader cannot handle indented templates.
18279 if test $glibcxx_cv_math11_fp_overload = yes; then
18280 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18284 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18286 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18287 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18289 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18290 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295 /* end confdefs.h. */
18296 #include <math.h>
18297 namespace std {
18298 template<typename _Tp>
18299 struct __is_integer;
18300 template<>
18301 struct __is_integer<int>
18303 enum { __value = 1 };
18306 namespace __gnu_cxx {
18307 template<bool, typename>
18308 struct __enable_if;
18309 template<typename _Tp>
18310 struct __enable_if<true, _Tp>
18311 { typedef _Tp __type; };
18313 namespace std {
18314 template<typename _Tp>
18315 constexpr typename __gnu_cxx::__enable_if
18316 <__is_integer<_Tp>::__value, double>::__type
18317 log2(_Tp __x)
18318 { return __builtin_log2(__x); }
18321 main (void)
18323 int i = 1000;
18324 return std::log2(i);
18327 _ACEOF
18328 if ac_fn_cxx_try_compile "$LINENO"; then :
18329 glibcxx_cv_math11_int_overload=no
18330 else
18331 glibcxx_cv_math11_int_overload=yes
18334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18338 # autoheader cannot handle indented templates.
18341 if test $glibcxx_cv_math11_int_overload = yes; then
18342 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18346 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18349 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18350 # functions (instead of or as well as the C99 generic macros) then we
18351 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18352 # and must use the ones from <math.h> instead.
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18354 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18355 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18356 $as_echo_n "(cached) " >&6
18357 else
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18361 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18362 #include <math.h>
18363 #undef isinf
18364 namespace std {
18365 using ::isinf;
18366 bool isinf(float);
18367 bool isinf(long double);
18369 using std::isinf;
18370 bool b = isinf(0.0);
18372 _ACEOF
18373 if ac_fn_cxx_try_compile "$LINENO"; then :
18374 glibcxx_cv_obsolete_isinf=yes
18375 else
18376 glibcxx_cv_obsolete_isinf=no
18379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18383 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18384 if test $glibcxx_cv_obsolete_isinf = yes; then
18386 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18391 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18392 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18399 #include <math.h>
18400 #undef isnan
18401 namespace std {
18402 using ::isnan;
18403 bool isnan(float);
18404 bool isnan(long double);
18406 using std::isnan;
18407 bool b = isnan(0.0);
18409 _ACEOF
18410 if ac_fn_cxx_try_compile "$LINENO"; then :
18411 glibcxx_cv_obsolete_isnan=yes
18412 else
18413 glibcxx_cv_obsolete_isnan=no
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18420 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18421 if test $glibcxx_cv_obsolete_isnan = yes; then
18423 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18427 esac
18429 CXXFLAGS="$ac_save_CXXFLAGS"
18430 ac_ext=c
18431 ac_cpp='$CPP $CPPFLAGS'
18432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18440 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18441 if test "${glibcxx_cv_system_error1+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18443 else
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 #include <errno.h>
18449 main ()
18451 int i = EOWNERDEAD;
18453 return 0;
18455 _ACEOF
18456 if ac_fn_c_try_compile "$LINENO"; then :
18457 glibcxx_cv_system_error1=yes
18458 else
18459 glibcxx_cv_system_error1=no
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18466 $as_echo "$glibcxx_cv_system_error1" >&6; }
18467 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18469 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18473 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18474 if test "${glibcxx_cv_system_error2+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 #include <errno.h>
18482 main ()
18484 int i = ENOTRECOVERABLE;
18486 return 0;
18488 _ACEOF
18489 if ac_fn_c_try_compile "$LINENO"; then :
18490 glibcxx_cv_system_error2=yes
18491 else
18492 glibcxx_cv_system_error2=no
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18499 $as_echo "$glibcxx_cv_system_error2" >&6; }
18500 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18502 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18506 $as_echo_n "checking for ENOLINK... " >&6; }
18507 if test "${glibcxx_cv_system_error3+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <errno.h>
18515 main ()
18517 int i = ENOLINK;
18519 return 0;
18521 _ACEOF
18522 if ac_fn_c_try_compile "$LINENO"; then :
18523 glibcxx_cv_system_error3=yes
18524 else
18525 glibcxx_cv_system_error3=no
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18532 $as_echo "$glibcxx_cv_system_error3" >&6; }
18533 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18535 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18539 $as_echo_n "checking for EPROTO... " >&6; }
18540 if test "${glibcxx_cv_system_error4+set}" = set; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18545 /* end confdefs.h. */
18546 #include <errno.h>
18548 main ()
18550 int i = EPROTO;
18552 return 0;
18554 _ACEOF
18555 if ac_fn_c_try_compile "$LINENO"; then :
18556 glibcxx_cv_system_error4=yes
18557 else
18558 glibcxx_cv_system_error4=no
18560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18565 $as_echo "$glibcxx_cv_system_error4" >&6; }
18566 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18568 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18572 $as_echo_n "checking for ENODATA... " >&6; }
18573 if test "${glibcxx_cv_system_error5+set}" = set; then :
18574 $as_echo_n "(cached) " >&6
18575 else
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 #include <errno.h>
18581 main ()
18583 int i = ENODATA;
18585 return 0;
18587 _ACEOF
18588 if ac_fn_c_try_compile "$LINENO"; then :
18589 glibcxx_cv_system_error5=yes
18590 else
18591 glibcxx_cv_system_error5=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18598 $as_echo "$glibcxx_cv_system_error5" >&6; }
18599 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18601 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18605 $as_echo_n "checking for ENOSR... " >&6; }
18606 if test "${glibcxx_cv_system_error6+set}" = set; then :
18607 $as_echo_n "(cached) " >&6
18608 else
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <errno.h>
18614 main ()
18616 int i = ENOSR;
18618 return 0;
18620 _ACEOF
18621 if ac_fn_c_try_compile "$LINENO"; then :
18622 glibcxx_cv_system_error6=yes
18623 else
18624 glibcxx_cv_system_error6=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18631 $as_echo "$glibcxx_cv_system_error6" >&6; }
18632 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18634 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18638 $as_echo_n "checking for ENOSTR... " >&6; }
18639 if test "${glibcxx_cv_system_error7+set}" = set; then :
18640 $as_echo_n "(cached) " >&6
18641 else
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #include <errno.h>
18647 main ()
18649 int i = ENOSTR;
18651 return 0;
18653 _ACEOF
18654 if ac_fn_c_try_compile "$LINENO"; then :
18655 glibcxx_cv_system_error7=yes
18656 else
18657 glibcxx_cv_system_error7=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18664 $as_echo "$glibcxx_cv_system_error7" >&6; }
18665 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18667 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18671 $as_echo_n "checking for ETIME... " >&6; }
18672 if test "${glibcxx_cv_system_error8+set}" = set; then :
18673 $as_echo_n "(cached) " >&6
18674 else
18676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18677 /* end confdefs.h. */
18678 #include <errno.h>
18680 main ()
18682 int i = ETIME;
18684 return 0;
18686 _ACEOF
18687 if ac_fn_c_try_compile "$LINENO"; then :
18688 glibcxx_cv_system_error8=yes
18689 else
18690 glibcxx_cv_system_error8=no
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18697 $as_echo "$glibcxx_cv_system_error8" >&6; }
18698 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18700 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18704 $as_echo_n "checking for EBADMSG... " >&6; }
18705 if test "${glibcxx_cv_system_error9+set}" = set; then :
18706 $as_echo_n "(cached) " >&6
18707 else
18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18711 #include <errno.h>
18713 main ()
18715 int i = EBADMSG;
18717 return 0;
18719 _ACEOF
18720 if ac_fn_c_try_compile "$LINENO"; then :
18721 glibcxx_cv_system_error9=yes
18722 else
18723 glibcxx_cv_system_error9=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18730 $as_echo "$glibcxx_cv_system_error9" >&6; }
18731 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18733 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18737 $as_echo_n "checking for ECANCELED... " >&6; }
18738 if test "${glibcxx_cv_system_error10+set}" = set; then :
18739 $as_echo_n "(cached) " >&6
18740 else
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 #include <errno.h>
18746 main ()
18748 int i = ECANCELED;
18750 return 0;
18752 _ACEOF
18753 if ac_fn_c_try_compile "$LINENO"; then :
18754 glibcxx_cv_system_error10=yes
18755 else
18756 glibcxx_cv_system_error10=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18763 $as_echo "$glibcxx_cv_system_error10" >&6; }
18764 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18766 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18770 $as_echo_n "checking for EOVERFLOW... " >&6; }
18771 if test "${glibcxx_cv_system_error11+set}" = set; then :
18772 $as_echo_n "(cached) " >&6
18773 else
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777 #include <errno.h>
18779 main ()
18781 int i = EOVERFLOW;
18783 return 0;
18785 _ACEOF
18786 if ac_fn_c_try_compile "$LINENO"; then :
18787 glibcxx_cv_system_error11=yes
18788 else
18789 glibcxx_cv_system_error11=no
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18796 $as_echo "$glibcxx_cv_system_error11" >&6; }
18797 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18799 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18803 $as_echo_n "checking for ENOTSUP... " >&6; }
18804 if test "${glibcxx_cv_system_error12+set}" = set; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 #include <errno.h>
18812 main ()
18814 int i = ENOTSUP;
18816 return 0;
18818 _ACEOF
18819 if ac_fn_c_try_compile "$LINENO"; then :
18820 glibcxx_cv_system_error12=yes
18821 else
18822 glibcxx_cv_system_error12=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18829 $as_echo "$glibcxx_cv_system_error12" >&6; }
18830 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18832 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18836 $as_echo_n "checking for EIDRM... " >&6; }
18837 if test "${glibcxx_cv_system_error13+set}" = set; then :
18838 $as_echo_n "(cached) " >&6
18839 else
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <errno.h>
18845 main ()
18847 int i = EIDRM;
18849 return 0;
18851 _ACEOF
18852 if ac_fn_c_try_compile "$LINENO"; then :
18853 glibcxx_cv_system_error13=yes
18854 else
18855 glibcxx_cv_system_error13=no
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18862 $as_echo "$glibcxx_cv_system_error13" >&6; }
18863 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18865 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18869 $as_echo_n "checking for ETXTBSY... " >&6; }
18870 if test "${glibcxx_cv_system_error14+set}" = set; then :
18871 $as_echo_n "(cached) " >&6
18872 else
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 #include <errno.h>
18878 main ()
18880 int i = ETXTBSY;
18882 return 0;
18884 _ACEOF
18885 if ac_fn_c_try_compile "$LINENO"; then :
18886 glibcxx_cv_system_error14=yes
18887 else
18888 glibcxx_cv_system_error14=no
18890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18895 $as_echo "$glibcxx_cv_system_error14" >&6; }
18896 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18898 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18902 $as_echo_n "checking for ECHILD... " >&6; }
18903 if test "${glibcxx_cv_system_error15+set}" = set; then :
18904 $as_echo_n "(cached) " >&6
18905 else
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 #include <errno.h>
18911 main ()
18913 int i = ECHILD;
18915 return 0;
18917 _ACEOF
18918 if ac_fn_c_try_compile "$LINENO"; then :
18919 glibcxx_cv_system_error15=yes
18920 else
18921 glibcxx_cv_system_error15=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18928 $as_echo "$glibcxx_cv_system_error15" >&6; }
18929 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18931 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18935 $as_echo_n "checking for ENOSPC... " >&6; }
18936 if test "${glibcxx_cv_system_error16+set}" = set; then :
18937 $as_echo_n "(cached) " >&6
18938 else
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 #include <errno.h>
18944 main ()
18946 int i = ENOSPC;
18948 return 0;
18950 _ACEOF
18951 if ac_fn_c_try_compile "$LINENO"; then :
18952 glibcxx_cv_system_error16=yes
18953 else
18954 glibcxx_cv_system_error16=no
18956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18961 $as_echo "$glibcxx_cv_system_error16" >&6; }
18962 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18964 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18968 $as_echo_n "checking for EPERM... " >&6; }
18969 if test "${glibcxx_cv_system_error17+set}" = set; then :
18970 $as_echo_n "(cached) " >&6
18971 else
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18975 #include <errno.h>
18977 main ()
18979 int i = EPERM;
18981 return 0;
18983 _ACEOF
18984 if ac_fn_c_try_compile "$LINENO"; then :
18985 glibcxx_cv_system_error17=yes
18986 else
18987 glibcxx_cv_system_error17=no
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18994 $as_echo "$glibcxx_cv_system_error17" >&6; }
18995 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18997 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19001 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19002 if test "${glibcxx_cv_system_error18+set}" = set; then :
19003 $as_echo_n "(cached) " >&6
19004 else
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19008 #include <errno.h>
19010 main ()
19012 int i = ETIMEDOUT;
19014 return 0;
19016 _ACEOF
19017 if ac_fn_c_try_compile "$LINENO"; then :
19018 glibcxx_cv_system_error18=yes
19019 else
19020 glibcxx_cv_system_error18=no
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19027 $as_echo "$glibcxx_cv_system_error18" >&6; }
19028 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19030 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19034 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19035 if test "${glibcxx_cv_system_error19+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <errno.h>
19043 main ()
19045 int i = EWOULDBLOCK;
19047 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_compile "$LINENO"; then :
19051 glibcxx_cv_system_error19=yes
19052 else
19053 glibcxx_cv_system_error19=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19060 $as_echo "$glibcxx_cv_system_error19" >&6; }
19061 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19063 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19070 # Test uchar.h.
19071 for ac_header in uchar.h
19072 do :
19073 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19074 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_UCHAR_H 1
19077 _ACEOF
19078 ac_has_uchar_h=yes
19079 else
19080 ac_has_uchar_h=no
19083 done
19087 ac_ext=cpp
19088 ac_cpp='$CXXCPP $CPPFLAGS'
19089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19093 ac_save_CXXFLAGS="$CXXFLAGS"
19094 CXXFLAGS="$CXXFLAGS -std=c++11"
19096 if test x"$ac_has_uchar_h" = x"yes"; then
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19098 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19100 /* end confdefs.h. */
19101 #include <uchar.h>
19102 #ifdef __STDC_UTF_16__
19103 long i = __STDC_UTF_16__;
19104 #endif
19105 #ifdef __STDC_UTF_32__
19106 long j = __STDC_UTF_32__;
19107 #endif
19108 namespace test
19110 using ::c16rtomb;
19111 using ::c32rtomb;
19112 using ::mbrtoc16;
19113 using ::mbrtoc32;
19117 main ()
19121 return 0;
19123 _ACEOF
19124 if ac_fn_cxx_try_compile "$LINENO"; then :
19125 ac_c11_uchar_cxx11=yes
19126 else
19127 ac_c11_uchar_cxx11=no
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130 else
19131 ac_c11_uchar_cxx11=no
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19134 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19135 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19137 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19141 CXXFLAGS="$ac_save_CXXFLAGS"
19142 ac_ext=c
19143 ac_cpp='$CPP $CPPFLAGS'
19144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19150 # For the streamoff typedef.
19154 ac_ext=cpp
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19162 $as_echo_n "checking for int64_t... " >&6; }
19163 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19164 $as_echo_n "(cached) " >&6
19165 else
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #include <stdint.h>
19171 main ()
19173 int64_t var;
19175 return 0;
19177 _ACEOF
19178 if ac_fn_cxx_try_compile "$LINENO"; then :
19179 glibcxx_cv_INT64_T=yes
19180 else
19181 glibcxx_cv_INT64_T=no
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 if test $glibcxx_cv_INT64_T = yes; then
19190 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19193 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19196 $as_echo_n "checking for int64_t as long... " >&6; }
19197 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19198 $as_echo_n "(cached) " >&6
19199 else
19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19203 #include <stdint.h>
19204 template<typename, typename> struct same { enum { value = -1 }; };
19205 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19206 int array[same<int64_t, long>::value];
19208 main ()
19212 return 0;
19214 _ACEOF
19215 if ac_fn_cxx_try_compile "$LINENO"; then :
19216 glibcxx_cv_int64_t_long=yes
19217 else
19218 glibcxx_cv_int64_t_long=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 if test $glibcxx_cv_int64_t_long = yes; then
19227 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19230 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19234 $as_echo_n "checking for int64_t as long long... " >&6; }
19235 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19236 $as_echo_n "(cached) " >&6
19237 else
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 #include <stdint.h>
19242 template<typename, typename> struct same { enum { value = -1 }; };
19243 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19244 int array[same<int64_t, long long>::value];
19246 main ()
19250 return 0;
19252 _ACEOF
19253 if ac_fn_cxx_try_compile "$LINENO"; then :
19254 glibcxx_cv_int64_t_long_long=yes
19255 else
19256 glibcxx_cv_int64_t_long_long=no
19258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 if test $glibcxx_cv_int64_t_long_long = yes; then
19265 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19268 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19272 ac_ext=c
19273 ac_cpp='$CPP $CPPFLAGS'
19274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19280 # For LFS support.
19283 ac_ext=cpp
19284 ac_cpp='$CXXCPP $CPPFLAGS'
19285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289 ac_save_CXXFLAGS="$CXXFLAGS"
19290 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19292 $as_echo_n "checking for LFS support... " >&6; }
19293 if test "${glibcxx_cv_LFS+set}" = set; then :
19294 $as_echo_n "(cached) " >&6
19295 else
19297 if test x$gcc_no_link = xyes; then
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19300 #include <unistd.h>
19301 #include <stdio.h>
19302 #include <sys/stat.h>
19305 main ()
19307 FILE* fp;
19308 fopen64("t", "w");
19309 fseeko64(fp, 0, SEEK_CUR);
19310 ftello64(fp);
19311 lseek64(1, 0, SEEK_CUR);
19312 struct stat64 buf;
19313 fstat64(1, &buf);
19315 return 0;
19317 _ACEOF
19318 if ac_fn_cxx_try_compile "$LINENO"; then :
19319 glibcxx_cv_LFS=yes
19320 else
19321 glibcxx_cv_LFS=no
19323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 else
19325 if test x$gcc_no_link = xyes; then
19326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 #include <unistd.h>
19331 #include <stdio.h>
19332 #include <sys/stat.h>
19335 main ()
19337 FILE* fp;
19338 fopen64("t", "w");
19339 fseeko64(fp, 0, SEEK_CUR);
19340 ftello64(fp);
19341 lseek64(1, 0, SEEK_CUR);
19342 struct stat64 buf;
19343 fstat64(1, &buf);
19345 return 0;
19347 _ACEOF
19348 if ac_fn_cxx_try_link "$LINENO"; then :
19349 glibcxx_cv_LFS=yes
19350 else
19351 glibcxx_cv_LFS=no
19353 rm -f core conftest.err conftest.$ac_objext \
19354 conftest$ac_exeext conftest.$ac_ext
19359 if test $glibcxx_cv_LFS = yes; then
19361 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19365 $as_echo "$glibcxx_cv_LFS" >&6; }
19366 CXXFLAGS="$ac_save_CXXFLAGS"
19367 ac_ext=c
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19375 # For showmanyc_helper().
19376 for ac_header in sys/ioctl.h sys/filio.h
19377 do :
19378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19380 eval as_val=\$$as_ac_Header
19381 if test "x$as_val" = x""yes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19384 _ACEOF
19388 done
19393 ac_ext=cpp
19394 ac_cpp='$CXXCPP $CPPFLAGS'
19395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399 ac_save_CXXFLAGS="$CXXFLAGS"
19400 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19403 $as_echo_n "checking for poll... " >&6; }
19404 if test "${glibcxx_cv_POLL+set}" = set; then :
19405 $as_echo_n "(cached) " >&6
19406 else
19408 if test x$gcc_no_link = xyes; then
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410 /* end confdefs.h. */
19411 #include <poll.h>
19413 main ()
19415 struct pollfd pfd[1];
19416 pfd[0].events = POLLIN;
19417 poll(pfd, 1, 0);
19419 return 0;
19421 _ACEOF
19422 if ac_fn_cxx_try_compile "$LINENO"; then :
19423 glibcxx_cv_POLL=yes
19424 else
19425 glibcxx_cv_POLL=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 else
19429 if test x$gcc_no_link = xyes; then
19430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #include <poll.h>
19436 main ()
19438 struct pollfd pfd[1];
19439 pfd[0].events = POLLIN;
19440 poll(pfd, 1, 0);
19442 return 0;
19444 _ACEOF
19445 if ac_fn_cxx_try_link "$LINENO"; then :
19446 glibcxx_cv_POLL=yes
19447 else
19448 glibcxx_cv_POLL=no
19450 rm -f core conftest.err conftest.$ac_objext \
19451 conftest$ac_exeext conftest.$ac_ext
19456 if test $glibcxx_cv_POLL = yes; then
19458 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19462 $as_echo "$glibcxx_cv_POLL" >&6; }
19464 CXXFLAGS="$ac_save_CXXFLAGS"
19465 ac_ext=c
19466 ac_cpp='$CPP $CPPFLAGS'
19467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19475 ac_ext=cpp
19476 ac_cpp='$CXXCPP $CPPFLAGS'
19477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19481 ac_save_CXXFLAGS="$CXXFLAGS"
19482 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19485 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19486 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19490 if test x$gcc_no_link = xyes; then
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 #include <sys/stat.h>
19495 main ()
19497 struct stat buffer;
19498 fstat(0, &buffer);
19499 S_ISREG(buffer.st_mode);
19501 return 0;
19503 _ACEOF
19504 if ac_fn_cxx_try_compile "$LINENO"; then :
19505 glibcxx_cv_S_ISREG=yes
19506 else
19507 glibcxx_cv_S_ISREG=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 else
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 #include <sys/stat.h>
19518 main ()
19520 struct stat buffer;
19521 fstat(0, &buffer);
19522 S_ISREG(buffer.st_mode);
19524 return 0;
19526 _ACEOF
19527 if ac_fn_cxx_try_link "$LINENO"; then :
19528 glibcxx_cv_S_ISREG=yes
19529 else
19530 glibcxx_cv_S_ISREG=no
19532 rm -f core conftest.err conftest.$ac_objext \
19533 conftest$ac_exeext conftest.$ac_ext
19538 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19542 if test x$gcc_no_link = xyes; then
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #include <sys/stat.h>
19547 main ()
19549 struct stat buffer;
19550 fstat(0, &buffer);
19551 S_IFREG & buffer.st_mode;
19553 return 0;
19555 _ACEOF
19556 if ac_fn_cxx_try_compile "$LINENO"; then :
19557 glibcxx_cv_S_IFREG=yes
19558 else
19559 glibcxx_cv_S_IFREG=no
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562 else
19563 if test x$gcc_no_link = xyes; then
19564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <sys/stat.h>
19570 main ()
19572 struct stat buffer;
19573 fstat(0, &buffer);
19574 S_IFREG & buffer.st_mode;
19576 return 0;
19578 _ACEOF
19579 if ac_fn_cxx_try_link "$LINENO"; then :
19580 glibcxx_cv_S_IFREG=yes
19581 else
19582 glibcxx_cv_S_IFREG=no
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19590 res=no
19591 if test $glibcxx_cv_S_ISREG = yes; then
19593 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19595 res=S_ISREG
19596 elif test $glibcxx_cv_S_IFREG = yes; then
19598 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19600 res=S_IFREG
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19603 $as_echo "$res" >&6; }
19605 CXXFLAGS="$ac_save_CXXFLAGS"
19606 ac_ext=c
19607 ac_cpp='$CPP $CPPFLAGS'
19608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19614 # For xsputn_2().
19615 for ac_header in sys/uio.h
19616 do :
19617 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19618 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19619 cat >>confdefs.h <<_ACEOF
19620 #define HAVE_SYS_UIO_H 1
19621 _ACEOF
19625 done
19630 ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636 ac_save_CXXFLAGS="$CXXFLAGS"
19637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19640 $as_echo_n "checking for writev... " >&6; }
19641 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19642 $as_echo_n "(cached) " >&6
19643 else
19645 if test x$gcc_no_link = xyes; then
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #include <sys/uio.h>
19650 main ()
19652 struct iovec iov[2];
19653 writev(0, iov, 0);
19655 return 0;
19657 _ACEOF
19658 if ac_fn_cxx_try_compile "$LINENO"; then :
19659 glibcxx_cv_WRITEV=yes
19660 else
19661 glibcxx_cv_WRITEV=no
19663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 else
19665 if test x$gcc_no_link = xyes; then
19666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #include <sys/uio.h>
19672 main ()
19674 struct iovec iov[2];
19675 writev(0, iov, 0);
19677 return 0;
19679 _ACEOF
19680 if ac_fn_cxx_try_link "$LINENO"; then :
19681 glibcxx_cv_WRITEV=yes
19682 else
19683 glibcxx_cv_WRITEV=no
19685 rm -f core conftest.err conftest.$ac_objext \
19686 conftest$ac_exeext conftest.$ac_ext
19691 if test $glibcxx_cv_WRITEV = yes; then
19693 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19697 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19699 CXXFLAGS="$ac_save_CXXFLAGS"
19700 ac_ext=c
19701 ac_cpp='$CPP $CPPFLAGS'
19702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19708 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19709 # so that the check is done with the C compiler (not C++).
19710 # Checking with C++ can break a canadian cross build if either
19711 # file does not exist in C but does in C++.
19712 for ac_header in fenv.h complex.h
19713 do :
19714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19715 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19716 eval as_val=\$$as_ac_Header
19717 if test "x$as_val" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19720 _ACEOF
19724 done
19727 # For C99 support to TR1.
19731 ac_ext=cpp
19732 ac_cpp='$CXXCPP $CPPFLAGS'
19733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19738 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19739 # undefined and fake C99 facilities may be spuriously enabled.
19740 ac_save_CXXFLAGS="$CXXFLAGS"
19741 CXXFLAGS="$CXXFLAGS -std=c++98"
19743 # Check for the existence of <complex.h> complex math functions used
19744 # by tr1/complex.
19745 for ac_header in complex.h
19746 do :
19747 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19748 if test "x$ac_cv_header_complex_h" = x""yes; then :
19749 cat >>confdefs.h <<_ACEOF
19750 #define HAVE_COMPLEX_H 1
19751 _ACEOF
19752 ac_has_complex_h=yes
19753 else
19754 ac_has_complex_h=no
19757 done
19759 ac_c99_complex_tr1=no;
19760 if test x"$ac_has_complex_h" = x"yes"; then
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19762 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19765 #include <complex.h>
19767 main ()
19769 typedef __complex__ float float_type; float_type tmpf;
19770 cacosf(tmpf);
19771 casinf(tmpf);
19772 catanf(tmpf);
19773 cacoshf(tmpf);
19774 casinhf(tmpf);
19775 catanhf(tmpf);
19776 typedef __complex__ double double_type; double_type tmpd;
19777 cacos(tmpd);
19778 casin(tmpd);
19779 catan(tmpd);
19780 cacosh(tmpd);
19781 casinh(tmpd);
19782 catanh(tmpd);
19783 typedef __complex__ long double ld_type; ld_type tmpld;
19784 cacosl(tmpld);
19785 casinl(tmpld);
19786 catanl(tmpld);
19787 cacoshl(tmpld);
19788 casinhl(tmpld);
19789 catanhl(tmpld);
19792 return 0;
19794 _ACEOF
19795 if ac_fn_cxx_try_compile "$LINENO"; then :
19796 ac_c99_complex_tr1=yes
19797 else
19798 ac_c99_complex_tr1=no
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19803 $as_echo "$ac_c99_complex_tr1" >&6; }
19804 if test x"$ac_c99_complex_tr1" = x"yes"; then
19806 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19810 # Check for the existence of <ctype.h> functions.
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19812 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19813 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19814 $as_echo_n "(cached) " >&6
19815 else
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #include <ctype.h>
19821 main ()
19823 int ch;
19824 int ret;
19825 ret = isblank(ch);
19828 return 0;
19830 _ACEOF
19831 if ac_fn_cxx_try_compile "$LINENO"; then :
19832 glibcxx_cv_c99_ctype_tr1=yes
19833 else
19834 glibcxx_cv_c99_ctype_tr1=no
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19841 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19842 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19844 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19848 # Check for the existence of <fenv.h> functions.
19849 for ac_header in fenv.h
19850 do :
19851 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19852 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19853 cat >>confdefs.h <<_ACEOF
19854 #define HAVE_FENV_H 1
19855 _ACEOF
19856 ac_has_fenv_h=yes
19857 else
19858 ac_has_fenv_h=no
19861 done
19863 ac_c99_fenv_tr1=no;
19864 if test x"$ac_has_fenv_h" = x"yes"; then
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19866 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19869 #include <fenv.h>
19871 main ()
19873 int except, mode;
19874 fexcept_t* pflag;
19875 fenv_t* penv;
19876 int ret;
19877 ret = feclearexcept(except);
19878 ret = fegetexceptflag(pflag, except);
19879 ret = feraiseexcept(except);
19880 ret = fesetexceptflag(pflag, except);
19881 ret = fetestexcept(except);
19882 ret = fegetround();
19883 ret = fesetround(mode);
19884 ret = fegetenv(penv);
19885 ret = feholdexcept(penv);
19886 ret = fesetenv(penv);
19887 ret = feupdateenv(penv);
19890 return 0;
19892 _ACEOF
19893 if ac_fn_cxx_try_compile "$LINENO"; then :
19894 ac_c99_fenv_tr1=yes
19895 else
19896 ac_c99_fenv_tr1=no
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19901 $as_echo "$ac_c99_fenv_tr1" >&6; }
19902 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19904 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19908 # Check for the existence of <stdint.h> types.
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19910 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19911 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19912 $as_echo_n "(cached) " >&6
19913 else
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19917 #define __STDC_LIMIT_MACROS
19918 #define __STDC_CONSTANT_MACROS
19919 #include <stdint.h>
19921 main ()
19923 typedef int8_t my_int8_t;
19924 my_int8_t i8 = INT8_MIN;
19925 i8 = INT8_MAX;
19926 typedef int16_t my_int16_t;
19927 my_int16_t i16 = INT16_MIN;
19928 i16 = INT16_MAX;
19929 typedef int32_t my_int32_t;
19930 my_int32_t i32 = INT32_MIN;
19931 i32 = INT32_MAX;
19932 typedef int64_t my_int64_t;
19933 my_int64_t i64 = INT64_MIN;
19934 i64 = INT64_MAX;
19935 typedef int_fast8_t my_int_fast8_t;
19936 my_int_fast8_t if8 = INT_FAST8_MIN;
19937 if8 = INT_FAST8_MAX;
19938 typedef int_fast16_t my_int_fast16_t;
19939 my_int_fast16_t if16 = INT_FAST16_MIN;
19940 if16 = INT_FAST16_MAX;
19941 typedef int_fast32_t my_int_fast32_t;
19942 my_int_fast32_t if32 = INT_FAST32_MIN;
19943 if32 = INT_FAST32_MAX;
19944 typedef int_fast64_t my_int_fast64_t;
19945 my_int_fast64_t if64 = INT_FAST64_MIN;
19946 if64 = INT_FAST64_MAX;
19947 typedef int_least8_t my_int_least8_t;
19948 my_int_least8_t il8 = INT_LEAST8_MIN;
19949 il8 = INT_LEAST8_MAX;
19950 typedef int_least16_t my_int_least16_t;
19951 my_int_least16_t il16 = INT_LEAST16_MIN;
19952 il16 = INT_LEAST16_MAX;
19953 typedef int_least32_t my_int_least32_t;
19954 my_int_least32_t il32 = INT_LEAST32_MIN;
19955 il32 = INT_LEAST32_MAX;
19956 typedef int_least64_t my_int_least64_t;
19957 my_int_least64_t il64 = INT_LEAST64_MIN;
19958 il64 = INT_LEAST64_MAX;
19959 typedef intmax_t my_intmax_t;
19960 my_intmax_t im = INTMAX_MAX;
19961 im = INTMAX_MIN;
19962 typedef intptr_t my_intptr_t;
19963 my_intptr_t ip = INTPTR_MAX;
19964 ip = INTPTR_MIN;
19965 typedef uint8_t my_uint8_t;
19966 my_uint8_t ui8 = UINT8_MAX;
19967 ui8 = UINT8_MAX;
19968 typedef uint16_t my_uint16_t;
19969 my_uint16_t ui16 = UINT16_MAX;
19970 ui16 = UINT16_MAX;
19971 typedef uint32_t my_uint32_t;
19972 my_uint32_t ui32 = UINT32_MAX;
19973 ui32 = UINT32_MAX;
19974 typedef uint64_t my_uint64_t;
19975 my_uint64_t ui64 = UINT64_MAX;
19976 ui64 = UINT64_MAX;
19977 typedef uint_fast8_t my_uint_fast8_t;
19978 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19979 uif8 = UINT_FAST8_MAX;
19980 typedef uint_fast16_t my_uint_fast16_t;
19981 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19982 uif16 = UINT_FAST16_MAX;
19983 typedef uint_fast32_t my_uint_fast32_t;
19984 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19985 uif32 = UINT_FAST32_MAX;
19986 typedef uint_fast64_t my_uint_fast64_t;
19987 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19988 uif64 = UINT_FAST64_MAX;
19989 typedef uint_least8_t my_uint_least8_t;
19990 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19991 uil8 = UINT_LEAST8_MAX;
19992 typedef uint_least16_t my_uint_least16_t;
19993 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19994 uil16 = UINT_LEAST16_MAX;
19995 typedef uint_least32_t my_uint_least32_t;
19996 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19997 uil32 = UINT_LEAST32_MAX;
19998 typedef uint_least64_t my_uint_least64_t;
19999 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20000 uil64 = UINT_LEAST64_MAX;
20001 typedef uintmax_t my_uintmax_t;
20002 my_uintmax_t uim = UINTMAX_MAX;
20003 uim = UINTMAX_MAX;
20004 typedef uintptr_t my_uintptr_t;
20005 my_uintptr_t uip = UINTPTR_MAX;
20006 uip = UINTPTR_MAX;
20009 return 0;
20011 _ACEOF
20012 if ac_fn_cxx_try_compile "$LINENO"; then :
20013 glibcxx_cv_c99_stdint_tr1=yes
20014 else
20015 glibcxx_cv_c99_stdint_tr1=no
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20022 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20023 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20025 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20029 # Check for the existence of <math.h> functions.
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20031 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20032 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20033 $as_echo_n "(cached) " >&6
20034 else
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20038 #include <math.h>
20040 main ()
20042 typedef double_t my_double_t;
20043 typedef float_t my_float_t;
20044 acosh(0.0);
20045 acoshf(0.0f);
20046 acoshl(0.0l);
20047 asinh(0.0);
20048 asinhf(0.0f);
20049 asinhl(0.0l);
20050 atanh(0.0);
20051 atanhf(0.0f);
20052 atanhl(0.0l);
20053 cbrt(0.0);
20054 cbrtf(0.0f);
20055 cbrtl(0.0l);
20056 copysign(0.0, 0.0);
20057 copysignf(0.0f, 0.0f);
20058 copysignl(0.0l, 0.0l);
20059 erf(0.0);
20060 erff(0.0f);
20061 erfl(0.0l);
20062 erfc(0.0);
20063 erfcf(0.0f);
20064 erfcl(0.0l);
20065 exp2(0.0);
20066 exp2f(0.0f);
20067 exp2l(0.0l);
20068 expm1(0.0);
20069 expm1f(0.0f);
20070 expm1l(0.0l);
20071 fdim(0.0, 0.0);
20072 fdimf(0.0f, 0.0f);
20073 fdiml(0.0l, 0.0l);
20074 fma(0.0, 0.0, 0.0);
20075 fmaf(0.0f, 0.0f, 0.0f);
20076 fmal(0.0l, 0.0l, 0.0l);
20077 fmax(0.0, 0.0);
20078 fmaxf(0.0f, 0.0f);
20079 fmaxl(0.0l, 0.0l);
20080 fmin(0.0, 0.0);
20081 fminf(0.0f, 0.0f);
20082 fminl(0.0l, 0.0l);
20083 hypot(0.0, 0.0);
20084 hypotf(0.0f, 0.0f);
20085 hypotl(0.0l, 0.0l);
20086 ilogb(0.0);
20087 ilogbf(0.0f);
20088 ilogbl(0.0l);
20089 lgamma(0.0);
20090 lgammaf(0.0f);
20091 lgammal(0.0l);
20092 #ifndef __APPLE__ /* see below */
20093 llrint(0.0);
20094 llrintf(0.0f);
20095 llrintl(0.0l);
20096 llround(0.0);
20097 llroundf(0.0f);
20098 llroundl(0.0l);
20099 #endif
20100 log1p(0.0);
20101 log1pf(0.0f);
20102 log1pl(0.0l);
20103 log2(0.0);
20104 log2f(0.0f);
20105 log2l(0.0l);
20106 logb(0.0);
20107 logbf(0.0f);
20108 logbl(0.0l);
20109 lrint(0.0);
20110 lrintf(0.0f);
20111 lrintl(0.0l);
20112 lround(0.0);
20113 lroundf(0.0f);
20114 lroundl(0.0l);
20115 nan(0);
20116 nanf(0);
20117 nanl(0);
20118 nearbyint(0.0);
20119 nearbyintf(0.0f);
20120 nearbyintl(0.0l);
20121 nextafter(0.0, 0.0);
20122 nextafterf(0.0f, 0.0f);
20123 nextafterl(0.0l, 0.0l);
20124 nexttoward(0.0, 0.0);
20125 nexttowardf(0.0f, 0.0f);
20126 nexttowardl(0.0l, 0.0l);
20127 remainder(0.0, 0.0);
20128 remainderf(0.0f, 0.0f);
20129 remainderl(0.0l, 0.0l);
20130 remquo(0.0, 0.0, 0);
20131 remquof(0.0f, 0.0f, 0);
20132 remquol(0.0l, 0.0l, 0);
20133 rint(0.0);
20134 rintf(0.0f);
20135 rintl(0.0l);
20136 round(0.0);
20137 roundf(0.0f);
20138 roundl(0.0l);
20139 scalbln(0.0, 0l);
20140 scalblnf(0.0f, 0l);
20141 scalblnl(0.0l, 0l);
20142 scalbn(0.0, 0);
20143 scalbnf(0.0f, 0);
20144 scalbnl(0.0l, 0);
20145 tgamma(0.0);
20146 tgammaf(0.0f);
20147 tgammal(0.0l);
20148 trunc(0.0);
20149 truncf(0.0f);
20150 truncl(0.0l);
20153 return 0;
20155 _ACEOF
20156 if ac_fn_cxx_try_compile "$LINENO"; then :
20157 glibcxx_cv_c99_math_tr1=yes
20158 else
20159 glibcxx_cv_c99_math_tr1=no
20161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20166 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20167 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20169 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20172 case "${target_os}" in
20173 darwin*)
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20175 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20176 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20177 $as_echo_n "(cached) " >&6
20178 else
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 #include <math.h>
20184 main ()
20186 llrint(0.0);
20187 llrintf(0.0f);
20188 llrintl(0.0l);
20189 llround(0.0);
20190 llroundf(0.0f);
20191 llroundl(0.0l);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 glibcxx_cv_c99_math_llround=yes
20199 else
20200 glibcxx_cv_c99_math_llround=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20207 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20209 esac
20210 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20212 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20217 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20218 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20219 ac_c99_inttypes_tr1=no;
20220 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20222 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20225 #include <inttypes.h>
20227 main ()
20229 intmax_t i, numer, denom, base;
20230 const char* s;
20231 char** endptr;
20232 intmax_t ret = imaxabs(i);
20233 imaxdiv_t dret = imaxdiv(numer, denom);
20234 ret = strtoimax(s, endptr, base);
20235 uintmax_t uret = strtoumax(s, endptr, base);
20238 return 0;
20240 _ACEOF
20241 if ac_fn_cxx_try_compile "$LINENO"; then :
20242 ac_c99_inttypes_tr1=yes
20243 else
20244 ac_c99_inttypes_tr1=no
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20249 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20250 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20252 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20256 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20257 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20258 ac_c99_inttypes_wchar_t_tr1=no;
20259 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20261 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <inttypes.h>
20266 main ()
20268 intmax_t base;
20269 const wchar_t* s;
20270 wchar_t** endptr;
20271 intmax_t ret = wcstoimax(s, endptr, base);
20272 uintmax_t uret = wcstoumax(s, endptr, base);
20275 return 0;
20277 _ACEOF
20278 if ac_fn_cxx_try_compile "$LINENO"; then :
20279 ac_c99_inttypes_wchar_t_tr1=yes
20280 else
20281 ac_c99_inttypes_wchar_t_tr1=no
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20286 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20287 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20293 # Check for the existence of the <stdbool.h> header.
20294 for ac_header in stdbool.h
20295 do :
20296 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_STDBOOL_H 1
20300 _ACEOF
20304 done
20307 # Check for the existence of the <stdalign.h> header.
20308 for ac_header in stdalign.h
20309 do :
20310 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20312 cat >>confdefs.h <<_ACEOF
20313 #define HAVE_STDALIGN_H 1
20314 _ACEOF
20318 done
20321 CXXFLAGS="$ac_save_CXXFLAGS"
20322 ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20330 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20334 $as_echo_n "checking for the value of EOF... " >&6; }
20335 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20339 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20341 else
20342 as_fn_error "computing EOF failed" "$LINENO" 5
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20348 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20350 cat >>confdefs.h <<_ACEOF
20351 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20352 _ACEOF
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20356 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20357 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20358 $as_echo_n "(cached) " >&6
20359 else
20361 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20363 else
20364 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20370 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20372 cat >>confdefs.h <<_ACEOF
20373 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20374 _ACEOF
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20378 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20379 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20380 $as_echo_n "(cached) " >&6
20381 else
20383 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20385 else
20386 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20392 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20394 cat >>confdefs.h <<_ACEOF
20395 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20396 _ACEOF
20400 # For gettimeofday support.
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20404 $as_echo_n "checking for gettimeofday... " >&6; }
20407 ac_ext=cpp
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413 ac_save_CXXFLAGS="$CXXFLAGS"
20414 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20416 ac_has_gettimeofday=no;
20417 for ac_header in sys/time.h
20418 do :
20419 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20420 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20421 cat >>confdefs.h <<_ACEOF
20422 #define HAVE_SYS_TIME_H 1
20423 _ACEOF
20424 ac_has_sys_time_h=yes
20425 else
20426 ac_has_sys_time_h=no
20429 done
20431 if test x"$ac_has_sys_time_h" = x"yes"; then
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20433 $as_echo_n "checking for gettimeofday... " >&6; }
20434 if test x$gcc_no_link = xyes; then
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <sys/time.h>
20439 main ()
20441 timeval tv; gettimeofday(&tv, 0);
20443 return 0;
20445 _ACEOF
20446 if ac_fn_cxx_try_compile "$LINENO"; then :
20447 ac_has_gettimeofday=yes
20448 else
20449 ac_has_gettimeofday=no
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 else
20453 if test x$gcc_no_link = xyes; then
20454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #include <sys/time.h>
20460 main ()
20462 timeval tv; gettimeofday(&tv, 0);
20464 return 0;
20466 _ACEOF
20467 if ac_fn_cxx_try_link "$LINENO"; then :
20468 ac_has_gettimeofday=yes
20469 else
20470 ac_has_gettimeofday=no
20472 rm -f core conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20477 $as_echo "$ac_has_gettimeofday" >&6; }
20480 if test x"$ac_has_gettimeofday" = x"yes"; then
20482 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20486 CXXFLAGS="$ac_save_CXXFLAGS"
20487 ac_ext=c
20488 ac_cpp='$CPP $CPPFLAGS'
20489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20495 # For clock_gettime, nanosleep and sched_yield support.
20498 # Check whether --enable-libstdcxx-time was given.
20499 if test "${enable_libstdcxx_time+set}" = set; then :
20500 enableval=$enable_libstdcxx_time;
20501 case "$enableval" in
20502 yes|no|rt) ;;
20503 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20504 esac
20506 else
20507 enable_libstdcxx_time=auto
20513 ac_ext=cpp
20514 ac_cpp='$CXXCPP $CPPFLAGS'
20515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20519 ac_save_CXXFLAGS="$CXXFLAGS"
20520 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20521 ac_save_LIBS="$LIBS"
20523 ac_has_clock_monotonic=no
20524 ac_has_clock_realtime=no
20525 ac_has_nanosleep=no
20526 ac_has_sched_yield=no
20528 if test x"$enable_libstdcxx_time" = x"auto"; then
20530 case "${target_os}" in
20531 cygwin*)
20532 ac_has_nanosleep=yes
20534 darwin*)
20535 ac_has_nanosleep=yes
20536 ac_has_sched_yield=yes
20538 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20540 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20543 #include <features.h>
20545 main ()
20548 #if ! __GLIBC_PREREQ(2, 17)
20549 #error
20550 #endif
20553 return 0;
20555 _ACEOF
20556 if ac_fn_cxx_try_compile "$LINENO"; then :
20557 glibcxx_glibc217=yes
20558 else
20559 glibcxx_glibc217=no
20561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20563 $as_echo "$glibcxx_glibc217" >&6; }
20565 if test x"$glibcxx_glibc217" = x"yes"; then
20566 ac_has_clock_monotonic=yes
20567 ac_has_clock_realtime=yes
20569 ac_has_nanosleep=yes
20570 ac_has_sched_yield=yes
20572 freebsd*|netbsd*|dragonfly*|rtems*)
20573 ac_has_clock_monotonic=yes
20574 ac_has_clock_realtime=yes
20575 ac_has_nanosleep=yes
20576 ac_has_sched_yield=yes
20578 openbsd*)
20579 ac_has_clock_monotonic=yes
20580 ac_has_clock_realtime=yes
20581 ac_has_nanosleep=yes
20583 solaris*)
20584 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20585 ac_has_clock_monotonic=yes
20586 ac_has_clock_realtime=yes
20587 ac_has_nanosleep=yes
20588 ac_has_sched_yield=yes
20590 esac
20592 elif test x"$enable_libstdcxx_time" != x"no"; then
20594 if test x"$enable_libstdcxx_time" = x"rt"; then
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20596 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20597 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20598 $as_echo_n "(cached) " >&6
20599 else
20600 ac_func_search_save_LIBS=$LIBS
20601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602 /* end confdefs.h. */
20604 /* Override any GCC internal prototype to avoid an error.
20605 Use char because int might match the return type of a GCC
20606 builtin and then its argument prototype would still apply. */
20607 #ifdef __cplusplus
20608 extern "C"
20609 #endif
20610 char clock_gettime ();
20612 main ()
20614 return clock_gettime ();
20616 return 0;
20618 _ACEOF
20619 for ac_lib in '' rt posix4; do
20620 if test -z "$ac_lib"; then
20621 ac_res="none required"
20622 else
20623 ac_res=-l$ac_lib
20624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20626 if test x$gcc_no_link = xyes; then
20627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 if ac_fn_cxx_try_link "$LINENO"; then :
20630 ac_cv_search_clock_gettime=$ac_res
20632 rm -f core conftest.err conftest.$ac_objext \
20633 conftest$ac_exeext
20634 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20635 break
20637 done
20638 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20640 else
20641 ac_cv_search_clock_gettime=no
20643 rm conftest.$ac_ext
20644 LIBS=$ac_func_search_save_LIBS
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20647 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20648 ac_res=$ac_cv_search_clock_gettime
20649 if test "$ac_res" != no; then :
20650 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20655 $as_echo_n "checking for library containing nanosleep... " >&6; }
20656 if test "${ac_cv_search_nanosleep+set}" = set; then :
20657 $as_echo_n "(cached) " >&6
20658 else
20659 ac_func_search_save_LIBS=$LIBS
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20663 /* Override any GCC internal prototype to avoid an error.
20664 Use char because int might match the return type of a GCC
20665 builtin and then its argument prototype would still apply. */
20666 #ifdef __cplusplus
20667 extern "C"
20668 #endif
20669 char nanosleep ();
20671 main ()
20673 return nanosleep ();
20675 return 0;
20677 _ACEOF
20678 for ac_lib in '' rt posix4; do
20679 if test -z "$ac_lib"; then
20680 ac_res="none required"
20681 else
20682 ac_res=-l$ac_lib
20683 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20685 if test x$gcc_no_link = xyes; then
20686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688 if ac_fn_cxx_try_link "$LINENO"; then :
20689 ac_cv_search_nanosleep=$ac_res
20691 rm -f core conftest.err conftest.$ac_objext \
20692 conftest$ac_exeext
20693 if test "${ac_cv_search_nanosleep+set}" = set; then :
20694 break
20696 done
20697 if test "${ac_cv_search_nanosleep+set}" = set; then :
20699 else
20700 ac_cv_search_nanosleep=no
20702 rm conftest.$ac_ext
20703 LIBS=$ac_func_search_save_LIBS
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20706 $as_echo "$ac_cv_search_nanosleep" >&6; }
20707 ac_res=$ac_cv_search_nanosleep
20708 if test "$ac_res" != no; then :
20709 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20713 else
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20715 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20716 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20717 $as_echo_n "(cached) " >&6
20718 else
20719 ac_func_search_save_LIBS=$LIBS
20720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20721 /* end confdefs.h. */
20723 /* Override any GCC internal prototype to avoid an error.
20724 Use char because int might match the return type of a GCC
20725 builtin and then its argument prototype would still apply. */
20726 #ifdef __cplusplus
20727 extern "C"
20728 #endif
20729 char clock_gettime ();
20731 main ()
20733 return clock_gettime ();
20735 return 0;
20737 _ACEOF
20738 for ac_lib in '' posix4; do
20739 if test -z "$ac_lib"; then
20740 ac_res="none required"
20741 else
20742 ac_res=-l$ac_lib
20743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20745 if test x$gcc_no_link = xyes; then
20746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20748 if ac_fn_cxx_try_link "$LINENO"; then :
20749 ac_cv_search_clock_gettime=$ac_res
20751 rm -f core conftest.err conftest.$ac_objext \
20752 conftest$ac_exeext
20753 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20754 break
20756 done
20757 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20759 else
20760 ac_cv_search_clock_gettime=no
20762 rm conftest.$ac_ext
20763 LIBS=$ac_func_search_save_LIBS
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20766 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20767 ac_res=$ac_cv_search_clock_gettime
20768 if test "$ac_res" != no; then :
20769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20774 $as_echo_n "checking for library containing nanosleep... " >&6; }
20775 if test "${ac_cv_search_nanosleep+set}" = set; then :
20776 $as_echo_n "(cached) " >&6
20777 else
20778 ac_func_search_save_LIBS=$LIBS
20779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20782 /* Override any GCC internal prototype to avoid an error.
20783 Use char because int might match the return type of a GCC
20784 builtin and then its argument prototype would still apply. */
20785 #ifdef __cplusplus
20786 extern "C"
20787 #endif
20788 char nanosleep ();
20790 main ()
20792 return nanosleep ();
20794 return 0;
20796 _ACEOF
20797 for ac_lib in '' posix4; do
20798 if test -z "$ac_lib"; then
20799 ac_res="none required"
20800 else
20801 ac_res=-l$ac_lib
20802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20804 if test x$gcc_no_link = xyes; then
20805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 if ac_fn_cxx_try_link "$LINENO"; then :
20808 ac_cv_search_nanosleep=$ac_res
20810 rm -f core conftest.err conftest.$ac_objext \
20811 conftest$ac_exeext
20812 if test "${ac_cv_search_nanosleep+set}" = set; then :
20813 break
20815 done
20816 if test "${ac_cv_search_nanosleep+set}" = set; then :
20818 else
20819 ac_cv_search_nanosleep=no
20821 rm conftest.$ac_ext
20822 LIBS=$ac_func_search_save_LIBS
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20825 $as_echo "$ac_cv_search_nanosleep" >&6; }
20826 ac_res=$ac_cv_search_nanosleep
20827 if test "$ac_res" != no; then :
20828 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20834 case "$ac_cv_search_clock_gettime" in
20835 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20837 esac
20838 case "$ac_cv_search_nanosleep" in
20839 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20841 esac
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20844 $as_echo_n "checking for library containing sched_yield... " >&6; }
20845 if test "${ac_cv_search_sched_yield+set}" = set; then :
20846 $as_echo_n "(cached) " >&6
20847 else
20848 ac_func_search_save_LIBS=$LIBS
20849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20850 /* end confdefs.h. */
20852 /* Override any GCC internal prototype to avoid an error.
20853 Use char because int might match the return type of a GCC
20854 builtin and then its argument prototype would still apply. */
20855 #ifdef __cplusplus
20856 extern "C"
20857 #endif
20858 char sched_yield ();
20860 main ()
20862 return sched_yield ();
20864 return 0;
20866 _ACEOF
20867 for ac_lib in '' rt posix4; do
20868 if test -z "$ac_lib"; then
20869 ac_res="none required"
20870 else
20871 ac_res=-l$ac_lib
20872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20874 if test x$gcc_no_link = xyes; then
20875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20877 if ac_fn_cxx_try_link "$LINENO"; then :
20878 ac_cv_search_sched_yield=$ac_res
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext
20882 if test "${ac_cv_search_sched_yield+set}" = set; then :
20883 break
20885 done
20886 if test "${ac_cv_search_sched_yield+set}" = set; then :
20888 else
20889 ac_cv_search_sched_yield=no
20891 rm conftest.$ac_ext
20892 LIBS=$ac_func_search_save_LIBS
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20895 $as_echo "$ac_cv_search_sched_yield" >&6; }
20896 ac_res=$ac_cv_search_sched_yield
20897 if test "$ac_res" != no; then :
20898 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20903 case "$ac_cv_search_sched_yield" in
20904 -lposix4*)
20905 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20906 ac_has_sched_yield=yes
20908 -lrt*)
20909 if test x"$enable_libstdcxx_time" = x"rt"; then
20910 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20911 ac_has_sched_yield=yes
20915 ac_has_sched_yield=yes
20917 esac
20919 for ac_header in unistd.h
20920 do :
20921 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20922 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20923 cat >>confdefs.h <<_ACEOF
20924 #define HAVE_UNISTD_H 1
20925 _ACEOF
20926 ac_has_unistd_h=yes
20927 else
20928 ac_has_unistd_h=no
20931 done
20934 if test x"$ac_has_unistd_h" = x"yes"; then
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20936 $as_echo_n "checking for monotonic clock... " >&6; }
20937 if test x$gcc_no_link = xyes; then
20938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20941 /* end confdefs.h. */
20942 #include <unistd.h>
20943 #include <time.h>
20946 main ()
20948 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20949 timespec tp;
20950 #endif
20951 clock_gettime(CLOCK_MONOTONIC, &tp);
20954 return 0;
20956 _ACEOF
20957 if ac_fn_cxx_try_link "$LINENO"; then :
20958 ac_has_clock_monotonic=yes
20959 else
20960 ac_has_clock_monotonic=no
20962 rm -f core conftest.err conftest.$ac_objext \
20963 conftest$ac_exeext conftest.$ac_ext
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20966 $as_echo "$ac_has_clock_monotonic" >&6; }
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20969 $as_echo_n "checking for realtime clock... " >&6; }
20970 if test x$gcc_no_link = xyes; then
20971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #include <unistd.h>
20976 #include <time.h>
20979 main ()
20981 #if _POSIX_TIMERS > 0
20982 timespec tp;
20983 #endif
20984 clock_gettime(CLOCK_REALTIME, &tp);
20987 return 0;
20989 _ACEOF
20990 if ac_fn_cxx_try_link "$LINENO"; then :
20991 ac_has_clock_realtime=yes
20992 else
20993 ac_has_clock_realtime=no
20995 rm -f core conftest.err conftest.$ac_objext \
20996 conftest$ac_exeext conftest.$ac_ext
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20999 $as_echo "$ac_has_clock_realtime" >&6; }
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21002 $as_echo_n "checking for nanosleep... " >&6; }
21003 if test x$gcc_no_link = xyes; then
21004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21008 #include <unistd.h>
21009 #include <time.h>
21012 main ()
21014 #if _POSIX_TIMERS > 0
21015 timespec tp;
21016 #endif
21017 nanosleep(&tp, 0);
21020 return 0;
21022 _ACEOF
21023 if ac_fn_cxx_try_link "$LINENO"; then :
21024 ac_has_nanosleep=yes
21025 else
21026 ac_has_nanosleep=no
21028 rm -f core conftest.err conftest.$ac_objext \
21029 conftest$ac_exeext conftest.$ac_ext
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21032 $as_echo "$ac_has_nanosleep" >&6; }
21036 if test x"$ac_has_clock_monotonic" != x"yes"; then
21037 case ${target_os} in
21038 linux*)
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21040 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #include <unistd.h>
21044 #include <time.h>
21045 #include <sys/syscall.h>
21048 main ()
21050 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21051 timespec tp;
21052 #endif
21053 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21054 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21057 return 0;
21059 _ACEOF
21060 if ac_fn_cxx_try_compile "$LINENO"; then :
21061 ac_has_clock_monotonic_syscall=yes
21062 else
21063 ac_has_clock_monotonic_syscall=no
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21067 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21068 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21070 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21072 ac_has_clock_monotonic=yes
21073 ac_has_clock_realtime=yes
21074 fi;;
21075 esac
21078 if test x"$ac_has_clock_monotonic" = x"yes"; then
21080 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21084 if test x"$ac_has_clock_realtime" = x"yes"; then
21086 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21090 if test x"$ac_has_sched_yield" = x"yes"; then
21092 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21096 if test x"$ac_has_nanosleep" = x"yes"; then
21098 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21100 else
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21102 $as_echo_n "checking for sleep... " >&6; }
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <unistd.h>
21107 main ()
21109 sleep(1)
21111 return 0;
21113 _ACEOF
21114 if ac_fn_cxx_try_compile "$LINENO"; then :
21115 ac_has_sleep=yes
21116 else
21117 ac_has_sleep=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 if test x"$ac_has_sleep" = x"yes"; then
21122 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21126 $as_echo "$ac_has_sleep" >&6; }
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21128 $as_echo_n "checking for usleep... " >&6; }
21129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21130 /* end confdefs.h. */
21131 #include <unistd.h>
21133 main ()
21135 sleep(1);
21136 usleep(100);
21138 return 0;
21140 _ACEOF
21141 if ac_fn_cxx_try_compile "$LINENO"; then :
21142 ac_has_usleep=yes
21143 else
21144 ac_has_usleep=no
21146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 if test x"$ac_has_usleep" = x"yes"; then
21149 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21153 $as_echo "$ac_has_usleep" >&6; }
21156 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21158 $as_echo_n "checking for Sleep... " >&6; }
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #include <windows.h>
21163 main ()
21165 Sleep(1)
21167 return 0;
21169 _ACEOF
21170 if ac_fn_cxx_try_compile "$LINENO"; then :
21171 ac_has_win32_sleep=yes
21172 else
21173 ac_has_win32_sleep=no
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 if test x"$ac_has_win32_sleep" = x"yes"; then
21178 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21182 $as_echo "$ac_has_win32_sleep" >&6; }
21187 CXXFLAGS="$ac_save_CXXFLAGS"
21188 LIBS="$ac_save_LIBS"
21189 ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21197 # Check for tmpnam which is obsolescent in POSIX.1-2008
21199 ac_ext=cpp
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205 ac_save_CXXFLAGS="$CXXFLAGS"
21206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21208 $as_echo_n "checking for tmpnam... " >&6; }
21209 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21211 else
21212 if test x$gcc_no_link = xyes; then
21213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21214 /* end confdefs.h. */
21215 #include <stdio.h>
21217 main ()
21219 char *tmp = tmpnam(NULL);
21221 return 0;
21223 _ACEOF
21224 if ac_fn_cxx_try_compile "$LINENO"; then :
21225 glibcxx_cv_TMPNAM=yes
21226 else
21227 glibcxx_cv_TMPNAM=no
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230 else
21231 if test x$gcc_no_link = xyes; then
21232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21235 /* end confdefs.h. */
21236 #include <stdio.h>
21238 main ()
21240 char *tmp = tmpnam(NULL);
21242 return 0;
21244 _ACEOF
21245 if ac_fn_cxx_try_link "$LINENO"; then :
21246 glibcxx_cv_TMPNAM=yes
21247 else
21248 glibcxx_cv_TMPNAM=no
21250 rm -f core conftest.err conftest.$ac_objext \
21251 conftest$ac_exeext conftest.$ac_ext
21256 if test $glibcxx_cv_TMPNAM = yes; then
21258 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21262 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21263 CXXFLAGS="$ac_save_CXXFLAGS"
21264 ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21274 if test "x$ac_cv_header_locale_h" = x""yes; then :
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21277 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21278 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21280 else
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283 #include <locale.h>
21285 main ()
21287 return LC_MESSAGES
21289 return 0;
21291 _ACEOF
21292 if ac_fn_c_try_compile "$LINENO"; then :
21293 ac_cv_val_LC_MESSAGES=yes
21294 else
21295 ac_cv_val_LC_MESSAGES=no
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21300 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21301 if test $ac_cv_val_LC_MESSAGES = yes; then
21303 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21312 # For hardware_concurrency
21313 for ac_header in sys/sysinfo.h
21314 do :
21315 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21316 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21317 cat >>confdefs.h <<_ACEOF
21318 #define HAVE_SYS_SYSINFO_H 1
21319 _ACEOF
21323 done
21328 ac_ext=cpp
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334 ac_save_CXXFLAGS="$CXXFLAGS"
21335 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21338 $as_echo_n "checking for get_nprocs... " >&6; }
21339 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21340 $as_echo_n "(cached) " >&6
21341 else
21343 if test x$gcc_no_link = xyes; then
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21346 #include <sys/sysinfo.h>
21348 main ()
21350 int n = get_nprocs();
21352 return 0;
21354 _ACEOF
21355 if ac_fn_cxx_try_compile "$LINENO"; then :
21356 glibcxx_cv_GET_NPROCS=yes
21357 else
21358 glibcxx_cv_GET_NPROCS=no
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361 else
21362 if test x$gcc_no_link = xyes; then
21363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21366 /* end confdefs.h. */
21367 #include <sys/sysinfo.h>
21369 main ()
21371 int n = get_nprocs();
21373 return 0;
21375 _ACEOF
21376 if ac_fn_cxx_try_link "$LINENO"; then :
21377 glibcxx_cv_GET_NPROCS=yes
21378 else
21379 glibcxx_cv_GET_NPROCS=no
21381 rm -f core conftest.err conftest.$ac_objext \
21382 conftest$ac_exeext conftest.$ac_ext
21387 if test $glibcxx_cv_GET_NPROCS = yes; then
21389 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21393 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21395 CXXFLAGS="$ac_save_CXXFLAGS"
21396 ac_ext=c
21397 ac_cpp='$CPP $CPPFLAGS'
21398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21403 for ac_header in unistd.h
21404 do :
21405 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21406 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21407 cat >>confdefs.h <<_ACEOF
21408 #define HAVE_UNISTD_H 1
21409 _ACEOF
21413 done
21418 ac_ext=cpp
21419 ac_cpp='$CXXCPP $CPPFLAGS'
21420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424 ac_save_CXXFLAGS="$CXXFLAGS"
21425 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21428 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21429 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21430 $as_echo_n "(cached) " >&6
21431 else
21433 if test x$gcc_no_link = xyes; then
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <unistd.h>
21438 main ()
21440 int n = sysconf(_SC_NPROCESSORS_ONLN);
21442 return 0;
21444 _ACEOF
21445 if ac_fn_cxx_try_compile "$LINENO"; then :
21446 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21447 else
21448 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 else
21452 if test x$gcc_no_link = xyes; then
21453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21456 /* end confdefs.h. */
21457 #include <unistd.h>
21459 main ()
21461 int n = sysconf(_SC_NPROCESSORS_ONLN);
21463 return 0;
21465 _ACEOF
21466 if ac_fn_cxx_try_link "$LINENO"; then :
21467 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21468 else
21469 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21471 rm -f core conftest.err conftest.$ac_objext \
21472 conftest$ac_exeext conftest.$ac_ext
21477 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21479 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21483 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21485 CXXFLAGS="$ac_save_CXXFLAGS"
21486 ac_ext=c
21487 ac_cpp='$CPP $CPPFLAGS'
21488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21496 ac_ext=cpp
21497 ac_cpp='$CXXCPP $CPPFLAGS'
21498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21502 ac_save_CXXFLAGS="$CXXFLAGS"
21503 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21506 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21507 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21508 $as_echo_n "(cached) " >&6
21509 else
21511 if test x$gcc_no_link = xyes; then
21512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21513 /* end confdefs.h. */
21514 #include <unistd.h>
21516 main ()
21518 int n = sysconf(_SC_NPROC_ONLN);
21520 return 0;
21522 _ACEOF
21523 if ac_fn_cxx_try_compile "$LINENO"; then :
21524 glibcxx_cv_SC_NPROC_ONLN=yes
21525 else
21526 glibcxx_cv_SC_NPROC_ONLN=no
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 else
21530 if test x$gcc_no_link = xyes; then
21531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21535 #include <unistd.h>
21537 main ()
21539 int n = sysconf(_SC_NPROC_ONLN);
21541 return 0;
21543 _ACEOF
21544 if ac_fn_cxx_try_link "$LINENO"; then :
21545 glibcxx_cv_SC_NPROC_ONLN=yes
21546 else
21547 glibcxx_cv_SC_NPROC_ONLN=no
21549 rm -f core conftest.err conftest.$ac_objext \
21550 conftest$ac_exeext conftest.$ac_ext
21555 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21557 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21561 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21563 CXXFLAGS="$ac_save_CXXFLAGS"
21564 ac_ext=c
21565 ac_cpp='$CPP $CPPFLAGS'
21566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21574 ac_ext=cpp
21575 ac_cpp='$CXXCPP $CPPFLAGS'
21576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21580 ac_save_CXXFLAGS="$CXXFLAGS"
21581 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21584 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21585 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21586 $as_echo_n "(cached) " >&6
21587 else
21589 if test x$gcc_no_link = xyes; then
21590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21591 /* end confdefs.h. */
21592 #include <pthread.h>
21594 main ()
21596 int n = pthread_num_processors_np();
21598 return 0;
21600 _ACEOF
21601 if ac_fn_cxx_try_compile "$LINENO"; then :
21602 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21603 else
21604 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607 else
21608 if test x$gcc_no_link = xyes; then
21609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h. */
21613 #include <pthread.h>
21615 main ()
21617 int n = pthread_num_processors_np();
21619 return 0;
21621 _ACEOF
21622 if ac_fn_cxx_try_link "$LINENO"; then :
21623 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21624 else
21625 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21627 rm -f core conftest.err conftest.$ac_objext \
21628 conftest$ac_exeext conftest.$ac_ext
21633 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21635 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21639 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21641 CXXFLAGS="$ac_save_CXXFLAGS"
21642 ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21652 ac_ext=cpp
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658 ac_save_CXXFLAGS="$CXXFLAGS"
21659 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21662 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21663 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21664 $as_echo_n "(cached) " >&6
21665 else
21667 if test x$gcc_no_link = xyes; then
21668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21669 /* end confdefs.h. */
21671 #include <stddef.h>
21672 #include <sys/sysctl.h>
21675 main ()
21678 int count;
21679 size_t size = sizeof(count);
21680 int mib[] = { CTL_HW, HW_NCPU };
21681 sysctl(mib, 2, &count, &size, NULL, 0);
21684 return 0;
21686 _ACEOF
21687 if ac_fn_cxx_try_compile "$LINENO"; then :
21688 glibcxx_cv_SYSCTL_HW_NCPU=yes
21689 else
21690 glibcxx_cv_SYSCTL_HW_NCPU=no
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 else
21694 if test x$gcc_no_link = xyes; then
21695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698 /* end confdefs.h. */
21700 #include <stddef.h>
21701 #include <sys/sysctl.h>
21704 main ()
21707 int count;
21708 size_t size = sizeof(count);
21709 int mib[] = { CTL_HW, HW_NCPU };
21710 sysctl(mib, 2, &count, &size, NULL, 0);
21713 return 0;
21715 _ACEOF
21716 if ac_fn_cxx_try_link "$LINENO"; then :
21717 glibcxx_cv_SYSCTL_HW_NCPU=yes
21718 else
21719 glibcxx_cv_SYSCTL_HW_NCPU=no
21721 rm -f core conftest.err conftest.$ac_objext \
21722 conftest$ac_exeext conftest.$ac_ext
21727 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21729 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21733 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21735 CXXFLAGS="$ac_save_CXXFLAGS"
21736 ac_ext=c
21737 ac_cpp='$CPP $CPPFLAGS'
21738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21745 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21746 # Note that this test has to be run with the C language.
21747 # Otherwise, sdt.h will try to include some headers from
21748 # libstdc++ itself.
21750 ac_ext=c
21751 ac_cpp='$CPP $CPPFLAGS'
21752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21756 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21757 $as_echo_n "(cached) " >&6
21758 else
21760 # Because we have to run the test in C, we use grep rather
21761 # than the compiler to check for the bug. The bug is that
21762 # were strings without trailing whitespace, causing g++
21763 # to look for operator"". The pattern searches for the fixed
21764 # output.
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21768 #include <sys/sdt.h>
21769 int f() { STAP_PROBE(hi, bob); }
21771 _ACEOF
21772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21773 $EGREP " \",\" " >/dev/null 2>&1; then :
21774 glibcxx_cv_sys_sdt_h=yes
21775 else
21776 glibcxx_cv_sys_sdt_h=no
21778 rm -f conftest*
21783 ac_ext=c
21784 ac_cpp='$CPP $CPPFLAGS'
21785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21789 if test $glibcxx_cv_sys_sdt_h = yes; then
21791 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21795 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21798 # Check for available headers.
21799 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21800 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21801 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21802 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21803 wchar.h wctype.h linux/types.h
21804 do :
21805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21806 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21807 eval as_val=\$$as_ac_Header
21808 if test "x$as_val" = x""yes; then :
21809 cat >>confdefs.h <<_ACEOF
21810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21811 _ACEOF
21815 done
21818 for ac_header in linux/random.h
21819 do :
21820 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21821 # include <linux/types.h>
21822 #endif
21825 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21826 cat >>confdefs.h <<_ACEOF
21827 #define HAVE_LINUX_RANDOM_H 1
21828 _ACEOF
21832 done
21835 # Only do link tests if native. Else, hardcode.
21836 if $GLIBCXX_IS_NATIVE; then
21838 # We can do more elaborate tests that assume a working linker.
21839 CANADIAN=no
21843 # Check whether --with-gnu-ld was given.
21844 if test "${with_gnu_ld+set}" = set; then :
21845 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21846 else
21847 with_gnu_ld=no
21850 ac_prog=ld
21851 if test "$GCC" = yes; then
21852 # Check if gcc -print-prog-name=ld gives a path.
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21854 $as_echo_n "checking for ld used by $CC... " >&6; }
21855 case $host in
21856 *-*-mingw*)
21857 # gcc leaves a trailing carriage return which upsets mingw
21858 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21860 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21861 esac
21862 case $ac_prog in
21863 # Accept absolute paths.
21864 [\\/]* | ?:[\\/]*)
21865 re_direlt='/[^/][^/]*/\.\./'
21866 # Canonicalize the pathname of ld
21867 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21868 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21869 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21870 done
21871 test -z "$LD" && LD="$ac_prog"
21874 # If it fails, then pretend we aren't using GCC.
21875 ac_prog=ld
21878 # If it is relative, then search for the first ld in PATH.
21879 with_gnu_ld=unknown
21881 esac
21882 elif test "$with_gnu_ld" = yes; then
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21884 $as_echo_n "checking for GNU ld... " >&6; }
21885 else
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21887 $as_echo_n "checking for non-GNU ld... " >&6; }
21889 if test "${lt_cv_path_LD+set}" = set; then :
21890 $as_echo_n "(cached) " >&6
21891 else
21892 if test -z "$LD"; then
21893 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21894 for ac_dir in $PATH; do
21895 IFS="$lt_save_ifs"
21896 test -z "$ac_dir" && ac_dir=.
21897 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21898 lt_cv_path_LD="$ac_dir/$ac_prog"
21899 # Check to see if the program is GNU ld. I'd rather use --version,
21900 # but apparently some variants of GNU ld only accept -v.
21901 # Break only if it was the GNU/non-GNU ld that we prefer.
21902 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21903 *GNU* | *'with BFD'*)
21904 test "$with_gnu_ld" != no && break
21907 test "$with_gnu_ld" != yes && break
21909 esac
21911 done
21912 IFS="$lt_save_ifs"
21913 else
21914 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21918 LD="$lt_cv_path_LD"
21919 if test -n "$LD"; then
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21921 $as_echo "$LD" >&6; }
21922 else
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21924 $as_echo "no" >&6; }
21926 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21928 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21929 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21930 $as_echo_n "(cached) " >&6
21931 else
21932 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21933 case `$LD -v 2>&1 </dev/null` in
21934 *GNU* | *'with BFD'*)
21935 lt_cv_prog_gnu_ld=yes
21938 lt_cv_prog_gnu_ld=no
21940 esac
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21943 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21944 with_gnu_ld=$lt_cv_prog_gnu_ld
21952 # If we're not using GNU ld, then there's no point in even trying these
21953 # tests. Check for that first. We should have already tested for gld
21954 # by now (in libtool), but require it now just to be safe...
21955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21960 # The name set by libtool depends on the version of libtool. Shame on us
21961 # for depending on an impl detail, but c'est la vie. Older versions used
21962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21965 # set (hence we're using an older libtool), then set it.
21966 if test x${with_gnu_ld+set} != xset; then
21967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21969 with_gnu_ld=no
21970 else
21971 with_gnu_ld=$ac_cv_prog_gnu_ld
21975 # Start by getting the version number. I think the libtool test already
21976 # does some of this, but throws away the result.
21977 glibcxx_ld_is_gold=no
21978 if test x"$with_gnu_ld" = x"yes"; then
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21980 $as_echo_n "checking for ld version... " >&6; }
21982 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21983 glibcxx_ld_is_gold=yes
21985 ldver=`$LD --version 2>/dev/null |
21986 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'`
21988 glibcxx_gnu_ld_version=`echo $ldver | \
21989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21994 # Set --gc-sections.
21995 glibcxx_have_gc_sections=no
21996 if test "$glibcxx_ld_is_gold" = "yes"; then
21997 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21998 glibcxx_have_gc_sections=yes
22000 else
22001 glibcxx_gcsections_min_ld=21602
22002 if test x"$with_gnu_ld" = x"yes" &&
22003 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22004 glibcxx_have_gc_sections=yes
22007 if test "$glibcxx_have_gc_sections" = "yes"; then
22008 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22009 # NB: This flag only works reliably after 2.16.1. Configure tests
22010 # for this are difficult, so hard wire a value that should work.
22012 ac_test_CFLAGS="${CFLAGS+set}"
22013 ac_save_CFLAGS="$CFLAGS"
22014 CFLAGS='-Wl,--gc-sections'
22016 # Check for -Wl,--gc-sections
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22019 if test x$gcc_no_link = xyes; then
22020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22023 /* end confdefs.h. */
22024 int one(void) { return 1; }
22025 int two(void) { return 2; }
22028 main ()
22030 two();
22032 return 0;
22034 _ACEOF
22035 if ac_fn_c_try_link "$LINENO"; then :
22036 ac_gcsections=yes
22037 else
22038 ac_gcsections=no
22040 rm -f core conftest.err conftest.$ac_objext \
22041 conftest$ac_exeext conftest.$ac_ext
22042 if test "$ac_gcsections" = "yes"; then
22043 rm -f conftest.c
22044 touch conftest.c
22045 if $CC -c conftest.c; then
22046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22047 grep "Warning: gc-sections option ignored" > /dev/null; then
22048 ac_gcsections=no
22051 rm -f conftest.c conftest.o conftest
22053 if test "$ac_gcsections" = "yes"; then
22054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22057 $as_echo "$ac_gcsections" >&6; }
22059 if test "$ac_test_CFLAGS" = set; then
22060 CFLAGS="$ac_save_CFLAGS"
22061 else
22062 # this is the suspicious part
22063 CFLAGS=''
22067 # Set -z,relro.
22068 # Note this is only for shared objects.
22069 ac_ld_relro=no
22070 if test x"$with_gnu_ld" = x"yes"; then
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22074 if test -n "$cxx_z_relo"; then
22075 OPT_LDFLAGS="-Wl,-z,relro"
22076 ac_ld_relro=yes
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22079 $as_echo "$ac_ld_relro" >&6; }
22082 # Set linker optimization flags.
22083 if test x"$with_gnu_ld" = x"yes"; then
22084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22092 ac_save_CXXFLAGS="$CXXFLAGS"
22093 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22096 $as_echo_n "checking for sin in -lm... " >&6; }
22097 if test "${ac_cv_lib_m_sin+set}" = set; then :
22098 $as_echo_n "(cached) " >&6
22099 else
22100 ac_check_lib_save_LIBS=$LIBS
22101 LIBS="-lm $LIBS"
22102 if test x$gcc_no_link = xyes; then
22103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22108 /* Override any GCC internal prototype to avoid an error.
22109 Use char because int might match the return type of a GCC
22110 builtin and then its argument prototype would still apply. */
22111 #ifdef __cplusplus
22112 extern "C"
22113 #endif
22114 char sin ();
22116 main ()
22118 return sin ();
22120 return 0;
22122 _ACEOF
22123 if ac_fn_c_try_link "$LINENO"; then :
22124 ac_cv_lib_m_sin=yes
22125 else
22126 ac_cv_lib_m_sin=no
22128 rm -f core conftest.err conftest.$ac_objext \
22129 conftest$ac_exeext conftest.$ac_ext
22130 LIBS=$ac_check_lib_save_LIBS
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22133 $as_echo "$ac_cv_lib_m_sin" >&6; }
22134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22135 libm="-lm"
22138 ac_save_LIBS="$LIBS"
22139 LIBS="$LIBS $libm"
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22144 $as_echo_n "checking for isinf declaration... " >&6; }
22145 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22146 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22147 $as_echo_n "(cached) " >&6
22148 else
22151 ac_ext=cpp
22152 ac_cpp='$CXXCPP $CPPFLAGS'
22153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22158 /* end confdefs.h. */
22159 #include <math.h>
22160 #ifdef HAVE_IEEEFP_H
22161 #include <ieeefp.h>
22162 #endif
22165 main ()
22167 isinf(0);
22169 return 0;
22171 _ACEOF
22172 if ac_fn_cxx_try_compile "$LINENO"; then :
22173 glibcxx_cv_func_isinf_use=yes
22174 else
22175 glibcxx_cv_func_isinf_use=no
22177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22178 ac_ext=c
22179 ac_cpp='$CPP $CPPFLAGS'
22180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22191 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22192 for ac_func in isinf
22193 do :
22194 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22195 if test "x$ac_cv_func_isinf" = x""yes; then :
22196 cat >>confdefs.h <<_ACEOF
22197 #define HAVE_ISINF 1
22198 _ACEOF
22201 done
22203 else
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22206 $as_echo_n "checking for _isinf declaration... " >&6; }
22207 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22208 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22210 else
22213 ac_ext=cpp
22214 ac_cpp='$CXXCPP $CPPFLAGS'
22215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 #include <math.h>
22222 #ifdef HAVE_IEEEFP_H
22223 #include <ieeefp.h>
22224 #endif
22227 main ()
22229 _isinf(0);
22231 return 0;
22233 _ACEOF
22234 if ac_fn_cxx_try_compile "$LINENO"; then :
22235 glibcxx_cv_func__isinf_use=yes
22236 else
22237 glibcxx_cv_func__isinf_use=no
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 ac_ext=c
22241 ac_cpp='$CPP $CPPFLAGS'
22242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22253 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22254 for ac_func in _isinf
22255 do :
22256 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22257 if test "x$ac_cv_func__isinf" = x""yes; then :
22258 cat >>confdefs.h <<_ACEOF
22259 #define HAVE__ISINF 1
22260 _ACEOF
22263 done
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22273 $as_echo_n "checking for isnan declaration... " >&6; }
22274 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22275 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22276 $as_echo_n "(cached) " >&6
22277 else
22280 ac_ext=cpp
22281 ac_cpp='$CXXCPP $CPPFLAGS'
22282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22287 /* end confdefs.h. */
22288 #include <math.h>
22289 #ifdef HAVE_IEEEFP_H
22290 #include <ieeefp.h>
22291 #endif
22294 main ()
22296 isnan(0);
22298 return 0;
22300 _ACEOF
22301 if ac_fn_cxx_try_compile "$LINENO"; then :
22302 glibcxx_cv_func_isnan_use=yes
22303 else
22304 glibcxx_cv_func_isnan_use=no
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 ac_ext=c
22308 ac_cpp='$CPP $CPPFLAGS'
22309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22320 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22321 for ac_func in isnan
22322 do :
22323 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22324 if test "x$ac_cv_func_isnan" = x""yes; then :
22325 cat >>confdefs.h <<_ACEOF
22326 #define HAVE_ISNAN 1
22327 _ACEOF
22330 done
22332 else
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22335 $as_echo_n "checking for _isnan declaration... " >&6; }
22336 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22337 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22342 ac_ext=cpp
22343 ac_cpp='$CXXCPP $CPPFLAGS'
22344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22350 #include <math.h>
22351 #ifdef HAVE_IEEEFP_H
22352 #include <ieeefp.h>
22353 #endif
22356 main ()
22358 _isnan(0);
22360 return 0;
22362 _ACEOF
22363 if ac_fn_cxx_try_compile "$LINENO"; then :
22364 glibcxx_cv_func__isnan_use=yes
22365 else
22366 glibcxx_cv_func__isnan_use=no
22368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22369 ac_ext=c
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22382 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22383 for ac_func in _isnan
22384 do :
22385 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22386 if test "x$ac_cv_func__isnan" = x""yes; then :
22387 cat >>confdefs.h <<_ACEOF
22388 #define HAVE__ISNAN 1
22389 _ACEOF
22392 done
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22402 $as_echo_n "checking for finite declaration... " >&6; }
22403 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22404 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22405 $as_echo_n "(cached) " >&6
22406 else
22409 ac_ext=cpp
22410 ac_cpp='$CXXCPP $CPPFLAGS'
22411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22417 #include <math.h>
22418 #ifdef HAVE_IEEEFP_H
22419 #include <ieeefp.h>
22420 #endif
22423 main ()
22425 finite(0);
22427 return 0;
22429 _ACEOF
22430 if ac_fn_cxx_try_compile "$LINENO"; then :
22431 glibcxx_cv_func_finite_use=yes
22432 else
22433 glibcxx_cv_func_finite_use=no
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 ac_ext=c
22437 ac_cpp='$CPP $CPPFLAGS'
22438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22449 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22450 for ac_func in finite
22451 do :
22452 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22453 if test "x$ac_cv_func_finite" = x""yes; then :
22454 cat >>confdefs.h <<_ACEOF
22455 #define HAVE_FINITE 1
22456 _ACEOF
22459 done
22461 else
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22464 $as_echo_n "checking for _finite declaration... " >&6; }
22465 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22466 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22467 $as_echo_n "(cached) " >&6
22468 else
22471 ac_ext=cpp
22472 ac_cpp='$CXXCPP $CPPFLAGS'
22473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22479 #include <math.h>
22480 #ifdef HAVE_IEEEFP_H
22481 #include <ieeefp.h>
22482 #endif
22485 main ()
22487 _finite(0);
22489 return 0;
22491 _ACEOF
22492 if ac_fn_cxx_try_compile "$LINENO"; then :
22493 glibcxx_cv_func__finite_use=yes
22494 else
22495 glibcxx_cv_func__finite_use=no
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498 ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22511 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22512 for ac_func in _finite
22513 do :
22514 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22515 if test "x$ac_cv_func__finite" = x""yes; then :
22516 cat >>confdefs.h <<_ACEOF
22517 #define HAVE__FINITE 1
22518 _ACEOF
22521 done
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22531 $as_echo_n "checking for sincos declaration... " >&6; }
22532 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22533 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22534 $as_echo_n "(cached) " >&6
22535 else
22538 ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22546 #include <math.h>
22548 main ()
22550 sincos(0, 0, 0);
22552 return 0;
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556 glibcxx_cv_func_sincos_use=yes
22557 else
22558 glibcxx_cv_func_sincos_use=no
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561 ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22574 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22575 for ac_func in sincos
22576 do :
22577 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22578 if test "x$ac_cv_func_sincos" = x""yes; then :
22579 cat >>confdefs.h <<_ACEOF
22580 #define HAVE_SINCOS 1
22581 _ACEOF
22584 done
22586 else
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22589 $as_echo_n "checking for _sincos declaration... " >&6; }
22590 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22591 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22592 $as_echo_n "(cached) " >&6
22593 else
22596 ac_ext=cpp
22597 ac_cpp='$CXXCPP $CPPFLAGS'
22598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22603 /* end confdefs.h. */
22604 #include <math.h>
22606 main ()
22608 _sincos(0, 0, 0);
22610 return 0;
22612 _ACEOF
22613 if ac_fn_cxx_try_compile "$LINENO"; then :
22614 glibcxx_cv_func__sincos_use=yes
22615 else
22616 glibcxx_cv_func__sincos_use=no
22618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619 ac_ext=c
22620 ac_cpp='$CPP $CPPFLAGS'
22621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22632 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22633 for ac_func in _sincos
22634 do :
22635 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22636 if test "x$ac_cv_func__sincos" = x""yes; then :
22637 cat >>confdefs.h <<_ACEOF
22638 #define HAVE__SINCOS 1
22639 _ACEOF
22642 done
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22652 $as_echo_n "checking for fpclass declaration... " >&6; }
22653 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22654 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22655 $as_echo_n "(cached) " >&6
22656 else
22659 ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h. */
22667 #include <math.h>
22668 #ifdef HAVE_IEEEFP_H
22669 #include <ieeefp.h>
22670 #endif
22673 main ()
22675 fpclass(0);
22677 return 0;
22679 _ACEOF
22680 if ac_fn_cxx_try_compile "$LINENO"; then :
22681 glibcxx_cv_func_fpclass_use=yes
22682 else
22683 glibcxx_cv_func_fpclass_use=no
22685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686 ac_ext=c
22687 ac_cpp='$CPP $CPPFLAGS'
22688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22700 for ac_func in fpclass
22701 do :
22702 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22703 if test "x$ac_cv_func_fpclass" = x""yes; then :
22704 cat >>confdefs.h <<_ACEOF
22705 #define HAVE_FPCLASS 1
22706 _ACEOF
22709 done
22711 else
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22714 $as_echo_n "checking for _fpclass declaration... " >&6; }
22715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22718 else
22721 ac_ext=cpp
22722 ac_cpp='$CXXCPP $CPPFLAGS'
22723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h. */
22729 #include <math.h>
22730 #ifdef HAVE_IEEEFP_H
22731 #include <ieeefp.h>
22732 #endif
22735 main ()
22737 _fpclass(0);
22739 return 0;
22741 _ACEOF
22742 if ac_fn_cxx_try_compile "$LINENO"; then :
22743 glibcxx_cv_func__fpclass_use=yes
22744 else
22745 glibcxx_cv_func__fpclass_use=no
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748 ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22762 for ac_func in _fpclass
22763 do :
22764 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22765 if test "x$ac_cv_func__fpclass" = x""yes; then :
22766 cat >>confdefs.h <<_ACEOF
22767 #define HAVE__FPCLASS 1
22768 _ACEOF
22771 done
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22781 $as_echo_n "checking for qfpclass declaration... " >&6; }
22782 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22783 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22784 $as_echo_n "(cached) " >&6
22785 else
22788 ac_ext=cpp
22789 ac_cpp='$CXXCPP $CPPFLAGS'
22790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h. */
22796 #include <math.h>
22797 #ifdef HAVE_IEEEFP_H
22798 #include <ieeefp.h>
22799 #endif
22802 main ()
22804 qfpclass(0);
22806 return 0;
22808 _ACEOF
22809 if ac_fn_cxx_try_compile "$LINENO"; then :
22810 glibcxx_cv_func_qfpclass_use=yes
22811 else
22812 glibcxx_cv_func_qfpclass_use=no
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815 ac_ext=c
22816 ac_cpp='$CPP $CPPFLAGS'
22817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22828 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22829 for ac_func in qfpclass
22830 do :
22831 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22833 cat >>confdefs.h <<_ACEOF
22834 #define HAVE_QFPCLASS 1
22835 _ACEOF
22838 done
22840 else
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22844 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22845 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22846 $as_echo_n "(cached) " >&6
22847 else
22850 ac_ext=cpp
22851 ac_cpp='$CXXCPP $CPPFLAGS'
22852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h. */
22858 #include <math.h>
22859 #ifdef HAVE_IEEEFP_H
22860 #include <ieeefp.h>
22861 #endif
22864 main ()
22866 _qfpclass(0);
22868 return 0;
22870 _ACEOF
22871 if ac_fn_cxx_try_compile "$LINENO"; then :
22872 glibcxx_cv_func__qfpclass_use=yes
22873 else
22874 glibcxx_cv_func__qfpclass_use=no
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22890 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22891 for ac_func in _qfpclass
22892 do :
22893 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22895 cat >>confdefs.h <<_ACEOF
22896 #define HAVE__QFPCLASS 1
22897 _ACEOF
22900 done
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22910 $as_echo_n "checking for hypot declaration... " >&6; }
22911 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22912 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22913 $as_echo_n "(cached) " >&6
22914 else
22917 ac_ext=cpp
22918 ac_cpp='$CXXCPP $CPPFLAGS'
22919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22924 /* end confdefs.h. */
22925 #include <math.h>
22927 main ()
22929 hypot(0, 0);
22931 return 0;
22933 _ACEOF
22934 if ac_fn_cxx_try_compile "$LINENO"; then :
22935 glibcxx_cv_func_hypot_use=yes
22936 else
22937 glibcxx_cv_func_hypot_use=no
22939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22940 ac_ext=c
22941 ac_cpp='$CPP $CPPFLAGS'
22942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22953 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22954 for ac_func in hypot
22955 do :
22956 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22957 if test "x$ac_cv_func_hypot" = x""yes; then :
22958 cat >>confdefs.h <<_ACEOF
22959 #define HAVE_HYPOT 1
22960 _ACEOF
22963 done
22965 else
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22968 $as_echo_n "checking for _hypot declaration... " >&6; }
22969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22970 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22971 $as_echo_n "(cached) " >&6
22972 else
22975 ac_ext=cpp
22976 ac_cpp='$CXXCPP $CPPFLAGS'
22977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22983 #include <math.h>
22985 main ()
22987 _hypot(0, 0);
22989 return 0;
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993 glibcxx_cv_func__hypot_use=yes
22994 else
22995 glibcxx_cv_func__hypot_use=no
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998 ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23011 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23012 for ac_func in _hypot
23013 do :
23014 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23015 if test "x$ac_cv_func__hypot" = x""yes; then :
23016 cat >>confdefs.h <<_ACEOF
23017 #define HAVE__HYPOT 1
23018 _ACEOF
23021 done
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23031 $as_echo_n "checking for float trig functions... " >&6; }
23032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23033 $as_echo_n "(cached) " >&6
23034 else
23037 ac_ext=cpp
23038 ac_cpp='$CXXCPP $CPPFLAGS'
23039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23044 /* end confdefs.h. */
23045 #include <math.h>
23047 main ()
23049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23051 return 0;
23053 _ACEOF
23054 if ac_fn_cxx_try_compile "$LINENO"; then :
23055 glibcxx_cv_func_float_trig_use=yes
23056 else
23057 glibcxx_cv_func_float_trig_use=no
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060 ac_ext=c
23061 ac_cpp='$CPP $CPPFLAGS'
23062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23070 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23071 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23072 do :
23073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23075 eval as_val=\$$as_ac_var
23076 if test "x$as_val" = x""yes; then :
23077 cat >>confdefs.h <<_ACEOF
23078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23079 _ACEOF
23082 done
23084 else
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23086 $as_echo_n "checking for _float trig functions... " >&6; }
23087 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23088 $as_echo_n "(cached) " >&6
23089 else
23092 ac_ext=cpp
23093 ac_cpp='$CXXCPP $CPPFLAGS'
23094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23099 /* end confdefs.h. */
23100 #include <math.h>
23102 main ()
23104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23106 return 0;
23108 _ACEOF
23109 if ac_fn_cxx_try_compile "$LINENO"; then :
23110 glibcxx_cv_func__float_trig_use=yes
23111 else
23112 glibcxx_cv_func__float_trig_use=no
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23115 ac_ext=c
23116 ac_cpp='$CPP $CPPFLAGS'
23117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23127 do :
23128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23130 eval as_val=\$$as_ac_var
23131 if test "x$as_val" = x""yes; then :
23132 cat >>confdefs.h <<_ACEOF
23133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23134 _ACEOF
23137 done
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23147 $as_echo_n "checking for float round functions... " >&6; }
23148 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23149 $as_echo_n "(cached) " >&6
23150 else
23153 ac_ext=cpp
23154 ac_cpp='$CXXCPP $CPPFLAGS'
23155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h. */
23161 #include <math.h>
23163 main ()
23165 ceilf (0); floorf (0);
23167 return 0;
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171 glibcxx_cv_func_float_round_use=yes
23172 else
23173 glibcxx_cv_func_float_round_use=no
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176 ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23186 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23187 for ac_func in ceilf floorf
23188 do :
23189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23191 eval as_val=\$$as_ac_var
23192 if test "x$as_val" = x""yes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23195 _ACEOF
23198 done
23200 else
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23202 $as_echo_n "checking for _float round functions... " >&6; }
23203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23204 $as_echo_n "(cached) " >&6
23205 else
23208 ac_ext=cpp
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h. */
23216 #include <math.h>
23218 main ()
23220 _ceilf (0); _floorf (0);
23222 return 0;
23224 _ACEOF
23225 if ac_fn_cxx_try_compile "$LINENO"; then :
23226 glibcxx_cv_func__float_round_use=yes
23227 else
23228 glibcxx_cv_func__float_round_use=no
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 ac_ext=c
23232 ac_cpp='$CPP $CPPFLAGS'
23233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23242 for ac_func in _ceilf _floorf
23243 do :
23244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23246 eval as_val=\$$as_ac_var
23247 if test "x$as_val" = x""yes; then :
23248 cat >>confdefs.h <<_ACEOF
23249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23250 _ACEOF
23253 done
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23264 $as_echo_n "checking for expf declaration... " >&6; }
23265 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23266 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23268 else
23271 ac_ext=cpp
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h. */
23279 #include <math.h>
23280 #ifdef HAVE_IEEEFP_H
23281 #include <ieeefp.h>
23282 #endif
23285 main ()
23287 expf(0);
23289 return 0;
23291 _ACEOF
23292 if ac_fn_cxx_try_compile "$LINENO"; then :
23293 glibcxx_cv_func_expf_use=yes
23294 else
23295 glibcxx_cv_func_expf_use=no
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298 ac_ext=c
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23312 for ac_func in expf
23313 do :
23314 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23315 if test "x$ac_cv_func_expf" = x""yes; then :
23316 cat >>confdefs.h <<_ACEOF
23317 #define HAVE_EXPF 1
23318 _ACEOF
23321 done
23323 else
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23326 $as_echo_n "checking for _expf declaration... " >&6; }
23327 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23328 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23329 $as_echo_n "(cached) " >&6
23330 else
23333 ac_ext=cpp
23334 ac_cpp='$CXXCPP $CPPFLAGS'
23335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h. */
23341 #include <math.h>
23342 #ifdef HAVE_IEEEFP_H
23343 #include <ieeefp.h>
23344 #endif
23347 main ()
23349 _expf(0);
23351 return 0;
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355 glibcxx_cv_func__expf_use=yes
23356 else
23357 glibcxx_cv_func__expf_use=no
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23373 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23374 for ac_func in _expf
23375 do :
23376 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23377 if test "x$ac_cv_func__expf" = x""yes; then :
23378 cat >>confdefs.h <<_ACEOF
23379 #define HAVE__EXPF 1
23380 _ACEOF
23383 done
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23393 $as_echo_n "checking for isnanf declaration... " >&6; }
23394 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23395 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23396 $as_echo_n "(cached) " >&6
23397 else
23400 ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408 #include <math.h>
23409 #ifdef HAVE_IEEEFP_H
23410 #include <ieeefp.h>
23411 #endif
23414 main ()
23416 isnanf(0);
23418 return 0;
23420 _ACEOF
23421 if ac_fn_cxx_try_compile "$LINENO"; then :
23422 glibcxx_cv_func_isnanf_use=yes
23423 else
23424 glibcxx_cv_func_isnanf_use=no
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 ac_ext=c
23428 ac_cpp='$CPP $CPPFLAGS'
23429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23440 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23441 for ac_func in isnanf
23442 do :
23443 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23444 if test "x$ac_cv_func_isnanf" = x""yes; then :
23445 cat >>confdefs.h <<_ACEOF
23446 #define HAVE_ISNANF 1
23447 _ACEOF
23450 done
23452 else
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23455 $as_echo_n "checking for _isnanf declaration... " >&6; }
23456 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23457 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23458 $as_echo_n "(cached) " >&6
23459 else
23462 ac_ext=cpp
23463 ac_cpp='$CXXCPP $CPPFLAGS'
23464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h. */
23470 #include <math.h>
23471 #ifdef HAVE_IEEEFP_H
23472 #include <ieeefp.h>
23473 #endif
23476 main ()
23478 _isnanf(0);
23480 return 0;
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484 glibcxx_cv_func__isnanf_use=yes
23485 else
23486 glibcxx_cv_func__isnanf_use=no
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23502 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23503 for ac_func in _isnanf
23504 do :
23505 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23506 if test "x$ac_cv_func__isnanf" = x""yes; then :
23507 cat >>confdefs.h <<_ACEOF
23508 #define HAVE__ISNANF 1
23509 _ACEOF
23512 done
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23522 $as_echo_n "checking for isinff declaration... " >&6; }
23523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23543 main ()
23545 isinff(0);
23547 return 0;
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func_isinff_use=yes
23552 else
23553 glibcxx_cv_func_isinff_use=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23569 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23570 for ac_func in isinff
23571 do :
23572 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23573 if test "x$ac_cv_func_isinff" = x""yes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE_ISINFF 1
23576 _ACEOF
23579 done
23581 else
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23584 $as_echo_n "checking for _isinff declaration... " >&6; }
23585 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23586 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23587 $as_echo_n "(cached) " >&6
23588 else
23591 ac_ext=cpp
23592 ac_cpp='$CXXCPP $CPPFLAGS'
23593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23599 #include <math.h>
23600 #ifdef HAVE_IEEEFP_H
23601 #include <ieeefp.h>
23602 #endif
23605 main ()
23607 _isinff(0);
23609 return 0;
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613 glibcxx_cv_func__isinff_use=yes
23614 else
23615 glibcxx_cv_func__isinff_use=no
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23631 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23632 for ac_func in _isinff
23633 do :
23634 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23635 if test "x$ac_cv_func__isinff" = x""yes; then :
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE__ISINFF 1
23638 _ACEOF
23641 done
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23651 $as_echo_n "checking for atan2f declaration... " >&6; }
23652 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23653 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23654 $as_echo_n "(cached) " >&6
23655 else
23658 ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23666 #include <math.h>
23668 main ()
23670 atan2f(0, 0);
23672 return 0;
23674 _ACEOF
23675 if ac_fn_cxx_try_compile "$LINENO"; then :
23676 glibcxx_cv_func_atan2f_use=yes
23677 else
23678 glibcxx_cv_func_atan2f_use=no
23680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 ac_ext=c
23682 ac_cpp='$CPP $CPPFLAGS'
23683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23695 for ac_func in atan2f
23696 do :
23697 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23698 if test "x$ac_cv_func_atan2f" = x""yes; then :
23699 cat >>confdefs.h <<_ACEOF
23700 #define HAVE_ATAN2F 1
23701 _ACEOF
23704 done
23706 else
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23709 $as_echo_n "checking for _atan2f declaration... " >&6; }
23710 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23711 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23712 $as_echo_n "(cached) " >&6
23713 else
23716 ac_ext=cpp
23717 ac_cpp='$CXXCPP $CPPFLAGS'
23718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h. */
23724 #include <math.h>
23726 main ()
23728 _atan2f(0, 0);
23730 return 0;
23732 _ACEOF
23733 if ac_fn_cxx_try_compile "$LINENO"; then :
23734 glibcxx_cv_func__atan2f_use=yes
23735 else
23736 glibcxx_cv_func__atan2f_use=no
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 ac_ext=c
23740 ac_cpp='$CPP $CPPFLAGS'
23741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23752 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23753 for ac_func in _atan2f
23754 do :
23755 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23756 if test "x$ac_cv_func__atan2f" = x""yes; then :
23757 cat >>confdefs.h <<_ACEOF
23758 #define HAVE__ATAN2F 1
23759 _ACEOF
23762 done
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23772 $as_echo_n "checking for fabsf declaration... " >&6; }
23773 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23774 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23775 $as_echo_n "(cached) " >&6
23776 else
23779 ac_ext=cpp
23780 ac_cpp='$CXXCPP $CPPFLAGS'
23781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23786 /* end confdefs.h. */
23787 #include <math.h>
23788 #ifdef HAVE_IEEEFP_H
23789 #include <ieeefp.h>
23790 #endif
23793 main ()
23795 fabsf(0);
23797 return 0;
23799 _ACEOF
23800 if ac_fn_cxx_try_compile "$LINENO"; then :
23801 glibcxx_cv_func_fabsf_use=yes
23802 else
23803 glibcxx_cv_func_fabsf_use=no
23805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23806 ac_ext=c
23807 ac_cpp='$CPP $CPPFLAGS'
23808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23820 for ac_func in fabsf
23821 do :
23822 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23823 if test "x$ac_cv_func_fabsf" = x""yes; then :
23824 cat >>confdefs.h <<_ACEOF
23825 #define HAVE_FABSF 1
23826 _ACEOF
23829 done
23831 else
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23834 $as_echo_n "checking for _fabsf declaration... " >&6; }
23835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23837 $as_echo_n "(cached) " >&6
23838 else
23841 ac_ext=cpp
23842 ac_cpp='$CXXCPP $CPPFLAGS'
23843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23848 /* end confdefs.h. */
23849 #include <math.h>
23850 #ifdef HAVE_IEEEFP_H
23851 #include <ieeefp.h>
23852 #endif
23855 main ()
23857 _fabsf(0);
23859 return 0;
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863 glibcxx_cv_func__fabsf_use=yes
23864 else
23865 glibcxx_cv_func__fabsf_use=no
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868 ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23881 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23882 for ac_func in _fabsf
23883 do :
23884 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23885 if test "x$ac_cv_func__fabsf" = x""yes; then :
23886 cat >>confdefs.h <<_ACEOF
23887 #define HAVE__FABSF 1
23888 _ACEOF
23891 done
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23901 $as_echo_n "checking for fmodf declaration... " >&6; }
23902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23904 $as_echo_n "(cached) " >&6
23905 else
23908 ac_ext=cpp
23909 ac_cpp='$CXXCPP $CPPFLAGS'
23910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h. */
23916 #include <math.h>
23918 main ()
23920 fmodf(0, 0);
23922 return 0;
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926 glibcxx_cv_func_fmodf_use=yes
23927 else
23928 glibcxx_cv_func_fmodf_use=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23944 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23945 for ac_func in fmodf
23946 do :
23947 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23948 if test "x$ac_cv_func_fmodf" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define HAVE_FMODF 1
23951 _ACEOF
23954 done
23956 else
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23959 $as_echo_n "checking for _fmodf declaration... " >&6; }
23960 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23961 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23963 else
23966 ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h. */
23974 #include <math.h>
23976 main ()
23978 _fmodf(0, 0);
23980 return 0;
23982 _ACEOF
23983 if ac_fn_cxx_try_compile "$LINENO"; then :
23984 glibcxx_cv_func__fmodf_use=yes
23985 else
23986 glibcxx_cv_func__fmodf_use=no
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23989 ac_ext=c
23990 ac_cpp='$CPP $CPPFLAGS'
23991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24002 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24003 for ac_func in _fmodf
24004 do :
24005 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24006 if test "x$ac_cv_func__fmodf" = x""yes; then :
24007 cat >>confdefs.h <<_ACEOF
24008 #define HAVE__FMODF 1
24009 _ACEOF
24012 done
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24022 $as_echo_n "checking for frexpf declaration... " >&6; }
24023 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24024 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24025 $as_echo_n "(cached) " >&6
24026 else
24029 ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h. */
24037 #include <math.h>
24039 main ()
24041 frexpf(0, 0);
24043 return 0;
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047 glibcxx_cv_func_frexpf_use=yes
24048 else
24049 glibcxx_cv_func_frexpf_use=no
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052 ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24065 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24066 for ac_func in frexpf
24067 do :
24068 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24069 if test "x$ac_cv_func_frexpf" = x""yes; then :
24070 cat >>confdefs.h <<_ACEOF
24071 #define HAVE_FREXPF 1
24072 _ACEOF
24075 done
24077 else
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24080 $as_echo_n "checking for _frexpf declaration... " >&6; }
24081 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24082 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24084 else
24087 ac_ext=cpp
24088 ac_cpp='$CXXCPP $CPPFLAGS'
24089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24094 /* end confdefs.h. */
24095 #include <math.h>
24097 main ()
24099 _frexpf(0, 0);
24101 return 0;
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105 glibcxx_cv_func__frexpf_use=yes
24106 else
24107 glibcxx_cv_func__frexpf_use=no
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24123 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24124 for ac_func in _frexpf
24125 do :
24126 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24127 if test "x$ac_cv_func__frexpf" = x""yes; then :
24128 cat >>confdefs.h <<_ACEOF
24129 #define HAVE__FREXPF 1
24130 _ACEOF
24133 done
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24143 $as_echo_n "checking for hypotf declaration... " >&6; }
24144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24147 else
24150 ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h. */
24158 #include <math.h>
24160 main ()
24162 hypotf(0, 0);
24164 return 0;
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168 glibcxx_cv_func_hypotf_use=yes
24169 else
24170 glibcxx_cv_func_hypotf_use=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24186 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24187 for ac_func in hypotf
24188 do :
24189 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24190 if test "x$ac_cv_func_hypotf" = x""yes; then :
24191 cat >>confdefs.h <<_ACEOF
24192 #define HAVE_HYPOTF 1
24193 _ACEOF
24196 done
24198 else
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24201 $as_echo_n "checking for _hypotf declaration... " >&6; }
24202 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24203 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24204 $as_echo_n "(cached) " >&6
24205 else
24208 ac_ext=cpp
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h. */
24216 #include <math.h>
24218 main ()
24220 _hypotf(0, 0);
24222 return 0;
24224 _ACEOF
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24226 glibcxx_cv_func__hypotf_use=yes
24227 else
24228 glibcxx_cv_func__hypotf_use=no
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 ac_ext=c
24232 ac_cpp='$CPP $CPPFLAGS'
24233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24245 for ac_func in _hypotf
24246 do :
24247 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24248 if test "x$ac_cv_func__hypotf" = x""yes; then :
24249 cat >>confdefs.h <<_ACEOF
24250 #define HAVE__HYPOTF 1
24251 _ACEOF
24254 done
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24264 $as_echo_n "checking for ldexpf declaration... " >&6; }
24265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24281 main ()
24283 ldexpf(0, 0);
24285 return 0;
24287 _ACEOF
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289 glibcxx_cv_func_ldexpf_use=yes
24290 else
24291 glibcxx_cv_func_ldexpf_use=no
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 ac_ext=c
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24308 for ac_func in ldexpf
24309 do :
24310 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24312 cat >>confdefs.h <<_ACEOF
24313 #define HAVE_LDEXPF 1
24314 _ACEOF
24317 done
24319 else
24321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24323 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24324 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24325 $as_echo_n "(cached) " >&6
24326 else
24329 ac_ext=cpp
24330 ac_cpp='$CXXCPP $CPPFLAGS'
24331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24336 /* end confdefs.h. */
24337 #include <math.h>
24339 main ()
24341 _ldexpf(0, 0);
24343 return 0;
24345 _ACEOF
24346 if ac_fn_cxx_try_compile "$LINENO"; then :
24347 glibcxx_cv_func__ldexpf_use=yes
24348 else
24349 glibcxx_cv_func__ldexpf_use=no
24351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24352 ac_ext=c
24353 ac_cpp='$CPP $CPPFLAGS'
24354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24365 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24366 for ac_func in _ldexpf
24367 do :
24368 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24370 cat >>confdefs.h <<_ACEOF
24371 #define HAVE__LDEXPF 1
24372 _ACEOF
24375 done
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24385 $as_echo_n "checking for logf declaration... " >&6; }
24386 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24387 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24389 else
24392 ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400 #include <math.h>
24401 #ifdef HAVE_IEEEFP_H
24402 #include <ieeefp.h>
24403 #endif
24406 main ()
24408 logf(0);
24410 return 0;
24412 _ACEOF
24413 if ac_fn_cxx_try_compile "$LINENO"; then :
24414 glibcxx_cv_func_logf_use=yes
24415 else
24416 glibcxx_cv_func_logf_use=no
24418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419 ac_ext=c
24420 ac_cpp='$CPP $CPPFLAGS'
24421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24432 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24433 for ac_func in logf
24434 do :
24435 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24436 if test "x$ac_cv_func_logf" = x""yes; then :
24437 cat >>confdefs.h <<_ACEOF
24438 #define HAVE_LOGF 1
24439 _ACEOF
24442 done
24444 else
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24447 $as_echo_n "checking for _logf declaration... " >&6; }
24448 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24449 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24450 $as_echo_n "(cached) " >&6
24451 else
24454 ac_ext=cpp
24455 ac_cpp='$CXXCPP $CPPFLAGS'
24456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24461 /* end confdefs.h. */
24462 #include <math.h>
24463 #ifdef HAVE_IEEEFP_H
24464 #include <ieeefp.h>
24465 #endif
24468 main ()
24470 _logf(0);
24472 return 0;
24474 _ACEOF
24475 if ac_fn_cxx_try_compile "$LINENO"; then :
24476 glibcxx_cv_func__logf_use=yes
24477 else
24478 glibcxx_cv_func__logf_use=no
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481 ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24495 for ac_func in _logf
24496 do :
24497 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24498 if test "x$ac_cv_func__logf" = x""yes; then :
24499 cat >>confdefs.h <<_ACEOF
24500 #define HAVE__LOGF 1
24501 _ACEOF
24504 done
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24514 $as_echo_n "checking for log10f declaration... " >&6; }
24515 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24516 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24517 $as_echo_n "(cached) " >&6
24518 else
24521 ac_ext=cpp
24522 ac_cpp='$CXXCPP $CPPFLAGS'
24523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24528 /* end confdefs.h. */
24529 #include <math.h>
24530 #ifdef HAVE_IEEEFP_H
24531 #include <ieeefp.h>
24532 #endif
24535 main ()
24537 log10f(0);
24539 return 0;
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543 glibcxx_cv_func_log10f_use=yes
24544 else
24545 glibcxx_cv_func_log10f_use=no
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24561 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24562 for ac_func in log10f
24563 do :
24564 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24565 if test "x$ac_cv_func_log10f" = x""yes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE_LOG10F 1
24568 _ACEOF
24571 done
24573 else
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24576 $as_echo_n "checking for _log10f declaration... " >&6; }
24577 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24578 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24579 $as_echo_n "(cached) " >&6
24580 else
24583 ac_ext=cpp
24584 ac_cpp='$CXXCPP $CPPFLAGS'
24585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24590 /* end confdefs.h. */
24591 #include <math.h>
24592 #ifdef HAVE_IEEEFP_H
24593 #include <ieeefp.h>
24594 #endif
24597 main ()
24599 _log10f(0);
24601 return 0;
24603 _ACEOF
24604 if ac_fn_cxx_try_compile "$LINENO"; then :
24605 glibcxx_cv_func__log10f_use=yes
24606 else
24607 glibcxx_cv_func__log10f_use=no
24609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610 ac_ext=c
24611 ac_cpp='$CPP $CPPFLAGS'
24612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24624 for ac_func in _log10f
24625 do :
24626 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24627 if test "x$ac_cv_func__log10f" = x""yes; then :
24628 cat >>confdefs.h <<_ACEOF
24629 #define HAVE__LOG10F 1
24630 _ACEOF
24633 done
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24643 $as_echo_n "checking for modff declaration... " >&6; }
24644 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24645 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24660 main ()
24662 modff(0, 0);
24664 return 0;
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668 glibcxx_cv_func_modff_use=yes
24669 else
24670 glibcxx_cv_func_modff_use=no
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673 ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24687 for ac_func in modff
24688 do :
24689 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24690 if test "x$ac_cv_func_modff" = x""yes; then :
24691 cat >>confdefs.h <<_ACEOF
24692 #define HAVE_MODFF 1
24693 _ACEOF
24696 done
24698 else
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24701 $as_echo_n "checking for _modff declaration... " >&6; }
24702 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24703 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24704 $as_echo_n "(cached) " >&6
24705 else
24708 ac_ext=cpp
24709 ac_cpp='$CXXCPP $CPPFLAGS'
24710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24716 #include <math.h>
24718 main ()
24720 _modff(0, 0);
24722 return 0;
24724 _ACEOF
24725 if ac_fn_cxx_try_compile "$LINENO"; then :
24726 glibcxx_cv_func__modff_use=yes
24727 else
24728 glibcxx_cv_func__modff_use=no
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731 ac_ext=c
24732 ac_cpp='$CPP $CPPFLAGS'
24733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24744 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24745 for ac_func in _modff
24746 do :
24747 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24748 if test "x$ac_cv_func__modff" = x""yes; then :
24749 cat >>confdefs.h <<_ACEOF
24750 #define HAVE__MODFF 1
24751 _ACEOF
24754 done
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24764 $as_echo_n "checking for modf declaration... " >&6; }
24765 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24766 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24767 $as_echo_n "(cached) " >&6
24768 else
24771 ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h. */
24779 #include <math.h>
24781 main ()
24783 modf(0, 0);
24785 return 0;
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789 glibcxx_cv_func_modf_use=yes
24790 else
24791 glibcxx_cv_func_modf_use=no
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794 ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24807 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24808 for ac_func in modf
24809 do :
24810 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24811 if test "x$ac_cv_func_modf" = x""yes; then :
24812 cat >>confdefs.h <<_ACEOF
24813 #define HAVE_MODF 1
24814 _ACEOF
24817 done
24819 else
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24822 $as_echo_n "checking for _modf declaration... " >&6; }
24823 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24824 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24825 $as_echo_n "(cached) " >&6
24826 else
24829 ac_ext=cpp
24830 ac_cpp='$CXXCPP $CPPFLAGS'
24831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h. */
24837 #include <math.h>
24839 main ()
24841 _modf(0, 0);
24843 return 0;
24845 _ACEOF
24846 if ac_fn_cxx_try_compile "$LINENO"; then :
24847 glibcxx_cv_func__modf_use=yes
24848 else
24849 glibcxx_cv_func__modf_use=no
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852 ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24865 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24866 for ac_func in _modf
24867 do :
24868 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24869 if test "x$ac_cv_func__modf" = x""yes; then :
24870 cat >>confdefs.h <<_ACEOF
24871 #define HAVE__MODF 1
24872 _ACEOF
24875 done
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24885 $as_echo_n "checking for powf declaration... " >&6; }
24886 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24887 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24888 $as_echo_n "(cached) " >&6
24889 else
24892 ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h. */
24900 #include <math.h>
24902 main ()
24904 powf(0, 0);
24906 return 0;
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func_powf_use=yes
24911 else
24912 glibcxx_cv_func_powf_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24928 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24929 for ac_func in powf
24930 do :
24931 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24932 if test "x$ac_cv_func_powf" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE_POWF 1
24935 _ACEOF
24938 done
24940 else
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24943 $as_echo_n "checking for _powf declaration... " >&6; }
24944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24945 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24958 #include <math.h>
24960 main ()
24962 _powf(0, 0);
24964 return 0;
24966 _ACEOF
24967 if ac_fn_cxx_try_compile "$LINENO"; then :
24968 glibcxx_cv_func__powf_use=yes
24969 else
24970 glibcxx_cv_func__powf_use=no
24972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24973 ac_ext=c
24974 ac_cpp='$CPP $CPPFLAGS'
24975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24986 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24987 for ac_func in _powf
24988 do :
24989 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24990 if test "x$ac_cv_func__powf" = x""yes; then :
24991 cat >>confdefs.h <<_ACEOF
24992 #define HAVE__POWF 1
24993 _ACEOF
24996 done
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25006 $as_echo_n "checking for sqrtf declaration... " >&6; }
25007 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25008 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25009 $as_echo_n "(cached) " >&6
25010 else
25013 ac_ext=cpp
25014 ac_cpp='$CXXCPP $CPPFLAGS'
25015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25020 /* end confdefs.h. */
25021 #include <math.h>
25022 #ifdef HAVE_IEEEFP_H
25023 #include <ieeefp.h>
25024 #endif
25027 main ()
25029 sqrtf(0);
25031 return 0;
25033 _ACEOF
25034 if ac_fn_cxx_try_compile "$LINENO"; then :
25035 glibcxx_cv_func_sqrtf_use=yes
25036 else
25037 glibcxx_cv_func_sqrtf_use=no
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040 ac_ext=c
25041 ac_cpp='$CPP $CPPFLAGS'
25042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25053 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25054 for ac_func in sqrtf
25055 do :
25056 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25058 cat >>confdefs.h <<_ACEOF
25059 #define HAVE_SQRTF 1
25060 _ACEOF
25063 done
25065 else
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25069 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25070 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25072 else
25075 ac_ext=cpp
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083 #include <math.h>
25084 #ifdef HAVE_IEEEFP_H
25085 #include <ieeefp.h>
25086 #endif
25089 main ()
25091 _sqrtf(0);
25093 return 0;
25095 _ACEOF
25096 if ac_fn_cxx_try_compile "$LINENO"; then :
25097 glibcxx_cv_func__sqrtf_use=yes
25098 else
25099 glibcxx_cv_func__sqrtf_use=no
25101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25102 ac_ext=c
25103 ac_cpp='$CPP $CPPFLAGS'
25104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25115 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25116 for ac_func in _sqrtf
25117 do :
25118 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25120 cat >>confdefs.h <<_ACEOF
25121 #define HAVE__SQRTF 1
25122 _ACEOF
25125 done
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25135 $as_echo_n "checking for sincosf declaration... " >&6; }
25136 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25137 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25138 $as_echo_n "(cached) " >&6
25139 else
25142 ac_ext=cpp
25143 ac_cpp='$CXXCPP $CPPFLAGS'
25144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25150 #include <math.h>
25152 main ()
25154 sincosf(0, 0, 0);
25156 return 0;
25158 _ACEOF
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func_sincosf_use=yes
25161 else
25162 glibcxx_cv_func_sincosf_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165 ac_ext=c
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25178 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25179 for ac_func in sincosf
25180 do :
25181 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25182 if test "x$ac_cv_func_sincosf" = x""yes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE_SINCOSF 1
25185 _ACEOF
25188 done
25190 else
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25193 $as_echo_n "checking for _sincosf declaration... " >&6; }
25194 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25195 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25196 $as_echo_n "(cached) " >&6
25197 else
25200 ac_ext=cpp
25201 ac_cpp='$CXXCPP $CPPFLAGS'
25202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25208 #include <math.h>
25210 main ()
25212 _sincosf(0, 0, 0);
25214 return 0;
25216 _ACEOF
25217 if ac_fn_cxx_try_compile "$LINENO"; then :
25218 glibcxx_cv_func__sincosf_use=yes
25219 else
25220 glibcxx_cv_func__sincosf_use=no
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25223 ac_ext=c
25224 ac_cpp='$CPP $CPPFLAGS'
25225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25237 for ac_func in _sincosf
25238 do :
25239 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25240 if test "x$ac_cv_func__sincosf" = x""yes; then :
25241 cat >>confdefs.h <<_ACEOF
25242 #define HAVE__SINCOSF 1
25243 _ACEOF
25246 done
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25256 $as_echo_n "checking for finitef declaration... " >&6; }
25257 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25258 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25259 $as_echo_n "(cached) " >&6
25260 else
25263 ac_ext=cpp
25264 ac_cpp='$CXXCPP $CPPFLAGS'
25265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25270 /* end confdefs.h. */
25271 #include <math.h>
25272 #ifdef HAVE_IEEEFP_H
25273 #include <ieeefp.h>
25274 #endif
25277 main ()
25279 finitef(0);
25281 return 0;
25283 _ACEOF
25284 if ac_fn_cxx_try_compile "$LINENO"; then :
25285 glibcxx_cv_func_finitef_use=yes
25286 else
25287 glibcxx_cv_func_finitef_use=no
25289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25290 ac_ext=c
25291 ac_cpp='$CPP $CPPFLAGS'
25292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25303 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25304 for ac_func in finitef
25305 do :
25306 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25307 if test "x$ac_cv_func_finitef" = x""yes; then :
25308 cat >>confdefs.h <<_ACEOF
25309 #define HAVE_FINITEF 1
25310 _ACEOF
25313 done
25315 else
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25318 $as_echo_n "checking for _finitef declaration... " >&6; }
25319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25321 $as_echo_n "(cached) " >&6
25322 else
25325 ac_ext=cpp
25326 ac_cpp='$CXXCPP $CPPFLAGS'
25327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25332 /* end confdefs.h. */
25333 #include <math.h>
25334 #ifdef HAVE_IEEEFP_H
25335 #include <ieeefp.h>
25336 #endif
25339 main ()
25341 _finitef(0);
25343 return 0;
25345 _ACEOF
25346 if ac_fn_cxx_try_compile "$LINENO"; then :
25347 glibcxx_cv_func__finitef_use=yes
25348 else
25349 glibcxx_cv_func__finitef_use=no
25351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352 ac_ext=c
25353 ac_cpp='$CPP $CPPFLAGS'
25354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25365 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25366 for ac_func in _finitef
25367 do :
25368 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25369 if test "x$ac_cv_func__finitef" = x""yes; then :
25370 cat >>confdefs.h <<_ACEOF
25371 #define HAVE__FINITEF 1
25372 _ACEOF
25375 done
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25385 $as_echo_n "checking for long double trig functions... " >&6; }
25386 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25387 $as_echo_n "(cached) " >&6
25388 else
25391 ac_ext=cpp
25392 ac_cpp='$CXXCPP $CPPFLAGS'
25393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25398 /* end confdefs.h. */
25399 #include <math.h>
25401 main ()
25403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25405 return 0;
25407 _ACEOF
25408 if ac_fn_cxx_try_compile "$LINENO"; then :
25409 glibcxx_cv_func_long_double_trig_use=yes
25410 else
25411 glibcxx_cv_func_long_double_trig_use=no
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25414 ac_ext=c
25415 ac_cpp='$CPP $CPPFLAGS'
25416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25425 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25426 do :
25427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25429 eval as_val=\$$as_ac_var
25430 if test "x$as_val" = x""yes; then :
25431 cat >>confdefs.h <<_ACEOF
25432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25433 _ACEOF
25436 done
25438 else
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25440 $as_echo_n "checking for _long double trig functions... " >&6; }
25441 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25442 $as_echo_n "(cached) " >&6
25443 else
25446 ac_ext=cpp
25447 ac_cpp='$CXXCPP $CPPFLAGS'
25448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25453 /* end confdefs.h. */
25454 #include <math.h>
25456 main ()
25458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25460 return 0;
25462 _ACEOF
25463 if ac_fn_cxx_try_compile "$LINENO"; then :
25464 glibcxx_cv_func__long_double_trig_use=yes
25465 else
25466 glibcxx_cv_func__long_double_trig_use=no
25468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25469 ac_ext=c
25470 ac_cpp='$CPP $CPPFLAGS'
25471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25481 do :
25482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25484 eval as_val=\$$as_ac_var
25485 if test "x$as_val" = x""yes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25488 _ACEOF
25491 done
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25501 $as_echo_n "checking for long double round functions... " >&6; }
25502 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25503 $as_echo_n "(cached) " >&6
25504 else
25507 ac_ext=cpp
25508 ac_cpp='$CXXCPP $CPPFLAGS'
25509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25514 /* end confdefs.h. */
25515 #include <math.h>
25517 main ()
25519 ceill (0); floorl (0);
25521 return 0;
25523 _ACEOF
25524 if ac_fn_cxx_try_compile "$LINENO"; then :
25525 glibcxx_cv_func_long_double_round_use=yes
25526 else
25527 glibcxx_cv_func_long_double_round_use=no
25529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530 ac_ext=c
25531 ac_cpp='$CPP $CPPFLAGS'
25532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25540 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25541 for ac_func in ceill floorl
25542 do :
25543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25545 eval as_val=\$$as_ac_var
25546 if test "x$as_val" = x""yes; then :
25547 cat >>confdefs.h <<_ACEOF
25548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25549 _ACEOF
25552 done
25554 else
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25556 $as_echo_n "checking for _long double round functions... " >&6; }
25557 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25558 $as_echo_n "(cached) " >&6
25559 else
25562 ac_ext=cpp
25563 ac_cpp='$CXXCPP $CPPFLAGS'
25564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25569 /* end confdefs.h. */
25570 #include <math.h>
25572 main ()
25574 _ceill (0); _floorl (0);
25576 return 0;
25578 _ACEOF
25579 if ac_fn_cxx_try_compile "$LINENO"; then :
25580 glibcxx_cv_func__long_double_round_use=yes
25581 else
25582 glibcxx_cv_func__long_double_round_use=no
25584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25585 ac_ext=c
25586 ac_cpp='$CPP $CPPFLAGS'
25587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25595 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25596 for ac_func in _ceill _floorl
25597 do :
25598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25600 eval as_val=\$$as_ac_var
25601 if test "x$as_val" = x""yes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25604 _ACEOF
25607 done
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25618 $as_echo_n "checking for isnanl declaration... " >&6; }
25619 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25620 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25621 $as_echo_n "(cached) " >&6
25622 else
25625 ac_ext=cpp
25626 ac_cpp='$CXXCPP $CPPFLAGS'
25627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25632 /* end confdefs.h. */
25633 #include <math.h>
25634 #ifdef HAVE_IEEEFP_H
25635 #include <ieeefp.h>
25636 #endif
25639 main ()
25641 isnanl(0);
25643 return 0;
25645 _ACEOF
25646 if ac_fn_cxx_try_compile "$LINENO"; then :
25647 glibcxx_cv_func_isnanl_use=yes
25648 else
25649 glibcxx_cv_func_isnanl_use=no
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 ac_ext=c
25653 ac_cpp='$CPP $CPPFLAGS'
25654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25665 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25666 for ac_func in isnanl
25667 do :
25668 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25669 if test "x$ac_cv_func_isnanl" = x""yes; then :
25670 cat >>confdefs.h <<_ACEOF
25671 #define HAVE_ISNANL 1
25672 _ACEOF
25675 done
25677 else
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25680 $as_echo_n "checking for _isnanl declaration... " >&6; }
25681 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25682 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25683 $as_echo_n "(cached) " >&6
25684 else
25687 ac_ext=cpp
25688 ac_cpp='$CXXCPP $CPPFLAGS'
25689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25694 /* end confdefs.h. */
25695 #include <math.h>
25696 #ifdef HAVE_IEEEFP_H
25697 #include <ieeefp.h>
25698 #endif
25701 main ()
25703 _isnanl(0);
25705 return 0;
25707 _ACEOF
25708 if ac_fn_cxx_try_compile "$LINENO"; then :
25709 glibcxx_cv_func__isnanl_use=yes
25710 else
25711 glibcxx_cv_func__isnanl_use=no
25713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25714 ac_ext=c
25715 ac_cpp='$CPP $CPPFLAGS'
25716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25727 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25728 for ac_func in _isnanl
25729 do :
25730 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25731 if test "x$ac_cv_func__isnanl" = x""yes; then :
25732 cat >>confdefs.h <<_ACEOF
25733 #define HAVE__ISNANL 1
25734 _ACEOF
25737 done
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25747 $as_echo_n "checking for isinfl declaration... " >&6; }
25748 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25749 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25750 $as_echo_n "(cached) " >&6
25751 else
25754 ac_ext=cpp
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25762 #include <math.h>
25763 #ifdef HAVE_IEEEFP_H
25764 #include <ieeefp.h>
25765 #endif
25768 main ()
25770 isinfl(0);
25772 return 0;
25774 _ACEOF
25775 if ac_fn_cxx_try_compile "$LINENO"; then :
25776 glibcxx_cv_func_isinfl_use=yes
25777 else
25778 glibcxx_cv_func_isinfl_use=no
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 ac_ext=c
25782 ac_cpp='$CPP $CPPFLAGS'
25783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25795 for ac_func in isinfl
25796 do :
25797 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25798 if test "x$ac_cv_func_isinfl" = x""yes; then :
25799 cat >>confdefs.h <<_ACEOF
25800 #define HAVE_ISINFL 1
25801 _ACEOF
25804 done
25806 else
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25809 $as_echo_n "checking for _isinfl declaration... " >&6; }
25810 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25811 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25812 $as_echo_n "(cached) " >&6
25813 else
25816 ac_ext=cpp
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25823 /* end confdefs.h. */
25824 #include <math.h>
25825 #ifdef HAVE_IEEEFP_H
25826 #include <ieeefp.h>
25827 #endif
25830 main ()
25832 _isinfl(0);
25834 return 0;
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838 glibcxx_cv_func__isinfl_use=yes
25839 else
25840 glibcxx_cv_func__isinfl_use=no
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25857 for ac_func in _isinfl
25858 do :
25859 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25860 if test "x$ac_cv_func__isinfl" = x""yes; then :
25861 cat >>confdefs.h <<_ACEOF
25862 #define HAVE__ISINFL 1
25863 _ACEOF
25866 done
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25876 $as_echo_n "checking for atan2l declaration... " >&6; }
25877 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25878 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25879 $as_echo_n "(cached) " >&6
25880 else
25883 ac_ext=cpp
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25890 /* end confdefs.h. */
25891 #include <math.h>
25893 main ()
25895 atan2l(0, 0);
25897 return 0;
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func_atan2l_use=yes
25902 else
25903 glibcxx_cv_func_atan2l_use=no
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25919 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25920 for ac_func in atan2l
25921 do :
25922 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25923 if test "x$ac_cv_func_atan2l" = x""yes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE_ATAN2L 1
25926 _ACEOF
25929 done
25931 else
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25934 $as_echo_n "checking for _atan2l declaration... " >&6; }
25935 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25936 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25937 $as_echo_n "(cached) " >&6
25938 else
25941 ac_ext=cpp
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25949 #include <math.h>
25951 main ()
25953 _atan2l(0, 0);
25955 return 0;
25957 _ACEOF
25958 if ac_fn_cxx_try_compile "$LINENO"; then :
25959 glibcxx_cv_func__atan2l_use=yes
25960 else
25961 glibcxx_cv_func__atan2l_use=no
25963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25977 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25978 for ac_func in _atan2l
25979 do :
25980 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25981 if test "x$ac_cv_func__atan2l" = x""yes; then :
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE__ATAN2L 1
25984 _ACEOF
25987 done
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25997 $as_echo_n "checking for expl declaration... " >&6; }
25998 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25999 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26000 $as_echo_n "(cached) " >&6
26001 else
26004 ac_ext=cpp
26005 ac_cpp='$CXXCPP $CPPFLAGS'
26006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26012 #include <math.h>
26013 #ifdef HAVE_IEEEFP_H
26014 #include <ieeefp.h>
26015 #endif
26018 main ()
26020 expl(0);
26022 return 0;
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026 glibcxx_cv_func_expl_use=yes
26027 else
26028 glibcxx_cv_func_expl_use=no
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26044 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26045 for ac_func in expl
26046 do :
26047 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26048 if test "x$ac_cv_func_expl" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE_EXPL 1
26051 _ACEOF
26054 done
26056 else
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26059 $as_echo_n "checking for _expl declaration... " >&6; }
26060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26061 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26062 $as_echo_n "(cached) " >&6
26063 else
26066 ac_ext=cpp
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26074 #include <math.h>
26075 #ifdef HAVE_IEEEFP_H
26076 #include <ieeefp.h>
26077 #endif
26080 main ()
26082 _expl(0);
26084 return 0;
26086 _ACEOF
26087 if ac_fn_cxx_try_compile "$LINENO"; then :
26088 glibcxx_cv_func__expl_use=yes
26089 else
26090 glibcxx_cv_func__expl_use=no
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 ac_ext=c
26094 ac_cpp='$CPP $CPPFLAGS'
26095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26106 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26107 for ac_func in _expl
26108 do :
26109 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26110 if test "x$ac_cv_func__expl" = x""yes; then :
26111 cat >>confdefs.h <<_ACEOF
26112 #define HAVE__EXPL 1
26113 _ACEOF
26116 done
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26126 $as_echo_n "checking for fabsl declaration... " >&6; }
26127 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26128 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26142 #ifdef HAVE_IEEEFP_H
26143 #include <ieeefp.h>
26144 #endif
26147 main ()
26149 fabsl(0);
26151 return 0;
26153 _ACEOF
26154 if ac_fn_cxx_try_compile "$LINENO"; then :
26155 glibcxx_cv_func_fabsl_use=yes
26156 else
26157 glibcxx_cv_func_fabsl_use=no
26159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26160 ac_ext=c
26161 ac_cpp='$CPP $CPPFLAGS'
26162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26174 for ac_func in fabsl
26175 do :
26176 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26177 if test "x$ac_cv_func_fabsl" = x""yes; then :
26178 cat >>confdefs.h <<_ACEOF
26179 #define HAVE_FABSL 1
26180 _ACEOF
26183 done
26185 else
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26188 $as_echo_n "checking for _fabsl declaration... " >&6; }
26189 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26190 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26191 $as_echo_n "(cached) " >&6
26192 else
26195 ac_ext=cpp
26196 ac_cpp='$CXXCPP $CPPFLAGS'
26197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26202 /* end confdefs.h. */
26203 #include <math.h>
26204 #ifdef HAVE_IEEEFP_H
26205 #include <ieeefp.h>
26206 #endif
26209 main ()
26211 _fabsl(0);
26213 return 0;
26215 _ACEOF
26216 if ac_fn_cxx_try_compile "$LINENO"; then :
26217 glibcxx_cv_func__fabsl_use=yes
26218 else
26219 glibcxx_cv_func__fabsl_use=no
26221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26222 ac_ext=c
26223 ac_cpp='$CPP $CPPFLAGS'
26224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26235 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26236 for ac_func in _fabsl
26237 do :
26238 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26239 if test "x$ac_cv_func__fabsl" = x""yes; then :
26240 cat >>confdefs.h <<_ACEOF
26241 #define HAVE__FABSL 1
26242 _ACEOF
26245 done
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26255 $as_echo_n "checking for fmodl declaration... " >&6; }
26256 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26257 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26258 $as_echo_n "(cached) " >&6
26259 else
26262 ac_ext=cpp
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26269 /* end confdefs.h. */
26270 #include <math.h>
26272 main ()
26274 fmodl(0, 0);
26276 return 0;
26278 _ACEOF
26279 if ac_fn_cxx_try_compile "$LINENO"; then :
26280 glibcxx_cv_func_fmodl_use=yes
26281 else
26282 glibcxx_cv_func_fmodl_use=no
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 ac_ext=c
26286 ac_cpp='$CPP $CPPFLAGS'
26287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26298 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26299 for ac_func in fmodl
26300 do :
26301 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26302 if test "x$ac_cv_func_fmodl" = x""yes; then :
26303 cat >>confdefs.h <<_ACEOF
26304 #define HAVE_FMODL 1
26305 _ACEOF
26308 done
26310 else
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26313 $as_echo_n "checking for _fmodl declaration... " >&6; }
26314 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26315 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26316 $as_echo_n "(cached) " >&6
26317 else
26320 ac_ext=cpp
26321 ac_cpp='$CXXCPP $CPPFLAGS'
26322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26327 /* end confdefs.h. */
26328 #include <math.h>
26330 main ()
26332 _fmodl(0, 0);
26334 return 0;
26336 _ACEOF
26337 if ac_fn_cxx_try_compile "$LINENO"; then :
26338 glibcxx_cv_func__fmodl_use=yes
26339 else
26340 glibcxx_cv_func__fmodl_use=no
26342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26343 ac_ext=c
26344 ac_cpp='$CPP $CPPFLAGS'
26345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26356 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26357 for ac_func in _fmodl
26358 do :
26359 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26360 if test "x$ac_cv_func__fmodl" = x""yes; then :
26361 cat >>confdefs.h <<_ACEOF
26362 #define HAVE__FMODL 1
26363 _ACEOF
26366 done
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26376 $as_echo_n "checking for frexpl declaration... " >&6; }
26377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26379 $as_echo_n "(cached) " >&6
26380 else
26383 ac_ext=cpp
26384 ac_cpp='$CXXCPP $CPPFLAGS'
26385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26390 /* end confdefs.h. */
26391 #include <math.h>
26393 main ()
26395 frexpl(0, 0);
26397 return 0;
26399 _ACEOF
26400 if ac_fn_cxx_try_compile "$LINENO"; then :
26401 glibcxx_cv_func_frexpl_use=yes
26402 else
26403 glibcxx_cv_func_frexpl_use=no
26405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26406 ac_ext=c
26407 ac_cpp='$CPP $CPPFLAGS'
26408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26419 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26420 for ac_func in frexpl
26421 do :
26422 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26423 if test "x$ac_cv_func_frexpl" = x""yes; then :
26424 cat >>confdefs.h <<_ACEOF
26425 #define HAVE_FREXPL 1
26426 _ACEOF
26429 done
26431 else
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26434 $as_echo_n "checking for _frexpl declaration... " >&6; }
26435 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26436 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26437 $as_echo_n "(cached) " >&6
26438 else
26441 ac_ext=cpp
26442 ac_cpp='$CXXCPP $CPPFLAGS'
26443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h. */
26449 #include <math.h>
26451 main ()
26453 _frexpl(0, 0);
26455 return 0;
26457 _ACEOF
26458 if ac_fn_cxx_try_compile "$LINENO"; then :
26459 glibcxx_cv_func__frexpl_use=yes
26460 else
26461 glibcxx_cv_func__frexpl_use=no
26463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26464 ac_ext=c
26465 ac_cpp='$CPP $CPPFLAGS'
26466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26477 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26478 for ac_func in _frexpl
26479 do :
26480 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26481 if test "x$ac_cv_func__frexpl" = x""yes; then :
26482 cat >>confdefs.h <<_ACEOF
26483 #define HAVE__FREXPL 1
26484 _ACEOF
26487 done
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26497 $as_echo_n "checking for hypotl declaration... " >&6; }
26498 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26499 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26504 ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26511 /* end confdefs.h. */
26512 #include <math.h>
26514 main ()
26516 hypotl(0, 0);
26518 return 0;
26520 _ACEOF
26521 if ac_fn_cxx_try_compile "$LINENO"; then :
26522 glibcxx_cv_func_hypotl_use=yes
26523 else
26524 glibcxx_cv_func_hypotl_use=no
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26527 ac_ext=c
26528 ac_cpp='$CPP $CPPFLAGS'
26529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26540 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26541 for ac_func in hypotl
26542 do :
26543 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26544 if test "x$ac_cv_func_hypotl" = x""yes; then :
26545 cat >>confdefs.h <<_ACEOF
26546 #define HAVE_HYPOTL 1
26547 _ACEOF
26550 done
26552 else
26554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26555 $as_echo_n "checking for _hypotl declaration... " >&6; }
26556 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26557 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26558 $as_echo_n "(cached) " >&6
26559 else
26562 ac_ext=cpp
26563 ac_cpp='$CXXCPP $CPPFLAGS'
26564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26570 #include <math.h>
26572 main ()
26574 _hypotl(0, 0);
26576 return 0;
26578 _ACEOF
26579 if ac_fn_cxx_try_compile "$LINENO"; then :
26580 glibcxx_cv_func__hypotl_use=yes
26581 else
26582 glibcxx_cv_func__hypotl_use=no
26584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26585 ac_ext=c
26586 ac_cpp='$CPP $CPPFLAGS'
26587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26599 for ac_func in _hypotl
26600 do :
26601 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26602 if test "x$ac_cv_func__hypotl" = x""yes; then :
26603 cat >>confdefs.h <<_ACEOF
26604 #define HAVE__HYPOTL 1
26605 _ACEOF
26608 done
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26618 $as_echo_n "checking for ldexpl declaration... " >&6; }
26619 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26620 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26621 $as_echo_n "(cached) " >&6
26622 else
26625 ac_ext=cpp
26626 ac_cpp='$CXXCPP $CPPFLAGS'
26627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26632 /* end confdefs.h. */
26633 #include <math.h>
26635 main ()
26637 ldexpl(0, 0);
26639 return 0;
26641 _ACEOF
26642 if ac_fn_cxx_try_compile "$LINENO"; then :
26643 glibcxx_cv_func_ldexpl_use=yes
26644 else
26645 glibcxx_cv_func_ldexpl_use=no
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648 ac_ext=c
26649 ac_cpp='$CPP $CPPFLAGS'
26650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26662 for ac_func in ldexpl
26663 do :
26664 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26666 cat >>confdefs.h <<_ACEOF
26667 #define HAVE_LDEXPL 1
26668 _ACEOF
26671 done
26673 else
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26677 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26678 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26679 $as_echo_n "(cached) " >&6
26680 else
26683 ac_ext=cpp
26684 ac_cpp='$CXXCPP $CPPFLAGS'
26685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26691 #include <math.h>
26693 main ()
26695 _ldexpl(0, 0);
26697 return 0;
26699 _ACEOF
26700 if ac_fn_cxx_try_compile "$LINENO"; then :
26701 glibcxx_cv_func__ldexpl_use=yes
26702 else
26703 glibcxx_cv_func__ldexpl_use=no
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 ac_ext=c
26707 ac_cpp='$CPP $CPPFLAGS'
26708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26720 for ac_func in _ldexpl
26721 do :
26722 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26724 cat >>confdefs.h <<_ACEOF
26725 #define HAVE__LDEXPL 1
26726 _ACEOF
26729 done
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26739 $as_echo_n "checking for logl declaration... " >&6; }
26740 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26741 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26742 $as_echo_n "(cached) " >&6
26743 else
26746 ac_ext=cpp
26747 ac_cpp='$CXXCPP $CPPFLAGS'
26748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 #include <math.h>
26755 #ifdef HAVE_IEEEFP_H
26756 #include <ieeefp.h>
26757 #endif
26760 main ()
26762 logl(0);
26764 return 0;
26766 _ACEOF
26767 if ac_fn_cxx_try_compile "$LINENO"; then :
26768 glibcxx_cv_func_logl_use=yes
26769 else
26770 glibcxx_cv_func_logl_use=no
26772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26773 ac_ext=c
26774 ac_cpp='$CPP $CPPFLAGS'
26775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26786 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26787 for ac_func in logl
26788 do :
26789 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26790 if test "x$ac_cv_func_logl" = x""yes; then :
26791 cat >>confdefs.h <<_ACEOF
26792 #define HAVE_LOGL 1
26793 _ACEOF
26796 done
26798 else
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26801 $as_echo_n "checking for _logl declaration... " >&6; }
26802 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26803 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26804 $as_echo_n "(cached) " >&6
26805 else
26808 ac_ext=cpp
26809 ac_cpp='$CXXCPP $CPPFLAGS'
26810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26815 /* end confdefs.h. */
26816 #include <math.h>
26817 #ifdef HAVE_IEEEFP_H
26818 #include <ieeefp.h>
26819 #endif
26822 main ()
26824 _logl(0);
26826 return 0;
26828 _ACEOF
26829 if ac_fn_cxx_try_compile "$LINENO"; then :
26830 glibcxx_cv_func__logl_use=yes
26831 else
26832 glibcxx_cv_func__logl_use=no
26834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26835 ac_ext=c
26836 ac_cpp='$CPP $CPPFLAGS'
26837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26848 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26849 for ac_func in _logl
26850 do :
26851 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26852 if test "x$ac_cv_func__logl" = x""yes; then :
26853 cat >>confdefs.h <<_ACEOF
26854 #define HAVE__LOGL 1
26855 _ACEOF
26858 done
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26868 $as_echo_n "checking for log10l declaration... " >&6; }
26869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26871 $as_echo_n "(cached) " >&6
26872 else
26875 ac_ext=cpp
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 #include <math.h>
26884 #ifdef HAVE_IEEEFP_H
26885 #include <ieeefp.h>
26886 #endif
26889 main ()
26891 log10l(0);
26893 return 0;
26895 _ACEOF
26896 if ac_fn_cxx_try_compile "$LINENO"; then :
26897 glibcxx_cv_func_log10l_use=yes
26898 else
26899 glibcxx_cv_func_log10l_use=no
26901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26902 ac_ext=c
26903 ac_cpp='$CPP $CPPFLAGS'
26904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26915 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26916 for ac_func in log10l
26917 do :
26918 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26919 if test "x$ac_cv_func_log10l" = x""yes; then :
26920 cat >>confdefs.h <<_ACEOF
26921 #define HAVE_LOG10L 1
26922 _ACEOF
26925 done
26927 else
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26930 $as_echo_n "checking for _log10l declaration... " >&6; }
26931 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26932 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26933 $as_echo_n "(cached) " >&6
26934 else
26937 ac_ext=cpp
26938 ac_cpp='$CXXCPP $CPPFLAGS'
26939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944 /* end confdefs.h. */
26945 #include <math.h>
26946 #ifdef HAVE_IEEEFP_H
26947 #include <ieeefp.h>
26948 #endif
26951 main ()
26953 _log10l(0);
26955 return 0;
26957 _ACEOF
26958 if ac_fn_cxx_try_compile "$LINENO"; then :
26959 glibcxx_cv_func__log10l_use=yes
26960 else
26961 glibcxx_cv_func__log10l_use=no
26963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26964 ac_ext=c
26965 ac_cpp='$CPP $CPPFLAGS'
26966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26977 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26978 for ac_func in _log10l
26979 do :
26980 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26981 if test "x$ac_cv_func__log10l" = x""yes; then :
26982 cat >>confdefs.h <<_ACEOF
26983 #define HAVE__LOG10L 1
26984 _ACEOF
26987 done
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26997 $as_echo_n "checking for modfl declaration... " >&6; }
26998 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26999 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27000 $as_echo_n "(cached) " >&6
27001 else
27004 ac_ext=cpp
27005 ac_cpp='$CXXCPP $CPPFLAGS'
27006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27011 /* end confdefs.h. */
27012 #include <math.h>
27014 main ()
27016 modfl(0, 0);
27018 return 0;
27020 _ACEOF
27021 if ac_fn_cxx_try_compile "$LINENO"; then :
27022 glibcxx_cv_func_modfl_use=yes
27023 else
27024 glibcxx_cv_func_modfl_use=no
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27027 ac_ext=c
27028 ac_cpp='$CPP $CPPFLAGS'
27029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27040 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27041 for ac_func in modfl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27044 if test "x$ac_cv_func_modfl" = x""yes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE_MODFL 1
27047 _ACEOF
27050 done
27052 else
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27055 $as_echo_n "checking for _modfl declaration... " >&6; }
27056 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27057 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27058 $as_echo_n "(cached) " >&6
27059 else
27062 ac_ext=cpp
27063 ac_cpp='$CXXCPP $CPPFLAGS'
27064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27070 #include <math.h>
27072 main ()
27074 _modfl(0, 0);
27076 return 0;
27078 _ACEOF
27079 if ac_fn_cxx_try_compile "$LINENO"; then :
27080 glibcxx_cv_func__modfl_use=yes
27081 else
27082 glibcxx_cv_func__modfl_use=no
27084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27085 ac_ext=c
27086 ac_cpp='$CPP $CPPFLAGS'
27087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27098 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27099 for ac_func in _modfl
27100 do :
27101 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27102 if test "x$ac_cv_func__modfl" = x""yes; then :
27103 cat >>confdefs.h <<_ACEOF
27104 #define HAVE__MODFL 1
27105 _ACEOF
27108 done
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27118 $as_echo_n "checking for powl declaration... " >&6; }
27119 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27120 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27121 $as_echo_n "(cached) " >&6
27122 else
27125 ac_ext=cpp
27126 ac_cpp='$CXXCPP $CPPFLAGS'
27127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27132 /* end confdefs.h. */
27133 #include <math.h>
27135 main ()
27137 powl(0, 0);
27139 return 0;
27141 _ACEOF
27142 if ac_fn_cxx_try_compile "$LINENO"; then :
27143 glibcxx_cv_func_powl_use=yes
27144 else
27145 glibcxx_cv_func_powl_use=no
27147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27148 ac_ext=c
27149 ac_cpp='$CPP $CPPFLAGS'
27150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27161 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27162 for ac_func in powl
27163 do :
27164 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27165 if test "x$ac_cv_func_powl" = x""yes; then :
27166 cat >>confdefs.h <<_ACEOF
27167 #define HAVE_POWL 1
27168 _ACEOF
27171 done
27173 else
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27176 $as_echo_n "checking for _powl declaration... " >&6; }
27177 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27178 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27179 $as_echo_n "(cached) " >&6
27180 else
27183 ac_ext=cpp
27184 ac_cpp='$CXXCPP $CPPFLAGS'
27185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27190 /* end confdefs.h. */
27191 #include <math.h>
27193 main ()
27195 _powl(0, 0);
27197 return 0;
27199 _ACEOF
27200 if ac_fn_cxx_try_compile "$LINENO"; then :
27201 glibcxx_cv_func__powl_use=yes
27202 else
27203 glibcxx_cv_func__powl_use=no
27205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27206 ac_ext=c
27207 ac_cpp='$CPP $CPPFLAGS'
27208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27219 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27220 for ac_func in _powl
27221 do :
27222 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27223 if test "x$ac_cv_func__powl" = x""yes; then :
27224 cat >>confdefs.h <<_ACEOF
27225 #define HAVE__POWL 1
27226 _ACEOF
27229 done
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27239 $as_echo_n "checking for sqrtl declaration... " >&6; }
27240 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27241 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27242 $as_echo_n "(cached) " >&6
27243 else
27246 ac_ext=cpp
27247 ac_cpp='$CXXCPP $CPPFLAGS'
27248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27253 /* end confdefs.h. */
27254 #include <math.h>
27255 #ifdef HAVE_IEEEFP_H
27256 #include <ieeefp.h>
27257 #endif
27260 main ()
27262 sqrtl(0);
27264 return 0;
27266 _ACEOF
27267 if ac_fn_cxx_try_compile "$LINENO"; then :
27268 glibcxx_cv_func_sqrtl_use=yes
27269 else
27270 glibcxx_cv_func_sqrtl_use=no
27272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27273 ac_ext=c
27274 ac_cpp='$CPP $CPPFLAGS'
27275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27286 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27287 for ac_func in sqrtl
27288 do :
27289 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27291 cat >>confdefs.h <<_ACEOF
27292 #define HAVE_SQRTL 1
27293 _ACEOF
27296 done
27298 else
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27302 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27303 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27304 $as_echo_n "(cached) " >&6
27305 else
27308 ac_ext=cpp
27309 ac_cpp='$CXXCPP $CPPFLAGS'
27310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27315 /* end confdefs.h. */
27316 #include <math.h>
27317 #ifdef HAVE_IEEEFP_H
27318 #include <ieeefp.h>
27319 #endif
27322 main ()
27324 _sqrtl(0);
27326 return 0;
27328 _ACEOF
27329 if ac_fn_cxx_try_compile "$LINENO"; then :
27330 glibcxx_cv_func__sqrtl_use=yes
27331 else
27332 glibcxx_cv_func__sqrtl_use=no
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 ac_ext=c
27336 ac_cpp='$CPP $CPPFLAGS'
27337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27348 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27349 for ac_func in _sqrtl
27350 do :
27351 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27353 cat >>confdefs.h <<_ACEOF
27354 #define HAVE__SQRTL 1
27355 _ACEOF
27358 done
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27368 $as_echo_n "checking for sincosl declaration... " >&6; }
27369 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27370 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27371 $as_echo_n "(cached) " >&6
27372 else
27375 ac_ext=cpp
27376 ac_cpp='$CXXCPP $CPPFLAGS'
27377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27382 /* end confdefs.h. */
27383 #include <math.h>
27385 main ()
27387 sincosl(0, 0, 0);
27389 return 0;
27391 _ACEOF
27392 if ac_fn_cxx_try_compile "$LINENO"; then :
27393 glibcxx_cv_func_sincosl_use=yes
27394 else
27395 glibcxx_cv_func_sincosl_use=no
27397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398 ac_ext=c
27399 ac_cpp='$CPP $CPPFLAGS'
27400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27412 for ac_func in sincosl
27413 do :
27414 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27415 if test "x$ac_cv_func_sincosl" = x""yes; then :
27416 cat >>confdefs.h <<_ACEOF
27417 #define HAVE_SINCOSL 1
27418 _ACEOF
27421 done
27423 else
27425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27426 $as_echo_n "checking for _sincosl declaration... " >&6; }
27427 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27428 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27429 $as_echo_n "(cached) " >&6
27430 else
27433 ac_ext=cpp
27434 ac_cpp='$CXXCPP $CPPFLAGS'
27435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27440 /* end confdefs.h. */
27441 #include <math.h>
27443 main ()
27445 _sincosl(0, 0, 0);
27447 return 0;
27449 _ACEOF
27450 if ac_fn_cxx_try_compile "$LINENO"; then :
27451 glibcxx_cv_func__sincosl_use=yes
27452 else
27453 glibcxx_cv_func__sincosl_use=no
27455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27456 ac_ext=c
27457 ac_cpp='$CPP $CPPFLAGS'
27458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27469 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27470 for ac_func in _sincosl
27471 do :
27472 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27473 if test "x$ac_cv_func__sincosl" = x""yes; then :
27474 cat >>confdefs.h <<_ACEOF
27475 #define HAVE__SINCOSL 1
27476 _ACEOF
27479 done
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27489 $as_echo_n "checking for finitel declaration... " >&6; }
27490 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27491 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27492 $as_echo_n "(cached) " >&6
27493 else
27496 ac_ext=cpp
27497 ac_cpp='$CXXCPP $CPPFLAGS'
27498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27503 /* end confdefs.h. */
27504 #include <math.h>
27505 #ifdef HAVE_IEEEFP_H
27506 #include <ieeefp.h>
27507 #endif
27510 main ()
27512 finitel(0);
27514 return 0;
27516 _ACEOF
27517 if ac_fn_cxx_try_compile "$LINENO"; then :
27518 glibcxx_cv_func_finitel_use=yes
27519 else
27520 glibcxx_cv_func_finitel_use=no
27522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27523 ac_ext=c
27524 ac_cpp='$CPP $CPPFLAGS'
27525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27536 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27537 for ac_func in finitel
27538 do :
27539 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27540 if test "x$ac_cv_func_finitel" = x""yes; then :
27541 cat >>confdefs.h <<_ACEOF
27542 #define HAVE_FINITEL 1
27543 _ACEOF
27546 done
27548 else
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27551 $as_echo_n "checking for _finitel declaration... " >&6; }
27552 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27553 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27554 $as_echo_n "(cached) " >&6
27555 else
27558 ac_ext=cpp
27559 ac_cpp='$CXXCPP $CPPFLAGS'
27560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27565 /* end confdefs.h. */
27566 #include <math.h>
27567 #ifdef HAVE_IEEEFP_H
27568 #include <ieeefp.h>
27569 #endif
27572 main ()
27574 _finitel(0);
27576 return 0;
27578 _ACEOF
27579 if ac_fn_cxx_try_compile "$LINENO"; then :
27580 glibcxx_cv_func__finitel_use=yes
27581 else
27582 glibcxx_cv_func__finitel_use=no
27584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27585 ac_ext=c
27586 ac_cpp='$CPP $CPPFLAGS'
27587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27598 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27599 for ac_func in _finitel
27600 do :
27601 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27602 if test "x$ac_cv_func__finitel" = x""yes; then :
27603 cat >>confdefs.h <<_ACEOF
27604 #define HAVE__FINITEL 1
27605 _ACEOF
27608 done
27616 LIBS="$ac_save_LIBS"
27617 CXXFLAGS="$ac_save_CXXFLAGS"
27620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27621 ac_save_CXXFLAGS="$CXXFLAGS"
27622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27626 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27627 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27628 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27629 $as_echo_n "(cached) " >&6
27630 else
27633 ac_ext=cpp
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h. */
27641 #include <stdlib.h>
27643 main ()
27645 at_quick_exit(0);
27647 return 0;
27649 _ACEOF
27650 if ac_fn_cxx_try_compile "$LINENO"; then :
27651 glibcxx_cv_func_at_quick_exit_use=yes
27652 else
27653 glibcxx_cv_func_at_quick_exit_use=no
27655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27656 ac_ext=c
27657 ac_cpp='$CPP $CPPFLAGS'
27658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27667 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27668 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27669 for ac_func in at_quick_exit
27670 do :
27671 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27672 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27673 cat >>confdefs.h <<_ACEOF
27674 #define HAVE_AT_QUICK_EXIT 1
27675 _ACEOF
27678 done
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27684 $as_echo_n "checking for quick_exit declaration... " >&6; }
27685 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27686 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27687 $as_echo_n "(cached) " >&6
27688 else
27691 ac_ext=cpp
27692 ac_cpp='$CXXCPP $CPPFLAGS'
27693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27698 /* end confdefs.h. */
27699 #include <stdlib.h>
27701 main ()
27703 quick_exit(0);
27705 return 0;
27707 _ACEOF
27708 if ac_fn_cxx_try_compile "$LINENO"; then :
27709 glibcxx_cv_func_quick_exit_use=yes
27710 else
27711 glibcxx_cv_func_quick_exit_use=no
27713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27714 ac_ext=c
27715 ac_cpp='$CPP $CPPFLAGS'
27716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27725 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27726 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27727 for ac_func in quick_exit
27728 do :
27729 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27730 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27731 cat >>confdefs.h <<_ACEOF
27732 #define HAVE_QUICK_EXIT 1
27733 _ACEOF
27736 done
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27742 $as_echo_n "checking for strtold declaration... " >&6; }
27743 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27744 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27745 $as_echo_n "(cached) " >&6
27746 else
27749 ac_ext=cpp
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27756 /* end confdefs.h. */
27757 #include <stdlib.h>
27759 main ()
27761 strtold(0, 0);
27763 return 0;
27765 _ACEOF
27766 if ac_fn_cxx_try_compile "$LINENO"; then :
27767 glibcxx_cv_func_strtold_use=yes
27768 else
27769 glibcxx_cv_func_strtold_use=no
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 ac_ext=c
27773 ac_cpp='$CPP $CPPFLAGS'
27774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27783 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27784 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27785 for ac_func in strtold
27786 do :
27787 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27788 if test "x$ac_cv_func_strtold" = x""yes; then :
27789 cat >>confdefs.h <<_ACEOF
27790 #define HAVE_STRTOLD 1
27791 _ACEOF
27794 done
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27802 $as_echo_n "checking for strtof declaration... " >&6; }
27803 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27804 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27805 $as_echo_n "(cached) " >&6
27806 else
27809 ac_ext=cpp
27810 ac_cpp='$CXXCPP $CPPFLAGS'
27811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817 #include <stdlib.h>
27819 main ()
27821 strtof(0, 0);
27823 return 0;
27825 _ACEOF
27826 if ac_fn_cxx_try_compile "$LINENO"; then :
27827 glibcxx_cv_func_strtof_use=yes
27828 else
27829 glibcxx_cv_func_strtof_use=no
27831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27832 ac_ext=c
27833 ac_cpp='$CPP $CPPFLAGS'
27834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27843 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27844 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27845 for ac_func in strtof
27846 do :
27847 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27848 if test "x$ac_cv_func_strtof" = x""yes; then :
27849 cat >>confdefs.h <<_ACEOF
27850 #define HAVE_STRTOF 1
27851 _ACEOF
27854 done
27861 CXXFLAGS="$ac_save_CXXFLAGS"
27864 # For /dev/random and /dev/urandom for TR1.
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27868 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27869 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27870 $as_echo_n "(cached) " >&6
27871 else
27873 if test -r /dev/random && test -r /dev/urandom; then
27874 ## For MSys environment the test above is detect as false-positive
27875 ## on mingw-targets. So disable it explicit for them.
27876 case ${target_os} in
27877 *mingw*) glibcxx_cv_random_tr1=no ;;
27878 *) glibcxx_cv_random_tr1=yes ;;
27879 esac
27880 else
27881 glibcxx_cv_random_tr1=no;
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27887 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27889 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27891 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27897 # For TLS support.
27900 # Check whether --enable-tls was given.
27901 if test "${enable_tls+set}" = set; then :
27902 enableval=$enable_tls;
27903 case "$enableval" in
27904 yes|no) ;;
27905 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27906 esac
27908 else
27909 enable_tls=yes
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27914 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27915 if test "${gcc_cv_have_tls+set}" = set; then :
27916 $as_echo_n "(cached) " >&6
27917 else
27919 if test "$cross_compiling" = yes; then :
27920 if test x$gcc_no_link = xyes; then
27921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27924 /* end confdefs.h. */
27925 __thread int a; int b; int main() { return a = b; }
27926 _ACEOF
27927 if ac_fn_c_try_link "$LINENO"; then :
27928 chktls_save_LDFLAGS="$LDFLAGS"
27929 case $host in
27930 *-*-linux*)
27931 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27933 esac
27934 chktls_save_CFLAGS="$CFLAGS"
27935 CFLAGS="-fPIC $CFLAGS"
27936 if test x$gcc_no_link = xyes; then
27937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27940 /* end confdefs.h. */
27941 int f() { return 0; }
27942 _ACEOF
27943 if ac_fn_c_try_link "$LINENO"; then :
27944 if test x$gcc_no_link = xyes; then
27945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 __thread int a; int b; int f() { return a = b; }
27950 _ACEOF
27951 if ac_fn_c_try_link "$LINENO"; then :
27952 gcc_cv_have_tls=yes
27953 else
27954 gcc_cv_have_tls=no
27956 rm -f core conftest.err conftest.$ac_objext \
27957 conftest$ac_exeext conftest.$ac_ext
27958 else
27959 gcc_cv_have_tls=yes
27961 rm -f core conftest.err conftest.$ac_objext \
27962 conftest$ac_exeext conftest.$ac_ext
27963 CFLAGS="$chktls_save_CFLAGS"
27964 LDFLAGS="$chktls_save_LDFLAGS"
27965 else
27966 gcc_cv_have_tls=no
27968 rm -f core conftest.err conftest.$ac_objext \
27969 conftest$ac_exeext conftest.$ac_ext
27972 else
27973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27974 /* end confdefs.h. */
27975 __thread int a; int b; int main() { return a = b; }
27976 _ACEOF
27977 if ac_fn_c_try_run "$LINENO"; then :
27978 chktls_save_LDFLAGS="$LDFLAGS"
27979 LDFLAGS="-static $LDFLAGS"
27980 if test x$gcc_no_link = xyes; then
27981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27984 /* end confdefs.h. */
27985 int main() { return 0; }
27986 _ACEOF
27987 if ac_fn_c_try_link "$LINENO"; then :
27988 if test "$cross_compiling" = yes; then :
27989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27991 as_fn_error "cannot run test program while cross compiling
27992 See \`config.log' for more details." "$LINENO" 5; }
27993 else
27994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27995 /* end confdefs.h. */
27996 __thread int a; int b; int main() { return a = b; }
27997 _ACEOF
27998 if ac_fn_c_try_run "$LINENO"; then :
27999 gcc_cv_have_tls=yes
28000 else
28001 gcc_cv_have_tls=no
28003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28004 conftest.$ac_objext conftest.beam conftest.$ac_ext
28007 else
28008 gcc_cv_have_tls=yes
28010 rm -f core conftest.err conftest.$ac_objext \
28011 conftest$ac_exeext conftest.$ac_ext
28012 LDFLAGS="$chktls_save_LDFLAGS"
28013 if test $gcc_cv_have_tls = yes; then
28014 chktls_save_CFLAGS="$CFLAGS"
28015 thread_CFLAGS=failed
28016 for flag in '' '-pthread' '-lpthread'; do
28017 CFLAGS="$flag $chktls_save_CFLAGS"
28018 if test x$gcc_no_link = xyes; then
28019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28022 /* end confdefs.h. */
28023 #include <pthread.h>
28024 void *g(void *d) { return NULL; }
28026 main ()
28028 pthread_t t; pthread_create(&t,NULL,g,NULL);
28030 return 0;
28032 _ACEOF
28033 if ac_fn_c_try_link "$LINENO"; then :
28034 thread_CFLAGS="$flag"
28036 rm -f core conftest.err conftest.$ac_objext \
28037 conftest$ac_exeext conftest.$ac_ext
28038 if test "X$thread_CFLAGS" != Xfailed; then
28039 break
28041 done
28042 CFLAGS="$chktls_save_CFLAGS"
28043 if test "X$thread_CFLAGS" != Xfailed; then
28044 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28045 if test "$cross_compiling" = yes; then :
28046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28048 as_fn_error "cannot run test program while cross compiling
28049 See \`config.log' for more details." "$LINENO" 5; }
28050 else
28051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28052 /* end confdefs.h. */
28053 #include <pthread.h>
28054 __thread int a;
28055 static int *volatile a_in_other_thread;
28056 static void *
28057 thread_func (void *arg)
28059 a_in_other_thread = &a;
28060 return (void *)0;
28063 main ()
28065 pthread_t thread;
28066 void *thread_retval;
28067 int *volatile a_in_main_thread;
28068 a_in_main_thread = &a;
28069 if (pthread_create (&thread, (pthread_attr_t *)0,
28070 thread_func, (void *)0))
28071 return 0;
28072 if (pthread_join (thread, &thread_retval))
28073 return 0;
28074 return (a_in_other_thread == a_in_main_thread);
28076 return 0;
28078 _ACEOF
28079 if ac_fn_c_try_run "$LINENO"; then :
28080 gcc_cv_have_tls=yes
28081 else
28082 gcc_cv_have_tls=no
28084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28085 conftest.$ac_objext conftest.beam conftest.$ac_ext
28088 CFLAGS="$chktls_save_CFLAGS"
28091 else
28092 gcc_cv_have_tls=no
28094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28095 conftest.$ac_objext conftest.beam conftest.$ac_ext
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28100 $as_echo "$gcc_cv_have_tls" >&6; }
28101 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28103 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28107 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28108 do :
28109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28111 eval as_val=\$$as_ac_var
28112 if test "x$as_val" = x""yes; then :
28113 cat >>confdefs.h <<_ACEOF
28114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28115 _ACEOF
28118 done
28120 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28121 do :
28122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28124 eval as_val=\$$as_ac_var
28125 if test "x$as_val" = x""yes; then :
28126 cat >>confdefs.h <<_ACEOF
28127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28128 _ACEOF
28131 done
28133 for ac_func in _wfopen
28134 do :
28135 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28136 if test "x$ac_cv_func__wfopen" = x""yes; then :
28137 cat >>confdefs.h <<_ACEOF
28138 #define HAVE__WFOPEN 1
28139 _ACEOF
28142 done
28145 # For iconv support.
28147 if test "X$prefix" = "XNONE"; then
28148 acl_final_prefix="$ac_default_prefix"
28149 else
28150 acl_final_prefix="$prefix"
28152 if test "X$exec_prefix" = "XNONE"; then
28153 acl_final_exec_prefix='${prefix}'
28154 else
28155 acl_final_exec_prefix="$exec_prefix"
28157 acl_save_prefix="$prefix"
28158 prefix="$acl_final_prefix"
28159 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28160 prefix="$acl_save_prefix"
28163 # Check whether --with-gnu-ld was given.
28164 if test "${with_gnu_ld+set}" = set; then :
28165 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28166 else
28167 with_gnu_ld=no
28170 # Prepare PATH_SEPARATOR.
28171 # The user is always right.
28172 if test "${PATH_SEPARATOR+set}" != set; then
28173 echo "#! /bin/sh" >conf$$.sh
28174 echo "exit 0" >>conf$$.sh
28175 chmod +x conf$$.sh
28176 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28177 PATH_SEPARATOR=';'
28178 else
28179 PATH_SEPARATOR=:
28181 rm -f conf$$.sh
28183 ac_prog=ld
28184 if test "$GCC" = yes; then
28185 # Check if gcc -print-prog-name=ld gives a path.
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28187 $as_echo_n "checking for ld used by GCC... " >&6; }
28188 case $host in
28189 *-*-mingw*)
28190 # gcc leaves a trailing carriage return which upsets mingw
28191 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28193 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28194 esac
28195 case $ac_prog in
28196 # Accept absolute paths.
28197 [\\/]* | [A-Za-z]:[\\/]*)
28198 re_direlt='/[^/][^/]*/\.\./'
28199 # Canonicalize the path of ld
28200 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28201 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28202 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28203 done
28204 test -z "$LD" && LD="$ac_prog"
28207 # If it fails, then pretend we aren't using GCC.
28208 ac_prog=ld
28211 # If it is relative, then search for the first ld in PATH.
28212 with_gnu_ld=unknown
28214 esac
28215 elif test "$with_gnu_ld" = yes; then
28216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28217 $as_echo_n "checking for GNU ld... " >&6; }
28218 else
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28220 $as_echo_n "checking for non-GNU ld... " >&6; }
28222 if test "${acl_cv_path_LD+set}" = set; then :
28223 $as_echo_n "(cached) " >&6
28224 else
28225 if test -z "$LD"; then
28226 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28227 for ac_dir in $PATH; do
28228 test -z "$ac_dir" && ac_dir=.
28229 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28230 acl_cv_path_LD="$ac_dir/$ac_prog"
28231 # Check to see if the program is GNU ld. I'd rather use --version,
28232 # but apparently some GNU ld's only accept -v.
28233 # Break only if it was the GNU/non-GNU ld that we prefer.
28234 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28235 test "$with_gnu_ld" != no && break
28236 else
28237 test "$with_gnu_ld" != yes && break
28240 done
28241 IFS="$ac_save_ifs"
28242 else
28243 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28247 LD="$acl_cv_path_LD"
28248 if test -n "$LD"; then
28249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28250 $as_echo "$LD" >&6; }
28251 else
28252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28253 $as_echo "no" >&6; }
28255 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28257 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28258 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28259 $as_echo_n "(cached) " >&6
28260 else
28261 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28262 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28263 acl_cv_prog_gnu_ld=yes
28264 else
28265 acl_cv_prog_gnu_ld=no
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28269 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28270 with_gnu_ld=$acl_cv_prog_gnu_ld
28274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28275 $as_echo_n "checking for shared library run path origin... " >&6; }
28276 if test "${acl_cv_rpath+set}" = set; then :
28277 $as_echo_n "(cached) " >&6
28278 else
28280 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28281 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28282 . ./conftest.sh
28283 rm -f ./conftest.sh
28284 acl_cv_rpath=done
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28288 $as_echo "$acl_cv_rpath" >&6; }
28289 wl="$acl_cv_wl"
28290 libext="$acl_cv_libext"
28291 shlibext="$acl_cv_shlibext"
28292 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28293 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28294 hardcode_direct="$acl_cv_hardcode_direct"
28295 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28296 # Check whether --enable-rpath was given.
28297 if test "${enable_rpath+set}" = set; then :
28298 enableval=$enable_rpath; :
28299 else
28300 enable_rpath=yes
28310 use_additional=yes
28312 acl_save_prefix="$prefix"
28313 prefix="$acl_final_prefix"
28314 acl_save_exec_prefix="$exec_prefix"
28315 exec_prefix="$acl_final_exec_prefix"
28317 eval additional_includedir=\"$includedir\"
28318 eval additional_libdir=\"$libdir\"
28320 exec_prefix="$acl_save_exec_prefix"
28321 prefix="$acl_save_prefix"
28324 # Check whether --with-libiconv-prefix was given.
28325 if test "${with_libiconv_prefix+set}" = set; then :
28326 withval=$with_libiconv_prefix;
28327 if test "X$withval" = "Xno"; then
28328 use_additional=no
28329 else
28330 if test "X$withval" = "X"; then
28332 acl_save_prefix="$prefix"
28333 prefix="$acl_final_prefix"
28334 acl_save_exec_prefix="$exec_prefix"
28335 exec_prefix="$acl_final_exec_prefix"
28337 eval additional_includedir=\"$includedir\"
28338 eval additional_libdir=\"$libdir\"
28340 exec_prefix="$acl_save_exec_prefix"
28341 prefix="$acl_save_prefix"
28343 else
28344 additional_includedir="$withval/include"
28345 additional_libdir="$withval/lib"
28351 LIBICONV=
28352 LTLIBICONV=
28353 INCICONV=
28354 rpathdirs=
28355 ltrpathdirs=
28356 names_already_handled=
28357 names_next_round='iconv '
28358 while test -n "$names_next_round"; do
28359 names_this_round="$names_next_round"
28360 names_next_round=
28361 for name in $names_this_round; do
28362 already_handled=
28363 for n in $names_already_handled; do
28364 if test "$n" = "$name"; then
28365 already_handled=yes
28366 break
28368 done
28369 if test -z "$already_handled"; then
28370 names_already_handled="$names_already_handled $name"
28371 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28372 eval value=\"\$HAVE_LIB$uppername\"
28373 if test -n "$value"; then
28374 if test "$value" = yes; then
28375 eval value=\"\$LIB$uppername\"
28376 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28377 eval value=\"\$LTLIB$uppername\"
28378 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28379 else
28382 else
28383 found_dir=
28384 found_la=
28385 found_so=
28386 found_a=
28387 if test $use_additional = yes; then
28388 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28389 found_dir="$additional_libdir"
28390 found_so="$additional_libdir/lib$name.$shlibext"
28391 if test -f "$additional_libdir/lib$name.la"; then
28392 found_la="$additional_libdir/lib$name.la"
28394 else
28395 if test -f "$additional_libdir/lib$name.$libext"; then
28396 found_dir="$additional_libdir"
28397 found_a="$additional_libdir/lib$name.$libext"
28398 if test -f "$additional_libdir/lib$name.la"; then
28399 found_la="$additional_libdir/lib$name.la"
28404 if test "X$found_dir" = "X"; then
28405 for x in $LDFLAGS $LTLIBICONV; do
28407 acl_save_prefix="$prefix"
28408 prefix="$acl_final_prefix"
28409 acl_save_exec_prefix="$exec_prefix"
28410 exec_prefix="$acl_final_exec_prefix"
28411 eval x=\"$x\"
28412 exec_prefix="$acl_save_exec_prefix"
28413 prefix="$acl_save_prefix"
28415 case "$x" in
28416 -L*)
28417 dir=`echo "X$x" | sed -e 's/^X-L//'`
28418 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28419 found_dir="$dir"
28420 found_so="$dir/lib$name.$shlibext"
28421 if test -f "$dir/lib$name.la"; then
28422 found_la="$dir/lib$name.la"
28424 else
28425 if test -f "$dir/lib$name.$libext"; then
28426 found_dir="$dir"
28427 found_a="$dir/lib$name.$libext"
28428 if test -f "$dir/lib$name.la"; then
28429 found_la="$dir/lib$name.la"
28434 esac
28435 if test "X$found_dir" != "X"; then
28436 break
28438 done
28440 if test "X$found_dir" != "X"; then
28441 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28442 if test "X$found_so" != "X"; then
28443 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28444 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28445 else
28446 haveit=
28447 for x in $ltrpathdirs; do
28448 if test "X$x" = "X$found_dir"; then
28449 haveit=yes
28450 break
28452 done
28453 if test -z "$haveit"; then
28454 ltrpathdirs="$ltrpathdirs $found_dir"
28456 if test "$hardcode_direct" = yes; then
28457 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28458 else
28459 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28460 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28461 haveit=
28462 for x in $rpathdirs; do
28463 if test "X$x" = "X$found_dir"; then
28464 haveit=yes
28465 break
28467 done
28468 if test -z "$haveit"; then
28469 rpathdirs="$rpathdirs $found_dir"
28471 else
28472 haveit=
28473 for x in $LDFLAGS $LIBICONV; do
28475 acl_save_prefix="$prefix"
28476 prefix="$acl_final_prefix"
28477 acl_save_exec_prefix="$exec_prefix"
28478 exec_prefix="$acl_final_exec_prefix"
28479 eval x=\"$x\"
28480 exec_prefix="$acl_save_exec_prefix"
28481 prefix="$acl_save_prefix"
28483 if test "X$x" = "X-L$found_dir"; then
28484 haveit=yes
28485 break
28487 done
28488 if test -z "$haveit"; then
28489 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28491 if test "$hardcode_minus_L" != no; then
28492 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28493 else
28494 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28499 else
28500 if test "X$found_a" != "X"; then
28501 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28502 else
28503 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28506 additional_includedir=
28507 case "$found_dir" in
28508 */lib | */lib/)
28509 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28510 additional_includedir="$basedir/include"
28512 esac
28513 if test "X$additional_includedir" != "X"; then
28514 if test "X$additional_includedir" != "X/usr/include"; then
28515 haveit=
28516 if test "X$additional_includedir" = "X/usr/local/include"; then
28517 if test -n "$GCC"; then
28518 case $host_os in
28519 linux*) haveit=yes;;
28520 esac
28523 if test -z "$haveit"; then
28524 for x in $CPPFLAGS $INCICONV; do
28526 acl_save_prefix="$prefix"
28527 prefix="$acl_final_prefix"
28528 acl_save_exec_prefix="$exec_prefix"
28529 exec_prefix="$acl_final_exec_prefix"
28530 eval x=\"$x\"
28531 exec_prefix="$acl_save_exec_prefix"
28532 prefix="$acl_save_prefix"
28534 if test "X$x" = "X-I$additional_includedir"; then
28535 haveit=yes
28536 break
28538 done
28539 if test -z "$haveit"; then
28540 if test -d "$additional_includedir"; then
28541 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28547 if test -n "$found_la"; then
28548 save_libdir="$libdir"
28549 case "$found_la" in
28550 */* | *\\*) . "$found_la" ;;
28551 *) . "./$found_la" ;;
28552 esac
28553 libdir="$save_libdir"
28554 for dep in $dependency_libs; do
28555 case "$dep" in
28556 -L*)
28557 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28558 if test "X$additional_libdir" != "X/usr/lib"; then
28559 haveit=
28560 if test "X$additional_libdir" = "X/usr/local/lib"; then
28561 if test -n "$GCC"; then
28562 case $host_os in
28563 linux*) haveit=yes;;
28564 esac
28567 if test -z "$haveit"; then
28568 haveit=
28569 for x in $LDFLAGS $LIBICONV; do
28571 acl_save_prefix="$prefix"
28572 prefix="$acl_final_prefix"
28573 acl_save_exec_prefix="$exec_prefix"
28574 exec_prefix="$acl_final_exec_prefix"
28575 eval x=\"$x\"
28576 exec_prefix="$acl_save_exec_prefix"
28577 prefix="$acl_save_prefix"
28579 if test "X$x" = "X-L$additional_libdir"; then
28580 haveit=yes
28581 break
28583 done
28584 if test -z "$haveit"; then
28585 if test -d "$additional_libdir"; then
28586 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28589 haveit=
28590 for x in $LDFLAGS $LTLIBICONV; do
28592 acl_save_prefix="$prefix"
28593 prefix="$acl_final_prefix"
28594 acl_save_exec_prefix="$exec_prefix"
28595 exec_prefix="$acl_final_exec_prefix"
28596 eval x=\"$x\"
28597 exec_prefix="$acl_save_exec_prefix"
28598 prefix="$acl_save_prefix"
28600 if test "X$x" = "X-L$additional_libdir"; then
28601 haveit=yes
28602 break
28604 done
28605 if test -z "$haveit"; then
28606 if test -d "$additional_libdir"; then
28607 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28613 -R*)
28614 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28615 if test "$enable_rpath" != no; then
28616 haveit=
28617 for x in $rpathdirs; do
28618 if test "X$x" = "X$dir"; then
28619 haveit=yes
28620 break
28622 done
28623 if test -z "$haveit"; then
28624 rpathdirs="$rpathdirs $dir"
28626 haveit=
28627 for x in $ltrpathdirs; do
28628 if test "X$x" = "X$dir"; then
28629 haveit=yes
28630 break
28632 done
28633 if test -z "$haveit"; then
28634 ltrpathdirs="$ltrpathdirs $dir"
28638 -l*)
28639 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28641 *.la)
28642 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28645 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28646 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28648 esac
28649 done
28651 else
28652 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28653 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28657 done
28658 done
28659 if test "X$rpathdirs" != "X"; then
28660 if test -n "$hardcode_libdir_separator"; then
28661 alldirs=
28662 for found_dir in $rpathdirs; do
28663 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28664 done
28665 acl_save_libdir="$libdir"
28666 libdir="$alldirs"
28667 eval flag=\"$hardcode_libdir_flag_spec\"
28668 libdir="$acl_save_libdir"
28669 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28670 else
28671 for found_dir in $rpathdirs; do
28672 acl_save_libdir="$libdir"
28673 libdir="$found_dir"
28674 eval flag=\"$hardcode_libdir_flag_spec\"
28675 libdir="$acl_save_libdir"
28676 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28677 done
28680 if test "X$ltrpathdirs" != "X"; then
28681 for found_dir in $ltrpathdirs; do
28682 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28683 done
28692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28693 $as_echo_n "checking for iconv... " >&6; }
28694 if test "${am_cv_func_iconv+set}" = set; then :
28695 $as_echo_n "(cached) " >&6
28696 else
28698 am_cv_func_iconv="no, consider installing GNU libiconv"
28699 am_cv_lib_iconv=no
28700 am_save_CPPFLAGS="$CPPFLAGS"
28701 CPPFLAGS="$CPPFLAGS $INCICONV"
28702 if test x$gcc_no_link = xyes; then
28703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28706 /* end confdefs.h. */
28707 #include <stdlib.h>
28708 #include <iconv.h>
28710 main ()
28712 iconv_t cd = iconv_open("","");
28713 iconv(cd,NULL,NULL,NULL,NULL);
28714 iconv_close(cd);
28716 return 0;
28718 _ACEOF
28719 if ac_fn_c_try_link "$LINENO"; then :
28720 am_cv_func_iconv=yes
28722 rm -f core conftest.err conftest.$ac_objext \
28723 conftest$ac_exeext conftest.$ac_ext
28724 CPPFLAGS="$am_save_CPPFLAGS"
28726 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28727 for _libs in .libs _libs; do
28728 am_save_CPPFLAGS="$CPPFLAGS"
28729 am_save_LIBS="$LIBS"
28730 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28731 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28732 if test x$gcc_no_link = xyes; then
28733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28736 /* end confdefs.h. */
28737 #include <stdlib.h>
28738 #include <iconv.h>
28740 main ()
28742 iconv_t cd = iconv_open("","");
28743 iconv(cd,NULL,NULL,NULL,NULL);
28744 iconv_close(cd);
28746 return 0;
28748 _ACEOF
28749 if ac_fn_c_try_link "$LINENO"; then :
28750 INCICONV="-I../libiconv/include"
28751 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28752 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28753 am_cv_lib_iconv=yes
28754 am_cv_func_iconv=yes
28756 rm -f core conftest.err conftest.$ac_objext \
28757 conftest$ac_exeext conftest.$ac_ext
28758 CPPFLAGS="$am_save_CPPFLAGS"
28759 LIBS="$am_save_LIBS"
28760 if test "$am_cv_func_iconv" = "yes"; then
28761 break
28763 done
28766 if test "$am_cv_func_iconv" != yes; then
28767 am_save_CPPFLAGS="$CPPFLAGS"
28768 am_save_LIBS="$LIBS"
28769 CPPFLAGS="$LIBS $INCICONV"
28770 LIBS="$LIBS $LIBICONV"
28771 if test x$gcc_no_link = xyes; then
28772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28775 /* end confdefs.h. */
28776 #include <stdlib.h>
28777 #include <iconv.h>
28779 main ()
28781 iconv_t cd = iconv_open("","");
28782 iconv(cd,NULL,NULL,NULL,NULL);
28783 iconv_close(cd);
28785 return 0;
28787 _ACEOF
28788 if ac_fn_c_try_link "$LINENO"; then :
28789 am_cv_lib_iconv=yes
28790 am_cv_func_iconv=yes
28792 rm -f core conftest.err conftest.$ac_objext \
28793 conftest$ac_exeext conftest.$ac_ext
28794 CPPFLAGS="$am_save_CPPFLAGS"
28795 LIBS="$am_save_LIBS"
28799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28800 $as_echo "$am_cv_func_iconv" >&6; }
28801 if test "$am_cv_func_iconv" = yes; then
28803 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28806 if test "$am_cv_lib_iconv" = yes; then
28808 for element in $INCICONV; do
28809 haveit=
28810 for x in $CPPFLAGS; do
28812 acl_save_prefix="$prefix"
28813 prefix="$acl_final_prefix"
28814 acl_save_exec_prefix="$exec_prefix"
28815 exec_prefix="$acl_final_exec_prefix"
28816 eval x=\"$x\"
28817 exec_prefix="$acl_save_exec_prefix"
28818 prefix="$acl_save_prefix"
28820 if test "X$x" = "X$element"; then
28821 haveit=yes
28822 break
28824 done
28825 if test -z "$haveit"; then
28826 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28828 done
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28831 $as_echo_n "checking how to link with libiconv... " >&6; }
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28833 $as_echo "$LIBICONV" >&6; }
28834 else
28835 LIBICONV=
28836 LTLIBICONV=
28841 if test "$am_cv_func_iconv" = yes; then
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28843 $as_echo_n "checking for iconv declaration... " >&6; }
28844 if test "${am_cv_proto_iconv+set}" = set; then :
28845 $as_echo_n "(cached) " >&6
28846 else
28848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28849 /* end confdefs.h. */
28851 #include <stdlib.h>
28852 #include <iconv.h>
28853 extern
28854 #ifdef __cplusplus
28856 #endif
28857 #if defined(__STDC__) || defined(__cplusplus)
28858 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28859 #else
28860 size_t iconv();
28861 #endif
28864 main ()
28868 return 0;
28870 _ACEOF
28871 if ac_fn_c_try_compile "$LINENO"; then :
28872 am_cv_proto_iconv_arg1=""
28873 else
28874 am_cv_proto_iconv_arg1="const"
28876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28877 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);"
28880 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28882 }$am_cv_proto_iconv" >&5
28883 $as_echo "${ac_t:-
28884 }$am_cv_proto_iconv" >&6; }
28886 cat >>confdefs.h <<_ACEOF
28887 #define ICONV_CONST $am_cv_proto_iconv_arg1
28888 _ACEOF
28893 else
28895 # This lets us hard-code the functionality we know we'll have in the cross
28896 # target environment. "Let" is a sugar-coated word placed on an especially
28897 # dull and tedious hack, actually.
28899 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28900 # that involve linking, can't be used:
28901 # "cannot open sim-crt0.o"
28902 # "cannot open crt0.o"
28903 # etc. All this is because there currently exists no unified, consistent
28904 # way for top level CC information to be passed down to target directories:
28905 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28906 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28907 # crosses can be removed.
28909 # If Canadian cross, then don't pick up tools from the build directory.
28910 # Used only in GLIBCXX_EXPORT_INCLUDES.
28911 if test -n "$with_cross_host" &&
28912 test x"$build_alias" != x"$with_cross_host" &&
28913 test x"$build" != x"$target";
28914 then
28915 CANADIAN=yes
28916 else
28917 CANADIAN=no
28920 # Construct crosses by hand, eliminating bits that need ld...
28921 # GLIBCXX_CHECK_MATH_SUPPORT
28923 # First, test for "known" system libraries. We may be using newlib even
28924 # on a hosted environment.
28925 if test "x${with_newlib}" = "xyes"; then
28926 os_include_dir="os/newlib"
28927 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28930 # GLIBCXX_CHECK_STDLIB_SUPPORT
28931 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28934 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28936 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28938 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28940 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28942 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28944 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28946 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28948 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28950 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28952 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28954 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28956 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28958 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28960 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28962 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28964 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28966 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28968 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28970 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28972 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28974 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28976 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28979 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28981 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28983 else
28985 # Base decisions on target environment.
28986 case "${host}" in
28987 arm*-*-symbianelf*)
28988 # This is a freestanding configuration; there is nothing to do here.
28991 avr*-*-*)
28992 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28994 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28996 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28998 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29000 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29002 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29004 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29006 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29008 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29010 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29012 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29014 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29016 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29018 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29020 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29022 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29024 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29026 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29028 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29030 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29032 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29034 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29036 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29040 mips*-sde-elf*)
29041 # These definitions are for the SDE C library rather than newlib.
29042 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29045 # All these tests are for C++; save the language and the compiler flags.
29046 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29047 # found in GLIBCXX_CONFIGURE.
29049 ac_ext=cpp
29050 ac_cpp='$CXXCPP $CPPFLAGS'
29051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29055 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29056 ac_save_CXXFLAGS="$CXXFLAGS"
29058 # Check for maintainer-mode bits.
29059 if test x"$USE_MAINTAINER_MODE" = xno; then
29060 WERROR=''
29061 else
29062 WERROR='-Werror'
29065 # Check for -ffunction-sections -fdata-sections
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29067 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29068 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29070 /* end confdefs.h. */
29071 int foo; void bar() { };
29073 main ()
29077 return 0;
29079 _ACEOF
29080 if ac_fn_cxx_try_compile "$LINENO"; then :
29081 ac_fdsections=yes
29082 else
29083 ac_fdsections=no
29085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29086 if test "$ac_test_CXXFLAGS" = set; then
29087 CXXFLAGS="$ac_save_CXXFLAGS"
29088 else
29089 # this is the suspicious part
29090 CXXFLAGS=''
29092 if test x"$ac_fdsections" = x"yes"; then
29093 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29096 $as_echo "$ac_fdsections" >&6; }
29098 ac_ext=c
29099 ac_cpp='$CPP $CPPFLAGS'
29100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29108 # If we're not using GNU ld, then there's no point in even trying these
29109 # tests. Check for that first. We should have already tested for gld
29110 # by now (in libtool), but require it now just to be safe...
29111 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29112 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29116 # The name set by libtool depends on the version of libtool. Shame on us
29117 # for depending on an impl detail, but c'est la vie. Older versions used
29118 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29119 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29120 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29121 # set (hence we're using an older libtool), then set it.
29122 if test x${with_gnu_ld+set} != xset; then
29123 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29124 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29125 with_gnu_ld=no
29126 else
29127 with_gnu_ld=$ac_cv_prog_gnu_ld
29131 # Start by getting the version number. I think the libtool test already
29132 # does some of this, but throws away the result.
29133 glibcxx_ld_is_gold=no
29134 if test x"$with_gnu_ld" = x"yes"; then
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29136 $as_echo_n "checking for ld version... " >&6; }
29138 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29139 glibcxx_ld_is_gold=yes
29141 ldver=`$LD --version 2>/dev/null |
29142 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'`
29144 glibcxx_gnu_ld_version=`echo $ldver | \
29145 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29147 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29150 # Set --gc-sections.
29151 glibcxx_have_gc_sections=no
29152 if test "$glibcxx_ld_is_gold" = "yes"; then
29153 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29154 glibcxx_have_gc_sections=yes
29156 else
29157 glibcxx_gcsections_min_ld=21602
29158 if test x"$with_gnu_ld" = x"yes" &&
29159 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29160 glibcxx_have_gc_sections=yes
29163 if test "$glibcxx_have_gc_sections" = "yes"; then
29164 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29165 # NB: This flag only works reliably after 2.16.1. Configure tests
29166 # for this are difficult, so hard wire a value that should work.
29168 ac_test_CFLAGS="${CFLAGS+set}"
29169 ac_save_CFLAGS="$CFLAGS"
29170 CFLAGS='-Wl,--gc-sections'
29172 # Check for -Wl,--gc-sections
29173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29174 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29175 if test x$gcc_no_link = xyes; then
29176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h. */
29180 int one(void) { return 1; }
29181 int two(void) { return 2; }
29184 main ()
29186 two();
29188 return 0;
29190 _ACEOF
29191 if ac_fn_c_try_link "$LINENO"; then :
29192 ac_gcsections=yes
29193 else
29194 ac_gcsections=no
29196 rm -f core conftest.err conftest.$ac_objext \
29197 conftest$ac_exeext conftest.$ac_ext
29198 if test "$ac_gcsections" = "yes"; then
29199 rm -f conftest.c
29200 touch conftest.c
29201 if $CC -c conftest.c; then
29202 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29203 grep "Warning: gc-sections option ignored" > /dev/null; then
29204 ac_gcsections=no
29207 rm -f conftest.c conftest.o conftest
29209 if test "$ac_gcsections" = "yes"; then
29210 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29213 $as_echo "$ac_gcsections" >&6; }
29215 if test "$ac_test_CFLAGS" = set; then
29216 CFLAGS="$ac_save_CFLAGS"
29217 else
29218 # this is the suspicious part
29219 CFLAGS=''
29223 # Set -z,relro.
29224 # Note this is only for shared objects.
29225 ac_ld_relro=no
29226 if test x"$with_gnu_ld" = x"yes"; then
29227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29228 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29229 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29230 if test -n "$cxx_z_relo"; then
29231 OPT_LDFLAGS="-Wl,-z,relro"
29232 ac_ld_relro=yes
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29235 $as_echo "$ac_ld_relro" >&6; }
29238 # Set linker optimization flags.
29239 if test x"$with_gnu_ld" = x"yes"; then
29240 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29248 ac_save_CXXFLAGS="$CXXFLAGS"
29249 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29252 $as_echo_n "checking for sin in -lm... " >&6; }
29253 if test "${ac_cv_lib_m_sin+set}" = set; then :
29254 $as_echo_n "(cached) " >&6
29255 else
29256 ac_check_lib_save_LIBS=$LIBS
29257 LIBS="-lm $LIBS"
29258 if test x$gcc_no_link = xyes; then
29259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29262 /* end confdefs.h. */
29264 /* Override any GCC internal prototype to avoid an error.
29265 Use char because int might match the return type of a GCC
29266 builtin and then its argument prototype would still apply. */
29267 #ifdef __cplusplus
29268 extern "C"
29269 #endif
29270 char sin ();
29272 main ()
29274 return sin ();
29276 return 0;
29278 _ACEOF
29279 if ac_fn_c_try_link "$LINENO"; then :
29280 ac_cv_lib_m_sin=yes
29281 else
29282 ac_cv_lib_m_sin=no
29284 rm -f core conftest.err conftest.$ac_objext \
29285 conftest$ac_exeext conftest.$ac_ext
29286 LIBS=$ac_check_lib_save_LIBS
29288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29289 $as_echo "$ac_cv_lib_m_sin" >&6; }
29290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29291 libm="-lm"
29294 ac_save_LIBS="$LIBS"
29295 LIBS="$LIBS $libm"
29299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29300 $as_echo_n "checking for isinf declaration... " >&6; }
29301 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29302 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29303 $as_echo_n "(cached) " >&6
29304 else
29307 ac_ext=cpp
29308 ac_cpp='$CXXCPP $CPPFLAGS'
29309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29314 /* end confdefs.h. */
29315 #include <math.h>
29316 #ifdef HAVE_IEEEFP_H
29317 #include <ieeefp.h>
29318 #endif
29321 main ()
29323 isinf(0);
29325 return 0;
29327 _ACEOF
29328 if ac_fn_cxx_try_compile "$LINENO"; then :
29329 glibcxx_cv_func_isinf_use=yes
29330 else
29331 glibcxx_cv_func_isinf_use=no
29333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29334 ac_ext=c
29335 ac_cpp='$CPP $CPPFLAGS'
29336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29345 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29347 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29348 for ac_func in isinf
29349 do :
29350 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29351 if test "x$ac_cv_func_isinf" = x""yes; then :
29352 cat >>confdefs.h <<_ACEOF
29353 #define HAVE_ISINF 1
29354 _ACEOF
29357 done
29359 else
29361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29362 $as_echo_n "checking for _isinf declaration... " >&6; }
29363 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29364 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29365 $as_echo_n "(cached) " >&6
29366 else
29369 ac_ext=cpp
29370 ac_cpp='$CXXCPP $CPPFLAGS'
29371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29376 /* end confdefs.h. */
29377 #include <math.h>
29378 #ifdef HAVE_IEEEFP_H
29379 #include <ieeefp.h>
29380 #endif
29383 main ()
29385 _isinf(0);
29387 return 0;
29389 _ACEOF
29390 if ac_fn_cxx_try_compile "$LINENO"; then :
29391 glibcxx_cv_func__isinf_use=yes
29392 else
29393 glibcxx_cv_func__isinf_use=no
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396 ac_ext=c
29397 ac_cpp='$CPP $CPPFLAGS'
29398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29407 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29409 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29410 for ac_func in _isinf
29411 do :
29412 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29413 if test "x$ac_cv_func__isinf" = x""yes; then :
29414 cat >>confdefs.h <<_ACEOF
29415 #define HAVE__ISINF 1
29416 _ACEOF
29419 done
29428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29429 $as_echo_n "checking for isnan declaration... " >&6; }
29430 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29431 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29432 $as_echo_n "(cached) " >&6
29433 else
29436 ac_ext=cpp
29437 ac_cpp='$CXXCPP $CPPFLAGS'
29438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29443 /* end confdefs.h. */
29444 #include <math.h>
29445 #ifdef HAVE_IEEEFP_H
29446 #include <ieeefp.h>
29447 #endif
29450 main ()
29452 isnan(0);
29454 return 0;
29456 _ACEOF
29457 if ac_fn_cxx_try_compile "$LINENO"; then :
29458 glibcxx_cv_func_isnan_use=yes
29459 else
29460 glibcxx_cv_func_isnan_use=no
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463 ac_ext=c
29464 ac_cpp='$CPP $CPPFLAGS'
29465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29474 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29476 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29477 for ac_func in isnan
29478 do :
29479 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29480 if test "x$ac_cv_func_isnan" = x""yes; then :
29481 cat >>confdefs.h <<_ACEOF
29482 #define HAVE_ISNAN 1
29483 _ACEOF
29486 done
29488 else
29490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29491 $as_echo_n "checking for _isnan declaration... " >&6; }
29492 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29493 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29494 $as_echo_n "(cached) " >&6
29495 else
29498 ac_ext=cpp
29499 ac_cpp='$CXXCPP $CPPFLAGS'
29500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29505 /* end confdefs.h. */
29506 #include <math.h>
29507 #ifdef HAVE_IEEEFP_H
29508 #include <ieeefp.h>
29509 #endif
29512 main ()
29514 _isnan(0);
29516 return 0;
29518 _ACEOF
29519 if ac_fn_cxx_try_compile "$LINENO"; then :
29520 glibcxx_cv_func__isnan_use=yes
29521 else
29522 glibcxx_cv_func__isnan_use=no
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525 ac_ext=c
29526 ac_cpp='$CPP $CPPFLAGS'
29527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29536 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29538 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29539 for ac_func in _isnan
29540 do :
29541 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29542 if test "x$ac_cv_func__isnan" = x""yes; then :
29543 cat >>confdefs.h <<_ACEOF
29544 #define HAVE__ISNAN 1
29545 _ACEOF
29548 done
29557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29558 $as_echo_n "checking for finite declaration... " >&6; }
29559 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29560 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29561 $as_echo_n "(cached) " >&6
29562 else
29565 ac_ext=cpp
29566 ac_cpp='$CXXCPP $CPPFLAGS'
29567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29572 /* end confdefs.h. */
29573 #include <math.h>
29574 #ifdef HAVE_IEEEFP_H
29575 #include <ieeefp.h>
29576 #endif
29579 main ()
29581 finite(0);
29583 return 0;
29585 _ACEOF
29586 if ac_fn_cxx_try_compile "$LINENO"; then :
29587 glibcxx_cv_func_finite_use=yes
29588 else
29589 glibcxx_cv_func_finite_use=no
29591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29592 ac_ext=c
29593 ac_cpp='$CPP $CPPFLAGS'
29594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29603 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29605 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29606 for ac_func in finite
29607 do :
29608 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29609 if test "x$ac_cv_func_finite" = x""yes; then :
29610 cat >>confdefs.h <<_ACEOF
29611 #define HAVE_FINITE 1
29612 _ACEOF
29615 done
29617 else
29619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29620 $as_echo_n "checking for _finite declaration... " >&6; }
29621 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29622 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29623 $as_echo_n "(cached) " >&6
29624 else
29627 ac_ext=cpp
29628 ac_cpp='$CXXCPP $CPPFLAGS'
29629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29634 /* end confdefs.h. */
29635 #include <math.h>
29636 #ifdef HAVE_IEEEFP_H
29637 #include <ieeefp.h>
29638 #endif
29641 main ()
29643 _finite(0);
29645 return 0;
29647 _ACEOF
29648 if ac_fn_cxx_try_compile "$LINENO"; then :
29649 glibcxx_cv_func__finite_use=yes
29650 else
29651 glibcxx_cv_func__finite_use=no
29653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29654 ac_ext=c
29655 ac_cpp='$CPP $CPPFLAGS'
29656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29665 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29667 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29668 for ac_func in _finite
29669 do :
29670 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29671 if test "x$ac_cv_func__finite" = x""yes; then :
29672 cat >>confdefs.h <<_ACEOF
29673 #define HAVE__FINITE 1
29674 _ACEOF
29677 done
29686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29687 $as_echo_n "checking for sincos declaration... " >&6; }
29688 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29689 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29690 $as_echo_n "(cached) " >&6
29691 else
29694 ac_ext=cpp
29695 ac_cpp='$CXXCPP $CPPFLAGS'
29696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29701 /* end confdefs.h. */
29702 #include <math.h>
29704 main ()
29706 sincos(0, 0, 0);
29708 return 0;
29710 _ACEOF
29711 if ac_fn_cxx_try_compile "$LINENO"; then :
29712 glibcxx_cv_func_sincos_use=yes
29713 else
29714 glibcxx_cv_func_sincos_use=no
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 ac_ext=c
29718 ac_cpp='$CPP $CPPFLAGS'
29719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29728 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29730 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29731 for ac_func in sincos
29732 do :
29733 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29734 if test "x$ac_cv_func_sincos" = x""yes; then :
29735 cat >>confdefs.h <<_ACEOF
29736 #define HAVE_SINCOS 1
29737 _ACEOF
29740 done
29742 else
29744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29745 $as_echo_n "checking for _sincos declaration... " >&6; }
29746 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29747 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29748 $as_echo_n "(cached) " >&6
29749 else
29752 ac_ext=cpp
29753 ac_cpp='$CXXCPP $CPPFLAGS'
29754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29759 /* end confdefs.h. */
29760 #include <math.h>
29762 main ()
29764 _sincos(0, 0, 0);
29766 return 0;
29768 _ACEOF
29769 if ac_fn_cxx_try_compile "$LINENO"; then :
29770 glibcxx_cv_func__sincos_use=yes
29771 else
29772 glibcxx_cv_func__sincos_use=no
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775 ac_ext=c
29776 ac_cpp='$CPP $CPPFLAGS'
29777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29786 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29788 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29789 for ac_func in _sincos
29790 do :
29791 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29792 if test "x$ac_cv_func__sincos" = x""yes; then :
29793 cat >>confdefs.h <<_ACEOF
29794 #define HAVE__SINCOS 1
29795 _ACEOF
29798 done
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29808 $as_echo_n "checking for fpclass declaration... " >&6; }
29809 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29810 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29811 $as_echo_n "(cached) " >&6
29812 else
29815 ac_ext=cpp
29816 ac_cpp='$CXXCPP $CPPFLAGS'
29817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29822 /* end confdefs.h. */
29823 #include <math.h>
29824 #ifdef HAVE_IEEEFP_H
29825 #include <ieeefp.h>
29826 #endif
29829 main ()
29831 fpclass(0);
29833 return 0;
29835 _ACEOF
29836 if ac_fn_cxx_try_compile "$LINENO"; then :
29837 glibcxx_cv_func_fpclass_use=yes
29838 else
29839 glibcxx_cv_func_fpclass_use=no
29841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29842 ac_ext=c
29843 ac_cpp='$CPP $CPPFLAGS'
29844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29853 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29855 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29856 for ac_func in fpclass
29857 do :
29858 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29859 if test "x$ac_cv_func_fpclass" = x""yes; then :
29860 cat >>confdefs.h <<_ACEOF
29861 #define HAVE_FPCLASS 1
29862 _ACEOF
29865 done
29867 else
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29870 $as_echo_n "checking for _fpclass declaration... " >&6; }
29871 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29872 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29873 $as_echo_n "(cached) " >&6
29874 else
29877 ac_ext=cpp
29878 ac_cpp='$CXXCPP $CPPFLAGS'
29879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h. */
29885 #include <math.h>
29886 #ifdef HAVE_IEEEFP_H
29887 #include <ieeefp.h>
29888 #endif
29891 main ()
29893 _fpclass(0);
29895 return 0;
29897 _ACEOF
29898 if ac_fn_cxx_try_compile "$LINENO"; then :
29899 glibcxx_cv_func__fpclass_use=yes
29900 else
29901 glibcxx_cv_func__fpclass_use=no
29903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29904 ac_ext=c
29905 ac_cpp='$CPP $CPPFLAGS'
29906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29915 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29917 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29918 for ac_func in _fpclass
29919 do :
29920 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29921 if test "x$ac_cv_func__fpclass" = x""yes; then :
29922 cat >>confdefs.h <<_ACEOF
29923 #define HAVE__FPCLASS 1
29924 _ACEOF
29927 done
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29937 $as_echo_n "checking for qfpclass declaration... " >&6; }
29938 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29939 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29940 $as_echo_n "(cached) " >&6
29941 else
29944 ac_ext=cpp
29945 ac_cpp='$CXXCPP $CPPFLAGS'
29946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29951 /* end confdefs.h. */
29952 #include <math.h>
29953 #ifdef HAVE_IEEEFP_H
29954 #include <ieeefp.h>
29955 #endif
29958 main ()
29960 qfpclass(0);
29962 return 0;
29964 _ACEOF
29965 if ac_fn_cxx_try_compile "$LINENO"; then :
29966 glibcxx_cv_func_qfpclass_use=yes
29967 else
29968 glibcxx_cv_func_qfpclass_use=no
29970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29971 ac_ext=c
29972 ac_cpp='$CPP $CPPFLAGS'
29973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29982 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29984 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29985 for ac_func in qfpclass
29986 do :
29987 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29988 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29989 cat >>confdefs.h <<_ACEOF
29990 #define HAVE_QFPCLASS 1
29991 _ACEOF
29994 done
29996 else
29998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29999 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30000 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30001 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
30002 $as_echo_n "(cached) " >&6
30003 else
30006 ac_ext=cpp
30007 ac_cpp='$CXXCPP $CPPFLAGS'
30008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30013 /* end confdefs.h. */
30014 #include <math.h>
30015 #ifdef HAVE_IEEEFP_H
30016 #include <ieeefp.h>
30017 #endif
30020 main ()
30022 _qfpclass(0);
30024 return 0;
30026 _ACEOF
30027 if ac_fn_cxx_try_compile "$LINENO"; then :
30028 glibcxx_cv_func__qfpclass_use=yes
30029 else
30030 glibcxx_cv_func__qfpclass_use=no
30032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30033 ac_ext=c
30034 ac_cpp='$CPP $CPPFLAGS'
30035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30044 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30046 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30047 for ac_func in _qfpclass
30048 do :
30049 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30050 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30051 cat >>confdefs.h <<_ACEOF
30052 #define HAVE__QFPCLASS 1
30053 _ACEOF
30056 done
30065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30066 $as_echo_n "checking for hypot declaration... " >&6; }
30067 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30068 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30069 $as_echo_n "(cached) " >&6
30070 else
30073 ac_ext=cpp
30074 ac_cpp='$CXXCPP $CPPFLAGS'
30075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30080 /* end confdefs.h. */
30081 #include <math.h>
30083 main ()
30085 hypot(0, 0);
30087 return 0;
30089 _ACEOF
30090 if ac_fn_cxx_try_compile "$LINENO"; then :
30091 glibcxx_cv_func_hypot_use=yes
30092 else
30093 glibcxx_cv_func_hypot_use=no
30095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30096 ac_ext=c
30097 ac_cpp='$CPP $CPPFLAGS'
30098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30107 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30109 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30110 for ac_func in hypot
30111 do :
30112 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30113 if test "x$ac_cv_func_hypot" = x""yes; then :
30114 cat >>confdefs.h <<_ACEOF
30115 #define HAVE_HYPOT 1
30116 _ACEOF
30119 done
30121 else
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30124 $as_echo_n "checking for _hypot declaration... " >&6; }
30125 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30126 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30127 $as_echo_n "(cached) " >&6
30128 else
30131 ac_ext=cpp
30132 ac_cpp='$CXXCPP $CPPFLAGS'
30133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30138 /* end confdefs.h. */
30139 #include <math.h>
30141 main ()
30143 _hypot(0, 0);
30145 return 0;
30147 _ACEOF
30148 if ac_fn_cxx_try_compile "$LINENO"; then :
30149 glibcxx_cv_func__hypot_use=yes
30150 else
30151 glibcxx_cv_func__hypot_use=no
30153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30154 ac_ext=c
30155 ac_cpp='$CPP $CPPFLAGS'
30156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30165 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30167 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30168 for ac_func in _hypot
30169 do :
30170 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30171 if test "x$ac_cv_func__hypot" = x""yes; then :
30172 cat >>confdefs.h <<_ACEOF
30173 #define HAVE__HYPOT 1
30174 _ACEOF
30177 done
30186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30187 $as_echo_n "checking for float trig functions... " >&6; }
30188 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30189 $as_echo_n "(cached) " >&6
30190 else
30193 ac_ext=cpp
30194 ac_cpp='$CXXCPP $CPPFLAGS'
30195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30200 /* end confdefs.h. */
30201 #include <math.h>
30203 main ()
30205 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30207 return 0;
30209 _ACEOF
30210 if ac_fn_cxx_try_compile "$LINENO"; then :
30211 glibcxx_cv_func_float_trig_use=yes
30212 else
30213 glibcxx_cv_func_float_trig_use=no
30215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30216 ac_ext=c
30217 ac_cpp='$CPP $CPPFLAGS'
30218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30225 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30226 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30227 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30228 do :
30229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30231 eval as_val=\$$as_ac_var
30232 if test "x$as_val" = x""yes; then :
30233 cat >>confdefs.h <<_ACEOF
30234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30235 _ACEOF
30238 done
30240 else
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30242 $as_echo_n "checking for _float trig functions... " >&6; }
30243 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30244 $as_echo_n "(cached) " >&6
30245 else
30248 ac_ext=cpp
30249 ac_cpp='$CXXCPP $CPPFLAGS'
30250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30255 /* end confdefs.h. */
30256 #include <math.h>
30258 main ()
30260 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30262 return 0;
30264 _ACEOF
30265 if ac_fn_cxx_try_compile "$LINENO"; then :
30266 glibcxx_cv_func__float_trig_use=yes
30267 else
30268 glibcxx_cv_func__float_trig_use=no
30270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30271 ac_ext=c
30272 ac_cpp='$CPP $CPPFLAGS'
30273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30280 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30281 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30282 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30283 do :
30284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30286 eval as_val=\$$as_ac_var
30287 if test "x$as_val" = x""yes; then :
30288 cat >>confdefs.h <<_ACEOF
30289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30290 _ACEOF
30293 done
30302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30303 $as_echo_n "checking for float round functions... " >&6; }
30304 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30305 $as_echo_n "(cached) " >&6
30306 else
30309 ac_ext=cpp
30310 ac_cpp='$CXXCPP $CPPFLAGS'
30311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30316 /* end confdefs.h. */
30317 #include <math.h>
30319 main ()
30321 ceilf (0); floorf (0);
30323 return 0;
30325 _ACEOF
30326 if ac_fn_cxx_try_compile "$LINENO"; then :
30327 glibcxx_cv_func_float_round_use=yes
30328 else
30329 glibcxx_cv_func_float_round_use=no
30331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30332 ac_ext=c
30333 ac_cpp='$CPP $CPPFLAGS'
30334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30341 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30342 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30343 for ac_func in ceilf floorf
30344 do :
30345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30347 eval as_val=\$$as_ac_var
30348 if test "x$as_val" = x""yes; then :
30349 cat >>confdefs.h <<_ACEOF
30350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30351 _ACEOF
30354 done
30356 else
30357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30358 $as_echo_n "checking for _float round functions... " >&6; }
30359 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30360 $as_echo_n "(cached) " >&6
30361 else
30364 ac_ext=cpp
30365 ac_cpp='$CXXCPP $CPPFLAGS'
30366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30371 /* end confdefs.h. */
30372 #include <math.h>
30374 main ()
30376 _ceilf (0); _floorf (0);
30378 return 0;
30380 _ACEOF
30381 if ac_fn_cxx_try_compile "$LINENO"; then :
30382 glibcxx_cv_func__float_round_use=yes
30383 else
30384 glibcxx_cv_func__float_round_use=no
30386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30387 ac_ext=c
30388 ac_cpp='$CPP $CPPFLAGS'
30389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30396 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30397 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30398 for ac_func in _ceilf _floorf
30399 do :
30400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30402 eval as_val=\$$as_ac_var
30403 if test "x$as_val" = x""yes; then :
30404 cat >>confdefs.h <<_ACEOF
30405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30406 _ACEOF
30409 done
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30420 $as_echo_n "checking for expf declaration... " >&6; }
30421 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30422 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30423 $as_echo_n "(cached) " >&6
30424 else
30427 ac_ext=cpp
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30435 #include <math.h>
30436 #ifdef HAVE_IEEEFP_H
30437 #include <ieeefp.h>
30438 #endif
30441 main ()
30443 expf(0);
30445 return 0;
30447 _ACEOF
30448 if ac_fn_cxx_try_compile "$LINENO"; then :
30449 glibcxx_cv_func_expf_use=yes
30450 else
30451 glibcxx_cv_func_expf_use=no
30453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30454 ac_ext=c
30455 ac_cpp='$CPP $CPPFLAGS'
30456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30465 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30467 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30468 for ac_func in expf
30469 do :
30470 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30471 if test "x$ac_cv_func_expf" = x""yes; then :
30472 cat >>confdefs.h <<_ACEOF
30473 #define HAVE_EXPF 1
30474 _ACEOF
30477 done
30479 else
30481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30482 $as_echo_n "checking for _expf declaration... " >&6; }
30483 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30484 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30485 $as_echo_n "(cached) " >&6
30486 else
30489 ac_ext=cpp
30490 ac_cpp='$CXXCPP $CPPFLAGS'
30491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30496 /* end confdefs.h. */
30497 #include <math.h>
30498 #ifdef HAVE_IEEEFP_H
30499 #include <ieeefp.h>
30500 #endif
30503 main ()
30505 _expf(0);
30507 return 0;
30509 _ACEOF
30510 if ac_fn_cxx_try_compile "$LINENO"; then :
30511 glibcxx_cv_func__expf_use=yes
30512 else
30513 glibcxx_cv_func__expf_use=no
30515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30516 ac_ext=c
30517 ac_cpp='$CPP $CPPFLAGS'
30518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30527 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30529 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30530 for ac_func in _expf
30531 do :
30532 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30533 if test "x$ac_cv_func__expf" = x""yes; then :
30534 cat >>confdefs.h <<_ACEOF
30535 #define HAVE__EXPF 1
30536 _ACEOF
30539 done
30548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30549 $as_echo_n "checking for isnanf declaration... " >&6; }
30550 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30551 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30552 $as_echo_n "(cached) " >&6
30553 else
30556 ac_ext=cpp
30557 ac_cpp='$CXXCPP $CPPFLAGS'
30558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30563 /* end confdefs.h. */
30564 #include <math.h>
30565 #ifdef HAVE_IEEEFP_H
30566 #include <ieeefp.h>
30567 #endif
30570 main ()
30572 isnanf(0);
30574 return 0;
30576 _ACEOF
30577 if ac_fn_cxx_try_compile "$LINENO"; then :
30578 glibcxx_cv_func_isnanf_use=yes
30579 else
30580 glibcxx_cv_func_isnanf_use=no
30582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30583 ac_ext=c
30584 ac_cpp='$CPP $CPPFLAGS'
30585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30594 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30596 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30597 for ac_func in isnanf
30598 do :
30599 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30600 if test "x$ac_cv_func_isnanf" = x""yes; then :
30601 cat >>confdefs.h <<_ACEOF
30602 #define HAVE_ISNANF 1
30603 _ACEOF
30606 done
30608 else
30610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30611 $as_echo_n "checking for _isnanf declaration... " >&6; }
30612 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30613 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30614 $as_echo_n "(cached) " >&6
30615 else
30618 ac_ext=cpp
30619 ac_cpp='$CXXCPP $CPPFLAGS'
30620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30625 /* end confdefs.h. */
30626 #include <math.h>
30627 #ifdef HAVE_IEEEFP_H
30628 #include <ieeefp.h>
30629 #endif
30632 main ()
30634 _isnanf(0);
30636 return 0;
30638 _ACEOF
30639 if ac_fn_cxx_try_compile "$LINENO"; then :
30640 glibcxx_cv_func__isnanf_use=yes
30641 else
30642 glibcxx_cv_func__isnanf_use=no
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30656 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30658 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30659 for ac_func in _isnanf
30660 do :
30661 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30662 if test "x$ac_cv_func__isnanf" = x""yes; then :
30663 cat >>confdefs.h <<_ACEOF
30664 #define HAVE__ISNANF 1
30665 _ACEOF
30668 done
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30678 $as_echo_n "checking for isinff declaration... " >&6; }
30679 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30680 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30681 $as_echo_n "(cached) " >&6
30682 else
30685 ac_ext=cpp
30686 ac_cpp='$CXXCPP $CPPFLAGS'
30687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30692 /* end confdefs.h. */
30693 #include <math.h>
30694 #ifdef HAVE_IEEEFP_H
30695 #include <ieeefp.h>
30696 #endif
30699 main ()
30701 isinff(0);
30703 return 0;
30705 _ACEOF
30706 if ac_fn_cxx_try_compile "$LINENO"; then :
30707 glibcxx_cv_func_isinff_use=yes
30708 else
30709 glibcxx_cv_func_isinff_use=no
30711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30712 ac_ext=c
30713 ac_cpp='$CPP $CPPFLAGS'
30714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30723 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30725 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30726 for ac_func in isinff
30727 do :
30728 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30729 if test "x$ac_cv_func_isinff" = x""yes; then :
30730 cat >>confdefs.h <<_ACEOF
30731 #define HAVE_ISINFF 1
30732 _ACEOF
30735 done
30737 else
30739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30740 $as_echo_n "checking for _isinff declaration... " >&6; }
30741 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30742 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30743 $as_echo_n "(cached) " >&6
30744 else
30747 ac_ext=cpp
30748 ac_cpp='$CXXCPP $CPPFLAGS'
30749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30754 /* end confdefs.h. */
30755 #include <math.h>
30756 #ifdef HAVE_IEEEFP_H
30757 #include <ieeefp.h>
30758 #endif
30761 main ()
30763 _isinff(0);
30765 return 0;
30767 _ACEOF
30768 if ac_fn_cxx_try_compile "$LINENO"; then :
30769 glibcxx_cv_func__isinff_use=yes
30770 else
30771 glibcxx_cv_func__isinff_use=no
30773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30774 ac_ext=c
30775 ac_cpp='$CPP $CPPFLAGS'
30776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30785 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30787 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30788 for ac_func in _isinff
30789 do :
30790 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30791 if test "x$ac_cv_func__isinff" = x""yes; then :
30792 cat >>confdefs.h <<_ACEOF
30793 #define HAVE__ISINFF 1
30794 _ACEOF
30797 done
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30807 $as_echo_n "checking for atan2f declaration... " >&6; }
30808 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30809 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30810 $as_echo_n "(cached) " >&6
30811 else
30814 ac_ext=cpp
30815 ac_cpp='$CXXCPP $CPPFLAGS'
30816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30821 /* end confdefs.h. */
30822 #include <math.h>
30824 main ()
30826 atan2f(0, 0);
30828 return 0;
30830 _ACEOF
30831 if ac_fn_cxx_try_compile "$LINENO"; then :
30832 glibcxx_cv_func_atan2f_use=yes
30833 else
30834 glibcxx_cv_func_atan2f_use=no
30836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30837 ac_ext=c
30838 ac_cpp='$CPP $CPPFLAGS'
30839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30848 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30850 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30851 for ac_func in atan2f
30852 do :
30853 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30854 if test "x$ac_cv_func_atan2f" = x""yes; then :
30855 cat >>confdefs.h <<_ACEOF
30856 #define HAVE_ATAN2F 1
30857 _ACEOF
30860 done
30862 else
30864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30865 $as_echo_n "checking for _atan2f declaration... " >&6; }
30866 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30867 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30868 $as_echo_n "(cached) " >&6
30869 else
30872 ac_ext=cpp
30873 ac_cpp='$CXXCPP $CPPFLAGS'
30874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30879 /* end confdefs.h. */
30880 #include <math.h>
30882 main ()
30884 _atan2f(0, 0);
30886 return 0;
30888 _ACEOF
30889 if ac_fn_cxx_try_compile "$LINENO"; then :
30890 glibcxx_cv_func__atan2f_use=yes
30891 else
30892 glibcxx_cv_func__atan2f_use=no
30894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30895 ac_ext=c
30896 ac_cpp='$CPP $CPPFLAGS'
30897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30906 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30908 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30909 for ac_func in _atan2f
30910 do :
30911 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30912 if test "x$ac_cv_func__atan2f" = x""yes; then :
30913 cat >>confdefs.h <<_ACEOF
30914 #define HAVE__ATAN2F 1
30915 _ACEOF
30918 done
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30928 $as_echo_n "checking for fabsf declaration... " >&6; }
30929 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30930 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30931 $as_echo_n "(cached) " >&6
30932 else
30935 ac_ext=cpp
30936 ac_cpp='$CXXCPP $CPPFLAGS'
30937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30942 /* end confdefs.h. */
30943 #include <math.h>
30944 #ifdef HAVE_IEEEFP_H
30945 #include <ieeefp.h>
30946 #endif
30949 main ()
30951 fabsf(0);
30953 return 0;
30955 _ACEOF
30956 if ac_fn_cxx_try_compile "$LINENO"; then :
30957 glibcxx_cv_func_fabsf_use=yes
30958 else
30959 glibcxx_cv_func_fabsf_use=no
30961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30962 ac_ext=c
30963 ac_cpp='$CPP $CPPFLAGS'
30964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30973 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30975 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30976 for ac_func in fabsf
30977 do :
30978 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30979 if test "x$ac_cv_func_fabsf" = x""yes; then :
30980 cat >>confdefs.h <<_ACEOF
30981 #define HAVE_FABSF 1
30982 _ACEOF
30985 done
30987 else
30989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30990 $as_echo_n "checking for _fabsf declaration... " >&6; }
30991 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30992 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30993 $as_echo_n "(cached) " >&6
30994 else
30997 ac_ext=cpp
30998 ac_cpp='$CXXCPP $CPPFLAGS'
30999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31004 /* end confdefs.h. */
31005 #include <math.h>
31006 #ifdef HAVE_IEEEFP_H
31007 #include <ieeefp.h>
31008 #endif
31011 main ()
31013 _fabsf(0);
31015 return 0;
31017 _ACEOF
31018 if ac_fn_cxx_try_compile "$LINENO"; then :
31019 glibcxx_cv_func__fabsf_use=yes
31020 else
31021 glibcxx_cv_func__fabsf_use=no
31023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31024 ac_ext=c
31025 ac_cpp='$CPP $CPPFLAGS'
31026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31035 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31037 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31038 for ac_func in _fabsf
31039 do :
31040 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31041 if test "x$ac_cv_func__fabsf" = x""yes; then :
31042 cat >>confdefs.h <<_ACEOF
31043 #define HAVE__FABSF 1
31044 _ACEOF
31047 done
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31057 $as_echo_n "checking for fmodf declaration... " >&6; }
31058 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31059 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31060 $as_echo_n "(cached) " >&6
31061 else
31064 ac_ext=cpp
31065 ac_cpp='$CXXCPP $CPPFLAGS'
31066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31071 /* end confdefs.h. */
31072 #include <math.h>
31074 main ()
31076 fmodf(0, 0);
31078 return 0;
31080 _ACEOF
31081 if ac_fn_cxx_try_compile "$LINENO"; then :
31082 glibcxx_cv_func_fmodf_use=yes
31083 else
31084 glibcxx_cv_func_fmodf_use=no
31086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31087 ac_ext=c
31088 ac_cpp='$CPP $CPPFLAGS'
31089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31098 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31100 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31101 for ac_func in fmodf
31102 do :
31103 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31104 if test "x$ac_cv_func_fmodf" = x""yes; then :
31105 cat >>confdefs.h <<_ACEOF
31106 #define HAVE_FMODF 1
31107 _ACEOF
31110 done
31112 else
31114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31115 $as_echo_n "checking for _fmodf declaration... " >&6; }
31116 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31117 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31118 $as_echo_n "(cached) " >&6
31119 else
31122 ac_ext=cpp
31123 ac_cpp='$CXXCPP $CPPFLAGS'
31124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31129 /* end confdefs.h. */
31130 #include <math.h>
31132 main ()
31134 _fmodf(0, 0);
31136 return 0;
31138 _ACEOF
31139 if ac_fn_cxx_try_compile "$LINENO"; then :
31140 glibcxx_cv_func__fmodf_use=yes
31141 else
31142 glibcxx_cv_func__fmodf_use=no
31144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31145 ac_ext=c
31146 ac_cpp='$CPP $CPPFLAGS'
31147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31156 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31158 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31159 for ac_func in _fmodf
31160 do :
31161 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31162 if test "x$ac_cv_func__fmodf" = x""yes; then :
31163 cat >>confdefs.h <<_ACEOF
31164 #define HAVE__FMODF 1
31165 _ACEOF
31168 done
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31178 $as_echo_n "checking for frexpf declaration... " >&6; }
31179 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31180 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31181 $as_echo_n "(cached) " >&6
31182 else
31185 ac_ext=cpp
31186 ac_cpp='$CXXCPP $CPPFLAGS'
31187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31192 /* end confdefs.h. */
31193 #include <math.h>
31195 main ()
31197 frexpf(0, 0);
31199 return 0;
31201 _ACEOF
31202 if ac_fn_cxx_try_compile "$LINENO"; then :
31203 glibcxx_cv_func_frexpf_use=yes
31204 else
31205 glibcxx_cv_func_frexpf_use=no
31207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31208 ac_ext=c
31209 ac_cpp='$CPP $CPPFLAGS'
31210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31219 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31221 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31222 for ac_func in frexpf
31223 do :
31224 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31225 if test "x$ac_cv_func_frexpf" = x""yes; then :
31226 cat >>confdefs.h <<_ACEOF
31227 #define HAVE_FREXPF 1
31228 _ACEOF
31231 done
31233 else
31235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31236 $as_echo_n "checking for _frexpf declaration... " >&6; }
31237 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31238 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31239 $as_echo_n "(cached) " >&6
31240 else
31243 ac_ext=cpp
31244 ac_cpp='$CXXCPP $CPPFLAGS'
31245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31250 /* end confdefs.h. */
31251 #include <math.h>
31253 main ()
31255 _frexpf(0, 0);
31257 return 0;
31259 _ACEOF
31260 if ac_fn_cxx_try_compile "$LINENO"; then :
31261 glibcxx_cv_func__frexpf_use=yes
31262 else
31263 glibcxx_cv_func__frexpf_use=no
31265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31266 ac_ext=c
31267 ac_cpp='$CPP $CPPFLAGS'
31268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31277 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31279 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31280 for ac_func in _frexpf
31281 do :
31282 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31283 if test "x$ac_cv_func__frexpf" = x""yes; then :
31284 cat >>confdefs.h <<_ACEOF
31285 #define HAVE__FREXPF 1
31286 _ACEOF
31289 done
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31299 $as_echo_n "checking for hypotf declaration... " >&6; }
31300 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31301 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31302 $as_echo_n "(cached) " >&6
31303 else
31306 ac_ext=cpp
31307 ac_cpp='$CXXCPP $CPPFLAGS'
31308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31313 /* end confdefs.h. */
31314 #include <math.h>
31316 main ()
31318 hypotf(0, 0);
31320 return 0;
31322 _ACEOF
31323 if ac_fn_cxx_try_compile "$LINENO"; then :
31324 glibcxx_cv_func_hypotf_use=yes
31325 else
31326 glibcxx_cv_func_hypotf_use=no
31328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31329 ac_ext=c
31330 ac_cpp='$CPP $CPPFLAGS'
31331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31340 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31342 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31343 for ac_func in hypotf
31344 do :
31345 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31346 if test "x$ac_cv_func_hypotf" = x""yes; then :
31347 cat >>confdefs.h <<_ACEOF
31348 #define HAVE_HYPOTF 1
31349 _ACEOF
31352 done
31354 else
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31357 $as_echo_n "checking for _hypotf declaration... " >&6; }
31358 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31359 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31360 $as_echo_n "(cached) " >&6
31361 else
31364 ac_ext=cpp
31365 ac_cpp='$CXXCPP $CPPFLAGS'
31366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31371 /* end confdefs.h. */
31372 #include <math.h>
31374 main ()
31376 _hypotf(0, 0);
31378 return 0;
31380 _ACEOF
31381 if ac_fn_cxx_try_compile "$LINENO"; then :
31382 glibcxx_cv_func__hypotf_use=yes
31383 else
31384 glibcxx_cv_func__hypotf_use=no
31386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31387 ac_ext=c
31388 ac_cpp='$CPP $CPPFLAGS'
31389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31398 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31400 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31401 for ac_func in _hypotf
31402 do :
31403 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31404 if test "x$ac_cv_func__hypotf" = x""yes; then :
31405 cat >>confdefs.h <<_ACEOF
31406 #define HAVE__HYPOTF 1
31407 _ACEOF
31410 done
31419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31420 $as_echo_n "checking for ldexpf declaration... " >&6; }
31421 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31422 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31423 $as_echo_n "(cached) " >&6
31424 else
31427 ac_ext=cpp
31428 ac_cpp='$CXXCPP $CPPFLAGS'
31429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31434 /* end confdefs.h. */
31435 #include <math.h>
31437 main ()
31439 ldexpf(0, 0);
31441 return 0;
31443 _ACEOF
31444 if ac_fn_cxx_try_compile "$LINENO"; then :
31445 glibcxx_cv_func_ldexpf_use=yes
31446 else
31447 glibcxx_cv_func_ldexpf_use=no
31449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31450 ac_ext=c
31451 ac_cpp='$CPP $CPPFLAGS'
31452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31461 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31463 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31464 for ac_func in ldexpf
31465 do :
31466 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31467 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31468 cat >>confdefs.h <<_ACEOF
31469 #define HAVE_LDEXPF 1
31470 _ACEOF
31473 done
31475 else
31477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31478 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31479 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31480 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31481 $as_echo_n "(cached) " >&6
31482 else
31485 ac_ext=cpp
31486 ac_cpp='$CXXCPP $CPPFLAGS'
31487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31492 /* end confdefs.h. */
31493 #include <math.h>
31495 main ()
31497 _ldexpf(0, 0);
31499 return 0;
31501 _ACEOF
31502 if ac_fn_cxx_try_compile "$LINENO"; then :
31503 glibcxx_cv_func__ldexpf_use=yes
31504 else
31505 glibcxx_cv_func__ldexpf_use=no
31507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31508 ac_ext=c
31509 ac_cpp='$CPP $CPPFLAGS'
31510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31519 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31521 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31522 for ac_func in _ldexpf
31523 do :
31524 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31525 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31526 cat >>confdefs.h <<_ACEOF
31527 #define HAVE__LDEXPF 1
31528 _ACEOF
31531 done
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31541 $as_echo_n "checking for logf declaration... " >&6; }
31542 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31543 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31544 $as_echo_n "(cached) " >&6
31545 else
31548 ac_ext=cpp
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555 /* end confdefs.h. */
31556 #include <math.h>
31557 #ifdef HAVE_IEEEFP_H
31558 #include <ieeefp.h>
31559 #endif
31562 main ()
31564 logf(0);
31566 return 0;
31568 _ACEOF
31569 if ac_fn_cxx_try_compile "$LINENO"; then :
31570 glibcxx_cv_func_logf_use=yes
31571 else
31572 glibcxx_cv_func_logf_use=no
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575 ac_ext=c
31576 ac_cpp='$CPP $CPPFLAGS'
31577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31586 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31588 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31589 for ac_func in logf
31590 do :
31591 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31592 if test "x$ac_cv_func_logf" = x""yes; then :
31593 cat >>confdefs.h <<_ACEOF
31594 #define HAVE_LOGF 1
31595 _ACEOF
31598 done
31600 else
31602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31603 $as_echo_n "checking for _logf declaration... " >&6; }
31604 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31605 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31606 $as_echo_n "(cached) " >&6
31607 else
31610 ac_ext=cpp
31611 ac_cpp='$CXXCPP $CPPFLAGS'
31612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31617 /* end confdefs.h. */
31618 #include <math.h>
31619 #ifdef HAVE_IEEEFP_H
31620 #include <ieeefp.h>
31621 #endif
31624 main ()
31626 _logf(0);
31628 return 0;
31630 _ACEOF
31631 if ac_fn_cxx_try_compile "$LINENO"; then :
31632 glibcxx_cv_func__logf_use=yes
31633 else
31634 glibcxx_cv_func__logf_use=no
31636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31637 ac_ext=c
31638 ac_cpp='$CPP $CPPFLAGS'
31639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31648 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31650 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31651 for ac_func in _logf
31652 do :
31653 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31654 if test "x$ac_cv_func__logf" = x""yes; then :
31655 cat >>confdefs.h <<_ACEOF
31656 #define HAVE__LOGF 1
31657 _ACEOF
31660 done
31669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31670 $as_echo_n "checking for log10f declaration... " >&6; }
31671 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31672 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31673 $as_echo_n "(cached) " >&6
31674 else
31677 ac_ext=cpp
31678 ac_cpp='$CXXCPP $CPPFLAGS'
31679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31684 /* end confdefs.h. */
31685 #include <math.h>
31686 #ifdef HAVE_IEEEFP_H
31687 #include <ieeefp.h>
31688 #endif
31691 main ()
31693 log10f(0);
31695 return 0;
31697 _ACEOF
31698 if ac_fn_cxx_try_compile "$LINENO"; then :
31699 glibcxx_cv_func_log10f_use=yes
31700 else
31701 glibcxx_cv_func_log10f_use=no
31703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31704 ac_ext=c
31705 ac_cpp='$CPP $CPPFLAGS'
31706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31715 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31717 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31718 for ac_func in log10f
31719 do :
31720 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31721 if test "x$ac_cv_func_log10f" = x""yes; then :
31722 cat >>confdefs.h <<_ACEOF
31723 #define HAVE_LOG10F 1
31724 _ACEOF
31727 done
31729 else
31731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31732 $as_echo_n "checking for _log10f declaration... " >&6; }
31733 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31734 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31735 $as_echo_n "(cached) " >&6
31736 else
31739 ac_ext=cpp
31740 ac_cpp='$CXXCPP $CPPFLAGS'
31741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31746 /* end confdefs.h. */
31747 #include <math.h>
31748 #ifdef HAVE_IEEEFP_H
31749 #include <ieeefp.h>
31750 #endif
31753 main ()
31755 _log10f(0);
31757 return 0;
31759 _ACEOF
31760 if ac_fn_cxx_try_compile "$LINENO"; then :
31761 glibcxx_cv_func__log10f_use=yes
31762 else
31763 glibcxx_cv_func__log10f_use=no
31765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31766 ac_ext=c
31767 ac_cpp='$CPP $CPPFLAGS'
31768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31777 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31779 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31780 for ac_func in _log10f
31781 do :
31782 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31783 if test "x$ac_cv_func__log10f" = x""yes; then :
31784 cat >>confdefs.h <<_ACEOF
31785 #define HAVE__LOG10F 1
31786 _ACEOF
31789 done
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31799 $as_echo_n "checking for modff declaration... " >&6; }
31800 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31801 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31802 $as_echo_n "(cached) " >&6
31803 else
31806 ac_ext=cpp
31807 ac_cpp='$CXXCPP $CPPFLAGS'
31808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31813 /* end confdefs.h. */
31814 #include <math.h>
31816 main ()
31818 modff(0, 0);
31820 return 0;
31822 _ACEOF
31823 if ac_fn_cxx_try_compile "$LINENO"; then :
31824 glibcxx_cv_func_modff_use=yes
31825 else
31826 glibcxx_cv_func_modff_use=no
31828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31829 ac_ext=c
31830 ac_cpp='$CPP $CPPFLAGS'
31831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31840 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31842 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31843 for ac_func in modff
31844 do :
31845 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31846 if test "x$ac_cv_func_modff" = x""yes; then :
31847 cat >>confdefs.h <<_ACEOF
31848 #define HAVE_MODFF 1
31849 _ACEOF
31852 done
31854 else
31856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31857 $as_echo_n "checking for _modff declaration... " >&6; }
31858 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31859 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31860 $as_echo_n "(cached) " >&6
31861 else
31864 ac_ext=cpp
31865 ac_cpp='$CXXCPP $CPPFLAGS'
31866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31871 /* end confdefs.h. */
31872 #include <math.h>
31874 main ()
31876 _modff(0, 0);
31878 return 0;
31880 _ACEOF
31881 if ac_fn_cxx_try_compile "$LINENO"; then :
31882 glibcxx_cv_func__modff_use=yes
31883 else
31884 glibcxx_cv_func__modff_use=no
31886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31887 ac_ext=c
31888 ac_cpp='$CPP $CPPFLAGS'
31889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31898 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31900 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31901 for ac_func in _modff
31902 do :
31903 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31904 if test "x$ac_cv_func__modff" = x""yes; then :
31905 cat >>confdefs.h <<_ACEOF
31906 #define HAVE__MODFF 1
31907 _ACEOF
31910 done
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31920 $as_echo_n "checking for modf declaration... " >&6; }
31921 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31922 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31923 $as_echo_n "(cached) " >&6
31924 else
31927 ac_ext=cpp
31928 ac_cpp='$CXXCPP $CPPFLAGS'
31929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31934 /* end confdefs.h. */
31935 #include <math.h>
31937 main ()
31939 modf(0, 0);
31941 return 0;
31943 _ACEOF
31944 if ac_fn_cxx_try_compile "$LINENO"; then :
31945 glibcxx_cv_func_modf_use=yes
31946 else
31947 glibcxx_cv_func_modf_use=no
31949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31950 ac_ext=c
31951 ac_cpp='$CPP $CPPFLAGS'
31952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31961 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31963 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31964 for ac_func in modf
31965 do :
31966 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31967 if test "x$ac_cv_func_modf" = x""yes; then :
31968 cat >>confdefs.h <<_ACEOF
31969 #define HAVE_MODF 1
31970 _ACEOF
31973 done
31975 else
31977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31978 $as_echo_n "checking for _modf declaration... " >&6; }
31979 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31980 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31981 $as_echo_n "(cached) " >&6
31982 else
31985 ac_ext=cpp
31986 ac_cpp='$CXXCPP $CPPFLAGS'
31987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31992 /* end confdefs.h. */
31993 #include <math.h>
31995 main ()
31997 _modf(0, 0);
31999 return 0;
32001 _ACEOF
32002 if ac_fn_cxx_try_compile "$LINENO"; then :
32003 glibcxx_cv_func__modf_use=yes
32004 else
32005 glibcxx_cv_func__modf_use=no
32007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32008 ac_ext=c
32009 ac_cpp='$CPP $CPPFLAGS'
32010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32019 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32021 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32022 for ac_func in _modf
32023 do :
32024 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32025 if test "x$ac_cv_func__modf" = x""yes; then :
32026 cat >>confdefs.h <<_ACEOF
32027 #define HAVE__MODF 1
32028 _ACEOF
32031 done
32040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32041 $as_echo_n "checking for powf declaration... " >&6; }
32042 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32043 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32044 $as_echo_n "(cached) " >&6
32045 else
32048 ac_ext=cpp
32049 ac_cpp='$CXXCPP $CPPFLAGS'
32050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32055 /* end confdefs.h. */
32056 #include <math.h>
32058 main ()
32060 powf(0, 0);
32062 return 0;
32064 _ACEOF
32065 if ac_fn_cxx_try_compile "$LINENO"; then :
32066 glibcxx_cv_func_powf_use=yes
32067 else
32068 glibcxx_cv_func_powf_use=no
32070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32071 ac_ext=c
32072 ac_cpp='$CPP $CPPFLAGS'
32073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32082 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32084 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32085 for ac_func in powf
32086 do :
32087 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32088 if test "x$ac_cv_func_powf" = x""yes; then :
32089 cat >>confdefs.h <<_ACEOF
32090 #define HAVE_POWF 1
32091 _ACEOF
32094 done
32096 else
32098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32099 $as_echo_n "checking for _powf declaration... " >&6; }
32100 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32101 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32102 $as_echo_n "(cached) " >&6
32103 else
32106 ac_ext=cpp
32107 ac_cpp='$CXXCPP $CPPFLAGS'
32108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32113 /* end confdefs.h. */
32114 #include <math.h>
32116 main ()
32118 _powf(0, 0);
32120 return 0;
32122 _ACEOF
32123 if ac_fn_cxx_try_compile "$LINENO"; then :
32124 glibcxx_cv_func__powf_use=yes
32125 else
32126 glibcxx_cv_func__powf_use=no
32128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32129 ac_ext=c
32130 ac_cpp='$CPP $CPPFLAGS'
32131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32140 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32142 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32143 for ac_func in _powf
32144 do :
32145 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32146 if test "x$ac_cv_func__powf" = x""yes; then :
32147 cat >>confdefs.h <<_ACEOF
32148 #define HAVE__POWF 1
32149 _ACEOF
32152 done
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32162 $as_echo_n "checking for sqrtf declaration... " >&6; }
32163 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32164 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32165 $as_echo_n "(cached) " >&6
32166 else
32169 ac_ext=cpp
32170 ac_cpp='$CXXCPP $CPPFLAGS'
32171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32176 /* end confdefs.h. */
32177 #include <math.h>
32178 #ifdef HAVE_IEEEFP_H
32179 #include <ieeefp.h>
32180 #endif
32183 main ()
32185 sqrtf(0);
32187 return 0;
32189 _ACEOF
32190 if ac_fn_cxx_try_compile "$LINENO"; then :
32191 glibcxx_cv_func_sqrtf_use=yes
32192 else
32193 glibcxx_cv_func_sqrtf_use=no
32195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32196 ac_ext=c
32197 ac_cpp='$CPP $CPPFLAGS'
32198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32207 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32209 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32210 for ac_func in sqrtf
32211 do :
32212 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32213 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32214 cat >>confdefs.h <<_ACEOF
32215 #define HAVE_SQRTF 1
32216 _ACEOF
32219 done
32221 else
32223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32224 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32225 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32226 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32227 $as_echo_n "(cached) " >&6
32228 else
32231 ac_ext=cpp
32232 ac_cpp='$CXXCPP $CPPFLAGS'
32233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32238 /* end confdefs.h. */
32239 #include <math.h>
32240 #ifdef HAVE_IEEEFP_H
32241 #include <ieeefp.h>
32242 #endif
32245 main ()
32247 _sqrtf(0);
32249 return 0;
32251 _ACEOF
32252 if ac_fn_cxx_try_compile "$LINENO"; then :
32253 glibcxx_cv_func__sqrtf_use=yes
32254 else
32255 glibcxx_cv_func__sqrtf_use=no
32257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32258 ac_ext=c
32259 ac_cpp='$CPP $CPPFLAGS'
32260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32269 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32271 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32272 for ac_func in _sqrtf
32273 do :
32274 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32275 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32276 cat >>confdefs.h <<_ACEOF
32277 #define HAVE__SQRTF 1
32278 _ACEOF
32281 done
32290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32291 $as_echo_n "checking for sincosf declaration... " >&6; }
32292 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32293 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32294 $as_echo_n "(cached) " >&6
32295 else
32298 ac_ext=cpp
32299 ac_cpp='$CXXCPP $CPPFLAGS'
32300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32305 /* end confdefs.h. */
32306 #include <math.h>
32308 main ()
32310 sincosf(0, 0, 0);
32312 return 0;
32314 _ACEOF
32315 if ac_fn_cxx_try_compile "$LINENO"; then :
32316 glibcxx_cv_func_sincosf_use=yes
32317 else
32318 glibcxx_cv_func_sincosf_use=no
32320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32321 ac_ext=c
32322 ac_cpp='$CPP $CPPFLAGS'
32323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32332 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32334 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32335 for ac_func in sincosf
32336 do :
32337 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32338 if test "x$ac_cv_func_sincosf" = x""yes; then :
32339 cat >>confdefs.h <<_ACEOF
32340 #define HAVE_SINCOSF 1
32341 _ACEOF
32344 done
32346 else
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32349 $as_echo_n "checking for _sincosf declaration... " >&6; }
32350 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32351 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32352 $as_echo_n "(cached) " >&6
32353 else
32356 ac_ext=cpp
32357 ac_cpp='$CXXCPP $CPPFLAGS'
32358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32363 /* end confdefs.h. */
32364 #include <math.h>
32366 main ()
32368 _sincosf(0, 0, 0);
32370 return 0;
32372 _ACEOF
32373 if ac_fn_cxx_try_compile "$LINENO"; then :
32374 glibcxx_cv_func__sincosf_use=yes
32375 else
32376 glibcxx_cv_func__sincosf_use=no
32378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32379 ac_ext=c
32380 ac_cpp='$CPP $CPPFLAGS'
32381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32390 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32392 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32393 for ac_func in _sincosf
32394 do :
32395 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32396 if test "x$ac_cv_func__sincosf" = x""yes; then :
32397 cat >>confdefs.h <<_ACEOF
32398 #define HAVE__SINCOSF 1
32399 _ACEOF
32402 done
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32412 $as_echo_n "checking for finitef declaration... " >&6; }
32413 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32414 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32415 $as_echo_n "(cached) " >&6
32416 else
32419 ac_ext=cpp
32420 ac_cpp='$CXXCPP $CPPFLAGS'
32421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32426 /* end confdefs.h. */
32427 #include <math.h>
32428 #ifdef HAVE_IEEEFP_H
32429 #include <ieeefp.h>
32430 #endif
32433 main ()
32435 finitef(0);
32437 return 0;
32439 _ACEOF
32440 if ac_fn_cxx_try_compile "$LINENO"; then :
32441 glibcxx_cv_func_finitef_use=yes
32442 else
32443 glibcxx_cv_func_finitef_use=no
32445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32446 ac_ext=c
32447 ac_cpp='$CPP $CPPFLAGS'
32448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32457 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32459 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32460 for ac_func in finitef
32461 do :
32462 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32463 if test "x$ac_cv_func_finitef" = x""yes; then :
32464 cat >>confdefs.h <<_ACEOF
32465 #define HAVE_FINITEF 1
32466 _ACEOF
32469 done
32471 else
32473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32474 $as_echo_n "checking for _finitef declaration... " >&6; }
32475 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32476 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32477 $as_echo_n "(cached) " >&6
32478 else
32481 ac_ext=cpp
32482 ac_cpp='$CXXCPP $CPPFLAGS'
32483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32488 /* end confdefs.h. */
32489 #include <math.h>
32490 #ifdef HAVE_IEEEFP_H
32491 #include <ieeefp.h>
32492 #endif
32495 main ()
32497 _finitef(0);
32499 return 0;
32501 _ACEOF
32502 if ac_fn_cxx_try_compile "$LINENO"; then :
32503 glibcxx_cv_func__finitef_use=yes
32504 else
32505 glibcxx_cv_func__finitef_use=no
32507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32508 ac_ext=c
32509 ac_cpp='$CPP $CPPFLAGS'
32510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32519 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32521 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32522 for ac_func in _finitef
32523 do :
32524 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32525 if test "x$ac_cv_func__finitef" = x""yes; then :
32526 cat >>confdefs.h <<_ACEOF
32527 #define HAVE__FINITEF 1
32528 _ACEOF
32531 done
32540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32541 $as_echo_n "checking for long double trig functions... " >&6; }
32542 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32543 $as_echo_n "(cached) " >&6
32544 else
32547 ac_ext=cpp
32548 ac_cpp='$CXXCPP $CPPFLAGS'
32549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32554 /* end confdefs.h. */
32555 #include <math.h>
32557 main ()
32559 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32561 return 0;
32563 _ACEOF
32564 if ac_fn_cxx_try_compile "$LINENO"; then :
32565 glibcxx_cv_func_long_double_trig_use=yes
32566 else
32567 glibcxx_cv_func_long_double_trig_use=no
32569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32570 ac_ext=c
32571 ac_cpp='$CPP $CPPFLAGS'
32572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32579 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32580 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32581 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32582 do :
32583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32585 eval as_val=\$$as_ac_var
32586 if test "x$as_val" = x""yes; then :
32587 cat >>confdefs.h <<_ACEOF
32588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32589 _ACEOF
32592 done
32594 else
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32596 $as_echo_n "checking for _long double trig functions... " >&6; }
32597 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32598 $as_echo_n "(cached) " >&6
32599 else
32602 ac_ext=cpp
32603 ac_cpp='$CXXCPP $CPPFLAGS'
32604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32609 /* end confdefs.h. */
32610 #include <math.h>
32612 main ()
32614 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32616 return 0;
32618 _ACEOF
32619 if ac_fn_cxx_try_compile "$LINENO"; then :
32620 glibcxx_cv_func__long_double_trig_use=yes
32621 else
32622 glibcxx_cv_func__long_double_trig_use=no
32624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32625 ac_ext=c
32626 ac_cpp='$CPP $CPPFLAGS'
32627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32634 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32635 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32636 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32637 do :
32638 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32639 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32640 eval as_val=\$$as_ac_var
32641 if test "x$as_val" = x""yes; then :
32642 cat >>confdefs.h <<_ACEOF
32643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32644 _ACEOF
32647 done
32656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32657 $as_echo_n "checking for long double round functions... " >&6; }
32658 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32659 $as_echo_n "(cached) " >&6
32660 else
32663 ac_ext=cpp
32664 ac_cpp='$CXXCPP $CPPFLAGS'
32665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32670 /* end confdefs.h. */
32671 #include <math.h>
32673 main ()
32675 ceill (0); floorl (0);
32677 return 0;
32679 _ACEOF
32680 if ac_fn_cxx_try_compile "$LINENO"; then :
32681 glibcxx_cv_func_long_double_round_use=yes
32682 else
32683 glibcxx_cv_func_long_double_round_use=no
32685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32686 ac_ext=c
32687 ac_cpp='$CPP $CPPFLAGS'
32688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32695 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32696 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32697 for ac_func in ceill floorl
32698 do :
32699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32701 eval as_val=\$$as_ac_var
32702 if test "x$as_val" = x""yes; then :
32703 cat >>confdefs.h <<_ACEOF
32704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32705 _ACEOF
32708 done
32710 else
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32712 $as_echo_n "checking for _long double round functions... " >&6; }
32713 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32714 $as_echo_n "(cached) " >&6
32715 else
32718 ac_ext=cpp
32719 ac_cpp='$CXXCPP $CPPFLAGS'
32720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h. */
32726 #include <math.h>
32728 main ()
32730 _ceill (0); _floorl (0);
32732 return 0;
32734 _ACEOF
32735 if ac_fn_cxx_try_compile "$LINENO"; then :
32736 glibcxx_cv_func__long_double_round_use=yes
32737 else
32738 glibcxx_cv_func__long_double_round_use=no
32740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32741 ac_ext=c
32742 ac_cpp='$CPP $CPPFLAGS'
32743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32750 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32751 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32752 for ac_func in _ceill _floorl
32753 do :
32754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32756 eval as_val=\$$as_ac_var
32757 if test "x$as_val" = x""yes; then :
32758 cat >>confdefs.h <<_ACEOF
32759 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32760 _ACEOF
32763 done
32773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32774 $as_echo_n "checking for isnanl declaration... " >&6; }
32775 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32776 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32777 $as_echo_n "(cached) " >&6
32778 else
32781 ac_ext=cpp
32782 ac_cpp='$CXXCPP $CPPFLAGS'
32783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32788 /* end confdefs.h. */
32789 #include <math.h>
32790 #ifdef HAVE_IEEEFP_H
32791 #include <ieeefp.h>
32792 #endif
32795 main ()
32797 isnanl(0);
32799 return 0;
32801 _ACEOF
32802 if ac_fn_cxx_try_compile "$LINENO"; then :
32803 glibcxx_cv_func_isnanl_use=yes
32804 else
32805 glibcxx_cv_func_isnanl_use=no
32807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32808 ac_ext=c
32809 ac_cpp='$CPP $CPPFLAGS'
32810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32819 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32821 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32822 for ac_func in isnanl
32823 do :
32824 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32825 if test "x$ac_cv_func_isnanl" = x""yes; then :
32826 cat >>confdefs.h <<_ACEOF
32827 #define HAVE_ISNANL 1
32828 _ACEOF
32831 done
32833 else
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32836 $as_echo_n "checking for _isnanl declaration... " >&6; }
32837 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32838 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32839 $as_echo_n "(cached) " >&6
32840 else
32843 ac_ext=cpp
32844 ac_cpp='$CXXCPP $CPPFLAGS'
32845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32850 /* end confdefs.h. */
32851 #include <math.h>
32852 #ifdef HAVE_IEEEFP_H
32853 #include <ieeefp.h>
32854 #endif
32857 main ()
32859 _isnanl(0);
32861 return 0;
32863 _ACEOF
32864 if ac_fn_cxx_try_compile "$LINENO"; then :
32865 glibcxx_cv_func__isnanl_use=yes
32866 else
32867 glibcxx_cv_func__isnanl_use=no
32869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32870 ac_ext=c
32871 ac_cpp='$CPP $CPPFLAGS'
32872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32881 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32883 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32884 for ac_func in _isnanl
32885 do :
32886 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32887 if test "x$ac_cv_func__isnanl" = x""yes; then :
32888 cat >>confdefs.h <<_ACEOF
32889 #define HAVE__ISNANL 1
32890 _ACEOF
32893 done
32902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32903 $as_echo_n "checking for isinfl declaration... " >&6; }
32904 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32905 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32906 $as_echo_n "(cached) " >&6
32907 else
32910 ac_ext=cpp
32911 ac_cpp='$CXXCPP $CPPFLAGS'
32912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32917 /* end confdefs.h. */
32918 #include <math.h>
32919 #ifdef HAVE_IEEEFP_H
32920 #include <ieeefp.h>
32921 #endif
32924 main ()
32926 isinfl(0);
32928 return 0;
32930 _ACEOF
32931 if ac_fn_cxx_try_compile "$LINENO"; then :
32932 glibcxx_cv_func_isinfl_use=yes
32933 else
32934 glibcxx_cv_func_isinfl_use=no
32936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32937 ac_ext=c
32938 ac_cpp='$CPP $CPPFLAGS'
32939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32948 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32950 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32951 for ac_func in isinfl
32952 do :
32953 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32954 if test "x$ac_cv_func_isinfl" = x""yes; then :
32955 cat >>confdefs.h <<_ACEOF
32956 #define HAVE_ISINFL 1
32957 _ACEOF
32960 done
32962 else
32964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32965 $as_echo_n "checking for _isinfl declaration... " >&6; }
32966 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32967 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32968 $as_echo_n "(cached) " >&6
32969 else
32972 ac_ext=cpp
32973 ac_cpp='$CXXCPP $CPPFLAGS'
32974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32979 /* end confdefs.h. */
32980 #include <math.h>
32981 #ifdef HAVE_IEEEFP_H
32982 #include <ieeefp.h>
32983 #endif
32986 main ()
32988 _isinfl(0);
32990 return 0;
32992 _ACEOF
32993 if ac_fn_cxx_try_compile "$LINENO"; then :
32994 glibcxx_cv_func__isinfl_use=yes
32995 else
32996 glibcxx_cv_func__isinfl_use=no
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33010 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33012 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33013 for ac_func in _isinfl
33014 do :
33015 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33016 if test "x$ac_cv_func__isinfl" = x""yes; then :
33017 cat >>confdefs.h <<_ACEOF
33018 #define HAVE__ISINFL 1
33019 _ACEOF
33022 done
33031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33032 $as_echo_n "checking for atan2l declaration... " >&6; }
33033 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33034 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33035 $as_echo_n "(cached) " >&6
33036 else
33039 ac_ext=cpp
33040 ac_cpp='$CXXCPP $CPPFLAGS'
33041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33046 /* end confdefs.h. */
33047 #include <math.h>
33049 main ()
33051 atan2l(0, 0);
33053 return 0;
33055 _ACEOF
33056 if ac_fn_cxx_try_compile "$LINENO"; then :
33057 glibcxx_cv_func_atan2l_use=yes
33058 else
33059 glibcxx_cv_func_atan2l_use=no
33061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33062 ac_ext=c
33063 ac_cpp='$CPP $CPPFLAGS'
33064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33073 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33075 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33076 for ac_func in atan2l
33077 do :
33078 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33079 if test "x$ac_cv_func_atan2l" = x""yes; then :
33080 cat >>confdefs.h <<_ACEOF
33081 #define HAVE_ATAN2L 1
33082 _ACEOF
33085 done
33087 else
33089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33090 $as_echo_n "checking for _atan2l declaration... " >&6; }
33091 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33092 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33093 $as_echo_n "(cached) " >&6
33094 else
33097 ac_ext=cpp
33098 ac_cpp='$CXXCPP $CPPFLAGS'
33099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33104 /* end confdefs.h. */
33105 #include <math.h>
33107 main ()
33109 _atan2l(0, 0);
33111 return 0;
33113 _ACEOF
33114 if ac_fn_cxx_try_compile "$LINENO"; then :
33115 glibcxx_cv_func__atan2l_use=yes
33116 else
33117 glibcxx_cv_func__atan2l_use=no
33119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33120 ac_ext=c
33121 ac_cpp='$CPP $CPPFLAGS'
33122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33131 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33133 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33134 for ac_func in _atan2l
33135 do :
33136 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33137 if test "x$ac_cv_func__atan2l" = x""yes; then :
33138 cat >>confdefs.h <<_ACEOF
33139 #define HAVE__ATAN2L 1
33140 _ACEOF
33143 done
33152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33153 $as_echo_n "checking for expl declaration... " >&6; }
33154 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33155 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33156 $as_echo_n "(cached) " >&6
33157 else
33160 ac_ext=cpp
33161 ac_cpp='$CXXCPP $CPPFLAGS'
33162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33167 /* end confdefs.h. */
33168 #include <math.h>
33169 #ifdef HAVE_IEEEFP_H
33170 #include <ieeefp.h>
33171 #endif
33174 main ()
33176 expl(0);
33178 return 0;
33180 _ACEOF
33181 if ac_fn_cxx_try_compile "$LINENO"; then :
33182 glibcxx_cv_func_expl_use=yes
33183 else
33184 glibcxx_cv_func_expl_use=no
33186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33187 ac_ext=c
33188 ac_cpp='$CPP $CPPFLAGS'
33189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33198 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33200 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33201 for ac_func in expl
33202 do :
33203 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33204 if test "x$ac_cv_func_expl" = x""yes; then :
33205 cat >>confdefs.h <<_ACEOF
33206 #define HAVE_EXPL 1
33207 _ACEOF
33210 done
33212 else
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33215 $as_echo_n "checking for _expl declaration... " >&6; }
33216 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33217 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33218 $as_echo_n "(cached) " >&6
33219 else
33222 ac_ext=cpp
33223 ac_cpp='$CXXCPP $CPPFLAGS'
33224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33229 /* end confdefs.h. */
33230 #include <math.h>
33231 #ifdef HAVE_IEEEFP_H
33232 #include <ieeefp.h>
33233 #endif
33236 main ()
33238 _expl(0);
33240 return 0;
33242 _ACEOF
33243 if ac_fn_cxx_try_compile "$LINENO"; then :
33244 glibcxx_cv_func__expl_use=yes
33245 else
33246 glibcxx_cv_func__expl_use=no
33248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33249 ac_ext=c
33250 ac_cpp='$CPP $CPPFLAGS'
33251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33260 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33262 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33263 for ac_func in _expl
33264 do :
33265 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33266 if test "x$ac_cv_func__expl" = x""yes; then :
33267 cat >>confdefs.h <<_ACEOF
33268 #define HAVE__EXPL 1
33269 _ACEOF
33272 done
33281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33282 $as_echo_n "checking for fabsl declaration... " >&6; }
33283 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33284 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33285 $as_echo_n "(cached) " >&6
33286 else
33289 ac_ext=cpp
33290 ac_cpp='$CXXCPP $CPPFLAGS'
33291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33297 #include <math.h>
33298 #ifdef HAVE_IEEEFP_H
33299 #include <ieeefp.h>
33300 #endif
33303 main ()
33305 fabsl(0);
33307 return 0;
33309 _ACEOF
33310 if ac_fn_cxx_try_compile "$LINENO"; then :
33311 glibcxx_cv_func_fabsl_use=yes
33312 else
33313 glibcxx_cv_func_fabsl_use=no
33315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33316 ac_ext=c
33317 ac_cpp='$CPP $CPPFLAGS'
33318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33327 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33329 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33330 for ac_func in fabsl
33331 do :
33332 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33333 if test "x$ac_cv_func_fabsl" = x""yes; then :
33334 cat >>confdefs.h <<_ACEOF
33335 #define HAVE_FABSL 1
33336 _ACEOF
33339 done
33341 else
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33344 $as_echo_n "checking for _fabsl declaration... " >&6; }
33345 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33346 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33347 $as_echo_n "(cached) " >&6
33348 else
33351 ac_ext=cpp
33352 ac_cpp='$CXXCPP $CPPFLAGS'
33353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33358 /* end confdefs.h. */
33359 #include <math.h>
33360 #ifdef HAVE_IEEEFP_H
33361 #include <ieeefp.h>
33362 #endif
33365 main ()
33367 _fabsl(0);
33369 return 0;
33371 _ACEOF
33372 if ac_fn_cxx_try_compile "$LINENO"; then :
33373 glibcxx_cv_func__fabsl_use=yes
33374 else
33375 glibcxx_cv_func__fabsl_use=no
33377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33378 ac_ext=c
33379 ac_cpp='$CPP $CPPFLAGS'
33380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33389 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33391 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33392 for ac_func in _fabsl
33393 do :
33394 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33395 if test "x$ac_cv_func__fabsl" = x""yes; then :
33396 cat >>confdefs.h <<_ACEOF
33397 #define HAVE__FABSL 1
33398 _ACEOF
33401 done
33410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33411 $as_echo_n "checking for fmodl declaration... " >&6; }
33412 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33413 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33414 $as_echo_n "(cached) " >&6
33415 else
33418 ac_ext=cpp
33419 ac_cpp='$CXXCPP $CPPFLAGS'
33420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33425 /* end confdefs.h. */
33426 #include <math.h>
33428 main ()
33430 fmodl(0, 0);
33432 return 0;
33434 _ACEOF
33435 if ac_fn_cxx_try_compile "$LINENO"; then :
33436 glibcxx_cv_func_fmodl_use=yes
33437 else
33438 glibcxx_cv_func_fmodl_use=no
33440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33441 ac_ext=c
33442 ac_cpp='$CPP $CPPFLAGS'
33443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33452 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33454 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33455 for ac_func in fmodl
33456 do :
33457 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33458 if test "x$ac_cv_func_fmodl" = x""yes; then :
33459 cat >>confdefs.h <<_ACEOF
33460 #define HAVE_FMODL 1
33461 _ACEOF
33464 done
33466 else
33468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33469 $as_echo_n "checking for _fmodl declaration... " >&6; }
33470 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33471 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33472 $as_echo_n "(cached) " >&6
33473 else
33476 ac_ext=cpp
33477 ac_cpp='$CXXCPP $CPPFLAGS'
33478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33483 /* end confdefs.h. */
33484 #include <math.h>
33486 main ()
33488 _fmodl(0, 0);
33490 return 0;
33492 _ACEOF
33493 if ac_fn_cxx_try_compile "$LINENO"; then :
33494 glibcxx_cv_func__fmodl_use=yes
33495 else
33496 glibcxx_cv_func__fmodl_use=no
33498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33499 ac_ext=c
33500 ac_cpp='$CPP $CPPFLAGS'
33501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33510 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33512 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33513 for ac_func in _fmodl
33514 do :
33515 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33516 if test "x$ac_cv_func__fmodl" = x""yes; then :
33517 cat >>confdefs.h <<_ACEOF
33518 #define HAVE__FMODL 1
33519 _ACEOF
33522 done
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33532 $as_echo_n "checking for frexpl declaration... " >&6; }
33533 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33534 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33535 $as_echo_n "(cached) " >&6
33536 else
33539 ac_ext=cpp
33540 ac_cpp='$CXXCPP $CPPFLAGS'
33541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33546 /* end confdefs.h. */
33547 #include <math.h>
33549 main ()
33551 frexpl(0, 0);
33553 return 0;
33555 _ACEOF
33556 if ac_fn_cxx_try_compile "$LINENO"; then :
33557 glibcxx_cv_func_frexpl_use=yes
33558 else
33559 glibcxx_cv_func_frexpl_use=no
33561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33562 ac_ext=c
33563 ac_cpp='$CPP $CPPFLAGS'
33564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33573 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33575 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33576 for ac_func in frexpl
33577 do :
33578 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33579 if test "x$ac_cv_func_frexpl" = x""yes; then :
33580 cat >>confdefs.h <<_ACEOF
33581 #define HAVE_FREXPL 1
33582 _ACEOF
33585 done
33587 else
33589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33590 $as_echo_n "checking for _frexpl declaration... " >&6; }
33591 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33592 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33593 $as_echo_n "(cached) " >&6
33594 else
33597 ac_ext=cpp
33598 ac_cpp='$CXXCPP $CPPFLAGS'
33599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33604 /* end confdefs.h. */
33605 #include <math.h>
33607 main ()
33609 _frexpl(0, 0);
33611 return 0;
33613 _ACEOF
33614 if ac_fn_cxx_try_compile "$LINENO"; then :
33615 glibcxx_cv_func__frexpl_use=yes
33616 else
33617 glibcxx_cv_func__frexpl_use=no
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33620 ac_ext=c
33621 ac_cpp='$CPP $CPPFLAGS'
33622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33631 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33633 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33634 for ac_func in _frexpl
33635 do :
33636 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33637 if test "x$ac_cv_func__frexpl" = x""yes; then :
33638 cat >>confdefs.h <<_ACEOF
33639 #define HAVE__FREXPL 1
33640 _ACEOF
33643 done
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33653 $as_echo_n "checking for hypotl declaration... " >&6; }
33654 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33655 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33656 $as_echo_n "(cached) " >&6
33657 else
33660 ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h. */
33668 #include <math.h>
33670 main ()
33672 hypotl(0, 0);
33674 return 0;
33676 _ACEOF
33677 if ac_fn_cxx_try_compile "$LINENO"; then :
33678 glibcxx_cv_func_hypotl_use=yes
33679 else
33680 glibcxx_cv_func_hypotl_use=no
33682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33683 ac_ext=c
33684 ac_cpp='$CPP $CPPFLAGS'
33685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33694 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33696 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33697 for ac_func in hypotl
33698 do :
33699 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33700 if test "x$ac_cv_func_hypotl" = x""yes; then :
33701 cat >>confdefs.h <<_ACEOF
33702 #define HAVE_HYPOTL 1
33703 _ACEOF
33706 done
33708 else
33710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33711 $as_echo_n "checking for _hypotl declaration... " >&6; }
33712 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33713 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33714 $as_echo_n "(cached) " >&6
33715 else
33718 ac_ext=cpp
33719 ac_cpp='$CXXCPP $CPPFLAGS'
33720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33725 /* end confdefs.h. */
33726 #include <math.h>
33728 main ()
33730 _hypotl(0, 0);
33732 return 0;
33734 _ACEOF
33735 if ac_fn_cxx_try_compile "$LINENO"; then :
33736 glibcxx_cv_func__hypotl_use=yes
33737 else
33738 glibcxx_cv_func__hypotl_use=no
33740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33741 ac_ext=c
33742 ac_cpp='$CPP $CPPFLAGS'
33743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33752 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33754 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33755 for ac_func in _hypotl
33756 do :
33757 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33758 if test "x$ac_cv_func__hypotl" = x""yes; then :
33759 cat >>confdefs.h <<_ACEOF
33760 #define HAVE__HYPOTL 1
33761 _ACEOF
33764 done
33773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33774 $as_echo_n "checking for ldexpl declaration... " >&6; }
33775 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33776 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33777 $as_echo_n "(cached) " >&6
33778 else
33781 ac_ext=cpp
33782 ac_cpp='$CXXCPP $CPPFLAGS'
33783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33788 /* end confdefs.h. */
33789 #include <math.h>
33791 main ()
33793 ldexpl(0, 0);
33795 return 0;
33797 _ACEOF
33798 if ac_fn_cxx_try_compile "$LINENO"; then :
33799 glibcxx_cv_func_ldexpl_use=yes
33800 else
33801 glibcxx_cv_func_ldexpl_use=no
33803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33804 ac_ext=c
33805 ac_cpp='$CPP $CPPFLAGS'
33806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33815 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33817 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33818 for ac_func in ldexpl
33819 do :
33820 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33821 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33822 cat >>confdefs.h <<_ACEOF
33823 #define HAVE_LDEXPL 1
33824 _ACEOF
33827 done
33829 else
33831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33832 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33833 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33834 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33835 $as_echo_n "(cached) " >&6
33836 else
33839 ac_ext=cpp
33840 ac_cpp='$CXXCPP $CPPFLAGS'
33841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33846 /* end confdefs.h. */
33847 #include <math.h>
33849 main ()
33851 _ldexpl(0, 0);
33853 return 0;
33855 _ACEOF
33856 if ac_fn_cxx_try_compile "$LINENO"; then :
33857 glibcxx_cv_func__ldexpl_use=yes
33858 else
33859 glibcxx_cv_func__ldexpl_use=no
33861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33862 ac_ext=c
33863 ac_cpp='$CPP $CPPFLAGS'
33864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33873 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33875 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33876 for ac_func in _ldexpl
33877 do :
33878 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33879 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33880 cat >>confdefs.h <<_ACEOF
33881 #define HAVE__LDEXPL 1
33882 _ACEOF
33885 done
33894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33895 $as_echo_n "checking for logl declaration... " >&6; }
33896 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33897 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33898 $as_echo_n "(cached) " >&6
33899 else
33902 ac_ext=cpp
33903 ac_cpp='$CXXCPP $CPPFLAGS'
33904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33909 /* end confdefs.h. */
33910 #include <math.h>
33911 #ifdef HAVE_IEEEFP_H
33912 #include <ieeefp.h>
33913 #endif
33916 main ()
33918 logl(0);
33920 return 0;
33922 _ACEOF
33923 if ac_fn_cxx_try_compile "$LINENO"; then :
33924 glibcxx_cv_func_logl_use=yes
33925 else
33926 glibcxx_cv_func_logl_use=no
33928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33929 ac_ext=c
33930 ac_cpp='$CPP $CPPFLAGS'
33931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33940 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33942 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33943 for ac_func in logl
33944 do :
33945 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33946 if test "x$ac_cv_func_logl" = x""yes; then :
33947 cat >>confdefs.h <<_ACEOF
33948 #define HAVE_LOGL 1
33949 _ACEOF
33952 done
33954 else
33956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33957 $as_echo_n "checking for _logl declaration... " >&6; }
33958 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33959 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33960 $as_echo_n "(cached) " >&6
33961 else
33964 ac_ext=cpp
33965 ac_cpp='$CXXCPP $CPPFLAGS'
33966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33971 /* end confdefs.h. */
33972 #include <math.h>
33973 #ifdef HAVE_IEEEFP_H
33974 #include <ieeefp.h>
33975 #endif
33978 main ()
33980 _logl(0);
33982 return 0;
33984 _ACEOF
33985 if ac_fn_cxx_try_compile "$LINENO"; then :
33986 glibcxx_cv_func__logl_use=yes
33987 else
33988 glibcxx_cv_func__logl_use=no
33990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33991 ac_ext=c
33992 ac_cpp='$CPP $CPPFLAGS'
33993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34002 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34004 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34005 for ac_func in _logl
34006 do :
34007 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34008 if test "x$ac_cv_func__logl" = x""yes; then :
34009 cat >>confdefs.h <<_ACEOF
34010 #define HAVE__LOGL 1
34011 _ACEOF
34014 done
34023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34024 $as_echo_n "checking for log10l declaration... " >&6; }
34025 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34026 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34027 $as_echo_n "(cached) " >&6
34028 else
34031 ac_ext=cpp
34032 ac_cpp='$CXXCPP $CPPFLAGS'
34033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34038 /* end confdefs.h. */
34039 #include <math.h>
34040 #ifdef HAVE_IEEEFP_H
34041 #include <ieeefp.h>
34042 #endif
34045 main ()
34047 log10l(0);
34049 return 0;
34051 _ACEOF
34052 if ac_fn_cxx_try_compile "$LINENO"; then :
34053 glibcxx_cv_func_log10l_use=yes
34054 else
34055 glibcxx_cv_func_log10l_use=no
34057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34058 ac_ext=c
34059 ac_cpp='$CPP $CPPFLAGS'
34060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34069 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34071 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34072 for ac_func in log10l
34073 do :
34074 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34075 if test "x$ac_cv_func_log10l" = x""yes; then :
34076 cat >>confdefs.h <<_ACEOF
34077 #define HAVE_LOG10L 1
34078 _ACEOF
34081 done
34083 else
34085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34086 $as_echo_n "checking for _log10l declaration... " >&6; }
34087 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34088 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34089 $as_echo_n "(cached) " >&6
34090 else
34093 ac_ext=cpp
34094 ac_cpp='$CXXCPP $CPPFLAGS'
34095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34100 /* end confdefs.h. */
34101 #include <math.h>
34102 #ifdef HAVE_IEEEFP_H
34103 #include <ieeefp.h>
34104 #endif
34107 main ()
34109 _log10l(0);
34111 return 0;
34113 _ACEOF
34114 if ac_fn_cxx_try_compile "$LINENO"; then :
34115 glibcxx_cv_func__log10l_use=yes
34116 else
34117 glibcxx_cv_func__log10l_use=no
34119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34120 ac_ext=c
34121 ac_cpp='$CPP $CPPFLAGS'
34122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34131 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34133 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34134 for ac_func in _log10l
34135 do :
34136 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34137 if test "x$ac_cv_func__log10l" = x""yes; then :
34138 cat >>confdefs.h <<_ACEOF
34139 #define HAVE__LOG10L 1
34140 _ACEOF
34143 done
34152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34153 $as_echo_n "checking for modfl declaration... " >&6; }
34154 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34155 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34156 $as_echo_n "(cached) " >&6
34157 else
34160 ac_ext=cpp
34161 ac_cpp='$CXXCPP $CPPFLAGS'
34162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34167 /* end confdefs.h. */
34168 #include <math.h>
34170 main ()
34172 modfl(0, 0);
34174 return 0;
34176 _ACEOF
34177 if ac_fn_cxx_try_compile "$LINENO"; then :
34178 glibcxx_cv_func_modfl_use=yes
34179 else
34180 glibcxx_cv_func_modfl_use=no
34182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34183 ac_ext=c
34184 ac_cpp='$CPP $CPPFLAGS'
34185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34194 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34196 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34197 for ac_func in modfl
34198 do :
34199 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34200 if test "x$ac_cv_func_modfl" = x""yes; then :
34201 cat >>confdefs.h <<_ACEOF
34202 #define HAVE_MODFL 1
34203 _ACEOF
34206 done
34208 else
34210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34211 $as_echo_n "checking for _modfl declaration... " >&6; }
34212 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34213 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34214 $as_echo_n "(cached) " >&6
34215 else
34218 ac_ext=cpp
34219 ac_cpp='$CXXCPP $CPPFLAGS'
34220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34225 /* end confdefs.h. */
34226 #include <math.h>
34228 main ()
34230 _modfl(0, 0);
34232 return 0;
34234 _ACEOF
34235 if ac_fn_cxx_try_compile "$LINENO"; then :
34236 glibcxx_cv_func__modfl_use=yes
34237 else
34238 glibcxx_cv_func__modfl_use=no
34240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34241 ac_ext=c
34242 ac_cpp='$CPP $CPPFLAGS'
34243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34252 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34254 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34255 for ac_func in _modfl
34256 do :
34257 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34258 if test "x$ac_cv_func__modfl" = x""yes; then :
34259 cat >>confdefs.h <<_ACEOF
34260 #define HAVE__MODFL 1
34261 _ACEOF
34264 done
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34274 $as_echo_n "checking for powl declaration... " >&6; }
34275 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34276 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34277 $as_echo_n "(cached) " >&6
34278 else
34281 ac_ext=cpp
34282 ac_cpp='$CXXCPP $CPPFLAGS'
34283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34288 /* end confdefs.h. */
34289 #include <math.h>
34291 main ()
34293 powl(0, 0);
34295 return 0;
34297 _ACEOF
34298 if ac_fn_cxx_try_compile "$LINENO"; then :
34299 glibcxx_cv_func_powl_use=yes
34300 else
34301 glibcxx_cv_func_powl_use=no
34303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34304 ac_ext=c
34305 ac_cpp='$CPP $CPPFLAGS'
34306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34315 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34317 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34318 for ac_func in powl
34319 do :
34320 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34321 if test "x$ac_cv_func_powl" = x""yes; then :
34322 cat >>confdefs.h <<_ACEOF
34323 #define HAVE_POWL 1
34324 _ACEOF
34327 done
34329 else
34331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34332 $as_echo_n "checking for _powl declaration... " >&6; }
34333 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34334 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34335 $as_echo_n "(cached) " >&6
34336 else
34339 ac_ext=cpp
34340 ac_cpp='$CXXCPP $CPPFLAGS'
34341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34346 /* end confdefs.h. */
34347 #include <math.h>
34349 main ()
34351 _powl(0, 0);
34353 return 0;
34355 _ACEOF
34356 if ac_fn_cxx_try_compile "$LINENO"; then :
34357 glibcxx_cv_func__powl_use=yes
34358 else
34359 glibcxx_cv_func__powl_use=no
34361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34362 ac_ext=c
34363 ac_cpp='$CPP $CPPFLAGS'
34364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34373 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34375 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34376 for ac_func in _powl
34377 do :
34378 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34379 if test "x$ac_cv_func__powl" = x""yes; then :
34380 cat >>confdefs.h <<_ACEOF
34381 #define HAVE__POWL 1
34382 _ACEOF
34385 done
34394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34395 $as_echo_n "checking for sqrtl declaration... " >&6; }
34396 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34397 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34398 $as_echo_n "(cached) " >&6
34399 else
34402 ac_ext=cpp
34403 ac_cpp='$CXXCPP $CPPFLAGS'
34404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34409 /* end confdefs.h. */
34410 #include <math.h>
34411 #ifdef HAVE_IEEEFP_H
34412 #include <ieeefp.h>
34413 #endif
34416 main ()
34418 sqrtl(0);
34420 return 0;
34422 _ACEOF
34423 if ac_fn_cxx_try_compile "$LINENO"; then :
34424 glibcxx_cv_func_sqrtl_use=yes
34425 else
34426 glibcxx_cv_func_sqrtl_use=no
34428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34429 ac_ext=c
34430 ac_cpp='$CPP $CPPFLAGS'
34431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34440 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34442 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34443 for ac_func in sqrtl
34444 do :
34445 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34446 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34447 cat >>confdefs.h <<_ACEOF
34448 #define HAVE_SQRTL 1
34449 _ACEOF
34452 done
34454 else
34456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34457 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34458 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34459 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34460 $as_echo_n "(cached) " >&6
34461 else
34464 ac_ext=cpp
34465 ac_cpp='$CXXCPP $CPPFLAGS'
34466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34471 /* end confdefs.h. */
34472 #include <math.h>
34473 #ifdef HAVE_IEEEFP_H
34474 #include <ieeefp.h>
34475 #endif
34478 main ()
34480 _sqrtl(0);
34482 return 0;
34484 _ACEOF
34485 if ac_fn_cxx_try_compile "$LINENO"; then :
34486 glibcxx_cv_func__sqrtl_use=yes
34487 else
34488 glibcxx_cv_func__sqrtl_use=no
34490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34491 ac_ext=c
34492 ac_cpp='$CPP $CPPFLAGS'
34493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34502 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34504 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34505 for ac_func in _sqrtl
34506 do :
34507 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34508 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34509 cat >>confdefs.h <<_ACEOF
34510 #define HAVE__SQRTL 1
34511 _ACEOF
34514 done
34523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34524 $as_echo_n "checking for sincosl declaration... " >&6; }
34525 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34526 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34527 $as_echo_n "(cached) " >&6
34528 else
34531 ac_ext=cpp
34532 ac_cpp='$CXXCPP $CPPFLAGS'
34533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34538 /* end confdefs.h. */
34539 #include <math.h>
34541 main ()
34543 sincosl(0, 0, 0);
34545 return 0;
34547 _ACEOF
34548 if ac_fn_cxx_try_compile "$LINENO"; then :
34549 glibcxx_cv_func_sincosl_use=yes
34550 else
34551 glibcxx_cv_func_sincosl_use=no
34553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34554 ac_ext=c
34555 ac_cpp='$CPP $CPPFLAGS'
34556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34565 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34567 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34568 for ac_func in sincosl
34569 do :
34570 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34571 if test "x$ac_cv_func_sincosl" = x""yes; then :
34572 cat >>confdefs.h <<_ACEOF
34573 #define HAVE_SINCOSL 1
34574 _ACEOF
34577 done
34579 else
34581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34582 $as_echo_n "checking for _sincosl declaration... " >&6; }
34583 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34584 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34585 $as_echo_n "(cached) " >&6
34586 else
34589 ac_ext=cpp
34590 ac_cpp='$CXXCPP $CPPFLAGS'
34591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34596 /* end confdefs.h. */
34597 #include <math.h>
34599 main ()
34601 _sincosl(0, 0, 0);
34603 return 0;
34605 _ACEOF
34606 if ac_fn_cxx_try_compile "$LINENO"; then :
34607 glibcxx_cv_func__sincosl_use=yes
34608 else
34609 glibcxx_cv_func__sincosl_use=no
34611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34612 ac_ext=c
34613 ac_cpp='$CPP $CPPFLAGS'
34614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34623 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34625 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34626 for ac_func in _sincosl
34627 do :
34628 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34629 if test "x$ac_cv_func__sincosl" = x""yes; then :
34630 cat >>confdefs.h <<_ACEOF
34631 #define HAVE__SINCOSL 1
34632 _ACEOF
34635 done
34644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34645 $as_echo_n "checking for finitel declaration... " >&6; }
34646 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34647 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34648 $as_echo_n "(cached) " >&6
34649 else
34652 ac_ext=cpp
34653 ac_cpp='$CXXCPP $CPPFLAGS'
34654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34659 /* end confdefs.h. */
34660 #include <math.h>
34661 #ifdef HAVE_IEEEFP_H
34662 #include <ieeefp.h>
34663 #endif
34666 main ()
34668 finitel(0);
34670 return 0;
34672 _ACEOF
34673 if ac_fn_cxx_try_compile "$LINENO"; then :
34674 glibcxx_cv_func_finitel_use=yes
34675 else
34676 glibcxx_cv_func_finitel_use=no
34678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34679 ac_ext=c
34680 ac_cpp='$CPP $CPPFLAGS'
34681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34690 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34692 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34693 for ac_func in finitel
34694 do :
34695 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34696 if test "x$ac_cv_func_finitel" = x""yes; then :
34697 cat >>confdefs.h <<_ACEOF
34698 #define HAVE_FINITEL 1
34699 _ACEOF
34702 done
34704 else
34706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34707 $as_echo_n "checking for _finitel declaration... " >&6; }
34708 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34709 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34710 $as_echo_n "(cached) " >&6
34711 else
34714 ac_ext=cpp
34715 ac_cpp='$CXXCPP $CPPFLAGS'
34716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34721 /* end confdefs.h. */
34722 #include <math.h>
34723 #ifdef HAVE_IEEEFP_H
34724 #include <ieeefp.h>
34725 #endif
34728 main ()
34730 _finitel(0);
34732 return 0;
34734 _ACEOF
34735 if ac_fn_cxx_try_compile "$LINENO"; then :
34736 glibcxx_cv_func__finitel_use=yes
34737 else
34738 glibcxx_cv_func__finitel_use=no
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 ac_ext=c
34742 ac_cpp='$CPP $CPPFLAGS'
34743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34752 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34754 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34755 for ac_func in _finitel
34756 do :
34757 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34758 if test "x$ac_cv_func__finitel" = x""yes; then :
34759 cat >>confdefs.h <<_ACEOF
34760 #define HAVE__FINITEL 1
34761 _ACEOF
34764 done
34772 LIBS="$ac_save_LIBS"
34773 CXXFLAGS="$ac_save_CXXFLAGS"
34776 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34777 ac_save_CXXFLAGS="$CXXFLAGS"
34778 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34782 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34783 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34784 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34785 $as_echo_n "(cached) " >&6
34786 else
34789 ac_ext=cpp
34790 ac_cpp='$CXXCPP $CPPFLAGS'
34791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34796 /* end confdefs.h. */
34797 #include <stdlib.h>
34799 main ()
34801 at_quick_exit(0);
34803 return 0;
34805 _ACEOF
34806 if ac_fn_cxx_try_compile "$LINENO"; then :
34807 glibcxx_cv_func_at_quick_exit_use=yes
34808 else
34809 glibcxx_cv_func_at_quick_exit_use=no
34811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34812 ac_ext=c
34813 ac_cpp='$CPP $CPPFLAGS'
34814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34823 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34824 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34825 for ac_func in at_quick_exit
34826 do :
34827 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34828 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34829 cat >>confdefs.h <<_ACEOF
34830 #define HAVE_AT_QUICK_EXIT 1
34831 _ACEOF
34834 done
34839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34840 $as_echo_n "checking for quick_exit declaration... " >&6; }
34841 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34842 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34843 $as_echo_n "(cached) " >&6
34844 else
34847 ac_ext=cpp
34848 ac_cpp='$CXXCPP $CPPFLAGS'
34849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34854 /* end confdefs.h. */
34855 #include <stdlib.h>
34857 main ()
34859 quick_exit(0);
34861 return 0;
34863 _ACEOF
34864 if ac_fn_cxx_try_compile "$LINENO"; then :
34865 glibcxx_cv_func_quick_exit_use=yes
34866 else
34867 glibcxx_cv_func_quick_exit_use=no
34869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34870 ac_ext=c
34871 ac_cpp='$CPP $CPPFLAGS'
34872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34881 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34882 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34883 for ac_func in quick_exit
34884 do :
34885 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34886 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34887 cat >>confdefs.h <<_ACEOF
34888 #define HAVE_QUICK_EXIT 1
34889 _ACEOF
34892 done
34897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34898 $as_echo_n "checking for strtold declaration... " >&6; }
34899 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34900 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34901 $as_echo_n "(cached) " >&6
34902 else
34905 ac_ext=cpp
34906 ac_cpp='$CXXCPP $CPPFLAGS'
34907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34912 /* end confdefs.h. */
34913 #include <stdlib.h>
34915 main ()
34917 strtold(0, 0);
34919 return 0;
34921 _ACEOF
34922 if ac_fn_cxx_try_compile "$LINENO"; then :
34923 glibcxx_cv_func_strtold_use=yes
34924 else
34925 glibcxx_cv_func_strtold_use=no
34927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34928 ac_ext=c
34929 ac_cpp='$CPP $CPPFLAGS'
34930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34939 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34940 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34941 for ac_func in strtold
34942 do :
34943 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34944 if test "x$ac_cv_func_strtold" = x""yes; then :
34945 cat >>confdefs.h <<_ACEOF
34946 #define HAVE_STRTOLD 1
34947 _ACEOF
34950 done
34957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34958 $as_echo_n "checking for strtof declaration... " >&6; }
34959 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34960 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34961 $as_echo_n "(cached) " >&6
34962 else
34965 ac_ext=cpp
34966 ac_cpp='$CXXCPP $CPPFLAGS'
34967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34972 /* end confdefs.h. */
34973 #include <stdlib.h>
34975 main ()
34977 strtof(0, 0);
34979 return 0;
34981 _ACEOF
34982 if ac_fn_cxx_try_compile "$LINENO"; then :
34983 glibcxx_cv_func_strtof_use=yes
34984 else
34985 glibcxx_cv_func_strtof_use=no
34987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34988 ac_ext=c
34989 ac_cpp='$CPP $CPPFLAGS'
34990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34999 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35000 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35001 for ac_func in strtof
35002 do :
35003 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35004 if test "x$ac_cv_func_strtof" = x""yes; then :
35005 cat >>confdefs.h <<_ACEOF
35006 #define HAVE_STRTOF 1
35007 _ACEOF
35010 done
35017 CXXFLAGS="$ac_save_CXXFLAGS"
35020 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35022 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35024 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35026 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35029 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35031 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35033 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35037 spu-*-elf*)
35039 # All these tests are for C++; save the language and the compiler flags.
35040 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35041 # found in GLIBCXX_CONFIGURE.
35043 ac_ext=cpp
35044 ac_cpp='$CXXCPP $CPPFLAGS'
35045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35049 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35050 ac_save_CXXFLAGS="$CXXFLAGS"
35052 # Check for maintainer-mode bits.
35053 if test x"$USE_MAINTAINER_MODE" = xno; then
35054 WERROR=''
35055 else
35056 WERROR='-Werror'
35059 # Check for -ffunction-sections -fdata-sections
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35061 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35062 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35064 /* end confdefs.h. */
35065 int foo; void bar() { };
35067 main ()
35071 return 0;
35073 _ACEOF
35074 if ac_fn_cxx_try_compile "$LINENO"; then :
35075 ac_fdsections=yes
35076 else
35077 ac_fdsections=no
35079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35080 if test "$ac_test_CXXFLAGS" = set; then
35081 CXXFLAGS="$ac_save_CXXFLAGS"
35082 else
35083 # this is the suspicious part
35084 CXXFLAGS=''
35086 if test x"$ac_fdsections" = x"yes"; then
35087 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35090 $as_echo "$ac_fdsections" >&6; }
35092 ac_ext=c
35093 ac_cpp='$CPP $CPPFLAGS'
35094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35102 # If we're not using GNU ld, then there's no point in even trying these
35103 # tests. Check for that first. We should have already tested for gld
35104 # by now (in libtool), but require it now just to be safe...
35105 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35106 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35110 # The name set by libtool depends on the version of libtool. Shame on us
35111 # for depending on an impl detail, but c'est la vie. Older versions used
35112 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35113 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35114 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35115 # set (hence we're using an older libtool), then set it.
35116 if test x${with_gnu_ld+set} != xset; then
35117 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35118 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35119 with_gnu_ld=no
35120 else
35121 with_gnu_ld=$ac_cv_prog_gnu_ld
35125 # Start by getting the version number. I think the libtool test already
35126 # does some of this, but throws away the result.
35127 glibcxx_ld_is_gold=no
35128 if test x"$with_gnu_ld" = x"yes"; then
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35130 $as_echo_n "checking for ld version... " >&6; }
35132 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35133 glibcxx_ld_is_gold=yes
35135 ldver=`$LD --version 2>/dev/null |
35136 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'`
35138 glibcxx_gnu_ld_version=`echo $ldver | \
35139 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35141 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35144 # Set --gc-sections.
35145 glibcxx_have_gc_sections=no
35146 if test "$glibcxx_ld_is_gold" = "yes"; then
35147 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35148 glibcxx_have_gc_sections=yes
35150 else
35151 glibcxx_gcsections_min_ld=21602
35152 if test x"$with_gnu_ld" = x"yes" &&
35153 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35154 glibcxx_have_gc_sections=yes
35157 if test "$glibcxx_have_gc_sections" = "yes"; then
35158 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35159 # NB: This flag only works reliably after 2.16.1. Configure tests
35160 # for this are difficult, so hard wire a value that should work.
35162 ac_test_CFLAGS="${CFLAGS+set}"
35163 ac_save_CFLAGS="$CFLAGS"
35164 CFLAGS='-Wl,--gc-sections'
35166 # Check for -Wl,--gc-sections
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35168 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35169 if test x$gcc_no_link = xyes; then
35170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35173 /* end confdefs.h. */
35174 int one(void) { return 1; }
35175 int two(void) { return 2; }
35178 main ()
35180 two();
35182 return 0;
35184 _ACEOF
35185 if ac_fn_c_try_link "$LINENO"; then :
35186 ac_gcsections=yes
35187 else
35188 ac_gcsections=no
35190 rm -f core conftest.err conftest.$ac_objext \
35191 conftest$ac_exeext conftest.$ac_ext
35192 if test "$ac_gcsections" = "yes"; then
35193 rm -f conftest.c
35194 touch conftest.c
35195 if $CC -c conftest.c; then
35196 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35197 grep "Warning: gc-sections option ignored" > /dev/null; then
35198 ac_gcsections=no
35201 rm -f conftest.c conftest.o conftest
35203 if test "$ac_gcsections" = "yes"; then
35204 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35207 $as_echo "$ac_gcsections" >&6; }
35209 if test "$ac_test_CFLAGS" = set; then
35210 CFLAGS="$ac_save_CFLAGS"
35211 else
35212 # this is the suspicious part
35213 CFLAGS=''
35217 # Set -z,relro.
35218 # Note this is only for shared objects.
35219 ac_ld_relro=no
35220 if test x"$with_gnu_ld" = x"yes"; then
35221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35222 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35223 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35224 if test -n "$cxx_z_relo"; then
35225 OPT_LDFLAGS="-Wl,-z,relro"
35226 ac_ld_relro=yes
35228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35229 $as_echo "$ac_ld_relro" >&6; }
35232 # Set linker optimization flags.
35233 if test x"$with_gnu_ld" = x"yes"; then
35234 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35241 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35242 ac_save_CXXFLAGS="$CXXFLAGS"
35243 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35246 $as_echo_n "checking for sin in -lm... " >&6; }
35247 if test "${ac_cv_lib_m_sin+set}" = set; then :
35248 $as_echo_n "(cached) " >&6
35249 else
35250 ac_check_lib_save_LIBS=$LIBS
35251 LIBS="-lm $LIBS"
35252 if test x$gcc_no_link = xyes; then
35253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35256 /* end confdefs.h. */
35258 /* Override any GCC internal prototype to avoid an error.
35259 Use char because int might match the return type of a GCC
35260 builtin and then its argument prototype would still apply. */
35261 #ifdef __cplusplus
35262 extern "C"
35263 #endif
35264 char sin ();
35266 main ()
35268 return sin ();
35270 return 0;
35272 _ACEOF
35273 if ac_fn_c_try_link "$LINENO"; then :
35274 ac_cv_lib_m_sin=yes
35275 else
35276 ac_cv_lib_m_sin=no
35278 rm -f core conftest.err conftest.$ac_objext \
35279 conftest$ac_exeext conftest.$ac_ext
35280 LIBS=$ac_check_lib_save_LIBS
35282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35283 $as_echo "$ac_cv_lib_m_sin" >&6; }
35284 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35285 libm="-lm"
35288 ac_save_LIBS="$LIBS"
35289 LIBS="$LIBS $libm"
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35294 $as_echo_n "checking for isinf declaration... " >&6; }
35295 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35296 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35310 #ifdef HAVE_IEEEFP_H
35311 #include <ieeefp.h>
35312 #endif
35315 main ()
35317 isinf(0);
35319 return 0;
35321 _ACEOF
35322 if ac_fn_cxx_try_compile "$LINENO"; then :
35323 glibcxx_cv_func_isinf_use=yes
35324 else
35325 glibcxx_cv_func_isinf_use=no
35327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35328 ac_ext=c
35329 ac_cpp='$CPP $CPPFLAGS'
35330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35339 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35341 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35342 for ac_func in isinf
35343 do :
35344 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35345 if test "x$ac_cv_func_isinf" = x""yes; then :
35346 cat >>confdefs.h <<_ACEOF
35347 #define HAVE_ISINF 1
35348 _ACEOF
35351 done
35353 else
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35356 $as_echo_n "checking for _isinf declaration... " >&6; }
35357 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35358 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35359 $as_echo_n "(cached) " >&6
35360 else
35363 ac_ext=cpp
35364 ac_cpp='$CXXCPP $CPPFLAGS'
35365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35370 /* end confdefs.h. */
35371 #include <math.h>
35372 #ifdef HAVE_IEEEFP_H
35373 #include <ieeefp.h>
35374 #endif
35377 main ()
35379 _isinf(0);
35381 return 0;
35383 _ACEOF
35384 if ac_fn_cxx_try_compile "$LINENO"; then :
35385 glibcxx_cv_func__isinf_use=yes
35386 else
35387 glibcxx_cv_func__isinf_use=no
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390 ac_ext=c
35391 ac_cpp='$CPP $CPPFLAGS'
35392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35401 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35403 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35404 for ac_func in _isinf
35405 do :
35406 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35407 if test "x$ac_cv_func__isinf" = x""yes; then :
35408 cat >>confdefs.h <<_ACEOF
35409 #define HAVE__ISINF 1
35410 _ACEOF
35413 done
35422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35423 $as_echo_n "checking for isnan declaration... " >&6; }
35424 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35425 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35426 $as_echo_n "(cached) " >&6
35427 else
35430 ac_ext=cpp
35431 ac_cpp='$CXXCPP $CPPFLAGS'
35432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35437 /* end confdefs.h. */
35438 #include <math.h>
35439 #ifdef HAVE_IEEEFP_H
35440 #include <ieeefp.h>
35441 #endif
35444 main ()
35446 isnan(0);
35448 return 0;
35450 _ACEOF
35451 if ac_fn_cxx_try_compile "$LINENO"; then :
35452 glibcxx_cv_func_isnan_use=yes
35453 else
35454 glibcxx_cv_func_isnan_use=no
35456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35457 ac_ext=c
35458 ac_cpp='$CPP $CPPFLAGS'
35459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35468 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35470 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35471 for ac_func in isnan
35472 do :
35473 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35474 if test "x$ac_cv_func_isnan" = x""yes; then :
35475 cat >>confdefs.h <<_ACEOF
35476 #define HAVE_ISNAN 1
35477 _ACEOF
35480 done
35482 else
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35485 $as_echo_n "checking for _isnan declaration... " >&6; }
35486 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35487 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35488 $as_echo_n "(cached) " >&6
35489 else
35492 ac_ext=cpp
35493 ac_cpp='$CXXCPP $CPPFLAGS'
35494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35499 /* end confdefs.h. */
35500 #include <math.h>
35501 #ifdef HAVE_IEEEFP_H
35502 #include <ieeefp.h>
35503 #endif
35506 main ()
35508 _isnan(0);
35510 return 0;
35512 _ACEOF
35513 if ac_fn_cxx_try_compile "$LINENO"; then :
35514 glibcxx_cv_func__isnan_use=yes
35515 else
35516 glibcxx_cv_func__isnan_use=no
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 ac_ext=c
35520 ac_cpp='$CPP $CPPFLAGS'
35521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35530 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35532 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35533 for ac_func in _isnan
35534 do :
35535 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35536 if test "x$ac_cv_func__isnan" = x""yes; then :
35537 cat >>confdefs.h <<_ACEOF
35538 #define HAVE__ISNAN 1
35539 _ACEOF
35542 done
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35552 $as_echo_n "checking for finite declaration... " >&6; }
35553 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35554 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35555 $as_echo_n "(cached) " >&6
35556 else
35559 ac_ext=cpp
35560 ac_cpp='$CXXCPP $CPPFLAGS'
35561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35566 /* end confdefs.h. */
35567 #include <math.h>
35568 #ifdef HAVE_IEEEFP_H
35569 #include <ieeefp.h>
35570 #endif
35573 main ()
35575 finite(0);
35577 return 0;
35579 _ACEOF
35580 if ac_fn_cxx_try_compile "$LINENO"; then :
35581 glibcxx_cv_func_finite_use=yes
35582 else
35583 glibcxx_cv_func_finite_use=no
35585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35586 ac_ext=c
35587 ac_cpp='$CPP $CPPFLAGS'
35588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35597 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35599 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35600 for ac_func in finite
35601 do :
35602 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35603 if test "x$ac_cv_func_finite" = x""yes; then :
35604 cat >>confdefs.h <<_ACEOF
35605 #define HAVE_FINITE 1
35606 _ACEOF
35609 done
35611 else
35613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35614 $as_echo_n "checking for _finite declaration... " >&6; }
35615 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35616 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35617 $as_echo_n "(cached) " >&6
35618 else
35621 ac_ext=cpp
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35628 /* end confdefs.h. */
35629 #include <math.h>
35630 #ifdef HAVE_IEEEFP_H
35631 #include <ieeefp.h>
35632 #endif
35635 main ()
35637 _finite(0);
35639 return 0;
35641 _ACEOF
35642 if ac_fn_cxx_try_compile "$LINENO"; then :
35643 glibcxx_cv_func__finite_use=yes
35644 else
35645 glibcxx_cv_func__finite_use=no
35647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35648 ac_ext=c
35649 ac_cpp='$CPP $CPPFLAGS'
35650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35659 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35661 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35662 for ac_func in _finite
35663 do :
35664 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35665 if test "x$ac_cv_func__finite" = x""yes; then :
35666 cat >>confdefs.h <<_ACEOF
35667 #define HAVE__FINITE 1
35668 _ACEOF
35671 done
35680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35681 $as_echo_n "checking for sincos declaration... " >&6; }
35682 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35683 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35684 $as_echo_n "(cached) " >&6
35685 else
35688 ac_ext=cpp
35689 ac_cpp='$CXXCPP $CPPFLAGS'
35690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35695 /* end confdefs.h. */
35696 #include <math.h>
35698 main ()
35700 sincos(0, 0, 0);
35702 return 0;
35704 _ACEOF
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706 glibcxx_cv_func_sincos_use=yes
35707 else
35708 glibcxx_cv_func_sincos_use=no
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711 ac_ext=c
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35722 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35724 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35725 for ac_func in sincos
35726 do :
35727 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35728 if test "x$ac_cv_func_sincos" = x""yes; then :
35729 cat >>confdefs.h <<_ACEOF
35730 #define HAVE_SINCOS 1
35731 _ACEOF
35734 done
35736 else
35738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35739 $as_echo_n "checking for _sincos declaration... " >&6; }
35740 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35741 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35742 $as_echo_n "(cached) " >&6
35743 else
35746 ac_ext=cpp
35747 ac_cpp='$CXXCPP $CPPFLAGS'
35748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35753 /* end confdefs.h. */
35754 #include <math.h>
35756 main ()
35758 _sincos(0, 0, 0);
35760 return 0;
35762 _ACEOF
35763 if ac_fn_cxx_try_compile "$LINENO"; then :
35764 glibcxx_cv_func__sincos_use=yes
35765 else
35766 glibcxx_cv_func__sincos_use=no
35768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35769 ac_ext=c
35770 ac_cpp='$CPP $CPPFLAGS'
35771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35780 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35782 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35783 for ac_func in _sincos
35784 do :
35785 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35786 if test "x$ac_cv_func__sincos" = x""yes; then :
35787 cat >>confdefs.h <<_ACEOF
35788 #define HAVE__SINCOS 1
35789 _ACEOF
35792 done
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35802 $as_echo_n "checking for fpclass declaration... " >&6; }
35803 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35804 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35805 $as_echo_n "(cached) " >&6
35806 else
35809 ac_ext=cpp
35810 ac_cpp='$CXXCPP $CPPFLAGS'
35811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35816 /* end confdefs.h. */
35817 #include <math.h>
35818 #ifdef HAVE_IEEEFP_H
35819 #include <ieeefp.h>
35820 #endif
35823 main ()
35825 fpclass(0);
35827 return 0;
35829 _ACEOF
35830 if ac_fn_cxx_try_compile "$LINENO"; then :
35831 glibcxx_cv_func_fpclass_use=yes
35832 else
35833 glibcxx_cv_func_fpclass_use=no
35835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35836 ac_ext=c
35837 ac_cpp='$CPP $CPPFLAGS'
35838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35847 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35849 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35850 for ac_func in fpclass
35851 do :
35852 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35853 if test "x$ac_cv_func_fpclass" = x""yes; then :
35854 cat >>confdefs.h <<_ACEOF
35855 #define HAVE_FPCLASS 1
35856 _ACEOF
35859 done
35861 else
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35864 $as_echo_n "checking for _fpclass declaration... " >&6; }
35865 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35866 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35867 $as_echo_n "(cached) " >&6
35868 else
35871 ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 /* end confdefs.h. */
35879 #include <math.h>
35880 #ifdef HAVE_IEEEFP_H
35881 #include <ieeefp.h>
35882 #endif
35885 main ()
35887 _fpclass(0);
35889 return 0;
35891 _ACEOF
35892 if ac_fn_cxx_try_compile "$LINENO"; then :
35893 glibcxx_cv_func__fpclass_use=yes
35894 else
35895 glibcxx_cv_func__fpclass_use=no
35897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35898 ac_ext=c
35899 ac_cpp='$CPP $CPPFLAGS'
35900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35909 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35911 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35912 for ac_func in _fpclass
35913 do :
35914 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35915 if test "x$ac_cv_func__fpclass" = x""yes; then :
35916 cat >>confdefs.h <<_ACEOF
35917 #define HAVE__FPCLASS 1
35918 _ACEOF
35921 done
35930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35931 $as_echo_n "checking for qfpclass declaration... " >&6; }
35932 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35933 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35934 $as_echo_n "(cached) " >&6
35935 else
35938 ac_ext=cpp
35939 ac_cpp='$CXXCPP $CPPFLAGS'
35940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35945 /* end confdefs.h. */
35946 #include <math.h>
35947 #ifdef HAVE_IEEEFP_H
35948 #include <ieeefp.h>
35949 #endif
35952 main ()
35954 qfpclass(0);
35956 return 0;
35958 _ACEOF
35959 if ac_fn_cxx_try_compile "$LINENO"; then :
35960 glibcxx_cv_func_qfpclass_use=yes
35961 else
35962 glibcxx_cv_func_qfpclass_use=no
35964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35965 ac_ext=c
35966 ac_cpp='$CPP $CPPFLAGS'
35967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35976 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35978 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35979 for ac_func in qfpclass
35980 do :
35981 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35982 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35983 cat >>confdefs.h <<_ACEOF
35984 #define HAVE_QFPCLASS 1
35985 _ACEOF
35988 done
35990 else
35992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35993 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35994 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35995 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35996 $as_echo_n "(cached) " >&6
35997 else
36000 ac_ext=cpp
36001 ac_cpp='$CXXCPP $CPPFLAGS'
36002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36007 /* end confdefs.h. */
36008 #include <math.h>
36009 #ifdef HAVE_IEEEFP_H
36010 #include <ieeefp.h>
36011 #endif
36014 main ()
36016 _qfpclass(0);
36018 return 0;
36020 _ACEOF
36021 if ac_fn_cxx_try_compile "$LINENO"; then :
36022 glibcxx_cv_func__qfpclass_use=yes
36023 else
36024 glibcxx_cv_func__qfpclass_use=no
36026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36027 ac_ext=c
36028 ac_cpp='$CPP $CPPFLAGS'
36029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36038 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36040 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36041 for ac_func in _qfpclass
36042 do :
36043 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36044 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36045 cat >>confdefs.h <<_ACEOF
36046 #define HAVE__QFPCLASS 1
36047 _ACEOF
36050 done
36059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36060 $as_echo_n "checking for hypot declaration... " >&6; }
36061 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36062 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36063 $as_echo_n "(cached) " >&6
36064 else
36067 ac_ext=cpp
36068 ac_cpp='$CXXCPP $CPPFLAGS'
36069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36074 /* end confdefs.h. */
36075 #include <math.h>
36077 main ()
36079 hypot(0, 0);
36081 return 0;
36083 _ACEOF
36084 if ac_fn_cxx_try_compile "$LINENO"; then :
36085 glibcxx_cv_func_hypot_use=yes
36086 else
36087 glibcxx_cv_func_hypot_use=no
36089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36090 ac_ext=c
36091 ac_cpp='$CPP $CPPFLAGS'
36092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36101 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36103 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36104 for ac_func in hypot
36105 do :
36106 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36107 if test "x$ac_cv_func_hypot" = x""yes; then :
36108 cat >>confdefs.h <<_ACEOF
36109 #define HAVE_HYPOT 1
36110 _ACEOF
36113 done
36115 else
36117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36118 $as_echo_n "checking for _hypot declaration... " >&6; }
36119 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36120 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36121 $as_echo_n "(cached) " >&6
36122 else
36125 ac_ext=cpp
36126 ac_cpp='$CXXCPP $CPPFLAGS'
36127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36132 /* end confdefs.h. */
36133 #include <math.h>
36135 main ()
36137 _hypot(0, 0);
36139 return 0;
36141 _ACEOF
36142 if ac_fn_cxx_try_compile "$LINENO"; then :
36143 glibcxx_cv_func__hypot_use=yes
36144 else
36145 glibcxx_cv_func__hypot_use=no
36147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148 ac_ext=c
36149 ac_cpp='$CPP $CPPFLAGS'
36150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36159 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36161 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36162 for ac_func in _hypot
36163 do :
36164 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36165 if test "x$ac_cv_func__hypot" = x""yes; then :
36166 cat >>confdefs.h <<_ACEOF
36167 #define HAVE__HYPOT 1
36168 _ACEOF
36171 done
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36181 $as_echo_n "checking for float trig functions... " >&6; }
36182 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36183 $as_echo_n "(cached) " >&6
36184 else
36187 ac_ext=cpp
36188 ac_cpp='$CXXCPP $CPPFLAGS'
36189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36194 /* end confdefs.h. */
36195 #include <math.h>
36197 main ()
36199 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36201 return 0;
36203 _ACEOF
36204 if ac_fn_cxx_try_compile "$LINENO"; then :
36205 glibcxx_cv_func_float_trig_use=yes
36206 else
36207 glibcxx_cv_func_float_trig_use=no
36209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36210 ac_ext=c
36211 ac_cpp='$CPP $CPPFLAGS'
36212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36219 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36220 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36221 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36222 do :
36223 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36224 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36225 eval as_val=\$$as_ac_var
36226 if test "x$as_val" = x""yes; then :
36227 cat >>confdefs.h <<_ACEOF
36228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36229 _ACEOF
36232 done
36234 else
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36236 $as_echo_n "checking for _float trig functions... " >&6; }
36237 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36238 $as_echo_n "(cached) " >&6
36239 else
36242 ac_ext=cpp
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36249 /* end confdefs.h. */
36250 #include <math.h>
36252 main ()
36254 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36256 return 0;
36258 _ACEOF
36259 if ac_fn_cxx_try_compile "$LINENO"; then :
36260 glibcxx_cv_func__float_trig_use=yes
36261 else
36262 glibcxx_cv_func__float_trig_use=no
36264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36265 ac_ext=c
36266 ac_cpp='$CPP $CPPFLAGS'
36267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36274 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36275 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36276 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36277 do :
36278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36280 eval as_val=\$$as_ac_var
36281 if test "x$as_val" = x""yes; then :
36282 cat >>confdefs.h <<_ACEOF
36283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36284 _ACEOF
36287 done
36296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36297 $as_echo_n "checking for float round functions... " >&6; }
36298 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36299 $as_echo_n "(cached) " >&6
36300 else
36303 ac_ext=cpp
36304 ac_cpp='$CXXCPP $CPPFLAGS'
36305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36310 /* end confdefs.h. */
36311 #include <math.h>
36313 main ()
36315 ceilf (0); floorf (0);
36317 return 0;
36319 _ACEOF
36320 if ac_fn_cxx_try_compile "$LINENO"; then :
36321 glibcxx_cv_func_float_round_use=yes
36322 else
36323 glibcxx_cv_func_float_round_use=no
36325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36326 ac_ext=c
36327 ac_cpp='$CPP $CPPFLAGS'
36328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36335 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36336 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36337 for ac_func in ceilf floorf
36338 do :
36339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36341 eval as_val=\$$as_ac_var
36342 if test "x$as_val" = x""yes; then :
36343 cat >>confdefs.h <<_ACEOF
36344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36345 _ACEOF
36348 done
36350 else
36351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36352 $as_echo_n "checking for _float round functions... " >&6; }
36353 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36354 $as_echo_n "(cached) " >&6
36355 else
36358 ac_ext=cpp
36359 ac_cpp='$CXXCPP $CPPFLAGS'
36360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36365 /* end confdefs.h. */
36366 #include <math.h>
36368 main ()
36370 _ceilf (0); _floorf (0);
36372 return 0;
36374 _ACEOF
36375 if ac_fn_cxx_try_compile "$LINENO"; then :
36376 glibcxx_cv_func__float_round_use=yes
36377 else
36378 glibcxx_cv_func__float_round_use=no
36380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36381 ac_ext=c
36382 ac_cpp='$CPP $CPPFLAGS'
36383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36390 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36391 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36392 for ac_func in _ceilf _floorf
36393 do :
36394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36396 eval as_val=\$$as_ac_var
36397 if test "x$as_val" = x""yes; then :
36398 cat >>confdefs.h <<_ACEOF
36399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36400 _ACEOF
36403 done
36413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36414 $as_echo_n "checking for expf declaration... " >&6; }
36415 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36416 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36417 $as_echo_n "(cached) " >&6
36418 else
36421 ac_ext=cpp
36422 ac_cpp='$CXXCPP $CPPFLAGS'
36423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36428 /* end confdefs.h. */
36429 #include <math.h>
36430 #ifdef HAVE_IEEEFP_H
36431 #include <ieeefp.h>
36432 #endif
36435 main ()
36437 expf(0);
36439 return 0;
36441 _ACEOF
36442 if ac_fn_cxx_try_compile "$LINENO"; then :
36443 glibcxx_cv_func_expf_use=yes
36444 else
36445 glibcxx_cv_func_expf_use=no
36447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36448 ac_ext=c
36449 ac_cpp='$CPP $CPPFLAGS'
36450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36459 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36461 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36462 for ac_func in expf
36463 do :
36464 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36465 if test "x$ac_cv_func_expf" = x""yes; then :
36466 cat >>confdefs.h <<_ACEOF
36467 #define HAVE_EXPF 1
36468 _ACEOF
36471 done
36473 else
36475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36476 $as_echo_n "checking for _expf declaration... " >&6; }
36477 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36478 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36479 $as_echo_n "(cached) " >&6
36480 else
36483 ac_ext=cpp
36484 ac_cpp='$CXXCPP $CPPFLAGS'
36485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36490 /* end confdefs.h. */
36491 #include <math.h>
36492 #ifdef HAVE_IEEEFP_H
36493 #include <ieeefp.h>
36494 #endif
36497 main ()
36499 _expf(0);
36501 return 0;
36503 _ACEOF
36504 if ac_fn_cxx_try_compile "$LINENO"; then :
36505 glibcxx_cv_func__expf_use=yes
36506 else
36507 glibcxx_cv_func__expf_use=no
36509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36510 ac_ext=c
36511 ac_cpp='$CPP $CPPFLAGS'
36512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36521 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36523 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36524 for ac_func in _expf
36525 do :
36526 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36527 if test "x$ac_cv_func__expf" = x""yes; then :
36528 cat >>confdefs.h <<_ACEOF
36529 #define HAVE__EXPF 1
36530 _ACEOF
36533 done
36542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36543 $as_echo_n "checking for isnanf declaration... " >&6; }
36544 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36545 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36546 $as_echo_n "(cached) " >&6
36547 else
36550 ac_ext=cpp
36551 ac_cpp='$CXXCPP $CPPFLAGS'
36552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36557 /* end confdefs.h. */
36558 #include <math.h>
36559 #ifdef HAVE_IEEEFP_H
36560 #include <ieeefp.h>
36561 #endif
36564 main ()
36566 isnanf(0);
36568 return 0;
36570 _ACEOF
36571 if ac_fn_cxx_try_compile "$LINENO"; then :
36572 glibcxx_cv_func_isnanf_use=yes
36573 else
36574 glibcxx_cv_func_isnanf_use=no
36576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36577 ac_ext=c
36578 ac_cpp='$CPP $CPPFLAGS'
36579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36588 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36590 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36591 for ac_func in isnanf
36592 do :
36593 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36594 if test "x$ac_cv_func_isnanf" = x""yes; then :
36595 cat >>confdefs.h <<_ACEOF
36596 #define HAVE_ISNANF 1
36597 _ACEOF
36600 done
36602 else
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36605 $as_echo_n "checking for _isnanf declaration... " >&6; }
36606 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36607 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36608 $as_echo_n "(cached) " >&6
36609 else
36612 ac_ext=cpp
36613 ac_cpp='$CXXCPP $CPPFLAGS'
36614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36619 /* end confdefs.h. */
36620 #include <math.h>
36621 #ifdef HAVE_IEEEFP_H
36622 #include <ieeefp.h>
36623 #endif
36626 main ()
36628 _isnanf(0);
36630 return 0;
36632 _ACEOF
36633 if ac_fn_cxx_try_compile "$LINENO"; then :
36634 glibcxx_cv_func__isnanf_use=yes
36635 else
36636 glibcxx_cv_func__isnanf_use=no
36638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36650 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36652 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36653 for ac_func in _isnanf
36654 do :
36655 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36656 if test "x$ac_cv_func__isnanf" = x""yes; then :
36657 cat >>confdefs.h <<_ACEOF
36658 #define HAVE__ISNANF 1
36659 _ACEOF
36662 done
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36672 $as_echo_n "checking for isinff declaration... " >&6; }
36673 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36674 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36675 $as_echo_n "(cached) " >&6
36676 else
36679 ac_ext=cpp
36680 ac_cpp='$CXXCPP $CPPFLAGS'
36681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36686 /* end confdefs.h. */
36687 #include <math.h>
36688 #ifdef HAVE_IEEEFP_H
36689 #include <ieeefp.h>
36690 #endif
36693 main ()
36695 isinff(0);
36697 return 0;
36699 _ACEOF
36700 if ac_fn_cxx_try_compile "$LINENO"; then :
36701 glibcxx_cv_func_isinff_use=yes
36702 else
36703 glibcxx_cv_func_isinff_use=no
36705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36706 ac_ext=c
36707 ac_cpp='$CPP $CPPFLAGS'
36708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36717 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36719 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36720 for ac_func in isinff
36721 do :
36722 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36723 if test "x$ac_cv_func_isinff" = x""yes; then :
36724 cat >>confdefs.h <<_ACEOF
36725 #define HAVE_ISINFF 1
36726 _ACEOF
36729 done
36731 else
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36734 $as_echo_n "checking for _isinff declaration... " >&6; }
36735 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36736 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36737 $as_echo_n "(cached) " >&6
36738 else
36741 ac_ext=cpp
36742 ac_cpp='$CXXCPP $CPPFLAGS'
36743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36748 /* end confdefs.h. */
36749 #include <math.h>
36750 #ifdef HAVE_IEEEFP_H
36751 #include <ieeefp.h>
36752 #endif
36755 main ()
36757 _isinff(0);
36759 return 0;
36761 _ACEOF
36762 if ac_fn_cxx_try_compile "$LINENO"; then :
36763 glibcxx_cv_func__isinff_use=yes
36764 else
36765 glibcxx_cv_func__isinff_use=no
36767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36768 ac_ext=c
36769 ac_cpp='$CPP $CPPFLAGS'
36770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36779 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36781 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36782 for ac_func in _isinff
36783 do :
36784 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36785 if test "x$ac_cv_func__isinff" = x""yes; then :
36786 cat >>confdefs.h <<_ACEOF
36787 #define HAVE__ISINFF 1
36788 _ACEOF
36791 done
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36801 $as_echo_n "checking for atan2f declaration... " >&6; }
36802 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36803 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36804 $as_echo_n "(cached) " >&6
36805 else
36808 ac_ext=cpp
36809 ac_cpp='$CXXCPP $CPPFLAGS'
36810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36815 /* end confdefs.h. */
36816 #include <math.h>
36818 main ()
36820 atan2f(0, 0);
36822 return 0;
36824 _ACEOF
36825 if ac_fn_cxx_try_compile "$LINENO"; then :
36826 glibcxx_cv_func_atan2f_use=yes
36827 else
36828 glibcxx_cv_func_atan2f_use=no
36830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36831 ac_ext=c
36832 ac_cpp='$CPP $CPPFLAGS'
36833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36842 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36844 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36845 for ac_func in atan2f
36846 do :
36847 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36848 if test "x$ac_cv_func_atan2f" = x""yes; then :
36849 cat >>confdefs.h <<_ACEOF
36850 #define HAVE_ATAN2F 1
36851 _ACEOF
36854 done
36856 else
36858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36859 $as_echo_n "checking for _atan2f declaration... " >&6; }
36860 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36861 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36862 $as_echo_n "(cached) " >&6
36863 else
36866 ac_ext=cpp
36867 ac_cpp='$CXXCPP $CPPFLAGS'
36868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36873 /* end confdefs.h. */
36874 #include <math.h>
36876 main ()
36878 _atan2f(0, 0);
36880 return 0;
36882 _ACEOF
36883 if ac_fn_cxx_try_compile "$LINENO"; then :
36884 glibcxx_cv_func__atan2f_use=yes
36885 else
36886 glibcxx_cv_func__atan2f_use=no
36888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36889 ac_ext=c
36890 ac_cpp='$CPP $CPPFLAGS'
36891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36900 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36902 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36903 for ac_func in _atan2f
36904 do :
36905 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36906 if test "x$ac_cv_func__atan2f" = x""yes; then :
36907 cat >>confdefs.h <<_ACEOF
36908 #define HAVE__ATAN2F 1
36909 _ACEOF
36912 done
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36922 $as_echo_n "checking for fabsf declaration... " >&6; }
36923 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36924 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36925 $as_echo_n "(cached) " >&6
36926 else
36929 ac_ext=cpp
36930 ac_cpp='$CXXCPP $CPPFLAGS'
36931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36936 /* end confdefs.h. */
36937 #include <math.h>
36938 #ifdef HAVE_IEEEFP_H
36939 #include <ieeefp.h>
36940 #endif
36943 main ()
36945 fabsf(0);
36947 return 0;
36949 _ACEOF
36950 if ac_fn_cxx_try_compile "$LINENO"; then :
36951 glibcxx_cv_func_fabsf_use=yes
36952 else
36953 glibcxx_cv_func_fabsf_use=no
36955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36956 ac_ext=c
36957 ac_cpp='$CPP $CPPFLAGS'
36958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36967 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36969 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36970 for ac_func in fabsf
36971 do :
36972 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36973 if test "x$ac_cv_func_fabsf" = x""yes; then :
36974 cat >>confdefs.h <<_ACEOF
36975 #define HAVE_FABSF 1
36976 _ACEOF
36979 done
36981 else
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36984 $as_echo_n "checking for _fabsf declaration... " >&6; }
36985 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36986 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36987 $as_echo_n "(cached) " >&6
36988 else
36991 ac_ext=cpp
36992 ac_cpp='$CXXCPP $CPPFLAGS'
36993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36998 /* end confdefs.h. */
36999 #include <math.h>
37000 #ifdef HAVE_IEEEFP_H
37001 #include <ieeefp.h>
37002 #endif
37005 main ()
37007 _fabsf(0);
37009 return 0;
37011 _ACEOF
37012 if ac_fn_cxx_try_compile "$LINENO"; then :
37013 glibcxx_cv_func__fabsf_use=yes
37014 else
37015 glibcxx_cv_func__fabsf_use=no
37017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37018 ac_ext=c
37019 ac_cpp='$CPP $CPPFLAGS'
37020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37029 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37031 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37032 for ac_func in _fabsf
37033 do :
37034 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37035 if test "x$ac_cv_func__fabsf" = x""yes; then :
37036 cat >>confdefs.h <<_ACEOF
37037 #define HAVE__FABSF 1
37038 _ACEOF
37041 done
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37051 $as_echo_n "checking for fmodf declaration... " >&6; }
37052 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37053 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37054 $as_echo_n "(cached) " >&6
37055 else
37058 ac_ext=cpp
37059 ac_cpp='$CXXCPP $CPPFLAGS'
37060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37065 /* end confdefs.h. */
37066 #include <math.h>
37068 main ()
37070 fmodf(0, 0);
37072 return 0;
37074 _ACEOF
37075 if ac_fn_cxx_try_compile "$LINENO"; then :
37076 glibcxx_cv_func_fmodf_use=yes
37077 else
37078 glibcxx_cv_func_fmodf_use=no
37080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37081 ac_ext=c
37082 ac_cpp='$CPP $CPPFLAGS'
37083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37092 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37094 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37095 for ac_func in fmodf
37096 do :
37097 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37098 if test "x$ac_cv_func_fmodf" = x""yes; then :
37099 cat >>confdefs.h <<_ACEOF
37100 #define HAVE_FMODF 1
37101 _ACEOF
37104 done
37106 else
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37109 $as_echo_n "checking for _fmodf declaration... " >&6; }
37110 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37111 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37112 $as_echo_n "(cached) " >&6
37113 else
37116 ac_ext=cpp
37117 ac_cpp='$CXXCPP $CPPFLAGS'
37118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37123 /* end confdefs.h. */
37124 #include <math.h>
37126 main ()
37128 _fmodf(0, 0);
37130 return 0;
37132 _ACEOF
37133 if ac_fn_cxx_try_compile "$LINENO"; then :
37134 glibcxx_cv_func__fmodf_use=yes
37135 else
37136 glibcxx_cv_func__fmodf_use=no
37138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37139 ac_ext=c
37140 ac_cpp='$CPP $CPPFLAGS'
37141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37150 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37152 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37153 for ac_func in _fmodf
37154 do :
37155 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37156 if test "x$ac_cv_func__fmodf" = x""yes; then :
37157 cat >>confdefs.h <<_ACEOF
37158 #define HAVE__FMODF 1
37159 _ACEOF
37162 done
37171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37172 $as_echo_n "checking for frexpf declaration... " >&6; }
37173 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37174 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37175 $as_echo_n "(cached) " >&6
37176 else
37179 ac_ext=cpp
37180 ac_cpp='$CXXCPP $CPPFLAGS'
37181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37186 /* end confdefs.h. */
37187 #include <math.h>
37189 main ()
37191 frexpf(0, 0);
37193 return 0;
37195 _ACEOF
37196 if ac_fn_cxx_try_compile "$LINENO"; then :
37197 glibcxx_cv_func_frexpf_use=yes
37198 else
37199 glibcxx_cv_func_frexpf_use=no
37201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37202 ac_ext=c
37203 ac_cpp='$CPP $CPPFLAGS'
37204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37213 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37215 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37216 for ac_func in frexpf
37217 do :
37218 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37219 if test "x$ac_cv_func_frexpf" = x""yes; then :
37220 cat >>confdefs.h <<_ACEOF
37221 #define HAVE_FREXPF 1
37222 _ACEOF
37225 done
37227 else
37229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37230 $as_echo_n "checking for _frexpf declaration... " >&6; }
37231 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37232 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37233 $as_echo_n "(cached) " >&6
37234 else
37237 ac_ext=cpp
37238 ac_cpp='$CXXCPP $CPPFLAGS'
37239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37244 /* end confdefs.h. */
37245 #include <math.h>
37247 main ()
37249 _frexpf(0, 0);
37251 return 0;
37253 _ACEOF
37254 if ac_fn_cxx_try_compile "$LINENO"; then :
37255 glibcxx_cv_func__frexpf_use=yes
37256 else
37257 glibcxx_cv_func__frexpf_use=no
37259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37260 ac_ext=c
37261 ac_cpp='$CPP $CPPFLAGS'
37262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37271 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37273 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37274 for ac_func in _frexpf
37275 do :
37276 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37277 if test "x$ac_cv_func__frexpf" = x""yes; then :
37278 cat >>confdefs.h <<_ACEOF
37279 #define HAVE__FREXPF 1
37280 _ACEOF
37283 done
37292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37293 $as_echo_n "checking for hypotf declaration... " >&6; }
37294 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37295 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37296 $as_echo_n "(cached) " >&6
37297 else
37300 ac_ext=cpp
37301 ac_cpp='$CXXCPP $CPPFLAGS'
37302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37307 /* end confdefs.h. */
37308 #include <math.h>
37310 main ()
37312 hypotf(0, 0);
37314 return 0;
37316 _ACEOF
37317 if ac_fn_cxx_try_compile "$LINENO"; then :
37318 glibcxx_cv_func_hypotf_use=yes
37319 else
37320 glibcxx_cv_func_hypotf_use=no
37322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37323 ac_ext=c
37324 ac_cpp='$CPP $CPPFLAGS'
37325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37334 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37336 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37337 for ac_func in hypotf
37338 do :
37339 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37340 if test "x$ac_cv_func_hypotf" = x""yes; then :
37341 cat >>confdefs.h <<_ACEOF
37342 #define HAVE_HYPOTF 1
37343 _ACEOF
37346 done
37348 else
37350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37351 $as_echo_n "checking for _hypotf declaration... " >&6; }
37352 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37353 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37354 $as_echo_n "(cached) " >&6
37355 else
37358 ac_ext=cpp
37359 ac_cpp='$CXXCPP $CPPFLAGS'
37360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37365 /* end confdefs.h. */
37366 #include <math.h>
37368 main ()
37370 _hypotf(0, 0);
37372 return 0;
37374 _ACEOF
37375 if ac_fn_cxx_try_compile "$LINENO"; then :
37376 glibcxx_cv_func__hypotf_use=yes
37377 else
37378 glibcxx_cv_func__hypotf_use=no
37380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37381 ac_ext=c
37382 ac_cpp='$CPP $CPPFLAGS'
37383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37392 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37394 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37395 for ac_func in _hypotf
37396 do :
37397 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37398 if test "x$ac_cv_func__hypotf" = x""yes; then :
37399 cat >>confdefs.h <<_ACEOF
37400 #define HAVE__HYPOTF 1
37401 _ACEOF
37404 done
37413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37414 $as_echo_n "checking for ldexpf declaration... " >&6; }
37415 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37416 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37417 $as_echo_n "(cached) " >&6
37418 else
37421 ac_ext=cpp
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37429 #include <math.h>
37431 main ()
37433 ldexpf(0, 0);
37435 return 0;
37437 _ACEOF
37438 if ac_fn_cxx_try_compile "$LINENO"; then :
37439 glibcxx_cv_func_ldexpf_use=yes
37440 else
37441 glibcxx_cv_func_ldexpf_use=no
37443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37444 ac_ext=c
37445 ac_cpp='$CPP $CPPFLAGS'
37446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37455 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37457 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37458 for ac_func in ldexpf
37459 do :
37460 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37461 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37462 cat >>confdefs.h <<_ACEOF
37463 #define HAVE_LDEXPF 1
37464 _ACEOF
37467 done
37469 else
37471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37472 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37473 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37474 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37475 $as_echo_n "(cached) " >&6
37476 else
37479 ac_ext=cpp
37480 ac_cpp='$CXXCPP $CPPFLAGS'
37481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37486 /* end confdefs.h. */
37487 #include <math.h>
37489 main ()
37491 _ldexpf(0, 0);
37493 return 0;
37495 _ACEOF
37496 if ac_fn_cxx_try_compile "$LINENO"; then :
37497 glibcxx_cv_func__ldexpf_use=yes
37498 else
37499 glibcxx_cv_func__ldexpf_use=no
37501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37502 ac_ext=c
37503 ac_cpp='$CPP $CPPFLAGS'
37504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37513 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37515 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37516 for ac_func in _ldexpf
37517 do :
37518 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37519 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37520 cat >>confdefs.h <<_ACEOF
37521 #define HAVE__LDEXPF 1
37522 _ACEOF
37525 done
37534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37535 $as_echo_n "checking for logf declaration... " >&6; }
37536 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37537 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37538 $as_echo_n "(cached) " >&6
37539 else
37542 ac_ext=cpp
37543 ac_cpp='$CXXCPP $CPPFLAGS'
37544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37549 /* end confdefs.h. */
37550 #include <math.h>
37551 #ifdef HAVE_IEEEFP_H
37552 #include <ieeefp.h>
37553 #endif
37556 main ()
37558 logf(0);
37560 return 0;
37562 _ACEOF
37563 if ac_fn_cxx_try_compile "$LINENO"; then :
37564 glibcxx_cv_func_logf_use=yes
37565 else
37566 glibcxx_cv_func_logf_use=no
37568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37569 ac_ext=c
37570 ac_cpp='$CPP $CPPFLAGS'
37571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37580 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37582 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37583 for ac_func in logf
37584 do :
37585 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37586 if test "x$ac_cv_func_logf" = x""yes; then :
37587 cat >>confdefs.h <<_ACEOF
37588 #define HAVE_LOGF 1
37589 _ACEOF
37592 done
37594 else
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37597 $as_echo_n "checking for _logf declaration... " >&6; }
37598 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37599 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37600 $as_echo_n "(cached) " >&6
37601 else
37604 ac_ext=cpp
37605 ac_cpp='$CXXCPP $CPPFLAGS'
37606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37611 /* end confdefs.h. */
37612 #include <math.h>
37613 #ifdef HAVE_IEEEFP_H
37614 #include <ieeefp.h>
37615 #endif
37618 main ()
37620 _logf(0);
37622 return 0;
37624 _ACEOF
37625 if ac_fn_cxx_try_compile "$LINENO"; then :
37626 glibcxx_cv_func__logf_use=yes
37627 else
37628 glibcxx_cv_func__logf_use=no
37630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37631 ac_ext=c
37632 ac_cpp='$CPP $CPPFLAGS'
37633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37642 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37644 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37645 for ac_func in _logf
37646 do :
37647 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37648 if test "x$ac_cv_func__logf" = x""yes; then :
37649 cat >>confdefs.h <<_ACEOF
37650 #define HAVE__LOGF 1
37651 _ACEOF
37654 done
37663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37664 $as_echo_n "checking for log10f declaration... " >&6; }
37665 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37666 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37667 $as_echo_n "(cached) " >&6
37668 else
37671 ac_ext=cpp
37672 ac_cpp='$CXXCPP $CPPFLAGS'
37673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37678 /* end confdefs.h. */
37679 #include <math.h>
37680 #ifdef HAVE_IEEEFP_H
37681 #include <ieeefp.h>
37682 #endif
37685 main ()
37687 log10f(0);
37689 return 0;
37691 _ACEOF
37692 if ac_fn_cxx_try_compile "$LINENO"; then :
37693 glibcxx_cv_func_log10f_use=yes
37694 else
37695 glibcxx_cv_func_log10f_use=no
37697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37698 ac_ext=c
37699 ac_cpp='$CPP $CPPFLAGS'
37700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37709 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37711 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37712 for ac_func in log10f
37713 do :
37714 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37715 if test "x$ac_cv_func_log10f" = x""yes; then :
37716 cat >>confdefs.h <<_ACEOF
37717 #define HAVE_LOG10F 1
37718 _ACEOF
37721 done
37723 else
37725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37726 $as_echo_n "checking for _log10f declaration... " >&6; }
37727 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37728 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37729 $as_echo_n "(cached) " >&6
37730 else
37733 ac_ext=cpp
37734 ac_cpp='$CXXCPP $CPPFLAGS'
37735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37740 /* end confdefs.h. */
37741 #include <math.h>
37742 #ifdef HAVE_IEEEFP_H
37743 #include <ieeefp.h>
37744 #endif
37747 main ()
37749 _log10f(0);
37751 return 0;
37753 _ACEOF
37754 if ac_fn_cxx_try_compile "$LINENO"; then :
37755 glibcxx_cv_func__log10f_use=yes
37756 else
37757 glibcxx_cv_func__log10f_use=no
37759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37760 ac_ext=c
37761 ac_cpp='$CPP $CPPFLAGS'
37762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37771 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37773 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37774 for ac_func in _log10f
37775 do :
37776 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37777 if test "x$ac_cv_func__log10f" = x""yes; then :
37778 cat >>confdefs.h <<_ACEOF
37779 #define HAVE__LOG10F 1
37780 _ACEOF
37783 done
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37793 $as_echo_n "checking for modff declaration... " >&6; }
37794 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37795 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37796 $as_echo_n "(cached) " >&6
37797 else
37800 ac_ext=cpp
37801 ac_cpp='$CXXCPP $CPPFLAGS'
37802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37807 /* end confdefs.h. */
37808 #include <math.h>
37810 main ()
37812 modff(0, 0);
37814 return 0;
37816 _ACEOF
37817 if ac_fn_cxx_try_compile "$LINENO"; then :
37818 glibcxx_cv_func_modff_use=yes
37819 else
37820 glibcxx_cv_func_modff_use=no
37822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37823 ac_ext=c
37824 ac_cpp='$CPP $CPPFLAGS'
37825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37834 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37836 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37837 for ac_func in modff
37838 do :
37839 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37840 if test "x$ac_cv_func_modff" = x""yes; then :
37841 cat >>confdefs.h <<_ACEOF
37842 #define HAVE_MODFF 1
37843 _ACEOF
37846 done
37848 else
37850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37851 $as_echo_n "checking for _modff declaration... " >&6; }
37852 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37853 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37854 $as_echo_n "(cached) " >&6
37855 else
37858 ac_ext=cpp
37859 ac_cpp='$CXXCPP $CPPFLAGS'
37860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37865 /* end confdefs.h. */
37866 #include <math.h>
37868 main ()
37870 _modff(0, 0);
37872 return 0;
37874 _ACEOF
37875 if ac_fn_cxx_try_compile "$LINENO"; then :
37876 glibcxx_cv_func__modff_use=yes
37877 else
37878 glibcxx_cv_func__modff_use=no
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881 ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37892 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37894 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37895 for ac_func in _modff
37896 do :
37897 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37898 if test "x$ac_cv_func__modff" = x""yes; then :
37899 cat >>confdefs.h <<_ACEOF
37900 #define HAVE__MODFF 1
37901 _ACEOF
37904 done
37913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37914 $as_echo_n "checking for modf declaration... " >&6; }
37915 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37916 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37917 $as_echo_n "(cached) " >&6
37918 else
37921 ac_ext=cpp
37922 ac_cpp='$CXXCPP $CPPFLAGS'
37923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37928 /* end confdefs.h. */
37929 #include <math.h>
37931 main ()
37933 modf(0, 0);
37935 return 0;
37937 _ACEOF
37938 if ac_fn_cxx_try_compile "$LINENO"; then :
37939 glibcxx_cv_func_modf_use=yes
37940 else
37941 glibcxx_cv_func_modf_use=no
37943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37944 ac_ext=c
37945 ac_cpp='$CPP $CPPFLAGS'
37946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37955 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37957 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37958 for ac_func in modf
37959 do :
37960 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37961 if test "x$ac_cv_func_modf" = x""yes; then :
37962 cat >>confdefs.h <<_ACEOF
37963 #define HAVE_MODF 1
37964 _ACEOF
37967 done
37969 else
37971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37972 $as_echo_n "checking for _modf declaration... " >&6; }
37973 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37974 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37975 $as_echo_n "(cached) " >&6
37976 else
37979 ac_ext=cpp
37980 ac_cpp='$CXXCPP $CPPFLAGS'
37981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37986 /* end confdefs.h. */
37987 #include <math.h>
37989 main ()
37991 _modf(0, 0);
37993 return 0;
37995 _ACEOF
37996 if ac_fn_cxx_try_compile "$LINENO"; then :
37997 glibcxx_cv_func__modf_use=yes
37998 else
37999 glibcxx_cv_func__modf_use=no
38001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38002 ac_ext=c
38003 ac_cpp='$CPP $CPPFLAGS'
38004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38013 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38015 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38016 for ac_func in _modf
38017 do :
38018 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38019 if test "x$ac_cv_func__modf" = x""yes; then :
38020 cat >>confdefs.h <<_ACEOF
38021 #define HAVE__MODF 1
38022 _ACEOF
38025 done
38034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38035 $as_echo_n "checking for powf declaration... " >&6; }
38036 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38037 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38038 $as_echo_n "(cached) " >&6
38039 else
38042 ac_ext=cpp
38043 ac_cpp='$CXXCPP $CPPFLAGS'
38044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38049 /* end confdefs.h. */
38050 #include <math.h>
38052 main ()
38054 powf(0, 0);
38056 return 0;
38058 _ACEOF
38059 if ac_fn_cxx_try_compile "$LINENO"; then :
38060 glibcxx_cv_func_powf_use=yes
38061 else
38062 glibcxx_cv_func_powf_use=no
38064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38065 ac_ext=c
38066 ac_cpp='$CPP $CPPFLAGS'
38067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38076 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38078 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38079 for ac_func in powf
38080 do :
38081 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38082 if test "x$ac_cv_func_powf" = x""yes; then :
38083 cat >>confdefs.h <<_ACEOF
38084 #define HAVE_POWF 1
38085 _ACEOF
38088 done
38090 else
38092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38093 $as_echo_n "checking for _powf declaration... " >&6; }
38094 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38095 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38096 $as_echo_n "(cached) " >&6
38097 else
38100 ac_ext=cpp
38101 ac_cpp='$CXXCPP $CPPFLAGS'
38102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38107 /* end confdefs.h. */
38108 #include <math.h>
38110 main ()
38112 _powf(0, 0);
38114 return 0;
38116 _ACEOF
38117 if ac_fn_cxx_try_compile "$LINENO"; then :
38118 glibcxx_cv_func__powf_use=yes
38119 else
38120 glibcxx_cv_func__powf_use=no
38122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38123 ac_ext=c
38124 ac_cpp='$CPP $CPPFLAGS'
38125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38134 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38136 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38137 for ac_func in _powf
38138 do :
38139 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38140 if test "x$ac_cv_func__powf" = x""yes; then :
38141 cat >>confdefs.h <<_ACEOF
38142 #define HAVE__POWF 1
38143 _ACEOF
38146 done
38155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38156 $as_echo_n "checking for sqrtf declaration... " >&6; }
38157 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38158 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38159 $as_echo_n "(cached) " >&6
38160 else
38163 ac_ext=cpp
38164 ac_cpp='$CXXCPP $CPPFLAGS'
38165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38170 /* end confdefs.h. */
38171 #include <math.h>
38172 #ifdef HAVE_IEEEFP_H
38173 #include <ieeefp.h>
38174 #endif
38177 main ()
38179 sqrtf(0);
38181 return 0;
38183 _ACEOF
38184 if ac_fn_cxx_try_compile "$LINENO"; then :
38185 glibcxx_cv_func_sqrtf_use=yes
38186 else
38187 glibcxx_cv_func_sqrtf_use=no
38189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38190 ac_ext=c
38191 ac_cpp='$CPP $CPPFLAGS'
38192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38201 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38203 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38204 for ac_func in sqrtf
38205 do :
38206 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38207 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38208 cat >>confdefs.h <<_ACEOF
38209 #define HAVE_SQRTF 1
38210 _ACEOF
38213 done
38215 else
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38218 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38219 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38220 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38221 $as_echo_n "(cached) " >&6
38222 else
38225 ac_ext=cpp
38226 ac_cpp='$CXXCPP $CPPFLAGS'
38227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38232 /* end confdefs.h. */
38233 #include <math.h>
38234 #ifdef HAVE_IEEEFP_H
38235 #include <ieeefp.h>
38236 #endif
38239 main ()
38241 _sqrtf(0);
38243 return 0;
38245 _ACEOF
38246 if ac_fn_cxx_try_compile "$LINENO"; then :
38247 glibcxx_cv_func__sqrtf_use=yes
38248 else
38249 glibcxx_cv_func__sqrtf_use=no
38251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38252 ac_ext=c
38253 ac_cpp='$CPP $CPPFLAGS'
38254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38263 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38265 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38266 for ac_func in _sqrtf
38267 do :
38268 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38269 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38270 cat >>confdefs.h <<_ACEOF
38271 #define HAVE__SQRTF 1
38272 _ACEOF
38275 done
38284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38285 $as_echo_n "checking for sincosf declaration... " >&6; }
38286 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38287 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38288 $as_echo_n "(cached) " >&6
38289 else
38292 ac_ext=cpp
38293 ac_cpp='$CXXCPP $CPPFLAGS'
38294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38299 /* end confdefs.h. */
38300 #include <math.h>
38302 main ()
38304 sincosf(0, 0, 0);
38306 return 0;
38308 _ACEOF
38309 if ac_fn_cxx_try_compile "$LINENO"; then :
38310 glibcxx_cv_func_sincosf_use=yes
38311 else
38312 glibcxx_cv_func_sincosf_use=no
38314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38315 ac_ext=c
38316 ac_cpp='$CPP $CPPFLAGS'
38317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38326 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38328 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38329 for ac_func in sincosf
38330 do :
38331 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38332 if test "x$ac_cv_func_sincosf" = x""yes; then :
38333 cat >>confdefs.h <<_ACEOF
38334 #define HAVE_SINCOSF 1
38335 _ACEOF
38338 done
38340 else
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38343 $as_echo_n "checking for _sincosf declaration... " >&6; }
38344 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38345 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38346 $as_echo_n "(cached) " >&6
38347 else
38350 ac_ext=cpp
38351 ac_cpp='$CXXCPP $CPPFLAGS'
38352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38357 /* end confdefs.h. */
38358 #include <math.h>
38360 main ()
38362 _sincosf(0, 0, 0);
38364 return 0;
38366 _ACEOF
38367 if ac_fn_cxx_try_compile "$LINENO"; then :
38368 glibcxx_cv_func__sincosf_use=yes
38369 else
38370 glibcxx_cv_func__sincosf_use=no
38372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38373 ac_ext=c
38374 ac_cpp='$CPP $CPPFLAGS'
38375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38384 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38386 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38387 for ac_func in _sincosf
38388 do :
38389 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38390 if test "x$ac_cv_func__sincosf" = x""yes; then :
38391 cat >>confdefs.h <<_ACEOF
38392 #define HAVE__SINCOSF 1
38393 _ACEOF
38396 done
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38406 $as_echo_n "checking for finitef declaration... " >&6; }
38407 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38408 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38409 $as_echo_n "(cached) " >&6
38410 else
38413 ac_ext=cpp
38414 ac_cpp='$CXXCPP $CPPFLAGS'
38415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38420 /* end confdefs.h. */
38421 #include <math.h>
38422 #ifdef HAVE_IEEEFP_H
38423 #include <ieeefp.h>
38424 #endif
38427 main ()
38429 finitef(0);
38431 return 0;
38433 _ACEOF
38434 if ac_fn_cxx_try_compile "$LINENO"; then :
38435 glibcxx_cv_func_finitef_use=yes
38436 else
38437 glibcxx_cv_func_finitef_use=no
38439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38440 ac_ext=c
38441 ac_cpp='$CPP $CPPFLAGS'
38442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38451 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38453 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38454 for ac_func in finitef
38455 do :
38456 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38457 if test "x$ac_cv_func_finitef" = x""yes; then :
38458 cat >>confdefs.h <<_ACEOF
38459 #define HAVE_FINITEF 1
38460 _ACEOF
38463 done
38465 else
38467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38468 $as_echo_n "checking for _finitef declaration... " >&6; }
38469 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38470 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38471 $as_echo_n "(cached) " >&6
38472 else
38475 ac_ext=cpp
38476 ac_cpp='$CXXCPP $CPPFLAGS'
38477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38482 /* end confdefs.h. */
38483 #include <math.h>
38484 #ifdef HAVE_IEEEFP_H
38485 #include <ieeefp.h>
38486 #endif
38489 main ()
38491 _finitef(0);
38493 return 0;
38495 _ACEOF
38496 if ac_fn_cxx_try_compile "$LINENO"; then :
38497 glibcxx_cv_func__finitef_use=yes
38498 else
38499 glibcxx_cv_func__finitef_use=no
38501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38502 ac_ext=c
38503 ac_cpp='$CPP $CPPFLAGS'
38504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38513 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38515 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38516 for ac_func in _finitef
38517 do :
38518 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38519 if test "x$ac_cv_func__finitef" = x""yes; then :
38520 cat >>confdefs.h <<_ACEOF
38521 #define HAVE__FINITEF 1
38522 _ACEOF
38525 done
38534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38535 $as_echo_n "checking for long double trig functions... " >&6; }
38536 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38537 $as_echo_n "(cached) " >&6
38538 else
38541 ac_ext=cpp
38542 ac_cpp='$CXXCPP $CPPFLAGS'
38543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38548 /* end confdefs.h. */
38549 #include <math.h>
38551 main ()
38553 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38555 return 0;
38557 _ACEOF
38558 if ac_fn_cxx_try_compile "$LINENO"; then :
38559 glibcxx_cv_func_long_double_trig_use=yes
38560 else
38561 glibcxx_cv_func_long_double_trig_use=no
38563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38564 ac_ext=c
38565 ac_cpp='$CPP $CPPFLAGS'
38566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38573 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38574 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38575 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38576 do :
38577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38579 eval as_val=\$$as_ac_var
38580 if test "x$as_val" = x""yes; then :
38581 cat >>confdefs.h <<_ACEOF
38582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38583 _ACEOF
38586 done
38588 else
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38590 $as_echo_n "checking for _long double trig functions... " >&6; }
38591 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38592 $as_echo_n "(cached) " >&6
38593 else
38596 ac_ext=cpp
38597 ac_cpp='$CXXCPP $CPPFLAGS'
38598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38603 /* end confdefs.h. */
38604 #include <math.h>
38606 main ()
38608 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38610 return 0;
38612 _ACEOF
38613 if ac_fn_cxx_try_compile "$LINENO"; then :
38614 glibcxx_cv_func__long_double_trig_use=yes
38615 else
38616 glibcxx_cv_func__long_double_trig_use=no
38618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38619 ac_ext=c
38620 ac_cpp='$CPP $CPPFLAGS'
38621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38628 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38629 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38630 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38631 do :
38632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38634 eval as_val=\$$as_ac_var
38635 if test "x$as_val" = x""yes; then :
38636 cat >>confdefs.h <<_ACEOF
38637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38638 _ACEOF
38641 done
38650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38651 $as_echo_n "checking for long double round functions... " >&6; }
38652 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38653 $as_echo_n "(cached) " >&6
38654 else
38657 ac_ext=cpp
38658 ac_cpp='$CXXCPP $CPPFLAGS'
38659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38664 /* end confdefs.h. */
38665 #include <math.h>
38667 main ()
38669 ceill (0); floorl (0);
38671 return 0;
38673 _ACEOF
38674 if ac_fn_cxx_try_compile "$LINENO"; then :
38675 glibcxx_cv_func_long_double_round_use=yes
38676 else
38677 glibcxx_cv_func_long_double_round_use=no
38679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38680 ac_ext=c
38681 ac_cpp='$CPP $CPPFLAGS'
38682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38689 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38690 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38691 for ac_func in ceill floorl
38692 do :
38693 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38695 eval as_val=\$$as_ac_var
38696 if test "x$as_val" = x""yes; then :
38697 cat >>confdefs.h <<_ACEOF
38698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38699 _ACEOF
38702 done
38704 else
38705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38706 $as_echo_n "checking for _long double round functions... " >&6; }
38707 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38722 main ()
38724 _ceill (0); _floorl (0);
38726 return 0;
38728 _ACEOF
38729 if ac_fn_cxx_try_compile "$LINENO"; then :
38730 glibcxx_cv_func__long_double_round_use=yes
38731 else
38732 glibcxx_cv_func__long_double_round_use=no
38734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38735 ac_ext=c
38736 ac_cpp='$CPP $CPPFLAGS'
38737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38744 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38745 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38746 for ac_func in _ceill _floorl
38747 do :
38748 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38749 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38750 eval as_val=\$$as_ac_var
38751 if test "x$as_val" = x""yes; then :
38752 cat >>confdefs.h <<_ACEOF
38753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38754 _ACEOF
38757 done
38767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38768 $as_echo_n "checking for isnanl declaration... " >&6; }
38769 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38770 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38771 $as_echo_n "(cached) " >&6
38772 else
38775 ac_ext=cpp
38776 ac_cpp='$CXXCPP $CPPFLAGS'
38777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38782 /* end confdefs.h. */
38783 #include <math.h>
38784 #ifdef HAVE_IEEEFP_H
38785 #include <ieeefp.h>
38786 #endif
38789 main ()
38791 isnanl(0);
38793 return 0;
38795 _ACEOF
38796 if ac_fn_cxx_try_compile "$LINENO"; then :
38797 glibcxx_cv_func_isnanl_use=yes
38798 else
38799 glibcxx_cv_func_isnanl_use=no
38801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38802 ac_ext=c
38803 ac_cpp='$CPP $CPPFLAGS'
38804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38813 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38815 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38816 for ac_func in isnanl
38817 do :
38818 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38819 if test "x$ac_cv_func_isnanl" = x""yes; then :
38820 cat >>confdefs.h <<_ACEOF
38821 #define HAVE_ISNANL 1
38822 _ACEOF
38825 done
38827 else
38829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38830 $as_echo_n "checking for _isnanl declaration... " >&6; }
38831 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38832 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38833 $as_echo_n "(cached) " >&6
38834 else
38837 ac_ext=cpp
38838 ac_cpp='$CXXCPP $CPPFLAGS'
38839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38844 /* end confdefs.h. */
38845 #include <math.h>
38846 #ifdef HAVE_IEEEFP_H
38847 #include <ieeefp.h>
38848 #endif
38851 main ()
38853 _isnanl(0);
38855 return 0;
38857 _ACEOF
38858 if ac_fn_cxx_try_compile "$LINENO"; then :
38859 glibcxx_cv_func__isnanl_use=yes
38860 else
38861 glibcxx_cv_func__isnanl_use=no
38863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38864 ac_ext=c
38865 ac_cpp='$CPP $CPPFLAGS'
38866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38875 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38877 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38878 for ac_func in _isnanl
38879 do :
38880 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38881 if test "x$ac_cv_func__isnanl" = x""yes; then :
38882 cat >>confdefs.h <<_ACEOF
38883 #define HAVE__ISNANL 1
38884 _ACEOF
38887 done
38896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38897 $as_echo_n "checking for isinfl declaration... " >&6; }
38898 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38899 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38900 $as_echo_n "(cached) " >&6
38901 else
38904 ac_ext=cpp
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38911 /* end confdefs.h. */
38912 #include <math.h>
38913 #ifdef HAVE_IEEEFP_H
38914 #include <ieeefp.h>
38915 #endif
38918 main ()
38920 isinfl(0);
38922 return 0;
38924 _ACEOF
38925 if ac_fn_cxx_try_compile "$LINENO"; then :
38926 glibcxx_cv_func_isinfl_use=yes
38927 else
38928 glibcxx_cv_func_isinfl_use=no
38930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38931 ac_ext=c
38932 ac_cpp='$CPP $CPPFLAGS'
38933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38942 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38944 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38945 for ac_func in isinfl
38946 do :
38947 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38948 if test "x$ac_cv_func_isinfl" = x""yes; then :
38949 cat >>confdefs.h <<_ACEOF
38950 #define HAVE_ISINFL 1
38951 _ACEOF
38954 done
38956 else
38958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38959 $as_echo_n "checking for _isinfl declaration... " >&6; }
38960 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38961 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38962 $as_echo_n "(cached) " >&6
38963 else
38966 ac_ext=cpp
38967 ac_cpp='$CXXCPP $CPPFLAGS'
38968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38973 /* end confdefs.h. */
38974 #include <math.h>
38975 #ifdef HAVE_IEEEFP_H
38976 #include <ieeefp.h>
38977 #endif
38980 main ()
38982 _isinfl(0);
38984 return 0;
38986 _ACEOF
38987 if ac_fn_cxx_try_compile "$LINENO"; then :
38988 glibcxx_cv_func__isinfl_use=yes
38989 else
38990 glibcxx_cv_func__isinfl_use=no
38992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38993 ac_ext=c
38994 ac_cpp='$CPP $CPPFLAGS'
38995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39004 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39006 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39007 for ac_func in _isinfl
39008 do :
39009 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39010 if test "x$ac_cv_func__isinfl" = x""yes; then :
39011 cat >>confdefs.h <<_ACEOF
39012 #define HAVE__ISINFL 1
39013 _ACEOF
39016 done
39025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39026 $as_echo_n "checking for atan2l declaration... " >&6; }
39027 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39028 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39029 $as_echo_n "(cached) " >&6
39030 else
39033 ac_ext=cpp
39034 ac_cpp='$CXXCPP $CPPFLAGS'
39035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39040 /* end confdefs.h. */
39041 #include <math.h>
39043 main ()
39045 atan2l(0, 0);
39047 return 0;
39049 _ACEOF
39050 if ac_fn_cxx_try_compile "$LINENO"; then :
39051 glibcxx_cv_func_atan2l_use=yes
39052 else
39053 glibcxx_cv_func_atan2l_use=no
39055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39056 ac_ext=c
39057 ac_cpp='$CPP $CPPFLAGS'
39058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39067 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39069 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39070 for ac_func in atan2l
39071 do :
39072 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39073 if test "x$ac_cv_func_atan2l" = x""yes; then :
39074 cat >>confdefs.h <<_ACEOF
39075 #define HAVE_ATAN2L 1
39076 _ACEOF
39079 done
39081 else
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39084 $as_echo_n "checking for _atan2l declaration... " >&6; }
39085 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39086 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39087 $as_echo_n "(cached) " >&6
39088 else
39091 ac_ext=cpp
39092 ac_cpp='$CXXCPP $CPPFLAGS'
39093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39098 /* end confdefs.h. */
39099 #include <math.h>
39101 main ()
39103 _atan2l(0, 0);
39105 return 0;
39107 _ACEOF
39108 if ac_fn_cxx_try_compile "$LINENO"; then :
39109 glibcxx_cv_func__atan2l_use=yes
39110 else
39111 glibcxx_cv_func__atan2l_use=no
39113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39114 ac_ext=c
39115 ac_cpp='$CPP $CPPFLAGS'
39116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39125 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39127 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39128 for ac_func in _atan2l
39129 do :
39130 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39131 if test "x$ac_cv_func__atan2l" = x""yes; then :
39132 cat >>confdefs.h <<_ACEOF
39133 #define HAVE__ATAN2L 1
39134 _ACEOF
39137 done
39146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39147 $as_echo_n "checking for expl declaration... " >&6; }
39148 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39149 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39150 $as_echo_n "(cached) " >&6
39151 else
39154 ac_ext=cpp
39155 ac_cpp='$CXXCPP $CPPFLAGS'
39156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39161 /* end confdefs.h. */
39162 #include <math.h>
39163 #ifdef HAVE_IEEEFP_H
39164 #include <ieeefp.h>
39165 #endif
39168 main ()
39170 expl(0);
39172 return 0;
39174 _ACEOF
39175 if ac_fn_cxx_try_compile "$LINENO"; then :
39176 glibcxx_cv_func_expl_use=yes
39177 else
39178 glibcxx_cv_func_expl_use=no
39180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39181 ac_ext=c
39182 ac_cpp='$CPP $CPPFLAGS'
39183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39192 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39194 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39195 for ac_func in expl
39196 do :
39197 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39198 if test "x$ac_cv_func_expl" = x""yes; then :
39199 cat >>confdefs.h <<_ACEOF
39200 #define HAVE_EXPL 1
39201 _ACEOF
39204 done
39206 else
39208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39209 $as_echo_n "checking for _expl declaration... " >&6; }
39210 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39211 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39212 $as_echo_n "(cached) " >&6
39213 else
39216 ac_ext=cpp
39217 ac_cpp='$CXXCPP $CPPFLAGS'
39218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39223 /* end confdefs.h. */
39224 #include <math.h>
39225 #ifdef HAVE_IEEEFP_H
39226 #include <ieeefp.h>
39227 #endif
39230 main ()
39232 _expl(0);
39234 return 0;
39236 _ACEOF
39237 if ac_fn_cxx_try_compile "$LINENO"; then :
39238 glibcxx_cv_func__expl_use=yes
39239 else
39240 glibcxx_cv_func__expl_use=no
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243 ac_ext=c
39244 ac_cpp='$CPP $CPPFLAGS'
39245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39254 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39256 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39257 for ac_func in _expl
39258 do :
39259 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39260 if test "x$ac_cv_func__expl" = x""yes; then :
39261 cat >>confdefs.h <<_ACEOF
39262 #define HAVE__EXPL 1
39263 _ACEOF
39266 done
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39276 $as_echo_n "checking for fabsl declaration... " >&6; }
39277 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39278 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39279 $as_echo_n "(cached) " >&6
39280 else
39283 ac_ext=cpp
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39290 /* end confdefs.h. */
39291 #include <math.h>
39292 #ifdef HAVE_IEEEFP_H
39293 #include <ieeefp.h>
39294 #endif
39297 main ()
39299 fabsl(0);
39301 return 0;
39303 _ACEOF
39304 if ac_fn_cxx_try_compile "$LINENO"; then :
39305 glibcxx_cv_func_fabsl_use=yes
39306 else
39307 glibcxx_cv_func_fabsl_use=no
39309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39310 ac_ext=c
39311 ac_cpp='$CPP $CPPFLAGS'
39312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39321 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39323 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39324 for ac_func in fabsl
39325 do :
39326 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39327 if test "x$ac_cv_func_fabsl" = x""yes; then :
39328 cat >>confdefs.h <<_ACEOF
39329 #define HAVE_FABSL 1
39330 _ACEOF
39333 done
39335 else
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39338 $as_echo_n "checking for _fabsl declaration... " >&6; }
39339 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39340 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39341 $as_echo_n "(cached) " >&6
39342 else
39345 ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h. */
39353 #include <math.h>
39354 #ifdef HAVE_IEEEFP_H
39355 #include <ieeefp.h>
39356 #endif
39359 main ()
39361 _fabsl(0);
39363 return 0;
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func__fabsl_use=yes
39368 else
39369 glibcxx_cv_func__fabsl_use=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39383 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39385 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39386 for ac_func in _fabsl
39387 do :
39388 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39389 if test "x$ac_cv_func__fabsl" = x""yes; then :
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE__FABSL 1
39392 _ACEOF
39395 done
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39405 $as_echo_n "checking for fmodl declaration... " >&6; }
39406 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39407 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39408 $as_echo_n "(cached) " >&6
39409 else
39412 ac_ext=cpp
39413 ac_cpp='$CXXCPP $CPPFLAGS'
39414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419 /* end confdefs.h. */
39420 #include <math.h>
39422 main ()
39424 fmodl(0, 0);
39426 return 0;
39428 _ACEOF
39429 if ac_fn_cxx_try_compile "$LINENO"; then :
39430 glibcxx_cv_func_fmodl_use=yes
39431 else
39432 glibcxx_cv_func_fmodl_use=no
39434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39435 ac_ext=c
39436 ac_cpp='$CPP $CPPFLAGS'
39437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39446 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39448 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39449 for ac_func in fmodl
39450 do :
39451 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39452 if test "x$ac_cv_func_fmodl" = x""yes; then :
39453 cat >>confdefs.h <<_ACEOF
39454 #define HAVE_FMODL 1
39455 _ACEOF
39458 done
39460 else
39462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39463 $as_echo_n "checking for _fmodl declaration... " >&6; }
39464 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39465 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39466 $as_echo_n "(cached) " >&6
39467 else
39470 ac_ext=cpp
39471 ac_cpp='$CXXCPP $CPPFLAGS'
39472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39477 /* end confdefs.h. */
39478 #include <math.h>
39480 main ()
39482 _fmodl(0, 0);
39484 return 0;
39486 _ACEOF
39487 if ac_fn_cxx_try_compile "$LINENO"; then :
39488 glibcxx_cv_func__fmodl_use=yes
39489 else
39490 glibcxx_cv_func__fmodl_use=no
39492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39493 ac_ext=c
39494 ac_cpp='$CPP $CPPFLAGS'
39495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39504 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39506 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39507 for ac_func in _fmodl
39508 do :
39509 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39510 if test "x$ac_cv_func__fmodl" = x""yes; then :
39511 cat >>confdefs.h <<_ACEOF
39512 #define HAVE__FMODL 1
39513 _ACEOF
39516 done
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39526 $as_echo_n "checking for frexpl declaration... " >&6; }
39527 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39528 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39530 else
39533 ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39541 #include <math.h>
39543 main ()
39545 frexpl(0, 0);
39547 return 0;
39549 _ACEOF
39550 if ac_fn_cxx_try_compile "$LINENO"; then :
39551 glibcxx_cv_func_frexpl_use=yes
39552 else
39553 glibcxx_cv_func_frexpl_use=no
39555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39556 ac_ext=c
39557 ac_cpp='$CPP $CPPFLAGS'
39558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39567 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39569 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39570 for ac_func in frexpl
39571 do :
39572 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39573 if test "x$ac_cv_func_frexpl" = x""yes; then :
39574 cat >>confdefs.h <<_ACEOF
39575 #define HAVE_FREXPL 1
39576 _ACEOF
39579 done
39581 else
39583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39584 $as_echo_n "checking for _frexpl declaration... " >&6; }
39585 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39586 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39587 $as_echo_n "(cached) " >&6
39588 else
39591 ac_ext=cpp
39592 ac_cpp='$CXXCPP $CPPFLAGS'
39593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39598 /* end confdefs.h. */
39599 #include <math.h>
39601 main ()
39603 _frexpl(0, 0);
39605 return 0;
39607 _ACEOF
39608 if ac_fn_cxx_try_compile "$LINENO"; then :
39609 glibcxx_cv_func__frexpl_use=yes
39610 else
39611 glibcxx_cv_func__frexpl_use=no
39613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39614 ac_ext=c
39615 ac_cpp='$CPP $CPPFLAGS'
39616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39625 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39627 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39628 for ac_func in _frexpl
39629 do :
39630 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39631 if test "x$ac_cv_func__frexpl" = x""yes; then :
39632 cat >>confdefs.h <<_ACEOF
39633 #define HAVE__FREXPL 1
39634 _ACEOF
39637 done
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39647 $as_echo_n "checking for hypotl declaration... " >&6; }
39648 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39649 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39650 $as_echo_n "(cached) " >&6
39651 else
39654 ac_ext=cpp
39655 ac_cpp='$CXXCPP $CPPFLAGS'
39656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39661 /* end confdefs.h. */
39662 #include <math.h>
39664 main ()
39666 hypotl(0, 0);
39668 return 0;
39670 _ACEOF
39671 if ac_fn_cxx_try_compile "$LINENO"; then :
39672 glibcxx_cv_func_hypotl_use=yes
39673 else
39674 glibcxx_cv_func_hypotl_use=no
39676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39677 ac_ext=c
39678 ac_cpp='$CPP $CPPFLAGS'
39679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39688 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39690 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39691 for ac_func in hypotl
39692 do :
39693 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39694 if test "x$ac_cv_func_hypotl" = x""yes; then :
39695 cat >>confdefs.h <<_ACEOF
39696 #define HAVE_HYPOTL 1
39697 _ACEOF
39700 done
39702 else
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39705 $as_echo_n "checking for _hypotl declaration... " >&6; }
39706 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39707 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39708 $as_echo_n "(cached) " >&6
39709 else
39712 ac_ext=cpp
39713 ac_cpp='$CXXCPP $CPPFLAGS'
39714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39719 /* end confdefs.h. */
39720 #include <math.h>
39722 main ()
39724 _hypotl(0, 0);
39726 return 0;
39728 _ACEOF
39729 if ac_fn_cxx_try_compile "$LINENO"; then :
39730 glibcxx_cv_func__hypotl_use=yes
39731 else
39732 glibcxx_cv_func__hypotl_use=no
39734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39735 ac_ext=c
39736 ac_cpp='$CPP $CPPFLAGS'
39737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39746 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39748 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39749 for ac_func in _hypotl
39750 do :
39751 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39752 if test "x$ac_cv_func__hypotl" = x""yes; then :
39753 cat >>confdefs.h <<_ACEOF
39754 #define HAVE__HYPOTL 1
39755 _ACEOF
39758 done
39767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39768 $as_echo_n "checking for ldexpl declaration... " >&6; }
39769 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39770 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39771 $as_echo_n "(cached) " >&6
39772 else
39775 ac_ext=cpp
39776 ac_cpp='$CXXCPP $CPPFLAGS'
39777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39782 /* end confdefs.h. */
39783 #include <math.h>
39785 main ()
39787 ldexpl(0, 0);
39789 return 0;
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793 glibcxx_cv_func_ldexpl_use=yes
39794 else
39795 glibcxx_cv_func_ldexpl_use=no
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798 ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39809 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39811 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39812 for ac_func in ldexpl
39813 do :
39814 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39815 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39816 cat >>confdefs.h <<_ACEOF
39817 #define HAVE_LDEXPL 1
39818 _ACEOF
39821 done
39823 else
39825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39826 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39827 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39828 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39829 $as_echo_n "(cached) " >&6
39830 else
39833 ac_ext=cpp
39834 ac_cpp='$CXXCPP $CPPFLAGS'
39835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39840 /* end confdefs.h. */
39841 #include <math.h>
39843 main ()
39845 _ldexpl(0, 0);
39847 return 0;
39849 _ACEOF
39850 if ac_fn_cxx_try_compile "$LINENO"; then :
39851 glibcxx_cv_func__ldexpl_use=yes
39852 else
39853 glibcxx_cv_func__ldexpl_use=no
39855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39856 ac_ext=c
39857 ac_cpp='$CPP $CPPFLAGS'
39858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39867 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39869 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39870 for ac_func in _ldexpl
39871 do :
39872 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39873 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39874 cat >>confdefs.h <<_ACEOF
39875 #define HAVE__LDEXPL 1
39876 _ACEOF
39879 done
39888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39889 $as_echo_n "checking for logl declaration... " >&6; }
39890 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39891 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39892 $as_echo_n "(cached) " >&6
39893 else
39896 ac_ext=cpp
39897 ac_cpp='$CXXCPP $CPPFLAGS'
39898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39903 /* end confdefs.h. */
39904 #include <math.h>
39905 #ifdef HAVE_IEEEFP_H
39906 #include <ieeefp.h>
39907 #endif
39910 main ()
39912 logl(0);
39914 return 0;
39916 _ACEOF
39917 if ac_fn_cxx_try_compile "$LINENO"; then :
39918 glibcxx_cv_func_logl_use=yes
39919 else
39920 glibcxx_cv_func_logl_use=no
39922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39923 ac_ext=c
39924 ac_cpp='$CPP $CPPFLAGS'
39925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39934 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39936 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39937 for ac_func in logl
39938 do :
39939 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39940 if test "x$ac_cv_func_logl" = x""yes; then :
39941 cat >>confdefs.h <<_ACEOF
39942 #define HAVE_LOGL 1
39943 _ACEOF
39946 done
39948 else
39950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39951 $as_echo_n "checking for _logl declaration... " >&6; }
39952 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39953 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39954 $as_echo_n "(cached) " >&6
39955 else
39958 ac_ext=cpp
39959 ac_cpp='$CXXCPP $CPPFLAGS'
39960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39965 /* end confdefs.h. */
39966 #include <math.h>
39967 #ifdef HAVE_IEEEFP_H
39968 #include <ieeefp.h>
39969 #endif
39972 main ()
39974 _logl(0);
39976 return 0;
39978 _ACEOF
39979 if ac_fn_cxx_try_compile "$LINENO"; then :
39980 glibcxx_cv_func__logl_use=yes
39981 else
39982 glibcxx_cv_func__logl_use=no
39984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39985 ac_ext=c
39986 ac_cpp='$CPP $CPPFLAGS'
39987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39996 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39998 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39999 for ac_func in _logl
40000 do :
40001 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40002 if test "x$ac_cv_func__logl" = x""yes; then :
40003 cat >>confdefs.h <<_ACEOF
40004 #define HAVE__LOGL 1
40005 _ACEOF
40008 done
40017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40018 $as_echo_n "checking for log10l declaration... " >&6; }
40019 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40020 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40021 $as_echo_n "(cached) " >&6
40022 else
40025 ac_ext=cpp
40026 ac_cpp='$CXXCPP $CPPFLAGS'
40027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40032 /* end confdefs.h. */
40033 #include <math.h>
40034 #ifdef HAVE_IEEEFP_H
40035 #include <ieeefp.h>
40036 #endif
40039 main ()
40041 log10l(0);
40043 return 0;
40045 _ACEOF
40046 if ac_fn_cxx_try_compile "$LINENO"; then :
40047 glibcxx_cv_func_log10l_use=yes
40048 else
40049 glibcxx_cv_func_log10l_use=no
40051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40052 ac_ext=c
40053 ac_cpp='$CPP $CPPFLAGS'
40054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40063 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40065 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40066 for ac_func in log10l
40067 do :
40068 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40069 if test "x$ac_cv_func_log10l" = x""yes; then :
40070 cat >>confdefs.h <<_ACEOF
40071 #define HAVE_LOG10L 1
40072 _ACEOF
40075 done
40077 else
40079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40080 $as_echo_n "checking for _log10l declaration... " >&6; }
40081 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40082 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40083 $as_echo_n "(cached) " >&6
40084 else
40087 ac_ext=cpp
40088 ac_cpp='$CXXCPP $CPPFLAGS'
40089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 /* end confdefs.h. */
40095 #include <math.h>
40096 #ifdef HAVE_IEEEFP_H
40097 #include <ieeefp.h>
40098 #endif
40101 main ()
40103 _log10l(0);
40105 return 0;
40107 _ACEOF
40108 if ac_fn_cxx_try_compile "$LINENO"; then :
40109 glibcxx_cv_func__log10l_use=yes
40110 else
40111 glibcxx_cv_func__log10l_use=no
40113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40114 ac_ext=c
40115 ac_cpp='$CPP $CPPFLAGS'
40116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40125 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40127 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40128 for ac_func in _log10l
40129 do :
40130 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40131 if test "x$ac_cv_func__log10l" = x""yes; then :
40132 cat >>confdefs.h <<_ACEOF
40133 #define HAVE__LOG10L 1
40134 _ACEOF
40137 done
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40147 $as_echo_n "checking for modfl declaration... " >&6; }
40148 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40149 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40150 $as_echo_n "(cached) " >&6
40151 else
40154 ac_ext=cpp
40155 ac_cpp='$CXXCPP $CPPFLAGS'
40156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40161 /* end confdefs.h. */
40162 #include <math.h>
40164 main ()
40166 modfl(0, 0);
40168 return 0;
40170 _ACEOF
40171 if ac_fn_cxx_try_compile "$LINENO"; then :
40172 glibcxx_cv_func_modfl_use=yes
40173 else
40174 glibcxx_cv_func_modfl_use=no
40176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40177 ac_ext=c
40178 ac_cpp='$CPP $CPPFLAGS'
40179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40188 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40190 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40191 for ac_func in modfl
40192 do :
40193 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40194 if test "x$ac_cv_func_modfl" = x""yes; then :
40195 cat >>confdefs.h <<_ACEOF
40196 #define HAVE_MODFL 1
40197 _ACEOF
40200 done
40202 else
40204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40205 $as_echo_n "checking for _modfl declaration... " >&6; }
40206 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40207 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40208 $as_echo_n "(cached) " >&6
40209 else
40212 ac_ext=cpp
40213 ac_cpp='$CXXCPP $CPPFLAGS'
40214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40219 /* end confdefs.h. */
40220 #include <math.h>
40222 main ()
40224 _modfl(0, 0);
40226 return 0;
40228 _ACEOF
40229 if ac_fn_cxx_try_compile "$LINENO"; then :
40230 glibcxx_cv_func__modfl_use=yes
40231 else
40232 glibcxx_cv_func__modfl_use=no
40234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40235 ac_ext=c
40236 ac_cpp='$CPP $CPPFLAGS'
40237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40246 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40248 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40249 for ac_func in _modfl
40250 do :
40251 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40252 if test "x$ac_cv_func__modfl" = x""yes; then :
40253 cat >>confdefs.h <<_ACEOF
40254 #define HAVE__MODFL 1
40255 _ACEOF
40258 done
40267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40268 $as_echo_n "checking for powl declaration... " >&6; }
40269 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40270 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40271 $as_echo_n "(cached) " >&6
40272 else
40275 ac_ext=cpp
40276 ac_cpp='$CXXCPP $CPPFLAGS'
40277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40282 /* end confdefs.h. */
40283 #include <math.h>
40285 main ()
40287 powl(0, 0);
40289 return 0;
40291 _ACEOF
40292 if ac_fn_cxx_try_compile "$LINENO"; then :
40293 glibcxx_cv_func_powl_use=yes
40294 else
40295 glibcxx_cv_func_powl_use=no
40297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40298 ac_ext=c
40299 ac_cpp='$CPP $CPPFLAGS'
40300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40309 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40311 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40312 for ac_func in powl
40313 do :
40314 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40315 if test "x$ac_cv_func_powl" = x""yes; then :
40316 cat >>confdefs.h <<_ACEOF
40317 #define HAVE_POWL 1
40318 _ACEOF
40321 done
40323 else
40325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40326 $as_echo_n "checking for _powl declaration... " >&6; }
40327 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40328 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40329 $as_echo_n "(cached) " >&6
40330 else
40333 ac_ext=cpp
40334 ac_cpp='$CXXCPP $CPPFLAGS'
40335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40340 /* end confdefs.h. */
40341 #include <math.h>
40343 main ()
40345 _powl(0, 0);
40347 return 0;
40349 _ACEOF
40350 if ac_fn_cxx_try_compile "$LINENO"; then :
40351 glibcxx_cv_func__powl_use=yes
40352 else
40353 glibcxx_cv_func__powl_use=no
40355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40356 ac_ext=c
40357 ac_cpp='$CPP $CPPFLAGS'
40358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40367 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40369 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40370 for ac_func in _powl
40371 do :
40372 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40373 if test "x$ac_cv_func__powl" = x""yes; then :
40374 cat >>confdefs.h <<_ACEOF
40375 #define HAVE__POWL 1
40376 _ACEOF
40379 done
40388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40389 $as_echo_n "checking for sqrtl declaration... " >&6; }
40390 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40391 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40392 $as_echo_n "(cached) " >&6
40393 else
40396 ac_ext=cpp
40397 ac_cpp='$CXXCPP $CPPFLAGS'
40398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40403 /* end confdefs.h. */
40404 #include <math.h>
40405 #ifdef HAVE_IEEEFP_H
40406 #include <ieeefp.h>
40407 #endif
40410 main ()
40412 sqrtl(0);
40414 return 0;
40416 _ACEOF
40417 if ac_fn_cxx_try_compile "$LINENO"; then :
40418 glibcxx_cv_func_sqrtl_use=yes
40419 else
40420 glibcxx_cv_func_sqrtl_use=no
40422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40423 ac_ext=c
40424 ac_cpp='$CPP $CPPFLAGS'
40425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40434 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40436 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40437 for ac_func in sqrtl
40438 do :
40439 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40440 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40441 cat >>confdefs.h <<_ACEOF
40442 #define HAVE_SQRTL 1
40443 _ACEOF
40446 done
40448 else
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40451 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40452 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40453 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40454 $as_echo_n "(cached) " >&6
40455 else
40458 ac_ext=cpp
40459 ac_cpp='$CXXCPP $CPPFLAGS'
40460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40465 /* end confdefs.h. */
40466 #include <math.h>
40467 #ifdef HAVE_IEEEFP_H
40468 #include <ieeefp.h>
40469 #endif
40472 main ()
40474 _sqrtl(0);
40476 return 0;
40478 _ACEOF
40479 if ac_fn_cxx_try_compile "$LINENO"; then :
40480 glibcxx_cv_func__sqrtl_use=yes
40481 else
40482 glibcxx_cv_func__sqrtl_use=no
40484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_ext=c
40486 ac_cpp='$CPP $CPPFLAGS'
40487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40496 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40498 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40499 for ac_func in _sqrtl
40500 do :
40501 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40502 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40503 cat >>confdefs.h <<_ACEOF
40504 #define HAVE__SQRTL 1
40505 _ACEOF
40508 done
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40518 $as_echo_n "checking for sincosl declaration... " >&6; }
40519 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40520 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40521 $as_echo_n "(cached) " >&6
40522 else
40525 ac_ext=cpp
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h. */
40533 #include <math.h>
40535 main ()
40537 sincosl(0, 0, 0);
40539 return 0;
40541 _ACEOF
40542 if ac_fn_cxx_try_compile "$LINENO"; then :
40543 glibcxx_cv_func_sincosl_use=yes
40544 else
40545 glibcxx_cv_func_sincosl_use=no
40547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40548 ac_ext=c
40549 ac_cpp='$CPP $CPPFLAGS'
40550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40559 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40561 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40562 for ac_func in sincosl
40563 do :
40564 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40565 if test "x$ac_cv_func_sincosl" = x""yes; then :
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE_SINCOSL 1
40568 _ACEOF
40571 done
40573 else
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40576 $as_echo_n "checking for _sincosl declaration... " >&6; }
40577 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40578 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40579 $as_echo_n "(cached) " >&6
40580 else
40583 ac_ext=cpp
40584 ac_cpp='$CXXCPP $CPPFLAGS'
40585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40590 /* end confdefs.h. */
40591 #include <math.h>
40593 main ()
40595 _sincosl(0, 0, 0);
40597 return 0;
40599 _ACEOF
40600 if ac_fn_cxx_try_compile "$LINENO"; then :
40601 glibcxx_cv_func__sincosl_use=yes
40602 else
40603 glibcxx_cv_func__sincosl_use=no
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606 ac_ext=c
40607 ac_cpp='$CPP $CPPFLAGS'
40608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40617 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40619 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40620 for ac_func in _sincosl
40621 do :
40622 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40623 if test "x$ac_cv_func__sincosl" = x""yes; then :
40624 cat >>confdefs.h <<_ACEOF
40625 #define HAVE__SINCOSL 1
40626 _ACEOF
40629 done
40638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40639 $as_echo_n "checking for finitel declaration... " >&6; }
40640 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40641 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40642 $as_echo_n "(cached) " >&6
40643 else
40646 ac_ext=cpp
40647 ac_cpp='$CXXCPP $CPPFLAGS'
40648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40653 /* end confdefs.h. */
40654 #include <math.h>
40655 #ifdef HAVE_IEEEFP_H
40656 #include <ieeefp.h>
40657 #endif
40660 main ()
40662 finitel(0);
40664 return 0;
40666 _ACEOF
40667 if ac_fn_cxx_try_compile "$LINENO"; then :
40668 glibcxx_cv_func_finitel_use=yes
40669 else
40670 glibcxx_cv_func_finitel_use=no
40672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40673 ac_ext=c
40674 ac_cpp='$CPP $CPPFLAGS'
40675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40684 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40686 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40687 for ac_func in finitel
40688 do :
40689 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40690 if test "x$ac_cv_func_finitel" = x""yes; then :
40691 cat >>confdefs.h <<_ACEOF
40692 #define HAVE_FINITEL 1
40693 _ACEOF
40696 done
40698 else
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40701 $as_echo_n "checking for _finitel declaration... " >&6; }
40702 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40703 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40704 $as_echo_n "(cached) " >&6
40705 else
40708 ac_ext=cpp
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40715 /* end confdefs.h. */
40716 #include <math.h>
40717 #ifdef HAVE_IEEEFP_H
40718 #include <ieeefp.h>
40719 #endif
40722 main ()
40724 _finitel(0);
40726 return 0;
40728 _ACEOF
40729 if ac_fn_cxx_try_compile "$LINENO"; then :
40730 glibcxx_cv_func__finitel_use=yes
40731 else
40732 glibcxx_cv_func__finitel_use=no
40734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40735 ac_ext=c
40736 ac_cpp='$CPP $CPPFLAGS'
40737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40746 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40748 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40749 for ac_func in _finitel
40750 do :
40751 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40752 if test "x$ac_cv_func__finitel" = x""yes; then :
40753 cat >>confdefs.h <<_ACEOF
40754 #define HAVE__FINITEL 1
40755 _ACEOF
40758 done
40766 LIBS="$ac_save_LIBS"
40767 CXXFLAGS="$ac_save_CXXFLAGS"
40770 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40771 ac_save_CXXFLAGS="$CXXFLAGS"
40772 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40776 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40777 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40778 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40779 $as_echo_n "(cached) " >&6
40780 else
40783 ac_ext=cpp
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40790 /* end confdefs.h. */
40791 #include <stdlib.h>
40793 main ()
40795 at_quick_exit(0);
40797 return 0;
40799 _ACEOF
40800 if ac_fn_cxx_try_compile "$LINENO"; then :
40801 glibcxx_cv_func_at_quick_exit_use=yes
40802 else
40803 glibcxx_cv_func_at_quick_exit_use=no
40805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40806 ac_ext=c
40807 ac_cpp='$CPP $CPPFLAGS'
40808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40817 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40818 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40819 for ac_func in at_quick_exit
40820 do :
40821 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40822 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40823 cat >>confdefs.h <<_ACEOF
40824 #define HAVE_AT_QUICK_EXIT 1
40825 _ACEOF
40828 done
40833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40834 $as_echo_n "checking for quick_exit declaration... " >&6; }
40835 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40836 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40837 $as_echo_n "(cached) " >&6
40838 else
40841 ac_ext=cpp
40842 ac_cpp='$CXXCPP $CPPFLAGS'
40843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40848 /* end confdefs.h. */
40849 #include <stdlib.h>
40851 main ()
40853 quick_exit(0);
40855 return 0;
40857 _ACEOF
40858 if ac_fn_cxx_try_compile "$LINENO"; then :
40859 glibcxx_cv_func_quick_exit_use=yes
40860 else
40861 glibcxx_cv_func_quick_exit_use=no
40863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40864 ac_ext=c
40865 ac_cpp='$CPP $CPPFLAGS'
40866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40875 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40876 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40877 for ac_func in quick_exit
40878 do :
40879 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40880 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40881 cat >>confdefs.h <<_ACEOF
40882 #define HAVE_QUICK_EXIT 1
40883 _ACEOF
40886 done
40891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40892 $as_echo_n "checking for strtold declaration... " >&6; }
40893 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40894 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40895 $as_echo_n "(cached) " >&6
40896 else
40899 ac_ext=cpp
40900 ac_cpp='$CXXCPP $CPPFLAGS'
40901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40906 /* end confdefs.h. */
40907 #include <stdlib.h>
40909 main ()
40911 strtold(0, 0);
40913 return 0;
40915 _ACEOF
40916 if ac_fn_cxx_try_compile "$LINENO"; then :
40917 glibcxx_cv_func_strtold_use=yes
40918 else
40919 glibcxx_cv_func_strtold_use=no
40921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40922 ac_ext=c
40923 ac_cpp='$CPP $CPPFLAGS'
40924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40933 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40934 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40935 for ac_func in strtold
40936 do :
40937 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40938 if test "x$ac_cv_func_strtold" = x""yes; then :
40939 cat >>confdefs.h <<_ACEOF
40940 #define HAVE_STRTOLD 1
40941 _ACEOF
40944 done
40951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40952 $as_echo_n "checking for strtof declaration... " >&6; }
40953 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40954 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40955 $as_echo_n "(cached) " >&6
40956 else
40959 ac_ext=cpp
40960 ac_cpp='$CXXCPP $CPPFLAGS'
40961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h. */
40967 #include <stdlib.h>
40969 main ()
40971 strtof(0, 0);
40973 return 0;
40975 _ACEOF
40976 if ac_fn_cxx_try_compile "$LINENO"; then :
40977 glibcxx_cv_func_strtof_use=yes
40978 else
40979 glibcxx_cv_func_strtof_use=no
40981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40982 ac_ext=c
40983 ac_cpp='$CPP $CPPFLAGS'
40984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40993 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40994 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40995 for ac_func in strtof
40996 do :
40997 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40998 if test "x$ac_cv_func_strtof" = x""yes; then :
40999 cat >>confdefs.h <<_ACEOF
41000 #define HAVE_STRTOF 1
41001 _ACEOF
41004 done
41011 CXXFLAGS="$ac_save_CXXFLAGS"
41018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41019 $as_echo_n "checking for iconv... " >&6; }
41020 if test "${am_cv_func_iconv+set}" = set; then :
41021 $as_echo_n "(cached) " >&6
41022 else
41024 am_cv_func_iconv="no, consider installing GNU libiconv"
41025 am_cv_lib_iconv=no
41026 am_save_CPPFLAGS="$CPPFLAGS"
41027 CPPFLAGS="$CPPFLAGS $INCICONV"
41028 if test x$gcc_no_link = xyes; then
41029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41032 /* end confdefs.h. */
41033 #include <stdlib.h>
41034 #include <iconv.h>
41036 main ()
41038 iconv_t cd = iconv_open("","");
41039 iconv(cd,NULL,NULL,NULL,NULL);
41040 iconv_close(cd);
41042 return 0;
41044 _ACEOF
41045 if ac_fn_c_try_link "$LINENO"; then :
41046 am_cv_func_iconv=yes
41048 rm -f core conftest.err conftest.$ac_objext \
41049 conftest$ac_exeext conftest.$ac_ext
41050 CPPFLAGS="$am_save_CPPFLAGS"
41052 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41053 for _libs in .libs _libs; do
41054 am_save_CPPFLAGS="$CPPFLAGS"
41055 am_save_LIBS="$LIBS"
41056 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41057 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41058 if test x$gcc_no_link = xyes; then
41059 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41062 /* end confdefs.h. */
41063 #include <stdlib.h>
41064 #include <iconv.h>
41066 main ()
41068 iconv_t cd = iconv_open("","");
41069 iconv(cd,NULL,NULL,NULL,NULL);
41070 iconv_close(cd);
41072 return 0;
41074 _ACEOF
41075 if ac_fn_c_try_link "$LINENO"; then :
41076 INCICONV="-I../libiconv/include"
41077 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41078 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41079 am_cv_lib_iconv=yes
41080 am_cv_func_iconv=yes
41082 rm -f core conftest.err conftest.$ac_objext \
41083 conftest$ac_exeext conftest.$ac_ext
41084 CPPFLAGS="$am_save_CPPFLAGS"
41085 LIBS="$am_save_LIBS"
41086 if test "$am_cv_func_iconv" = "yes"; then
41087 break
41089 done
41092 if test "$am_cv_func_iconv" != yes; then
41093 am_save_CPPFLAGS="$CPPFLAGS"
41094 am_save_LIBS="$LIBS"
41095 CPPFLAGS="$LIBS $INCICONV"
41096 LIBS="$LIBS $LIBICONV"
41097 if test x$gcc_no_link = xyes; then
41098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41101 /* end confdefs.h. */
41102 #include <stdlib.h>
41103 #include <iconv.h>
41105 main ()
41107 iconv_t cd = iconv_open("","");
41108 iconv(cd,NULL,NULL,NULL,NULL);
41109 iconv_close(cd);
41111 return 0;
41113 _ACEOF
41114 if ac_fn_c_try_link "$LINENO"; then :
41115 am_cv_lib_iconv=yes
41116 am_cv_func_iconv=yes
41118 rm -f core conftest.err conftest.$ac_objext \
41119 conftest$ac_exeext conftest.$ac_ext
41120 CPPFLAGS="$am_save_CPPFLAGS"
41121 LIBS="$am_save_LIBS"
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41126 $as_echo "$am_cv_func_iconv" >&6; }
41127 if test "$am_cv_func_iconv" = yes; then
41129 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41132 if test "$am_cv_lib_iconv" = yes; then
41134 for element in $INCICONV; do
41135 haveit=
41136 for x in $CPPFLAGS; do
41138 acl_save_prefix="$prefix"
41139 prefix="$acl_final_prefix"
41140 acl_save_exec_prefix="$exec_prefix"
41141 exec_prefix="$acl_final_exec_prefix"
41142 eval x=\"$x\"
41143 exec_prefix="$acl_save_exec_prefix"
41144 prefix="$acl_save_prefix"
41146 if test "X$x" = "X$element"; then
41147 haveit=yes
41148 break
41150 done
41151 if test -z "$haveit"; then
41152 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41154 done
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41157 $as_echo_n "checking how to link with libiconv... " >&6; }
41158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41159 $as_echo "$LIBICONV" >&6; }
41160 else
41161 LIBICONV=
41162 LTLIBICONV=
41167 if test "$am_cv_func_iconv" = yes; then
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41169 $as_echo_n "checking for iconv declaration... " >&6; }
41170 if test "${am_cv_proto_iconv+set}" = set; then :
41171 $as_echo_n "(cached) " >&6
41172 else
41174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41175 /* end confdefs.h. */
41177 #include <stdlib.h>
41178 #include <iconv.h>
41179 extern
41180 #ifdef __cplusplus
41182 #endif
41183 #if defined(__STDC__) || defined(__cplusplus)
41184 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41185 #else
41186 size_t iconv();
41187 #endif
41190 main ()
41194 return 0;
41196 _ACEOF
41197 if ac_fn_c_try_compile "$LINENO"; then :
41198 am_cv_proto_iconv_arg1=""
41199 else
41200 am_cv_proto_iconv_arg1="const"
41202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41203 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);"
41206 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41208 }$am_cv_proto_iconv" >&5
41209 $as_echo "${ac_t:-
41210 }$am_cv_proto_iconv" >&6; }
41212 cat >>confdefs.h <<_ACEOF
41213 #define ICONV_CONST $am_cv_proto_iconv_arg1
41214 _ACEOF
41220 *-aix*)
41222 # If we're not using GNU ld, then there's no point in even trying these
41223 # tests. Check for that first. We should have already tested for gld
41224 # by now (in libtool), but require it now just to be safe...
41225 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41226 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41230 # The name set by libtool depends on the version of libtool. Shame on us
41231 # for depending on an impl detail, but c'est la vie. Older versions used
41232 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41233 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41234 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41235 # set (hence we're using an older libtool), then set it.
41236 if test x${with_gnu_ld+set} != xset; then
41237 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41238 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41239 with_gnu_ld=no
41240 else
41241 with_gnu_ld=$ac_cv_prog_gnu_ld
41245 # Start by getting the version number. I think the libtool test already
41246 # does some of this, but throws away the result.
41247 glibcxx_ld_is_gold=no
41248 if test x"$with_gnu_ld" = x"yes"; then
41249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41250 $as_echo_n "checking for ld version... " >&6; }
41252 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41253 glibcxx_ld_is_gold=yes
41255 ldver=`$LD --version 2>/dev/null |
41256 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'`
41258 glibcxx_gnu_ld_version=`echo $ldver | \
41259 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41261 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41264 # Set --gc-sections.
41265 glibcxx_have_gc_sections=no
41266 if test "$glibcxx_ld_is_gold" = "yes"; then
41267 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41268 glibcxx_have_gc_sections=yes
41270 else
41271 glibcxx_gcsections_min_ld=21602
41272 if test x"$with_gnu_ld" = x"yes" &&
41273 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41274 glibcxx_have_gc_sections=yes
41277 if test "$glibcxx_have_gc_sections" = "yes"; then
41278 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41279 # NB: This flag only works reliably after 2.16.1. Configure tests
41280 # for this are difficult, so hard wire a value that should work.
41282 ac_test_CFLAGS="${CFLAGS+set}"
41283 ac_save_CFLAGS="$CFLAGS"
41284 CFLAGS='-Wl,--gc-sections'
41286 # Check for -Wl,--gc-sections
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41288 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41289 if test x$gcc_no_link = xyes; then
41290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41293 /* end confdefs.h. */
41294 int one(void) { return 1; }
41295 int two(void) { return 2; }
41298 main ()
41300 two();
41302 return 0;
41304 _ACEOF
41305 if ac_fn_c_try_link "$LINENO"; then :
41306 ac_gcsections=yes
41307 else
41308 ac_gcsections=no
41310 rm -f core conftest.err conftest.$ac_objext \
41311 conftest$ac_exeext conftest.$ac_ext
41312 if test "$ac_gcsections" = "yes"; then
41313 rm -f conftest.c
41314 touch conftest.c
41315 if $CC -c conftest.c; then
41316 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41317 grep "Warning: gc-sections option ignored" > /dev/null; then
41318 ac_gcsections=no
41321 rm -f conftest.c conftest.o conftest
41323 if test "$ac_gcsections" = "yes"; then
41324 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41327 $as_echo "$ac_gcsections" >&6; }
41329 if test "$ac_test_CFLAGS" = set; then
41330 CFLAGS="$ac_save_CFLAGS"
41331 else
41332 # this is the suspicious part
41333 CFLAGS=''
41337 # Set -z,relro.
41338 # Note this is only for shared objects.
41339 ac_ld_relro=no
41340 if test x"$with_gnu_ld" = x"yes"; then
41341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41342 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41343 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41344 if test -n "$cxx_z_relo"; then
41345 OPT_LDFLAGS="-Wl,-z,relro"
41346 ac_ld_relro=yes
41348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41349 $as_echo "$ac_ld_relro" >&6; }
41352 # Set linker optimization flags.
41353 if test x"$with_gnu_ld" = x"yes"; then
41354 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41361 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41362 ac_save_CXXFLAGS="$CXXFLAGS"
41363 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41366 $as_echo_n "checking for sin in -lm... " >&6; }
41367 if test "${ac_cv_lib_m_sin+set}" = set; then :
41368 $as_echo_n "(cached) " >&6
41369 else
41370 ac_check_lib_save_LIBS=$LIBS
41371 LIBS="-lm $LIBS"
41372 if test x$gcc_no_link = xyes; then
41373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h. */
41378 /* Override any GCC internal prototype to avoid an error.
41379 Use char because int might match the return type of a GCC
41380 builtin and then its argument prototype would still apply. */
41381 #ifdef __cplusplus
41382 extern "C"
41383 #endif
41384 char sin ();
41386 main ()
41388 return sin ();
41390 return 0;
41392 _ACEOF
41393 if ac_fn_c_try_link "$LINENO"; then :
41394 ac_cv_lib_m_sin=yes
41395 else
41396 ac_cv_lib_m_sin=no
41398 rm -f core conftest.err conftest.$ac_objext \
41399 conftest$ac_exeext conftest.$ac_ext
41400 LIBS=$ac_check_lib_save_LIBS
41402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41403 $as_echo "$ac_cv_lib_m_sin" >&6; }
41404 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41405 libm="-lm"
41408 ac_save_LIBS="$LIBS"
41409 LIBS="$LIBS $libm"
41413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41414 $as_echo_n "checking for isinf declaration... " >&6; }
41415 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41416 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41417 $as_echo_n "(cached) " >&6
41418 else
41421 ac_ext=cpp
41422 ac_cpp='$CXXCPP $CPPFLAGS'
41423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41428 /* end confdefs.h. */
41429 #include <math.h>
41430 #ifdef HAVE_IEEEFP_H
41431 #include <ieeefp.h>
41432 #endif
41435 main ()
41437 isinf(0);
41439 return 0;
41441 _ACEOF
41442 if ac_fn_cxx_try_compile "$LINENO"; then :
41443 glibcxx_cv_func_isinf_use=yes
41444 else
41445 glibcxx_cv_func_isinf_use=no
41447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41448 ac_ext=c
41449 ac_cpp='$CPP $CPPFLAGS'
41450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41459 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41461 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41462 for ac_func in isinf
41463 do :
41464 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41465 if test "x$ac_cv_func_isinf" = x""yes; then :
41466 cat >>confdefs.h <<_ACEOF
41467 #define HAVE_ISINF 1
41468 _ACEOF
41471 done
41473 else
41475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41476 $as_echo_n "checking for _isinf declaration... " >&6; }
41477 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41478 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41479 $as_echo_n "(cached) " >&6
41480 else
41483 ac_ext=cpp
41484 ac_cpp='$CXXCPP $CPPFLAGS'
41485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41490 /* end confdefs.h. */
41491 #include <math.h>
41492 #ifdef HAVE_IEEEFP_H
41493 #include <ieeefp.h>
41494 #endif
41497 main ()
41499 _isinf(0);
41501 return 0;
41503 _ACEOF
41504 if ac_fn_cxx_try_compile "$LINENO"; then :
41505 glibcxx_cv_func__isinf_use=yes
41506 else
41507 glibcxx_cv_func__isinf_use=no
41509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41510 ac_ext=c
41511 ac_cpp='$CPP $CPPFLAGS'
41512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41521 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41523 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41524 for ac_func in _isinf
41525 do :
41526 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41527 if test "x$ac_cv_func__isinf" = x""yes; then :
41528 cat >>confdefs.h <<_ACEOF
41529 #define HAVE__ISINF 1
41530 _ACEOF
41533 done
41542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41543 $as_echo_n "checking for isnan declaration... " >&6; }
41544 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41545 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41546 $as_echo_n "(cached) " >&6
41547 else
41550 ac_ext=cpp
41551 ac_cpp='$CXXCPP $CPPFLAGS'
41552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41557 /* end confdefs.h. */
41558 #include <math.h>
41559 #ifdef HAVE_IEEEFP_H
41560 #include <ieeefp.h>
41561 #endif
41564 main ()
41566 isnan(0);
41568 return 0;
41570 _ACEOF
41571 if ac_fn_cxx_try_compile "$LINENO"; then :
41572 glibcxx_cv_func_isnan_use=yes
41573 else
41574 glibcxx_cv_func_isnan_use=no
41576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41577 ac_ext=c
41578 ac_cpp='$CPP $CPPFLAGS'
41579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41588 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41590 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41591 for ac_func in isnan
41592 do :
41593 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41594 if test "x$ac_cv_func_isnan" = x""yes; then :
41595 cat >>confdefs.h <<_ACEOF
41596 #define HAVE_ISNAN 1
41597 _ACEOF
41600 done
41602 else
41604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41605 $as_echo_n "checking for _isnan declaration... " >&6; }
41606 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41607 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41608 $as_echo_n "(cached) " >&6
41609 else
41612 ac_ext=cpp
41613 ac_cpp='$CXXCPP $CPPFLAGS'
41614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41619 /* end confdefs.h. */
41620 #include <math.h>
41621 #ifdef HAVE_IEEEFP_H
41622 #include <ieeefp.h>
41623 #endif
41626 main ()
41628 _isnan(0);
41630 return 0;
41632 _ACEOF
41633 if ac_fn_cxx_try_compile "$LINENO"; then :
41634 glibcxx_cv_func__isnan_use=yes
41635 else
41636 glibcxx_cv_func__isnan_use=no
41638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41639 ac_ext=c
41640 ac_cpp='$CPP $CPPFLAGS'
41641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41650 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41652 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41653 for ac_func in _isnan
41654 do :
41655 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41656 if test "x$ac_cv_func__isnan" = x""yes; then :
41657 cat >>confdefs.h <<_ACEOF
41658 #define HAVE__ISNAN 1
41659 _ACEOF
41662 done
41671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41672 $as_echo_n "checking for finite declaration... " >&6; }
41673 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41674 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41675 $as_echo_n "(cached) " >&6
41676 else
41679 ac_ext=cpp
41680 ac_cpp='$CXXCPP $CPPFLAGS'
41681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41686 /* end confdefs.h. */
41687 #include <math.h>
41688 #ifdef HAVE_IEEEFP_H
41689 #include <ieeefp.h>
41690 #endif
41693 main ()
41695 finite(0);
41697 return 0;
41699 _ACEOF
41700 if ac_fn_cxx_try_compile "$LINENO"; then :
41701 glibcxx_cv_func_finite_use=yes
41702 else
41703 glibcxx_cv_func_finite_use=no
41705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41706 ac_ext=c
41707 ac_cpp='$CPP $CPPFLAGS'
41708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41717 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41719 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41720 for ac_func in finite
41721 do :
41722 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41723 if test "x$ac_cv_func_finite" = x""yes; then :
41724 cat >>confdefs.h <<_ACEOF
41725 #define HAVE_FINITE 1
41726 _ACEOF
41729 done
41731 else
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41734 $as_echo_n "checking for _finite declaration... " >&6; }
41735 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41736 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41737 $as_echo_n "(cached) " >&6
41738 else
41741 ac_ext=cpp
41742 ac_cpp='$CXXCPP $CPPFLAGS'
41743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41748 /* end confdefs.h. */
41749 #include <math.h>
41750 #ifdef HAVE_IEEEFP_H
41751 #include <ieeefp.h>
41752 #endif
41755 main ()
41757 _finite(0);
41759 return 0;
41761 _ACEOF
41762 if ac_fn_cxx_try_compile "$LINENO"; then :
41763 glibcxx_cv_func__finite_use=yes
41764 else
41765 glibcxx_cv_func__finite_use=no
41767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41768 ac_ext=c
41769 ac_cpp='$CPP $CPPFLAGS'
41770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41779 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41781 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41782 for ac_func in _finite
41783 do :
41784 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41785 if test "x$ac_cv_func__finite" = x""yes; then :
41786 cat >>confdefs.h <<_ACEOF
41787 #define HAVE__FINITE 1
41788 _ACEOF
41791 done
41800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41801 $as_echo_n "checking for sincos declaration... " >&6; }
41802 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41803 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41804 $as_echo_n "(cached) " >&6
41805 else
41808 ac_ext=cpp
41809 ac_cpp='$CXXCPP $CPPFLAGS'
41810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41815 /* end confdefs.h. */
41816 #include <math.h>
41818 main ()
41820 sincos(0, 0, 0);
41822 return 0;
41824 _ACEOF
41825 if ac_fn_cxx_try_compile "$LINENO"; then :
41826 glibcxx_cv_func_sincos_use=yes
41827 else
41828 glibcxx_cv_func_sincos_use=no
41830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41831 ac_ext=c
41832 ac_cpp='$CPP $CPPFLAGS'
41833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41842 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41844 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41845 for ac_func in sincos
41846 do :
41847 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41848 if test "x$ac_cv_func_sincos" = x""yes; then :
41849 cat >>confdefs.h <<_ACEOF
41850 #define HAVE_SINCOS 1
41851 _ACEOF
41854 done
41856 else
41858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41859 $as_echo_n "checking for _sincos declaration... " >&6; }
41860 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41861 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41862 $as_echo_n "(cached) " >&6
41863 else
41866 ac_ext=cpp
41867 ac_cpp='$CXXCPP $CPPFLAGS'
41868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41873 /* end confdefs.h. */
41874 #include <math.h>
41876 main ()
41878 _sincos(0, 0, 0);
41880 return 0;
41882 _ACEOF
41883 if ac_fn_cxx_try_compile "$LINENO"; then :
41884 glibcxx_cv_func__sincos_use=yes
41885 else
41886 glibcxx_cv_func__sincos_use=no
41888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41889 ac_ext=c
41890 ac_cpp='$CPP $CPPFLAGS'
41891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41900 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41902 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41903 for ac_func in _sincos
41904 do :
41905 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41906 if test "x$ac_cv_func__sincos" = x""yes; then :
41907 cat >>confdefs.h <<_ACEOF
41908 #define HAVE__SINCOS 1
41909 _ACEOF
41912 done
41921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41922 $as_echo_n "checking for fpclass declaration... " >&6; }
41923 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41924 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41925 $as_echo_n "(cached) " >&6
41926 else
41929 ac_ext=cpp
41930 ac_cpp='$CXXCPP $CPPFLAGS'
41931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41936 /* end confdefs.h. */
41937 #include <math.h>
41938 #ifdef HAVE_IEEEFP_H
41939 #include <ieeefp.h>
41940 #endif
41943 main ()
41945 fpclass(0);
41947 return 0;
41949 _ACEOF
41950 if ac_fn_cxx_try_compile "$LINENO"; then :
41951 glibcxx_cv_func_fpclass_use=yes
41952 else
41953 glibcxx_cv_func_fpclass_use=no
41955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41956 ac_ext=c
41957 ac_cpp='$CPP $CPPFLAGS'
41958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41967 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41969 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41970 for ac_func in fpclass
41971 do :
41972 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41973 if test "x$ac_cv_func_fpclass" = x""yes; then :
41974 cat >>confdefs.h <<_ACEOF
41975 #define HAVE_FPCLASS 1
41976 _ACEOF
41979 done
41981 else
41983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41984 $as_echo_n "checking for _fpclass declaration... " >&6; }
41985 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41986 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41987 $as_echo_n "(cached) " >&6
41988 else
41991 ac_ext=cpp
41992 ac_cpp='$CXXCPP $CPPFLAGS'
41993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41998 /* end confdefs.h. */
41999 #include <math.h>
42000 #ifdef HAVE_IEEEFP_H
42001 #include <ieeefp.h>
42002 #endif
42005 main ()
42007 _fpclass(0);
42009 return 0;
42011 _ACEOF
42012 if ac_fn_cxx_try_compile "$LINENO"; then :
42013 glibcxx_cv_func__fpclass_use=yes
42014 else
42015 glibcxx_cv_func__fpclass_use=no
42017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42018 ac_ext=c
42019 ac_cpp='$CPP $CPPFLAGS'
42020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42029 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42031 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42032 for ac_func in _fpclass
42033 do :
42034 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42035 if test "x$ac_cv_func__fpclass" = x""yes; then :
42036 cat >>confdefs.h <<_ACEOF
42037 #define HAVE__FPCLASS 1
42038 _ACEOF
42041 done
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42051 $as_echo_n "checking for qfpclass declaration... " >&6; }
42052 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42053 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42054 $as_echo_n "(cached) " >&6
42055 else
42058 ac_ext=cpp
42059 ac_cpp='$CXXCPP $CPPFLAGS'
42060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42065 /* end confdefs.h. */
42066 #include <math.h>
42067 #ifdef HAVE_IEEEFP_H
42068 #include <ieeefp.h>
42069 #endif
42072 main ()
42074 qfpclass(0);
42076 return 0;
42078 _ACEOF
42079 if ac_fn_cxx_try_compile "$LINENO"; then :
42080 glibcxx_cv_func_qfpclass_use=yes
42081 else
42082 glibcxx_cv_func_qfpclass_use=no
42084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42085 ac_ext=c
42086 ac_cpp='$CPP $CPPFLAGS'
42087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42096 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42098 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42099 for ac_func in qfpclass
42100 do :
42101 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42102 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42103 cat >>confdefs.h <<_ACEOF
42104 #define HAVE_QFPCLASS 1
42105 _ACEOF
42108 done
42110 else
42112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42113 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42114 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42115 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42116 $as_echo_n "(cached) " >&6
42117 else
42120 ac_ext=cpp
42121 ac_cpp='$CXXCPP $CPPFLAGS'
42122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42127 /* end confdefs.h. */
42128 #include <math.h>
42129 #ifdef HAVE_IEEEFP_H
42130 #include <ieeefp.h>
42131 #endif
42134 main ()
42136 _qfpclass(0);
42138 return 0;
42140 _ACEOF
42141 if ac_fn_cxx_try_compile "$LINENO"; then :
42142 glibcxx_cv_func__qfpclass_use=yes
42143 else
42144 glibcxx_cv_func__qfpclass_use=no
42146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42147 ac_ext=c
42148 ac_cpp='$CPP $CPPFLAGS'
42149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42158 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42160 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42161 for ac_func in _qfpclass
42162 do :
42163 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42164 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42165 cat >>confdefs.h <<_ACEOF
42166 #define HAVE__QFPCLASS 1
42167 _ACEOF
42170 done
42179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42180 $as_echo_n "checking for hypot declaration... " >&6; }
42181 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42182 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42183 $as_echo_n "(cached) " >&6
42184 else
42187 ac_ext=cpp
42188 ac_cpp='$CXXCPP $CPPFLAGS'
42189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42194 /* end confdefs.h. */
42195 #include <math.h>
42197 main ()
42199 hypot(0, 0);
42201 return 0;
42203 _ACEOF
42204 if ac_fn_cxx_try_compile "$LINENO"; then :
42205 glibcxx_cv_func_hypot_use=yes
42206 else
42207 glibcxx_cv_func_hypot_use=no
42209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42210 ac_ext=c
42211 ac_cpp='$CPP $CPPFLAGS'
42212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42221 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42223 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42224 for ac_func in hypot
42225 do :
42226 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42227 if test "x$ac_cv_func_hypot" = x""yes; then :
42228 cat >>confdefs.h <<_ACEOF
42229 #define HAVE_HYPOT 1
42230 _ACEOF
42233 done
42235 else
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42238 $as_echo_n "checking for _hypot declaration... " >&6; }
42239 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42240 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42241 $as_echo_n "(cached) " >&6
42242 else
42245 ac_ext=cpp
42246 ac_cpp='$CXXCPP $CPPFLAGS'
42247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42252 /* end confdefs.h. */
42253 #include <math.h>
42255 main ()
42257 _hypot(0, 0);
42259 return 0;
42261 _ACEOF
42262 if ac_fn_cxx_try_compile "$LINENO"; then :
42263 glibcxx_cv_func__hypot_use=yes
42264 else
42265 glibcxx_cv_func__hypot_use=no
42267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42268 ac_ext=c
42269 ac_cpp='$CPP $CPPFLAGS'
42270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42279 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42281 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42282 for ac_func in _hypot
42283 do :
42284 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42285 if test "x$ac_cv_func__hypot" = x""yes; then :
42286 cat >>confdefs.h <<_ACEOF
42287 #define HAVE__HYPOT 1
42288 _ACEOF
42291 done
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42301 $as_echo_n "checking for float trig functions... " >&6; }
42302 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42303 $as_echo_n "(cached) " >&6
42304 else
42307 ac_ext=cpp
42308 ac_cpp='$CXXCPP $CPPFLAGS'
42309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42314 /* end confdefs.h. */
42315 #include <math.h>
42317 main ()
42319 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42321 return 0;
42323 _ACEOF
42324 if ac_fn_cxx_try_compile "$LINENO"; then :
42325 glibcxx_cv_func_float_trig_use=yes
42326 else
42327 glibcxx_cv_func_float_trig_use=no
42329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42330 ac_ext=c
42331 ac_cpp='$CPP $CPPFLAGS'
42332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42339 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42340 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42341 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42342 do :
42343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42345 eval as_val=\$$as_ac_var
42346 if test "x$as_val" = x""yes; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42349 _ACEOF
42352 done
42354 else
42355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42356 $as_echo_n "checking for _float trig functions... " >&6; }
42357 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42358 $as_echo_n "(cached) " >&6
42359 else
42362 ac_ext=cpp
42363 ac_cpp='$CXXCPP $CPPFLAGS'
42364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42369 /* end confdefs.h. */
42370 #include <math.h>
42372 main ()
42374 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42376 return 0;
42378 _ACEOF
42379 if ac_fn_cxx_try_compile "$LINENO"; then :
42380 glibcxx_cv_func__float_trig_use=yes
42381 else
42382 glibcxx_cv_func__float_trig_use=no
42384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42385 ac_ext=c
42386 ac_cpp='$CPP $CPPFLAGS'
42387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42394 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42395 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42396 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42397 do :
42398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42400 eval as_val=\$$as_ac_var
42401 if test "x$as_val" = x""yes; then :
42402 cat >>confdefs.h <<_ACEOF
42403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42404 _ACEOF
42407 done
42416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42417 $as_echo_n "checking for float round functions... " >&6; }
42418 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42419 $as_echo_n "(cached) " >&6
42420 else
42423 ac_ext=cpp
42424 ac_cpp='$CXXCPP $CPPFLAGS'
42425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42430 /* end confdefs.h. */
42431 #include <math.h>
42433 main ()
42435 ceilf (0); floorf (0);
42437 return 0;
42439 _ACEOF
42440 if ac_fn_cxx_try_compile "$LINENO"; then :
42441 glibcxx_cv_func_float_round_use=yes
42442 else
42443 glibcxx_cv_func_float_round_use=no
42445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42446 ac_ext=c
42447 ac_cpp='$CPP $CPPFLAGS'
42448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42455 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42456 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42457 for ac_func in ceilf floorf
42458 do :
42459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42461 eval as_val=\$$as_ac_var
42462 if test "x$as_val" = x""yes; then :
42463 cat >>confdefs.h <<_ACEOF
42464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42465 _ACEOF
42468 done
42470 else
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42472 $as_echo_n "checking for _float round functions... " >&6; }
42473 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42474 $as_echo_n "(cached) " >&6
42475 else
42478 ac_ext=cpp
42479 ac_cpp='$CXXCPP $CPPFLAGS'
42480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42485 /* end confdefs.h. */
42486 #include <math.h>
42488 main ()
42490 _ceilf (0); _floorf (0);
42492 return 0;
42494 _ACEOF
42495 if ac_fn_cxx_try_compile "$LINENO"; then :
42496 glibcxx_cv_func__float_round_use=yes
42497 else
42498 glibcxx_cv_func__float_round_use=no
42500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42501 ac_ext=c
42502 ac_cpp='$CPP $CPPFLAGS'
42503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42510 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42511 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42512 for ac_func in _ceilf _floorf
42513 do :
42514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42516 eval as_val=\$$as_ac_var
42517 if test "x$as_val" = x""yes; then :
42518 cat >>confdefs.h <<_ACEOF
42519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42520 _ACEOF
42523 done
42533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42534 $as_echo_n "checking for expf declaration... " >&6; }
42535 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42536 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42537 $as_echo_n "(cached) " >&6
42538 else
42541 ac_ext=cpp
42542 ac_cpp='$CXXCPP $CPPFLAGS'
42543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42548 /* end confdefs.h. */
42549 #include <math.h>
42550 #ifdef HAVE_IEEEFP_H
42551 #include <ieeefp.h>
42552 #endif
42555 main ()
42557 expf(0);
42559 return 0;
42561 _ACEOF
42562 if ac_fn_cxx_try_compile "$LINENO"; then :
42563 glibcxx_cv_func_expf_use=yes
42564 else
42565 glibcxx_cv_func_expf_use=no
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42568 ac_ext=c
42569 ac_cpp='$CPP $CPPFLAGS'
42570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42579 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42581 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42582 for ac_func in expf
42583 do :
42584 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42585 if test "x$ac_cv_func_expf" = x""yes; then :
42586 cat >>confdefs.h <<_ACEOF
42587 #define HAVE_EXPF 1
42588 _ACEOF
42591 done
42593 else
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42596 $as_echo_n "checking for _expf declaration... " >&6; }
42597 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42598 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42599 $as_echo_n "(cached) " >&6
42600 else
42603 ac_ext=cpp
42604 ac_cpp='$CXXCPP $CPPFLAGS'
42605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42610 /* end confdefs.h. */
42611 #include <math.h>
42612 #ifdef HAVE_IEEEFP_H
42613 #include <ieeefp.h>
42614 #endif
42617 main ()
42619 _expf(0);
42621 return 0;
42623 _ACEOF
42624 if ac_fn_cxx_try_compile "$LINENO"; then :
42625 glibcxx_cv_func__expf_use=yes
42626 else
42627 glibcxx_cv_func__expf_use=no
42629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42630 ac_ext=c
42631 ac_cpp='$CPP $CPPFLAGS'
42632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42641 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42643 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42644 for ac_func in _expf
42645 do :
42646 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42647 if test "x$ac_cv_func__expf" = x""yes; then :
42648 cat >>confdefs.h <<_ACEOF
42649 #define HAVE__EXPF 1
42650 _ACEOF
42653 done
42662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42663 $as_echo_n "checking for isnanf declaration... " >&6; }
42664 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42665 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42666 $as_echo_n "(cached) " >&6
42667 else
42670 ac_ext=cpp
42671 ac_cpp='$CXXCPP $CPPFLAGS'
42672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42677 /* end confdefs.h. */
42678 #include <math.h>
42679 #ifdef HAVE_IEEEFP_H
42680 #include <ieeefp.h>
42681 #endif
42684 main ()
42686 isnanf(0);
42688 return 0;
42690 _ACEOF
42691 if ac_fn_cxx_try_compile "$LINENO"; then :
42692 glibcxx_cv_func_isnanf_use=yes
42693 else
42694 glibcxx_cv_func_isnanf_use=no
42696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42697 ac_ext=c
42698 ac_cpp='$CPP $CPPFLAGS'
42699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42708 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42710 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42711 for ac_func in isnanf
42712 do :
42713 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42714 if test "x$ac_cv_func_isnanf" = x""yes; then :
42715 cat >>confdefs.h <<_ACEOF
42716 #define HAVE_ISNANF 1
42717 _ACEOF
42720 done
42722 else
42724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42725 $as_echo_n "checking for _isnanf declaration... " >&6; }
42726 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42727 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42728 $as_echo_n "(cached) " >&6
42729 else
42732 ac_ext=cpp
42733 ac_cpp='$CXXCPP $CPPFLAGS'
42734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42739 /* end confdefs.h. */
42740 #include <math.h>
42741 #ifdef HAVE_IEEEFP_H
42742 #include <ieeefp.h>
42743 #endif
42746 main ()
42748 _isnanf(0);
42750 return 0;
42752 _ACEOF
42753 if ac_fn_cxx_try_compile "$LINENO"; then :
42754 glibcxx_cv_func__isnanf_use=yes
42755 else
42756 glibcxx_cv_func__isnanf_use=no
42758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42759 ac_ext=c
42760 ac_cpp='$CPP $CPPFLAGS'
42761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42770 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42772 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42773 for ac_func in _isnanf
42774 do :
42775 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42776 if test "x$ac_cv_func__isnanf" = x""yes; then :
42777 cat >>confdefs.h <<_ACEOF
42778 #define HAVE__ISNANF 1
42779 _ACEOF
42782 done
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42792 $as_echo_n "checking for isinff declaration... " >&6; }
42793 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42794 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42795 $as_echo_n "(cached) " >&6
42796 else
42799 ac_ext=cpp
42800 ac_cpp='$CXXCPP $CPPFLAGS'
42801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42806 /* end confdefs.h. */
42807 #include <math.h>
42808 #ifdef HAVE_IEEEFP_H
42809 #include <ieeefp.h>
42810 #endif
42813 main ()
42815 isinff(0);
42817 return 0;
42819 _ACEOF
42820 if ac_fn_cxx_try_compile "$LINENO"; then :
42821 glibcxx_cv_func_isinff_use=yes
42822 else
42823 glibcxx_cv_func_isinff_use=no
42825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42826 ac_ext=c
42827 ac_cpp='$CPP $CPPFLAGS'
42828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42837 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42839 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42840 for ac_func in isinff
42841 do :
42842 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42843 if test "x$ac_cv_func_isinff" = x""yes; then :
42844 cat >>confdefs.h <<_ACEOF
42845 #define HAVE_ISINFF 1
42846 _ACEOF
42849 done
42851 else
42853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42854 $as_echo_n "checking for _isinff declaration... " >&6; }
42855 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42856 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42857 $as_echo_n "(cached) " >&6
42858 else
42861 ac_ext=cpp
42862 ac_cpp='$CXXCPP $CPPFLAGS'
42863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42868 /* end confdefs.h. */
42869 #include <math.h>
42870 #ifdef HAVE_IEEEFP_H
42871 #include <ieeefp.h>
42872 #endif
42875 main ()
42877 _isinff(0);
42879 return 0;
42881 _ACEOF
42882 if ac_fn_cxx_try_compile "$LINENO"; then :
42883 glibcxx_cv_func__isinff_use=yes
42884 else
42885 glibcxx_cv_func__isinff_use=no
42887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42888 ac_ext=c
42889 ac_cpp='$CPP $CPPFLAGS'
42890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42899 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42901 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42902 for ac_func in _isinff
42903 do :
42904 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42905 if test "x$ac_cv_func__isinff" = x""yes; then :
42906 cat >>confdefs.h <<_ACEOF
42907 #define HAVE__ISINFF 1
42908 _ACEOF
42911 done
42920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42921 $as_echo_n "checking for atan2f declaration... " >&6; }
42922 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42923 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42924 $as_echo_n "(cached) " >&6
42925 else
42928 ac_ext=cpp
42929 ac_cpp='$CXXCPP $CPPFLAGS'
42930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42935 /* end confdefs.h. */
42936 #include <math.h>
42938 main ()
42940 atan2f(0, 0);
42942 return 0;
42944 _ACEOF
42945 if ac_fn_cxx_try_compile "$LINENO"; then :
42946 glibcxx_cv_func_atan2f_use=yes
42947 else
42948 glibcxx_cv_func_atan2f_use=no
42950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42951 ac_ext=c
42952 ac_cpp='$CPP $CPPFLAGS'
42953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42962 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42964 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42965 for ac_func in atan2f
42966 do :
42967 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42968 if test "x$ac_cv_func_atan2f" = x""yes; then :
42969 cat >>confdefs.h <<_ACEOF
42970 #define HAVE_ATAN2F 1
42971 _ACEOF
42974 done
42976 else
42978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42979 $as_echo_n "checking for _atan2f declaration... " >&6; }
42980 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42981 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42982 $as_echo_n "(cached) " >&6
42983 else
42986 ac_ext=cpp
42987 ac_cpp='$CXXCPP $CPPFLAGS'
42988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42993 /* end confdefs.h. */
42994 #include <math.h>
42996 main ()
42998 _atan2f(0, 0);
43000 return 0;
43002 _ACEOF
43003 if ac_fn_cxx_try_compile "$LINENO"; then :
43004 glibcxx_cv_func__atan2f_use=yes
43005 else
43006 glibcxx_cv_func__atan2f_use=no
43008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43009 ac_ext=c
43010 ac_cpp='$CPP $CPPFLAGS'
43011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43020 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43022 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43023 for ac_func in _atan2f
43024 do :
43025 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43026 if test "x$ac_cv_func__atan2f" = x""yes; then :
43027 cat >>confdefs.h <<_ACEOF
43028 #define HAVE__ATAN2F 1
43029 _ACEOF
43032 done
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43042 $as_echo_n "checking for fabsf declaration... " >&6; }
43043 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43044 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43045 $as_echo_n "(cached) " >&6
43046 else
43049 ac_ext=cpp
43050 ac_cpp='$CXXCPP $CPPFLAGS'
43051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43056 /* end confdefs.h. */
43057 #include <math.h>
43058 #ifdef HAVE_IEEEFP_H
43059 #include <ieeefp.h>
43060 #endif
43063 main ()
43065 fabsf(0);
43067 return 0;
43069 _ACEOF
43070 if ac_fn_cxx_try_compile "$LINENO"; then :
43071 glibcxx_cv_func_fabsf_use=yes
43072 else
43073 glibcxx_cv_func_fabsf_use=no
43075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43076 ac_ext=c
43077 ac_cpp='$CPP $CPPFLAGS'
43078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43087 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43089 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43090 for ac_func in fabsf
43091 do :
43092 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43093 if test "x$ac_cv_func_fabsf" = x""yes; then :
43094 cat >>confdefs.h <<_ACEOF
43095 #define HAVE_FABSF 1
43096 _ACEOF
43099 done
43101 else
43103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43104 $as_echo_n "checking for _fabsf declaration... " >&6; }
43105 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43106 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43107 $as_echo_n "(cached) " >&6
43108 else
43111 ac_ext=cpp
43112 ac_cpp='$CXXCPP $CPPFLAGS'
43113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43118 /* end confdefs.h. */
43119 #include <math.h>
43120 #ifdef HAVE_IEEEFP_H
43121 #include <ieeefp.h>
43122 #endif
43125 main ()
43127 _fabsf(0);
43129 return 0;
43131 _ACEOF
43132 if ac_fn_cxx_try_compile "$LINENO"; then :
43133 glibcxx_cv_func__fabsf_use=yes
43134 else
43135 glibcxx_cv_func__fabsf_use=no
43137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43138 ac_ext=c
43139 ac_cpp='$CPP $CPPFLAGS'
43140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43149 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43151 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43152 for ac_func in _fabsf
43153 do :
43154 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43155 if test "x$ac_cv_func__fabsf" = x""yes; then :
43156 cat >>confdefs.h <<_ACEOF
43157 #define HAVE__FABSF 1
43158 _ACEOF
43161 done
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43171 $as_echo_n "checking for fmodf declaration... " >&6; }
43172 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43173 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43174 $as_echo_n "(cached) " >&6
43175 else
43178 ac_ext=cpp
43179 ac_cpp='$CXXCPP $CPPFLAGS'
43180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43185 /* end confdefs.h. */
43186 #include <math.h>
43188 main ()
43190 fmodf(0, 0);
43192 return 0;
43194 _ACEOF
43195 if ac_fn_cxx_try_compile "$LINENO"; then :
43196 glibcxx_cv_func_fmodf_use=yes
43197 else
43198 glibcxx_cv_func_fmodf_use=no
43200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43201 ac_ext=c
43202 ac_cpp='$CPP $CPPFLAGS'
43203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43212 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43214 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43215 for ac_func in fmodf
43216 do :
43217 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43218 if test "x$ac_cv_func_fmodf" = x""yes; then :
43219 cat >>confdefs.h <<_ACEOF
43220 #define HAVE_FMODF 1
43221 _ACEOF
43224 done
43226 else
43228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43229 $as_echo_n "checking for _fmodf declaration... " >&6; }
43230 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43231 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43232 $as_echo_n "(cached) " >&6
43233 else
43236 ac_ext=cpp
43237 ac_cpp='$CXXCPP $CPPFLAGS'
43238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43243 /* end confdefs.h. */
43244 #include <math.h>
43246 main ()
43248 _fmodf(0, 0);
43250 return 0;
43252 _ACEOF
43253 if ac_fn_cxx_try_compile "$LINENO"; then :
43254 glibcxx_cv_func__fmodf_use=yes
43255 else
43256 glibcxx_cv_func__fmodf_use=no
43258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43259 ac_ext=c
43260 ac_cpp='$CPP $CPPFLAGS'
43261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43270 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43272 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43273 for ac_func in _fmodf
43274 do :
43275 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43276 if test "x$ac_cv_func__fmodf" = x""yes; then :
43277 cat >>confdefs.h <<_ACEOF
43278 #define HAVE__FMODF 1
43279 _ACEOF
43282 done
43291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43292 $as_echo_n "checking for frexpf declaration... " >&6; }
43293 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43294 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43295 $as_echo_n "(cached) " >&6
43296 else
43299 ac_ext=cpp
43300 ac_cpp='$CXXCPP $CPPFLAGS'
43301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43306 /* end confdefs.h. */
43307 #include <math.h>
43309 main ()
43311 frexpf(0, 0);
43313 return 0;
43315 _ACEOF
43316 if ac_fn_cxx_try_compile "$LINENO"; then :
43317 glibcxx_cv_func_frexpf_use=yes
43318 else
43319 glibcxx_cv_func_frexpf_use=no
43321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43322 ac_ext=c
43323 ac_cpp='$CPP $CPPFLAGS'
43324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43333 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43335 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43336 for ac_func in frexpf
43337 do :
43338 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43339 if test "x$ac_cv_func_frexpf" = x""yes; then :
43340 cat >>confdefs.h <<_ACEOF
43341 #define HAVE_FREXPF 1
43342 _ACEOF
43345 done
43347 else
43349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43350 $as_echo_n "checking for _frexpf declaration... " >&6; }
43351 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43352 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43353 $as_echo_n "(cached) " >&6
43354 else
43357 ac_ext=cpp
43358 ac_cpp='$CXXCPP $CPPFLAGS'
43359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43364 /* end confdefs.h. */
43365 #include <math.h>
43367 main ()
43369 _frexpf(0, 0);
43371 return 0;
43373 _ACEOF
43374 if ac_fn_cxx_try_compile "$LINENO"; then :
43375 glibcxx_cv_func__frexpf_use=yes
43376 else
43377 glibcxx_cv_func__frexpf_use=no
43379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43380 ac_ext=c
43381 ac_cpp='$CPP $CPPFLAGS'
43382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43391 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43393 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43394 for ac_func in _frexpf
43395 do :
43396 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43397 if test "x$ac_cv_func__frexpf" = x""yes; then :
43398 cat >>confdefs.h <<_ACEOF
43399 #define HAVE__FREXPF 1
43400 _ACEOF
43403 done
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43413 $as_echo_n "checking for hypotf declaration... " >&6; }
43414 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43415 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43416 $as_echo_n "(cached) " >&6
43417 else
43420 ac_ext=cpp
43421 ac_cpp='$CXXCPP $CPPFLAGS'
43422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43427 /* end confdefs.h. */
43428 #include <math.h>
43430 main ()
43432 hypotf(0, 0);
43434 return 0;
43436 _ACEOF
43437 if ac_fn_cxx_try_compile "$LINENO"; then :
43438 glibcxx_cv_func_hypotf_use=yes
43439 else
43440 glibcxx_cv_func_hypotf_use=no
43442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43443 ac_ext=c
43444 ac_cpp='$CPP $CPPFLAGS'
43445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43454 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43456 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43457 for ac_func in hypotf
43458 do :
43459 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43460 if test "x$ac_cv_func_hypotf" = x""yes; then :
43461 cat >>confdefs.h <<_ACEOF
43462 #define HAVE_HYPOTF 1
43463 _ACEOF
43466 done
43468 else
43470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43471 $as_echo_n "checking for _hypotf declaration... " >&6; }
43472 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43473 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43474 $as_echo_n "(cached) " >&6
43475 else
43478 ac_ext=cpp
43479 ac_cpp='$CXXCPP $CPPFLAGS'
43480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43485 /* end confdefs.h. */
43486 #include <math.h>
43488 main ()
43490 _hypotf(0, 0);
43492 return 0;
43494 _ACEOF
43495 if ac_fn_cxx_try_compile "$LINENO"; then :
43496 glibcxx_cv_func__hypotf_use=yes
43497 else
43498 glibcxx_cv_func__hypotf_use=no
43500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43501 ac_ext=c
43502 ac_cpp='$CPP $CPPFLAGS'
43503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43512 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43514 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43515 for ac_func in _hypotf
43516 do :
43517 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43518 if test "x$ac_cv_func__hypotf" = x""yes; then :
43519 cat >>confdefs.h <<_ACEOF
43520 #define HAVE__HYPOTF 1
43521 _ACEOF
43524 done
43533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43534 $as_echo_n "checking for ldexpf declaration... " >&6; }
43535 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43536 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43537 $as_echo_n "(cached) " >&6
43538 else
43541 ac_ext=cpp
43542 ac_cpp='$CXXCPP $CPPFLAGS'
43543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43548 /* end confdefs.h. */
43549 #include <math.h>
43551 main ()
43553 ldexpf(0, 0);
43555 return 0;
43557 _ACEOF
43558 if ac_fn_cxx_try_compile "$LINENO"; then :
43559 glibcxx_cv_func_ldexpf_use=yes
43560 else
43561 glibcxx_cv_func_ldexpf_use=no
43563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43564 ac_ext=c
43565 ac_cpp='$CPP $CPPFLAGS'
43566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43575 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43577 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43578 for ac_func in ldexpf
43579 do :
43580 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43581 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43582 cat >>confdefs.h <<_ACEOF
43583 #define HAVE_LDEXPF 1
43584 _ACEOF
43587 done
43589 else
43591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43592 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43593 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43594 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43595 $as_echo_n "(cached) " >&6
43596 else
43599 ac_ext=cpp
43600 ac_cpp='$CXXCPP $CPPFLAGS'
43601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43606 /* end confdefs.h. */
43607 #include <math.h>
43609 main ()
43611 _ldexpf(0, 0);
43613 return 0;
43615 _ACEOF
43616 if ac_fn_cxx_try_compile "$LINENO"; then :
43617 glibcxx_cv_func__ldexpf_use=yes
43618 else
43619 glibcxx_cv_func__ldexpf_use=no
43621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43622 ac_ext=c
43623 ac_cpp='$CPP $CPPFLAGS'
43624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43633 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43635 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43636 for ac_func in _ldexpf
43637 do :
43638 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43639 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43640 cat >>confdefs.h <<_ACEOF
43641 #define HAVE__LDEXPF 1
43642 _ACEOF
43645 done
43654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43655 $as_echo_n "checking for logf declaration... " >&6; }
43656 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43657 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43658 $as_echo_n "(cached) " >&6
43659 else
43662 ac_ext=cpp
43663 ac_cpp='$CXXCPP $CPPFLAGS'
43664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43669 /* end confdefs.h. */
43670 #include <math.h>
43671 #ifdef HAVE_IEEEFP_H
43672 #include <ieeefp.h>
43673 #endif
43676 main ()
43678 logf(0);
43680 return 0;
43682 _ACEOF
43683 if ac_fn_cxx_try_compile "$LINENO"; then :
43684 glibcxx_cv_func_logf_use=yes
43685 else
43686 glibcxx_cv_func_logf_use=no
43688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43689 ac_ext=c
43690 ac_cpp='$CPP $CPPFLAGS'
43691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43700 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43702 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43703 for ac_func in logf
43704 do :
43705 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43706 if test "x$ac_cv_func_logf" = x""yes; then :
43707 cat >>confdefs.h <<_ACEOF
43708 #define HAVE_LOGF 1
43709 _ACEOF
43712 done
43714 else
43716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43717 $as_echo_n "checking for _logf declaration... " >&6; }
43718 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43719 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43720 $as_echo_n "(cached) " >&6
43721 else
43724 ac_ext=cpp
43725 ac_cpp='$CXXCPP $CPPFLAGS'
43726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43731 /* end confdefs.h. */
43732 #include <math.h>
43733 #ifdef HAVE_IEEEFP_H
43734 #include <ieeefp.h>
43735 #endif
43738 main ()
43740 _logf(0);
43742 return 0;
43744 _ACEOF
43745 if ac_fn_cxx_try_compile "$LINENO"; then :
43746 glibcxx_cv_func__logf_use=yes
43747 else
43748 glibcxx_cv_func__logf_use=no
43750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43751 ac_ext=c
43752 ac_cpp='$CPP $CPPFLAGS'
43753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43762 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43764 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43765 for ac_func in _logf
43766 do :
43767 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43768 if test "x$ac_cv_func__logf" = x""yes; then :
43769 cat >>confdefs.h <<_ACEOF
43770 #define HAVE__LOGF 1
43771 _ACEOF
43774 done
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43784 $as_echo_n "checking for log10f declaration... " >&6; }
43785 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43786 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43787 $as_echo_n "(cached) " >&6
43788 else
43791 ac_ext=cpp
43792 ac_cpp='$CXXCPP $CPPFLAGS'
43793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43798 /* end confdefs.h. */
43799 #include <math.h>
43800 #ifdef HAVE_IEEEFP_H
43801 #include <ieeefp.h>
43802 #endif
43805 main ()
43807 log10f(0);
43809 return 0;
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func_log10f_use=yes
43814 else
43815 glibcxx_cv_func_log10f_use=no
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43829 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43831 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43832 for ac_func in log10f
43833 do :
43834 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43835 if test "x$ac_cv_func_log10f" = x""yes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE_LOG10F 1
43838 _ACEOF
43841 done
43843 else
43845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43846 $as_echo_n "checking for _log10f declaration... " >&6; }
43847 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43848 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43849 $as_echo_n "(cached) " >&6
43850 else
43853 ac_ext=cpp
43854 ac_cpp='$CXXCPP $CPPFLAGS'
43855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43860 /* end confdefs.h. */
43861 #include <math.h>
43862 #ifdef HAVE_IEEEFP_H
43863 #include <ieeefp.h>
43864 #endif
43867 main ()
43869 _log10f(0);
43871 return 0;
43873 _ACEOF
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func__log10f_use=yes
43876 else
43877 glibcxx_cv_func__log10f_use=no
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 ac_ext=c
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43891 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43893 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43894 for ac_func in _log10f
43895 do :
43896 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43897 if test "x$ac_cv_func__log10f" = x""yes; then :
43898 cat >>confdefs.h <<_ACEOF
43899 #define HAVE__LOG10F 1
43900 _ACEOF
43903 done
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43913 $as_echo_n "checking for modff declaration... " >&6; }
43914 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43915 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <math.h>
43930 main ()
43932 modff(0, 0);
43934 return 0;
43936 _ACEOF
43937 if ac_fn_cxx_try_compile "$LINENO"; then :
43938 glibcxx_cv_func_modff_use=yes
43939 else
43940 glibcxx_cv_func_modff_use=no
43942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43954 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43956 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43957 for ac_func in modff
43958 do :
43959 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43960 if test "x$ac_cv_func_modff" = x""yes; then :
43961 cat >>confdefs.h <<_ACEOF
43962 #define HAVE_MODFF 1
43963 _ACEOF
43966 done
43968 else
43970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43971 $as_echo_n "checking for _modff declaration... " >&6; }
43972 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43973 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43974 $as_echo_n "(cached) " >&6
43975 else
43978 ac_ext=cpp
43979 ac_cpp='$CXXCPP $CPPFLAGS'
43980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43985 /* end confdefs.h. */
43986 #include <math.h>
43988 main ()
43990 _modff(0, 0);
43992 return 0;
43994 _ACEOF
43995 if ac_fn_cxx_try_compile "$LINENO"; then :
43996 glibcxx_cv_func__modff_use=yes
43997 else
43998 glibcxx_cv_func__modff_use=no
44000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44001 ac_ext=c
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44012 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44014 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44015 for ac_func in _modff
44016 do :
44017 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44018 if test "x$ac_cv_func__modff" = x""yes; then :
44019 cat >>confdefs.h <<_ACEOF
44020 #define HAVE__MODFF 1
44021 _ACEOF
44024 done
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44034 $as_echo_n "checking for modf declaration... " >&6; }
44035 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44036 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44037 $as_echo_n "(cached) " >&6
44038 else
44041 ac_ext=cpp
44042 ac_cpp='$CXXCPP $CPPFLAGS'
44043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44048 /* end confdefs.h. */
44049 #include <math.h>
44051 main ()
44053 modf(0, 0);
44055 return 0;
44057 _ACEOF
44058 if ac_fn_cxx_try_compile "$LINENO"; then :
44059 glibcxx_cv_func_modf_use=yes
44060 else
44061 glibcxx_cv_func_modf_use=no
44063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44064 ac_ext=c
44065 ac_cpp='$CPP $CPPFLAGS'
44066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44075 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44077 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44078 for ac_func in modf
44079 do :
44080 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44081 if test "x$ac_cv_func_modf" = x""yes; then :
44082 cat >>confdefs.h <<_ACEOF
44083 #define HAVE_MODF 1
44084 _ACEOF
44087 done
44089 else
44091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44092 $as_echo_n "checking for _modf declaration... " >&6; }
44093 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44094 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44095 $as_echo_n "(cached) " >&6
44096 else
44099 ac_ext=cpp
44100 ac_cpp='$CXXCPP $CPPFLAGS'
44101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44106 /* end confdefs.h. */
44107 #include <math.h>
44109 main ()
44111 _modf(0, 0);
44113 return 0;
44115 _ACEOF
44116 if ac_fn_cxx_try_compile "$LINENO"; then :
44117 glibcxx_cv_func__modf_use=yes
44118 else
44119 glibcxx_cv_func__modf_use=no
44121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44122 ac_ext=c
44123 ac_cpp='$CPP $CPPFLAGS'
44124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44133 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44135 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44136 for ac_func in _modf
44137 do :
44138 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44139 if test "x$ac_cv_func__modf" = x""yes; then :
44140 cat >>confdefs.h <<_ACEOF
44141 #define HAVE__MODF 1
44142 _ACEOF
44145 done
44154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44155 $as_echo_n "checking for powf declaration... " >&6; }
44156 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44157 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44158 $as_echo_n "(cached) " >&6
44159 else
44162 ac_ext=cpp
44163 ac_cpp='$CXXCPP $CPPFLAGS'
44164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44169 /* end confdefs.h. */
44170 #include <math.h>
44172 main ()
44174 powf(0, 0);
44176 return 0;
44178 _ACEOF
44179 if ac_fn_cxx_try_compile "$LINENO"; then :
44180 glibcxx_cv_func_powf_use=yes
44181 else
44182 glibcxx_cv_func_powf_use=no
44184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44185 ac_ext=c
44186 ac_cpp='$CPP $CPPFLAGS'
44187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44196 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44198 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44199 for ac_func in powf
44200 do :
44201 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44202 if test "x$ac_cv_func_powf" = x""yes; then :
44203 cat >>confdefs.h <<_ACEOF
44204 #define HAVE_POWF 1
44205 _ACEOF
44208 done
44210 else
44212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44213 $as_echo_n "checking for _powf declaration... " >&6; }
44214 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44215 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44216 $as_echo_n "(cached) " >&6
44217 else
44220 ac_ext=cpp
44221 ac_cpp='$CXXCPP $CPPFLAGS'
44222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44227 /* end confdefs.h. */
44228 #include <math.h>
44230 main ()
44232 _powf(0, 0);
44234 return 0;
44236 _ACEOF
44237 if ac_fn_cxx_try_compile "$LINENO"; then :
44238 glibcxx_cv_func__powf_use=yes
44239 else
44240 glibcxx_cv_func__powf_use=no
44242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44243 ac_ext=c
44244 ac_cpp='$CPP $CPPFLAGS'
44245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44254 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44256 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44257 for ac_func in _powf
44258 do :
44259 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44260 if test "x$ac_cv_func__powf" = x""yes; then :
44261 cat >>confdefs.h <<_ACEOF
44262 #define HAVE__POWF 1
44263 _ACEOF
44266 done
44275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44276 $as_echo_n "checking for sqrtf declaration... " >&6; }
44277 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44278 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44279 $as_echo_n "(cached) " >&6
44280 else
44283 ac_ext=cpp
44284 ac_cpp='$CXXCPP $CPPFLAGS'
44285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44290 /* end confdefs.h. */
44291 #include <math.h>
44292 #ifdef HAVE_IEEEFP_H
44293 #include <ieeefp.h>
44294 #endif
44297 main ()
44299 sqrtf(0);
44301 return 0;
44303 _ACEOF
44304 if ac_fn_cxx_try_compile "$LINENO"; then :
44305 glibcxx_cv_func_sqrtf_use=yes
44306 else
44307 glibcxx_cv_func_sqrtf_use=no
44309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44310 ac_ext=c
44311 ac_cpp='$CPP $CPPFLAGS'
44312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44321 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44323 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44324 for ac_func in sqrtf
44325 do :
44326 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44327 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44328 cat >>confdefs.h <<_ACEOF
44329 #define HAVE_SQRTF 1
44330 _ACEOF
44333 done
44335 else
44337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44338 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44339 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44340 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44341 $as_echo_n "(cached) " >&6
44342 else
44345 ac_ext=cpp
44346 ac_cpp='$CXXCPP $CPPFLAGS'
44347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44352 /* end confdefs.h. */
44353 #include <math.h>
44354 #ifdef HAVE_IEEEFP_H
44355 #include <ieeefp.h>
44356 #endif
44359 main ()
44361 _sqrtf(0);
44363 return 0;
44365 _ACEOF
44366 if ac_fn_cxx_try_compile "$LINENO"; then :
44367 glibcxx_cv_func__sqrtf_use=yes
44368 else
44369 glibcxx_cv_func__sqrtf_use=no
44371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44372 ac_ext=c
44373 ac_cpp='$CPP $CPPFLAGS'
44374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44383 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44385 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44386 for ac_func in _sqrtf
44387 do :
44388 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44389 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44390 cat >>confdefs.h <<_ACEOF
44391 #define HAVE__SQRTF 1
44392 _ACEOF
44395 done
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44405 $as_echo_n "checking for sincosf declaration... " >&6; }
44406 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44407 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44408 $as_echo_n "(cached) " >&6
44409 else
44412 ac_ext=cpp
44413 ac_cpp='$CXXCPP $CPPFLAGS'
44414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44419 /* end confdefs.h. */
44420 #include <math.h>
44422 main ()
44424 sincosf(0, 0, 0);
44426 return 0;
44428 _ACEOF
44429 if ac_fn_cxx_try_compile "$LINENO"; then :
44430 glibcxx_cv_func_sincosf_use=yes
44431 else
44432 glibcxx_cv_func_sincosf_use=no
44434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44435 ac_ext=c
44436 ac_cpp='$CPP $CPPFLAGS'
44437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44446 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44448 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44449 for ac_func in sincosf
44450 do :
44451 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44452 if test "x$ac_cv_func_sincosf" = x""yes; then :
44453 cat >>confdefs.h <<_ACEOF
44454 #define HAVE_SINCOSF 1
44455 _ACEOF
44458 done
44460 else
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44463 $as_echo_n "checking for _sincosf declaration... " >&6; }
44464 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44465 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44466 $as_echo_n "(cached) " >&6
44467 else
44470 ac_ext=cpp
44471 ac_cpp='$CXXCPP $CPPFLAGS'
44472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44477 /* end confdefs.h. */
44478 #include <math.h>
44480 main ()
44482 _sincosf(0, 0, 0);
44484 return 0;
44486 _ACEOF
44487 if ac_fn_cxx_try_compile "$LINENO"; then :
44488 glibcxx_cv_func__sincosf_use=yes
44489 else
44490 glibcxx_cv_func__sincosf_use=no
44492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44493 ac_ext=c
44494 ac_cpp='$CPP $CPPFLAGS'
44495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44504 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44506 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44507 for ac_func in _sincosf
44508 do :
44509 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44510 if test "x$ac_cv_func__sincosf" = x""yes; then :
44511 cat >>confdefs.h <<_ACEOF
44512 #define HAVE__SINCOSF 1
44513 _ACEOF
44516 done
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44526 $as_echo_n "checking for finitef declaration... " >&6; }
44527 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44528 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44529 $as_echo_n "(cached) " >&6
44530 else
44533 ac_ext=cpp
44534 ac_cpp='$CXXCPP $CPPFLAGS'
44535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44540 /* end confdefs.h. */
44541 #include <math.h>
44542 #ifdef HAVE_IEEEFP_H
44543 #include <ieeefp.h>
44544 #endif
44547 main ()
44549 finitef(0);
44551 return 0;
44553 _ACEOF
44554 if ac_fn_cxx_try_compile "$LINENO"; then :
44555 glibcxx_cv_func_finitef_use=yes
44556 else
44557 glibcxx_cv_func_finitef_use=no
44559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44560 ac_ext=c
44561 ac_cpp='$CPP $CPPFLAGS'
44562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44571 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44573 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44574 for ac_func in finitef
44575 do :
44576 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44577 if test "x$ac_cv_func_finitef" = x""yes; then :
44578 cat >>confdefs.h <<_ACEOF
44579 #define HAVE_FINITEF 1
44580 _ACEOF
44583 done
44585 else
44587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44588 $as_echo_n "checking for _finitef declaration... " >&6; }
44589 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44590 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44591 $as_echo_n "(cached) " >&6
44592 else
44595 ac_ext=cpp
44596 ac_cpp='$CXXCPP $CPPFLAGS'
44597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44602 /* end confdefs.h. */
44603 #include <math.h>
44604 #ifdef HAVE_IEEEFP_H
44605 #include <ieeefp.h>
44606 #endif
44609 main ()
44611 _finitef(0);
44613 return 0;
44615 _ACEOF
44616 if ac_fn_cxx_try_compile "$LINENO"; then :
44617 glibcxx_cv_func__finitef_use=yes
44618 else
44619 glibcxx_cv_func__finitef_use=no
44621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44622 ac_ext=c
44623 ac_cpp='$CPP $CPPFLAGS'
44624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44633 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44635 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44636 for ac_func in _finitef
44637 do :
44638 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44639 if test "x$ac_cv_func__finitef" = x""yes; then :
44640 cat >>confdefs.h <<_ACEOF
44641 #define HAVE__FINITEF 1
44642 _ACEOF
44645 done
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44655 $as_echo_n "checking for long double trig functions... " >&6; }
44656 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44657 $as_echo_n "(cached) " >&6
44658 else
44661 ac_ext=cpp
44662 ac_cpp='$CXXCPP $CPPFLAGS'
44663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44668 /* end confdefs.h. */
44669 #include <math.h>
44671 main ()
44673 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44675 return 0;
44677 _ACEOF
44678 if ac_fn_cxx_try_compile "$LINENO"; then :
44679 glibcxx_cv_func_long_double_trig_use=yes
44680 else
44681 glibcxx_cv_func_long_double_trig_use=no
44683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44684 ac_ext=c
44685 ac_cpp='$CPP $CPPFLAGS'
44686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44693 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44694 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44695 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44696 do :
44697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44699 eval as_val=\$$as_ac_var
44700 if test "x$as_val" = x""yes; then :
44701 cat >>confdefs.h <<_ACEOF
44702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44703 _ACEOF
44706 done
44708 else
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44710 $as_echo_n "checking for _long double trig functions... " >&6; }
44711 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44712 $as_echo_n "(cached) " >&6
44713 else
44716 ac_ext=cpp
44717 ac_cpp='$CXXCPP $CPPFLAGS'
44718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44723 /* end confdefs.h. */
44724 #include <math.h>
44726 main ()
44728 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44730 return 0;
44732 _ACEOF
44733 if ac_fn_cxx_try_compile "$LINENO"; then :
44734 glibcxx_cv_func__long_double_trig_use=yes
44735 else
44736 glibcxx_cv_func__long_double_trig_use=no
44738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44739 ac_ext=c
44740 ac_cpp='$CPP $CPPFLAGS'
44741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44748 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44749 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44750 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44751 do :
44752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44753 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44754 eval as_val=\$$as_ac_var
44755 if test "x$as_val" = x""yes; then :
44756 cat >>confdefs.h <<_ACEOF
44757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44758 _ACEOF
44761 done
44770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44771 $as_echo_n "checking for long double round functions... " >&6; }
44772 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44773 $as_echo_n "(cached) " >&6
44774 else
44777 ac_ext=cpp
44778 ac_cpp='$CXXCPP $CPPFLAGS'
44779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44784 /* end confdefs.h. */
44785 #include <math.h>
44787 main ()
44789 ceill (0); floorl (0);
44791 return 0;
44793 _ACEOF
44794 if ac_fn_cxx_try_compile "$LINENO"; then :
44795 glibcxx_cv_func_long_double_round_use=yes
44796 else
44797 glibcxx_cv_func_long_double_round_use=no
44799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44800 ac_ext=c
44801 ac_cpp='$CPP $CPPFLAGS'
44802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44809 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44810 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44811 for ac_func in ceill floorl
44812 do :
44813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44815 eval as_val=\$$as_ac_var
44816 if test "x$as_val" = x""yes; then :
44817 cat >>confdefs.h <<_ACEOF
44818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44819 _ACEOF
44822 done
44824 else
44825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44826 $as_echo_n "checking for _long double round functions... " >&6; }
44827 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44828 $as_echo_n "(cached) " >&6
44829 else
44832 ac_ext=cpp
44833 ac_cpp='$CXXCPP $CPPFLAGS'
44834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44839 /* end confdefs.h. */
44840 #include <math.h>
44842 main ()
44844 _ceill (0); _floorl (0);
44846 return 0;
44848 _ACEOF
44849 if ac_fn_cxx_try_compile "$LINENO"; then :
44850 glibcxx_cv_func__long_double_round_use=yes
44851 else
44852 glibcxx_cv_func__long_double_round_use=no
44854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44855 ac_ext=c
44856 ac_cpp='$CPP $CPPFLAGS'
44857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44864 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44865 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44866 for ac_func in _ceill _floorl
44867 do :
44868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44870 eval as_val=\$$as_ac_var
44871 if test "x$as_val" = x""yes; then :
44872 cat >>confdefs.h <<_ACEOF
44873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44874 _ACEOF
44877 done
44887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44888 $as_echo_n "checking for isnanl declaration... " >&6; }
44889 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44890 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44891 $as_echo_n "(cached) " >&6
44892 else
44895 ac_ext=cpp
44896 ac_cpp='$CXXCPP $CPPFLAGS'
44897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44902 /* end confdefs.h. */
44903 #include <math.h>
44904 #ifdef HAVE_IEEEFP_H
44905 #include <ieeefp.h>
44906 #endif
44909 main ()
44911 isnanl(0);
44913 return 0;
44915 _ACEOF
44916 if ac_fn_cxx_try_compile "$LINENO"; then :
44917 glibcxx_cv_func_isnanl_use=yes
44918 else
44919 glibcxx_cv_func_isnanl_use=no
44921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44922 ac_ext=c
44923 ac_cpp='$CPP $CPPFLAGS'
44924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44933 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44935 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44936 for ac_func in isnanl
44937 do :
44938 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44939 if test "x$ac_cv_func_isnanl" = x""yes; then :
44940 cat >>confdefs.h <<_ACEOF
44941 #define HAVE_ISNANL 1
44942 _ACEOF
44945 done
44947 else
44949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44950 $as_echo_n "checking for _isnanl declaration... " >&6; }
44951 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44952 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44953 $as_echo_n "(cached) " >&6
44954 else
44957 ac_ext=cpp
44958 ac_cpp='$CXXCPP $CPPFLAGS'
44959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44964 /* end confdefs.h. */
44965 #include <math.h>
44966 #ifdef HAVE_IEEEFP_H
44967 #include <ieeefp.h>
44968 #endif
44971 main ()
44973 _isnanl(0);
44975 return 0;
44977 _ACEOF
44978 if ac_fn_cxx_try_compile "$LINENO"; then :
44979 glibcxx_cv_func__isnanl_use=yes
44980 else
44981 glibcxx_cv_func__isnanl_use=no
44983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44984 ac_ext=c
44985 ac_cpp='$CPP $CPPFLAGS'
44986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44995 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44997 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44998 for ac_func in _isnanl
44999 do :
45000 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45001 if test "x$ac_cv_func__isnanl" = x""yes; then :
45002 cat >>confdefs.h <<_ACEOF
45003 #define HAVE__ISNANL 1
45004 _ACEOF
45007 done
45016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45017 $as_echo_n "checking for isinfl declaration... " >&6; }
45018 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45019 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45020 $as_echo_n "(cached) " >&6
45021 else
45024 ac_ext=cpp
45025 ac_cpp='$CXXCPP $CPPFLAGS'
45026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45031 /* end confdefs.h. */
45032 #include <math.h>
45033 #ifdef HAVE_IEEEFP_H
45034 #include <ieeefp.h>
45035 #endif
45038 main ()
45040 isinfl(0);
45042 return 0;
45044 _ACEOF
45045 if ac_fn_cxx_try_compile "$LINENO"; then :
45046 glibcxx_cv_func_isinfl_use=yes
45047 else
45048 glibcxx_cv_func_isinfl_use=no
45050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45051 ac_ext=c
45052 ac_cpp='$CPP $CPPFLAGS'
45053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45062 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45064 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45065 for ac_func in isinfl
45066 do :
45067 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45068 if test "x$ac_cv_func_isinfl" = x""yes; then :
45069 cat >>confdefs.h <<_ACEOF
45070 #define HAVE_ISINFL 1
45071 _ACEOF
45074 done
45076 else
45078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45079 $as_echo_n "checking for _isinfl declaration... " >&6; }
45080 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45081 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45082 $as_echo_n "(cached) " >&6
45083 else
45086 ac_ext=cpp
45087 ac_cpp='$CXXCPP $CPPFLAGS'
45088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45093 /* end confdefs.h. */
45094 #include <math.h>
45095 #ifdef HAVE_IEEEFP_H
45096 #include <ieeefp.h>
45097 #endif
45100 main ()
45102 _isinfl(0);
45104 return 0;
45106 _ACEOF
45107 if ac_fn_cxx_try_compile "$LINENO"; then :
45108 glibcxx_cv_func__isinfl_use=yes
45109 else
45110 glibcxx_cv_func__isinfl_use=no
45112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45113 ac_ext=c
45114 ac_cpp='$CPP $CPPFLAGS'
45115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45124 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45126 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45127 for ac_func in _isinfl
45128 do :
45129 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45130 if test "x$ac_cv_func__isinfl" = x""yes; then :
45131 cat >>confdefs.h <<_ACEOF
45132 #define HAVE__ISINFL 1
45133 _ACEOF
45136 done
45145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45146 $as_echo_n "checking for atan2l declaration... " >&6; }
45147 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45148 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45149 $as_echo_n "(cached) " >&6
45150 else
45153 ac_ext=cpp
45154 ac_cpp='$CXXCPP $CPPFLAGS'
45155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45160 /* end confdefs.h. */
45161 #include <math.h>
45163 main ()
45165 atan2l(0, 0);
45167 return 0;
45169 _ACEOF
45170 if ac_fn_cxx_try_compile "$LINENO"; then :
45171 glibcxx_cv_func_atan2l_use=yes
45172 else
45173 glibcxx_cv_func_atan2l_use=no
45175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45176 ac_ext=c
45177 ac_cpp='$CPP $CPPFLAGS'
45178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45187 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45189 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45190 for ac_func in atan2l
45191 do :
45192 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45193 if test "x$ac_cv_func_atan2l" = x""yes; then :
45194 cat >>confdefs.h <<_ACEOF
45195 #define HAVE_ATAN2L 1
45196 _ACEOF
45199 done
45201 else
45203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45204 $as_echo_n "checking for _atan2l declaration... " >&6; }
45205 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45206 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45207 $as_echo_n "(cached) " >&6
45208 else
45211 ac_ext=cpp
45212 ac_cpp='$CXXCPP $CPPFLAGS'
45213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45218 /* end confdefs.h. */
45219 #include <math.h>
45221 main ()
45223 _atan2l(0, 0);
45225 return 0;
45227 _ACEOF
45228 if ac_fn_cxx_try_compile "$LINENO"; then :
45229 glibcxx_cv_func__atan2l_use=yes
45230 else
45231 glibcxx_cv_func__atan2l_use=no
45233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45234 ac_ext=c
45235 ac_cpp='$CPP $CPPFLAGS'
45236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45245 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45247 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45248 for ac_func in _atan2l
45249 do :
45250 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45251 if test "x$ac_cv_func__atan2l" = x""yes; then :
45252 cat >>confdefs.h <<_ACEOF
45253 #define HAVE__ATAN2L 1
45254 _ACEOF
45257 done
45266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45267 $as_echo_n "checking for expl declaration... " >&6; }
45268 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45269 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45270 $as_echo_n "(cached) " >&6
45271 else
45274 ac_ext=cpp
45275 ac_cpp='$CXXCPP $CPPFLAGS'
45276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45281 /* end confdefs.h. */
45282 #include <math.h>
45283 #ifdef HAVE_IEEEFP_H
45284 #include <ieeefp.h>
45285 #endif
45288 main ()
45290 expl(0);
45292 return 0;
45294 _ACEOF
45295 if ac_fn_cxx_try_compile "$LINENO"; then :
45296 glibcxx_cv_func_expl_use=yes
45297 else
45298 glibcxx_cv_func_expl_use=no
45300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45301 ac_ext=c
45302 ac_cpp='$CPP $CPPFLAGS'
45303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45312 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45314 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45315 for ac_func in expl
45316 do :
45317 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45318 if test "x$ac_cv_func_expl" = x""yes; then :
45319 cat >>confdefs.h <<_ACEOF
45320 #define HAVE_EXPL 1
45321 _ACEOF
45324 done
45326 else
45328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45329 $as_echo_n "checking for _expl declaration... " >&6; }
45330 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45331 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45332 $as_echo_n "(cached) " >&6
45333 else
45336 ac_ext=cpp
45337 ac_cpp='$CXXCPP $CPPFLAGS'
45338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45343 /* end confdefs.h. */
45344 #include <math.h>
45345 #ifdef HAVE_IEEEFP_H
45346 #include <ieeefp.h>
45347 #endif
45350 main ()
45352 _expl(0);
45354 return 0;
45356 _ACEOF
45357 if ac_fn_cxx_try_compile "$LINENO"; then :
45358 glibcxx_cv_func__expl_use=yes
45359 else
45360 glibcxx_cv_func__expl_use=no
45362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45363 ac_ext=c
45364 ac_cpp='$CPP $CPPFLAGS'
45365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45374 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45376 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45377 for ac_func in _expl
45378 do :
45379 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45380 if test "x$ac_cv_func__expl" = x""yes; then :
45381 cat >>confdefs.h <<_ACEOF
45382 #define HAVE__EXPL 1
45383 _ACEOF
45386 done
45395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45396 $as_echo_n "checking for fabsl declaration... " >&6; }
45397 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45398 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45399 $as_echo_n "(cached) " >&6
45400 else
45403 ac_ext=cpp
45404 ac_cpp='$CXXCPP $CPPFLAGS'
45405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45410 /* end confdefs.h. */
45411 #include <math.h>
45412 #ifdef HAVE_IEEEFP_H
45413 #include <ieeefp.h>
45414 #endif
45417 main ()
45419 fabsl(0);
45421 return 0;
45423 _ACEOF
45424 if ac_fn_cxx_try_compile "$LINENO"; then :
45425 glibcxx_cv_func_fabsl_use=yes
45426 else
45427 glibcxx_cv_func_fabsl_use=no
45429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45430 ac_ext=c
45431 ac_cpp='$CPP $CPPFLAGS'
45432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45441 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45443 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45444 for ac_func in fabsl
45445 do :
45446 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45447 if test "x$ac_cv_func_fabsl" = x""yes; then :
45448 cat >>confdefs.h <<_ACEOF
45449 #define HAVE_FABSL 1
45450 _ACEOF
45453 done
45455 else
45457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45458 $as_echo_n "checking for _fabsl declaration... " >&6; }
45459 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45460 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45461 $as_echo_n "(cached) " >&6
45462 else
45465 ac_ext=cpp
45466 ac_cpp='$CXXCPP $CPPFLAGS'
45467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45472 /* end confdefs.h. */
45473 #include <math.h>
45474 #ifdef HAVE_IEEEFP_H
45475 #include <ieeefp.h>
45476 #endif
45479 main ()
45481 _fabsl(0);
45483 return 0;
45485 _ACEOF
45486 if ac_fn_cxx_try_compile "$LINENO"; then :
45487 glibcxx_cv_func__fabsl_use=yes
45488 else
45489 glibcxx_cv_func__fabsl_use=no
45491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45492 ac_ext=c
45493 ac_cpp='$CPP $CPPFLAGS'
45494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45503 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45505 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45506 for ac_func in _fabsl
45507 do :
45508 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45509 if test "x$ac_cv_func__fabsl" = x""yes; then :
45510 cat >>confdefs.h <<_ACEOF
45511 #define HAVE__FABSL 1
45512 _ACEOF
45515 done
45524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45525 $as_echo_n "checking for fmodl declaration... " >&6; }
45526 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45527 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45528 $as_echo_n "(cached) " >&6
45529 else
45532 ac_ext=cpp
45533 ac_cpp='$CXXCPP $CPPFLAGS'
45534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45539 /* end confdefs.h. */
45540 #include <math.h>
45542 main ()
45544 fmodl(0, 0);
45546 return 0;
45548 _ACEOF
45549 if ac_fn_cxx_try_compile "$LINENO"; then :
45550 glibcxx_cv_func_fmodl_use=yes
45551 else
45552 glibcxx_cv_func_fmodl_use=no
45554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45555 ac_ext=c
45556 ac_cpp='$CPP $CPPFLAGS'
45557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45566 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45568 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45569 for ac_func in fmodl
45570 do :
45571 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45572 if test "x$ac_cv_func_fmodl" = x""yes; then :
45573 cat >>confdefs.h <<_ACEOF
45574 #define HAVE_FMODL 1
45575 _ACEOF
45578 done
45580 else
45582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45583 $as_echo_n "checking for _fmodl declaration... " >&6; }
45584 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45585 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45586 $as_echo_n "(cached) " >&6
45587 else
45590 ac_ext=cpp
45591 ac_cpp='$CXXCPP $CPPFLAGS'
45592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45597 /* end confdefs.h. */
45598 #include <math.h>
45600 main ()
45602 _fmodl(0, 0);
45604 return 0;
45606 _ACEOF
45607 if ac_fn_cxx_try_compile "$LINENO"; then :
45608 glibcxx_cv_func__fmodl_use=yes
45609 else
45610 glibcxx_cv_func__fmodl_use=no
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45613 ac_ext=c
45614 ac_cpp='$CPP $CPPFLAGS'
45615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45624 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45626 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45627 for ac_func in _fmodl
45628 do :
45629 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45630 if test "x$ac_cv_func__fmodl" = x""yes; then :
45631 cat >>confdefs.h <<_ACEOF
45632 #define HAVE__FMODL 1
45633 _ACEOF
45636 done
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45646 $as_echo_n "checking for frexpl declaration... " >&6; }
45647 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45648 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45649 $as_echo_n "(cached) " >&6
45650 else
45653 ac_ext=cpp
45654 ac_cpp='$CXXCPP $CPPFLAGS'
45655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45660 /* end confdefs.h. */
45661 #include <math.h>
45663 main ()
45665 frexpl(0, 0);
45667 return 0;
45669 _ACEOF
45670 if ac_fn_cxx_try_compile "$LINENO"; then :
45671 glibcxx_cv_func_frexpl_use=yes
45672 else
45673 glibcxx_cv_func_frexpl_use=no
45675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45676 ac_ext=c
45677 ac_cpp='$CPP $CPPFLAGS'
45678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45687 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45689 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45690 for ac_func in frexpl
45691 do :
45692 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45693 if test "x$ac_cv_func_frexpl" = x""yes; then :
45694 cat >>confdefs.h <<_ACEOF
45695 #define HAVE_FREXPL 1
45696 _ACEOF
45699 done
45701 else
45703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45704 $as_echo_n "checking for _frexpl declaration... " >&6; }
45705 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45706 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45707 $as_echo_n "(cached) " >&6
45708 else
45711 ac_ext=cpp
45712 ac_cpp='$CXXCPP $CPPFLAGS'
45713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45718 /* end confdefs.h. */
45719 #include <math.h>
45721 main ()
45723 _frexpl(0, 0);
45725 return 0;
45727 _ACEOF
45728 if ac_fn_cxx_try_compile "$LINENO"; then :
45729 glibcxx_cv_func__frexpl_use=yes
45730 else
45731 glibcxx_cv_func__frexpl_use=no
45733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45734 ac_ext=c
45735 ac_cpp='$CPP $CPPFLAGS'
45736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45745 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45747 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45748 for ac_func in _frexpl
45749 do :
45750 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45751 if test "x$ac_cv_func__frexpl" = x""yes; then :
45752 cat >>confdefs.h <<_ACEOF
45753 #define HAVE__FREXPL 1
45754 _ACEOF
45757 done
45766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45767 $as_echo_n "checking for hypotl declaration... " >&6; }
45768 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45769 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45770 $as_echo_n "(cached) " >&6
45771 else
45774 ac_ext=cpp
45775 ac_cpp='$CXXCPP $CPPFLAGS'
45776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45781 /* end confdefs.h. */
45782 #include <math.h>
45784 main ()
45786 hypotl(0, 0);
45788 return 0;
45790 _ACEOF
45791 if ac_fn_cxx_try_compile "$LINENO"; then :
45792 glibcxx_cv_func_hypotl_use=yes
45793 else
45794 glibcxx_cv_func_hypotl_use=no
45796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45797 ac_ext=c
45798 ac_cpp='$CPP $CPPFLAGS'
45799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45808 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45810 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45811 for ac_func in hypotl
45812 do :
45813 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45814 if test "x$ac_cv_func_hypotl" = x""yes; then :
45815 cat >>confdefs.h <<_ACEOF
45816 #define HAVE_HYPOTL 1
45817 _ACEOF
45820 done
45822 else
45824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45825 $as_echo_n "checking for _hypotl declaration... " >&6; }
45826 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45827 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45828 $as_echo_n "(cached) " >&6
45829 else
45832 ac_ext=cpp
45833 ac_cpp='$CXXCPP $CPPFLAGS'
45834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45839 /* end confdefs.h. */
45840 #include <math.h>
45842 main ()
45844 _hypotl(0, 0);
45846 return 0;
45848 _ACEOF
45849 if ac_fn_cxx_try_compile "$LINENO"; then :
45850 glibcxx_cv_func__hypotl_use=yes
45851 else
45852 glibcxx_cv_func__hypotl_use=no
45854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45855 ac_ext=c
45856 ac_cpp='$CPP $CPPFLAGS'
45857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45866 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45868 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45869 for ac_func in _hypotl
45870 do :
45871 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45872 if test "x$ac_cv_func__hypotl" = x""yes; then :
45873 cat >>confdefs.h <<_ACEOF
45874 #define HAVE__HYPOTL 1
45875 _ACEOF
45878 done
45887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45888 $as_echo_n "checking for ldexpl declaration... " >&6; }
45889 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45890 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45891 $as_echo_n "(cached) " >&6
45892 else
45895 ac_ext=cpp
45896 ac_cpp='$CXXCPP $CPPFLAGS'
45897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45902 /* end confdefs.h. */
45903 #include <math.h>
45905 main ()
45907 ldexpl(0, 0);
45909 return 0;
45911 _ACEOF
45912 if ac_fn_cxx_try_compile "$LINENO"; then :
45913 glibcxx_cv_func_ldexpl_use=yes
45914 else
45915 glibcxx_cv_func_ldexpl_use=no
45917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45918 ac_ext=c
45919 ac_cpp='$CPP $CPPFLAGS'
45920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45929 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45931 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45932 for ac_func in ldexpl
45933 do :
45934 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45935 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45936 cat >>confdefs.h <<_ACEOF
45937 #define HAVE_LDEXPL 1
45938 _ACEOF
45941 done
45943 else
45945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45946 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45947 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45948 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45949 $as_echo_n "(cached) " >&6
45950 else
45953 ac_ext=cpp
45954 ac_cpp='$CXXCPP $CPPFLAGS'
45955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45960 /* end confdefs.h. */
45961 #include <math.h>
45963 main ()
45965 _ldexpl(0, 0);
45967 return 0;
45969 _ACEOF
45970 if ac_fn_cxx_try_compile "$LINENO"; then :
45971 glibcxx_cv_func__ldexpl_use=yes
45972 else
45973 glibcxx_cv_func__ldexpl_use=no
45975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45976 ac_ext=c
45977 ac_cpp='$CPP $CPPFLAGS'
45978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45987 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45989 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45990 for ac_func in _ldexpl
45991 do :
45992 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45993 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45994 cat >>confdefs.h <<_ACEOF
45995 #define HAVE__LDEXPL 1
45996 _ACEOF
45999 done
46008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46009 $as_echo_n "checking for logl declaration... " >&6; }
46010 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46011 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46012 $as_echo_n "(cached) " >&6
46013 else
46016 ac_ext=cpp
46017 ac_cpp='$CXXCPP $CPPFLAGS'
46018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46023 /* end confdefs.h. */
46024 #include <math.h>
46025 #ifdef HAVE_IEEEFP_H
46026 #include <ieeefp.h>
46027 #endif
46030 main ()
46032 logl(0);
46034 return 0;
46036 _ACEOF
46037 if ac_fn_cxx_try_compile "$LINENO"; then :
46038 glibcxx_cv_func_logl_use=yes
46039 else
46040 glibcxx_cv_func_logl_use=no
46042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46043 ac_ext=c
46044 ac_cpp='$CPP $CPPFLAGS'
46045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46054 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46056 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46057 for ac_func in logl
46058 do :
46059 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46060 if test "x$ac_cv_func_logl" = x""yes; then :
46061 cat >>confdefs.h <<_ACEOF
46062 #define HAVE_LOGL 1
46063 _ACEOF
46066 done
46068 else
46070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46071 $as_echo_n "checking for _logl declaration... " >&6; }
46072 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46073 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46074 $as_echo_n "(cached) " >&6
46075 else
46078 ac_ext=cpp
46079 ac_cpp='$CXXCPP $CPPFLAGS'
46080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46085 /* end confdefs.h. */
46086 #include <math.h>
46087 #ifdef HAVE_IEEEFP_H
46088 #include <ieeefp.h>
46089 #endif
46092 main ()
46094 _logl(0);
46096 return 0;
46098 _ACEOF
46099 if ac_fn_cxx_try_compile "$LINENO"; then :
46100 glibcxx_cv_func__logl_use=yes
46101 else
46102 glibcxx_cv_func__logl_use=no
46104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46105 ac_ext=c
46106 ac_cpp='$CPP $CPPFLAGS'
46107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46116 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46118 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46119 for ac_func in _logl
46120 do :
46121 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46122 if test "x$ac_cv_func__logl" = x""yes; then :
46123 cat >>confdefs.h <<_ACEOF
46124 #define HAVE__LOGL 1
46125 _ACEOF
46128 done
46137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46138 $as_echo_n "checking for log10l declaration... " >&6; }
46139 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46140 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46141 $as_echo_n "(cached) " >&6
46142 else
46145 ac_ext=cpp
46146 ac_cpp='$CXXCPP $CPPFLAGS'
46147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46152 /* end confdefs.h. */
46153 #include <math.h>
46154 #ifdef HAVE_IEEEFP_H
46155 #include <ieeefp.h>
46156 #endif
46159 main ()
46161 log10l(0);
46163 return 0;
46165 _ACEOF
46166 if ac_fn_cxx_try_compile "$LINENO"; then :
46167 glibcxx_cv_func_log10l_use=yes
46168 else
46169 glibcxx_cv_func_log10l_use=no
46171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46172 ac_ext=c
46173 ac_cpp='$CPP $CPPFLAGS'
46174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46183 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46185 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46186 for ac_func in log10l
46187 do :
46188 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46189 if test "x$ac_cv_func_log10l" = x""yes; then :
46190 cat >>confdefs.h <<_ACEOF
46191 #define HAVE_LOG10L 1
46192 _ACEOF
46195 done
46197 else
46199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46200 $as_echo_n "checking for _log10l declaration... " >&6; }
46201 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46202 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46203 $as_echo_n "(cached) " >&6
46204 else
46207 ac_ext=cpp
46208 ac_cpp='$CXXCPP $CPPFLAGS'
46209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46214 /* end confdefs.h. */
46215 #include <math.h>
46216 #ifdef HAVE_IEEEFP_H
46217 #include <ieeefp.h>
46218 #endif
46221 main ()
46223 _log10l(0);
46225 return 0;
46227 _ACEOF
46228 if ac_fn_cxx_try_compile "$LINENO"; then :
46229 glibcxx_cv_func__log10l_use=yes
46230 else
46231 glibcxx_cv_func__log10l_use=no
46233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46234 ac_ext=c
46235 ac_cpp='$CPP $CPPFLAGS'
46236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46245 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46247 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46248 for ac_func in _log10l
46249 do :
46250 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46251 if test "x$ac_cv_func__log10l" = x""yes; then :
46252 cat >>confdefs.h <<_ACEOF
46253 #define HAVE__LOG10L 1
46254 _ACEOF
46257 done
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46267 $as_echo_n "checking for modfl declaration... " >&6; }
46268 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46269 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46270 $as_echo_n "(cached) " >&6
46271 else
46274 ac_ext=cpp
46275 ac_cpp='$CXXCPP $CPPFLAGS'
46276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46281 /* end confdefs.h. */
46282 #include <math.h>
46284 main ()
46286 modfl(0, 0);
46288 return 0;
46290 _ACEOF
46291 if ac_fn_cxx_try_compile "$LINENO"; then :
46292 glibcxx_cv_func_modfl_use=yes
46293 else
46294 glibcxx_cv_func_modfl_use=no
46296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46297 ac_ext=c
46298 ac_cpp='$CPP $CPPFLAGS'
46299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46308 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46310 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46311 for ac_func in modfl
46312 do :
46313 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46314 if test "x$ac_cv_func_modfl" = x""yes; then :
46315 cat >>confdefs.h <<_ACEOF
46316 #define HAVE_MODFL 1
46317 _ACEOF
46320 done
46322 else
46324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46325 $as_echo_n "checking for _modfl declaration... " >&6; }
46326 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46327 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46328 $as_echo_n "(cached) " >&6
46329 else
46332 ac_ext=cpp
46333 ac_cpp='$CXXCPP $CPPFLAGS'
46334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46339 /* end confdefs.h. */
46340 #include <math.h>
46342 main ()
46344 _modfl(0, 0);
46346 return 0;
46348 _ACEOF
46349 if ac_fn_cxx_try_compile "$LINENO"; then :
46350 glibcxx_cv_func__modfl_use=yes
46351 else
46352 glibcxx_cv_func__modfl_use=no
46354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46355 ac_ext=c
46356 ac_cpp='$CPP $CPPFLAGS'
46357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46366 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46368 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46369 for ac_func in _modfl
46370 do :
46371 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46372 if test "x$ac_cv_func__modfl" = x""yes; then :
46373 cat >>confdefs.h <<_ACEOF
46374 #define HAVE__MODFL 1
46375 _ACEOF
46378 done
46387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46388 $as_echo_n "checking for powl declaration... " >&6; }
46389 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46390 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46391 $as_echo_n "(cached) " >&6
46392 else
46395 ac_ext=cpp
46396 ac_cpp='$CXXCPP $CPPFLAGS'
46397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46402 /* end confdefs.h. */
46403 #include <math.h>
46405 main ()
46407 powl(0, 0);
46409 return 0;
46411 _ACEOF
46412 if ac_fn_cxx_try_compile "$LINENO"; then :
46413 glibcxx_cv_func_powl_use=yes
46414 else
46415 glibcxx_cv_func_powl_use=no
46417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46418 ac_ext=c
46419 ac_cpp='$CPP $CPPFLAGS'
46420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46429 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46431 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46432 for ac_func in powl
46433 do :
46434 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46435 if test "x$ac_cv_func_powl" = x""yes; then :
46436 cat >>confdefs.h <<_ACEOF
46437 #define HAVE_POWL 1
46438 _ACEOF
46441 done
46443 else
46445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46446 $as_echo_n "checking for _powl declaration... " >&6; }
46447 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46448 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46449 $as_echo_n "(cached) " >&6
46450 else
46453 ac_ext=cpp
46454 ac_cpp='$CXXCPP $CPPFLAGS'
46455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46460 /* end confdefs.h. */
46461 #include <math.h>
46463 main ()
46465 _powl(0, 0);
46467 return 0;
46469 _ACEOF
46470 if ac_fn_cxx_try_compile "$LINENO"; then :
46471 glibcxx_cv_func__powl_use=yes
46472 else
46473 glibcxx_cv_func__powl_use=no
46475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46476 ac_ext=c
46477 ac_cpp='$CPP $CPPFLAGS'
46478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46487 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46489 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46490 for ac_func in _powl
46491 do :
46492 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46493 if test "x$ac_cv_func__powl" = x""yes; then :
46494 cat >>confdefs.h <<_ACEOF
46495 #define HAVE__POWL 1
46496 _ACEOF
46499 done
46508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46509 $as_echo_n "checking for sqrtl declaration... " >&6; }
46510 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46511 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46512 $as_echo_n "(cached) " >&6
46513 else
46516 ac_ext=cpp
46517 ac_cpp='$CXXCPP $CPPFLAGS'
46518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46523 /* end confdefs.h. */
46524 #include <math.h>
46525 #ifdef HAVE_IEEEFP_H
46526 #include <ieeefp.h>
46527 #endif
46530 main ()
46532 sqrtl(0);
46534 return 0;
46536 _ACEOF
46537 if ac_fn_cxx_try_compile "$LINENO"; then :
46538 glibcxx_cv_func_sqrtl_use=yes
46539 else
46540 glibcxx_cv_func_sqrtl_use=no
46542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46543 ac_ext=c
46544 ac_cpp='$CPP $CPPFLAGS'
46545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46554 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46556 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46557 for ac_func in sqrtl
46558 do :
46559 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46560 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46561 cat >>confdefs.h <<_ACEOF
46562 #define HAVE_SQRTL 1
46563 _ACEOF
46566 done
46568 else
46570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46571 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46572 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46573 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46574 $as_echo_n "(cached) " >&6
46575 else
46578 ac_ext=cpp
46579 ac_cpp='$CXXCPP $CPPFLAGS'
46580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46585 /* end confdefs.h. */
46586 #include <math.h>
46587 #ifdef HAVE_IEEEFP_H
46588 #include <ieeefp.h>
46589 #endif
46592 main ()
46594 _sqrtl(0);
46596 return 0;
46598 _ACEOF
46599 if ac_fn_cxx_try_compile "$LINENO"; then :
46600 glibcxx_cv_func__sqrtl_use=yes
46601 else
46602 glibcxx_cv_func__sqrtl_use=no
46604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46605 ac_ext=c
46606 ac_cpp='$CPP $CPPFLAGS'
46607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46616 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46618 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46619 for ac_func in _sqrtl
46620 do :
46621 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46622 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46623 cat >>confdefs.h <<_ACEOF
46624 #define HAVE__SQRTL 1
46625 _ACEOF
46628 done
46637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46638 $as_echo_n "checking for sincosl declaration... " >&6; }
46639 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46640 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46641 $as_echo_n "(cached) " >&6
46642 else
46645 ac_ext=cpp
46646 ac_cpp='$CXXCPP $CPPFLAGS'
46647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46652 /* end confdefs.h. */
46653 #include <math.h>
46655 main ()
46657 sincosl(0, 0, 0);
46659 return 0;
46661 _ACEOF
46662 if ac_fn_cxx_try_compile "$LINENO"; then :
46663 glibcxx_cv_func_sincosl_use=yes
46664 else
46665 glibcxx_cv_func_sincosl_use=no
46667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46668 ac_ext=c
46669 ac_cpp='$CPP $CPPFLAGS'
46670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46679 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46681 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46682 for ac_func in sincosl
46683 do :
46684 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46685 if test "x$ac_cv_func_sincosl" = x""yes; then :
46686 cat >>confdefs.h <<_ACEOF
46687 #define HAVE_SINCOSL 1
46688 _ACEOF
46691 done
46693 else
46695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46696 $as_echo_n "checking for _sincosl declaration... " >&6; }
46697 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46698 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46699 $as_echo_n "(cached) " >&6
46700 else
46703 ac_ext=cpp
46704 ac_cpp='$CXXCPP $CPPFLAGS'
46705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46710 /* end confdefs.h. */
46711 #include <math.h>
46713 main ()
46715 _sincosl(0, 0, 0);
46717 return 0;
46719 _ACEOF
46720 if ac_fn_cxx_try_compile "$LINENO"; then :
46721 glibcxx_cv_func__sincosl_use=yes
46722 else
46723 glibcxx_cv_func__sincosl_use=no
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 ac_ext=c
46727 ac_cpp='$CPP $CPPFLAGS'
46728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46737 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46739 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46740 for ac_func in _sincosl
46741 do :
46742 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46743 if test "x$ac_cv_func__sincosl" = x""yes; then :
46744 cat >>confdefs.h <<_ACEOF
46745 #define HAVE__SINCOSL 1
46746 _ACEOF
46749 done
46758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46759 $as_echo_n "checking for finitel declaration... " >&6; }
46760 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46761 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46762 $as_echo_n "(cached) " >&6
46763 else
46766 ac_ext=cpp
46767 ac_cpp='$CXXCPP $CPPFLAGS'
46768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46773 /* end confdefs.h. */
46774 #include <math.h>
46775 #ifdef HAVE_IEEEFP_H
46776 #include <ieeefp.h>
46777 #endif
46780 main ()
46782 finitel(0);
46784 return 0;
46786 _ACEOF
46787 if ac_fn_cxx_try_compile "$LINENO"; then :
46788 glibcxx_cv_func_finitel_use=yes
46789 else
46790 glibcxx_cv_func_finitel_use=no
46792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46793 ac_ext=c
46794 ac_cpp='$CPP $CPPFLAGS'
46795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46804 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46806 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46807 for ac_func in finitel
46808 do :
46809 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46810 if test "x$ac_cv_func_finitel" = x""yes; then :
46811 cat >>confdefs.h <<_ACEOF
46812 #define HAVE_FINITEL 1
46813 _ACEOF
46816 done
46818 else
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46821 $as_echo_n "checking for _finitel declaration... " >&6; }
46822 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46823 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46824 $as_echo_n "(cached) " >&6
46825 else
46828 ac_ext=cpp
46829 ac_cpp='$CXXCPP $CPPFLAGS'
46830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46835 /* end confdefs.h. */
46836 #include <math.h>
46837 #ifdef HAVE_IEEEFP_H
46838 #include <ieeefp.h>
46839 #endif
46842 main ()
46844 _finitel(0);
46846 return 0;
46848 _ACEOF
46849 if ac_fn_cxx_try_compile "$LINENO"; then :
46850 glibcxx_cv_func__finitel_use=yes
46851 else
46852 glibcxx_cv_func__finitel_use=no
46854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46855 ac_ext=c
46856 ac_cpp='$CPP $CPPFLAGS'
46857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46866 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46868 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46869 for ac_func in _finitel
46870 do :
46871 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46872 if test "x$ac_cv_func__finitel" = x""yes; then :
46873 cat >>confdefs.h <<_ACEOF
46874 #define HAVE__FINITEL 1
46875 _ACEOF
46878 done
46886 LIBS="$ac_save_LIBS"
46887 CXXFLAGS="$ac_save_CXXFLAGS"
46890 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46891 ac_save_CXXFLAGS="$CXXFLAGS"
46892 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46896 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46897 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46898 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46899 $as_echo_n "(cached) " >&6
46900 else
46903 ac_ext=cpp
46904 ac_cpp='$CXXCPP $CPPFLAGS'
46905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46910 /* end confdefs.h. */
46911 #include <stdlib.h>
46913 main ()
46915 at_quick_exit(0);
46917 return 0;
46919 _ACEOF
46920 if ac_fn_cxx_try_compile "$LINENO"; then :
46921 glibcxx_cv_func_at_quick_exit_use=yes
46922 else
46923 glibcxx_cv_func_at_quick_exit_use=no
46925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46926 ac_ext=c
46927 ac_cpp='$CPP $CPPFLAGS'
46928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46937 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46938 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46939 for ac_func in at_quick_exit
46940 do :
46941 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46942 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46943 cat >>confdefs.h <<_ACEOF
46944 #define HAVE_AT_QUICK_EXIT 1
46945 _ACEOF
46948 done
46953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46954 $as_echo_n "checking for quick_exit declaration... " >&6; }
46955 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46956 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46957 $as_echo_n "(cached) " >&6
46958 else
46961 ac_ext=cpp
46962 ac_cpp='$CXXCPP $CPPFLAGS'
46963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46968 /* end confdefs.h. */
46969 #include <stdlib.h>
46971 main ()
46973 quick_exit(0);
46975 return 0;
46977 _ACEOF
46978 if ac_fn_cxx_try_compile "$LINENO"; then :
46979 glibcxx_cv_func_quick_exit_use=yes
46980 else
46981 glibcxx_cv_func_quick_exit_use=no
46983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46984 ac_ext=c
46985 ac_cpp='$CPP $CPPFLAGS'
46986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46995 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46996 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46997 for ac_func in quick_exit
46998 do :
46999 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47000 if test "x$ac_cv_func_quick_exit" = x""yes; then :
47001 cat >>confdefs.h <<_ACEOF
47002 #define HAVE_QUICK_EXIT 1
47003 _ACEOF
47006 done
47011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47012 $as_echo_n "checking for strtold declaration... " >&6; }
47013 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47014 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47015 $as_echo_n "(cached) " >&6
47016 else
47019 ac_ext=cpp
47020 ac_cpp='$CXXCPP $CPPFLAGS'
47021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47026 /* end confdefs.h. */
47027 #include <stdlib.h>
47029 main ()
47031 strtold(0, 0);
47033 return 0;
47035 _ACEOF
47036 if ac_fn_cxx_try_compile "$LINENO"; then :
47037 glibcxx_cv_func_strtold_use=yes
47038 else
47039 glibcxx_cv_func_strtold_use=no
47041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47042 ac_ext=c
47043 ac_cpp='$CPP $CPPFLAGS'
47044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47053 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47054 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47055 for ac_func in strtold
47056 do :
47057 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47058 if test "x$ac_cv_func_strtold" = x""yes; then :
47059 cat >>confdefs.h <<_ACEOF
47060 #define HAVE_STRTOLD 1
47061 _ACEOF
47064 done
47071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47072 $as_echo_n "checking for strtof declaration... " >&6; }
47073 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47074 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47075 $as_echo_n "(cached) " >&6
47076 else
47079 ac_ext=cpp
47080 ac_cpp='$CXXCPP $CPPFLAGS'
47081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47086 /* end confdefs.h. */
47087 #include <stdlib.h>
47089 main ()
47091 strtof(0, 0);
47093 return 0;
47095 _ACEOF
47096 if ac_fn_cxx_try_compile "$LINENO"; then :
47097 glibcxx_cv_func_strtof_use=yes
47098 else
47099 glibcxx_cv_func_strtof_use=no
47101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47102 ac_ext=c
47103 ac_cpp='$CPP $CPPFLAGS'
47104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47113 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47114 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47115 for ac_func in strtof
47116 do :
47117 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47118 if test "x$ac_cv_func_strtof" = x""yes; then :
47119 cat >>confdefs.h <<_ACEOF
47120 #define HAVE_STRTOF 1
47121 _ACEOF
47124 done
47131 CXXFLAGS="$ac_save_CXXFLAGS"
47133 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47135 # We don't yet support AIX's TLS ABI.
47136 #GCC_CHECK_TLS
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47143 $as_echo_n "checking for iconv... " >&6; }
47144 if test "${am_cv_func_iconv+set}" = set; then :
47145 $as_echo_n "(cached) " >&6
47146 else
47148 am_cv_func_iconv="no, consider installing GNU libiconv"
47149 am_cv_lib_iconv=no
47150 am_save_CPPFLAGS="$CPPFLAGS"
47151 CPPFLAGS="$CPPFLAGS $INCICONV"
47152 if test x$gcc_no_link = xyes; then
47153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47156 /* end confdefs.h. */
47157 #include <stdlib.h>
47158 #include <iconv.h>
47160 main ()
47162 iconv_t cd = iconv_open("","");
47163 iconv(cd,NULL,NULL,NULL,NULL);
47164 iconv_close(cd);
47166 return 0;
47168 _ACEOF
47169 if ac_fn_c_try_link "$LINENO"; then :
47170 am_cv_func_iconv=yes
47172 rm -f core conftest.err conftest.$ac_objext \
47173 conftest$ac_exeext conftest.$ac_ext
47174 CPPFLAGS="$am_save_CPPFLAGS"
47176 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47177 for _libs in .libs _libs; do
47178 am_save_CPPFLAGS="$CPPFLAGS"
47179 am_save_LIBS="$LIBS"
47180 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47181 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47182 if test x$gcc_no_link = xyes; then
47183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47186 /* end confdefs.h. */
47187 #include <stdlib.h>
47188 #include <iconv.h>
47190 main ()
47192 iconv_t cd = iconv_open("","");
47193 iconv(cd,NULL,NULL,NULL,NULL);
47194 iconv_close(cd);
47196 return 0;
47198 _ACEOF
47199 if ac_fn_c_try_link "$LINENO"; then :
47200 INCICONV="-I../libiconv/include"
47201 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47202 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47203 am_cv_lib_iconv=yes
47204 am_cv_func_iconv=yes
47206 rm -f core conftest.err conftest.$ac_objext \
47207 conftest$ac_exeext conftest.$ac_ext
47208 CPPFLAGS="$am_save_CPPFLAGS"
47209 LIBS="$am_save_LIBS"
47210 if test "$am_cv_func_iconv" = "yes"; then
47211 break
47213 done
47216 if test "$am_cv_func_iconv" != yes; then
47217 am_save_CPPFLAGS="$CPPFLAGS"
47218 am_save_LIBS="$LIBS"
47219 CPPFLAGS="$LIBS $INCICONV"
47220 LIBS="$LIBS $LIBICONV"
47221 if test x$gcc_no_link = xyes; then
47222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47225 /* end confdefs.h. */
47226 #include <stdlib.h>
47227 #include <iconv.h>
47229 main ()
47231 iconv_t cd = iconv_open("","");
47232 iconv(cd,NULL,NULL,NULL,NULL);
47233 iconv_close(cd);
47235 return 0;
47237 _ACEOF
47238 if ac_fn_c_try_link "$LINENO"; then :
47239 am_cv_lib_iconv=yes
47240 am_cv_func_iconv=yes
47242 rm -f core conftest.err conftest.$ac_objext \
47243 conftest$ac_exeext conftest.$ac_ext
47244 CPPFLAGS="$am_save_CPPFLAGS"
47245 LIBS="$am_save_LIBS"
47249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47250 $as_echo "$am_cv_func_iconv" >&6; }
47251 if test "$am_cv_func_iconv" = yes; then
47253 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47256 if test "$am_cv_lib_iconv" = yes; then
47258 for element in $INCICONV; do
47259 haveit=
47260 for x in $CPPFLAGS; do
47262 acl_save_prefix="$prefix"
47263 prefix="$acl_final_prefix"
47264 acl_save_exec_prefix="$exec_prefix"
47265 exec_prefix="$acl_final_exec_prefix"
47266 eval x=\"$x\"
47267 exec_prefix="$acl_save_exec_prefix"
47268 prefix="$acl_save_prefix"
47270 if test "X$x" = "X$element"; then
47271 haveit=yes
47272 break
47274 done
47275 if test -z "$haveit"; then
47276 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47278 done
47280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47281 $as_echo_n "checking how to link with libiconv... " >&6; }
47282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47283 $as_echo "$LIBICONV" >&6; }
47284 else
47285 LIBICONV=
47286 LTLIBICONV=
47291 if test "$am_cv_func_iconv" = yes; then
47292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47293 $as_echo_n "checking for iconv declaration... " >&6; }
47294 if test "${am_cv_proto_iconv+set}" = set; then :
47295 $as_echo_n "(cached) " >&6
47296 else
47298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47299 /* end confdefs.h. */
47301 #include <stdlib.h>
47302 #include <iconv.h>
47303 extern
47304 #ifdef __cplusplus
47306 #endif
47307 #if defined(__STDC__) || defined(__cplusplus)
47308 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47309 #else
47310 size_t iconv();
47311 #endif
47314 main ()
47318 return 0;
47320 _ACEOF
47321 if ac_fn_c_try_compile "$LINENO"; then :
47322 am_cv_proto_iconv_arg1=""
47323 else
47324 am_cv_proto_iconv_arg1="const"
47326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47327 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);"
47330 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47332 }$am_cv_proto_iconv" >&5
47333 $as_echo "${ac_t:-
47334 }$am_cv_proto_iconv" >&6; }
47336 cat >>confdefs.h <<_ACEOF
47337 #define ICONV_CONST $am_cv_proto_iconv_arg1
47338 _ACEOF
47344 *-darwin*)
47345 # Darwin versions vary, but the linker should work in a cross environment,
47346 # so we just check for all the features here.
47347 # Check for available headers.
47349 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47352 ac_save_CXXFLAGS="$CXXFLAGS"
47353 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47356 $as_echo_n "checking for sin in -lm... " >&6; }
47357 if test "${ac_cv_lib_m_sin+set}" = set; then :
47358 $as_echo_n "(cached) " >&6
47359 else
47360 ac_check_lib_save_LIBS=$LIBS
47361 LIBS="-lm $LIBS"
47362 if test x$gcc_no_link = xyes; then
47363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47366 /* end confdefs.h. */
47368 /* Override any GCC internal prototype to avoid an error.
47369 Use char because int might match the return type of a GCC
47370 builtin and then its argument prototype would still apply. */
47371 #ifdef __cplusplus
47372 extern "C"
47373 #endif
47374 char sin ();
47376 main ()
47378 return sin ();
47380 return 0;
47382 _ACEOF
47383 if ac_fn_c_try_link "$LINENO"; then :
47384 ac_cv_lib_m_sin=yes
47385 else
47386 ac_cv_lib_m_sin=no
47388 rm -f core conftest.err conftest.$ac_objext \
47389 conftest$ac_exeext conftest.$ac_ext
47390 LIBS=$ac_check_lib_save_LIBS
47392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47393 $as_echo "$ac_cv_lib_m_sin" >&6; }
47394 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47395 libm="-lm"
47398 ac_save_LIBS="$LIBS"
47399 LIBS="$LIBS $libm"
47403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47404 $as_echo_n "checking for isinf declaration... " >&6; }
47405 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47406 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47407 $as_echo_n "(cached) " >&6
47408 else
47411 ac_ext=cpp
47412 ac_cpp='$CXXCPP $CPPFLAGS'
47413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47418 /* end confdefs.h. */
47419 #include <math.h>
47420 #ifdef HAVE_IEEEFP_H
47421 #include <ieeefp.h>
47422 #endif
47425 main ()
47427 isinf(0);
47429 return 0;
47431 _ACEOF
47432 if ac_fn_cxx_try_compile "$LINENO"; then :
47433 glibcxx_cv_func_isinf_use=yes
47434 else
47435 glibcxx_cv_func_isinf_use=no
47437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47438 ac_ext=c
47439 ac_cpp='$CPP $CPPFLAGS'
47440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47449 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47451 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47452 for ac_func in isinf
47453 do :
47454 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47455 if test "x$ac_cv_func_isinf" = x""yes; then :
47456 cat >>confdefs.h <<_ACEOF
47457 #define HAVE_ISINF 1
47458 _ACEOF
47461 done
47463 else
47465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47466 $as_echo_n "checking for _isinf declaration... " >&6; }
47467 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47468 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47469 $as_echo_n "(cached) " >&6
47470 else
47473 ac_ext=cpp
47474 ac_cpp='$CXXCPP $CPPFLAGS'
47475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47480 /* end confdefs.h. */
47481 #include <math.h>
47482 #ifdef HAVE_IEEEFP_H
47483 #include <ieeefp.h>
47484 #endif
47487 main ()
47489 _isinf(0);
47491 return 0;
47493 _ACEOF
47494 if ac_fn_cxx_try_compile "$LINENO"; then :
47495 glibcxx_cv_func__isinf_use=yes
47496 else
47497 glibcxx_cv_func__isinf_use=no
47499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47500 ac_ext=c
47501 ac_cpp='$CPP $CPPFLAGS'
47502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47511 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47513 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47514 for ac_func in _isinf
47515 do :
47516 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47517 if test "x$ac_cv_func__isinf" = x""yes; then :
47518 cat >>confdefs.h <<_ACEOF
47519 #define HAVE__ISINF 1
47520 _ACEOF
47523 done
47532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47533 $as_echo_n "checking for isnan declaration... " >&6; }
47534 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47535 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47536 $as_echo_n "(cached) " >&6
47537 else
47540 ac_ext=cpp
47541 ac_cpp='$CXXCPP $CPPFLAGS'
47542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47547 /* end confdefs.h. */
47548 #include <math.h>
47549 #ifdef HAVE_IEEEFP_H
47550 #include <ieeefp.h>
47551 #endif
47554 main ()
47556 isnan(0);
47558 return 0;
47560 _ACEOF
47561 if ac_fn_cxx_try_compile "$LINENO"; then :
47562 glibcxx_cv_func_isnan_use=yes
47563 else
47564 glibcxx_cv_func_isnan_use=no
47566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47567 ac_ext=c
47568 ac_cpp='$CPP $CPPFLAGS'
47569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47578 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47580 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47581 for ac_func in isnan
47582 do :
47583 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47584 if test "x$ac_cv_func_isnan" = x""yes; then :
47585 cat >>confdefs.h <<_ACEOF
47586 #define HAVE_ISNAN 1
47587 _ACEOF
47590 done
47592 else
47594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47595 $as_echo_n "checking for _isnan declaration... " >&6; }
47596 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47597 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47598 $as_echo_n "(cached) " >&6
47599 else
47602 ac_ext=cpp
47603 ac_cpp='$CXXCPP $CPPFLAGS'
47604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47609 /* end confdefs.h. */
47610 #include <math.h>
47611 #ifdef HAVE_IEEEFP_H
47612 #include <ieeefp.h>
47613 #endif
47616 main ()
47618 _isnan(0);
47620 return 0;
47622 _ACEOF
47623 if ac_fn_cxx_try_compile "$LINENO"; then :
47624 glibcxx_cv_func__isnan_use=yes
47625 else
47626 glibcxx_cv_func__isnan_use=no
47628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47629 ac_ext=c
47630 ac_cpp='$CPP $CPPFLAGS'
47631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47640 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47642 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47643 for ac_func in _isnan
47644 do :
47645 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47646 if test "x$ac_cv_func__isnan" = x""yes; then :
47647 cat >>confdefs.h <<_ACEOF
47648 #define HAVE__ISNAN 1
47649 _ACEOF
47652 done
47661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47662 $as_echo_n "checking for finite declaration... " >&6; }
47663 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47664 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47665 $as_echo_n "(cached) " >&6
47666 else
47669 ac_ext=cpp
47670 ac_cpp='$CXXCPP $CPPFLAGS'
47671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47676 /* end confdefs.h. */
47677 #include <math.h>
47678 #ifdef HAVE_IEEEFP_H
47679 #include <ieeefp.h>
47680 #endif
47683 main ()
47685 finite(0);
47687 return 0;
47689 _ACEOF
47690 if ac_fn_cxx_try_compile "$LINENO"; then :
47691 glibcxx_cv_func_finite_use=yes
47692 else
47693 glibcxx_cv_func_finite_use=no
47695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47696 ac_ext=c
47697 ac_cpp='$CPP $CPPFLAGS'
47698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47707 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47709 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47710 for ac_func in finite
47711 do :
47712 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47713 if test "x$ac_cv_func_finite" = x""yes; then :
47714 cat >>confdefs.h <<_ACEOF
47715 #define HAVE_FINITE 1
47716 _ACEOF
47719 done
47721 else
47723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47724 $as_echo_n "checking for _finite declaration... " >&6; }
47725 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47726 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47727 $as_echo_n "(cached) " >&6
47728 else
47731 ac_ext=cpp
47732 ac_cpp='$CXXCPP $CPPFLAGS'
47733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47738 /* end confdefs.h. */
47739 #include <math.h>
47740 #ifdef HAVE_IEEEFP_H
47741 #include <ieeefp.h>
47742 #endif
47745 main ()
47747 _finite(0);
47749 return 0;
47751 _ACEOF
47752 if ac_fn_cxx_try_compile "$LINENO"; then :
47753 glibcxx_cv_func__finite_use=yes
47754 else
47755 glibcxx_cv_func__finite_use=no
47757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47758 ac_ext=c
47759 ac_cpp='$CPP $CPPFLAGS'
47760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47769 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47771 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47772 for ac_func in _finite
47773 do :
47774 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47775 if test "x$ac_cv_func__finite" = x""yes; then :
47776 cat >>confdefs.h <<_ACEOF
47777 #define HAVE__FINITE 1
47778 _ACEOF
47781 done
47790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47791 $as_echo_n "checking for sincos declaration... " >&6; }
47792 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47793 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47794 $as_echo_n "(cached) " >&6
47795 else
47798 ac_ext=cpp
47799 ac_cpp='$CXXCPP $CPPFLAGS'
47800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47805 /* end confdefs.h. */
47806 #include <math.h>
47808 main ()
47810 sincos(0, 0, 0);
47812 return 0;
47814 _ACEOF
47815 if ac_fn_cxx_try_compile "$LINENO"; then :
47816 glibcxx_cv_func_sincos_use=yes
47817 else
47818 glibcxx_cv_func_sincos_use=no
47820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47821 ac_ext=c
47822 ac_cpp='$CPP $CPPFLAGS'
47823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47832 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47834 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47835 for ac_func in sincos
47836 do :
47837 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47838 if test "x$ac_cv_func_sincos" = x""yes; then :
47839 cat >>confdefs.h <<_ACEOF
47840 #define HAVE_SINCOS 1
47841 _ACEOF
47844 done
47846 else
47848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47849 $as_echo_n "checking for _sincos declaration... " >&6; }
47850 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47851 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47852 $as_echo_n "(cached) " >&6
47853 else
47856 ac_ext=cpp
47857 ac_cpp='$CXXCPP $CPPFLAGS'
47858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47863 /* end confdefs.h. */
47864 #include <math.h>
47866 main ()
47868 _sincos(0, 0, 0);
47870 return 0;
47872 _ACEOF
47873 if ac_fn_cxx_try_compile "$LINENO"; then :
47874 glibcxx_cv_func__sincos_use=yes
47875 else
47876 glibcxx_cv_func__sincos_use=no
47878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47879 ac_ext=c
47880 ac_cpp='$CPP $CPPFLAGS'
47881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47890 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47892 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47893 for ac_func in _sincos
47894 do :
47895 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47896 if test "x$ac_cv_func__sincos" = x""yes; then :
47897 cat >>confdefs.h <<_ACEOF
47898 #define HAVE__SINCOS 1
47899 _ACEOF
47902 done
47911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47912 $as_echo_n "checking for fpclass declaration... " >&6; }
47913 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47914 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47915 $as_echo_n "(cached) " >&6
47916 else
47919 ac_ext=cpp
47920 ac_cpp='$CXXCPP $CPPFLAGS'
47921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47926 /* end confdefs.h. */
47927 #include <math.h>
47928 #ifdef HAVE_IEEEFP_H
47929 #include <ieeefp.h>
47930 #endif
47933 main ()
47935 fpclass(0);
47937 return 0;
47939 _ACEOF
47940 if ac_fn_cxx_try_compile "$LINENO"; then :
47941 glibcxx_cv_func_fpclass_use=yes
47942 else
47943 glibcxx_cv_func_fpclass_use=no
47945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47946 ac_ext=c
47947 ac_cpp='$CPP $CPPFLAGS'
47948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47957 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47959 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47960 for ac_func in fpclass
47961 do :
47962 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47963 if test "x$ac_cv_func_fpclass" = x""yes; then :
47964 cat >>confdefs.h <<_ACEOF
47965 #define HAVE_FPCLASS 1
47966 _ACEOF
47969 done
47971 else
47973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47974 $as_echo_n "checking for _fpclass declaration... " >&6; }
47975 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47976 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47977 $as_echo_n "(cached) " >&6
47978 else
47981 ac_ext=cpp
47982 ac_cpp='$CXXCPP $CPPFLAGS'
47983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47988 /* end confdefs.h. */
47989 #include <math.h>
47990 #ifdef HAVE_IEEEFP_H
47991 #include <ieeefp.h>
47992 #endif
47995 main ()
47997 _fpclass(0);
47999 return 0;
48001 _ACEOF
48002 if ac_fn_cxx_try_compile "$LINENO"; then :
48003 glibcxx_cv_func__fpclass_use=yes
48004 else
48005 glibcxx_cv_func__fpclass_use=no
48007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48008 ac_ext=c
48009 ac_cpp='$CPP $CPPFLAGS'
48010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48019 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48021 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48022 for ac_func in _fpclass
48023 do :
48024 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48025 if test "x$ac_cv_func__fpclass" = x""yes; then :
48026 cat >>confdefs.h <<_ACEOF
48027 #define HAVE__FPCLASS 1
48028 _ACEOF
48031 done
48040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48041 $as_echo_n "checking for qfpclass declaration... " >&6; }
48042 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48043 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48044 $as_echo_n "(cached) " >&6
48045 else
48048 ac_ext=cpp
48049 ac_cpp='$CXXCPP $CPPFLAGS'
48050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48055 /* end confdefs.h. */
48056 #include <math.h>
48057 #ifdef HAVE_IEEEFP_H
48058 #include <ieeefp.h>
48059 #endif
48062 main ()
48064 qfpclass(0);
48066 return 0;
48068 _ACEOF
48069 if ac_fn_cxx_try_compile "$LINENO"; then :
48070 glibcxx_cv_func_qfpclass_use=yes
48071 else
48072 glibcxx_cv_func_qfpclass_use=no
48074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48075 ac_ext=c
48076 ac_cpp='$CPP $CPPFLAGS'
48077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48086 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48088 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48089 for ac_func in qfpclass
48090 do :
48091 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48092 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48093 cat >>confdefs.h <<_ACEOF
48094 #define HAVE_QFPCLASS 1
48095 _ACEOF
48098 done
48100 else
48102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48103 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48104 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48105 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48106 $as_echo_n "(cached) " >&6
48107 else
48110 ac_ext=cpp
48111 ac_cpp='$CXXCPP $CPPFLAGS'
48112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48117 /* end confdefs.h. */
48118 #include <math.h>
48119 #ifdef HAVE_IEEEFP_H
48120 #include <ieeefp.h>
48121 #endif
48124 main ()
48126 _qfpclass(0);
48128 return 0;
48130 _ACEOF
48131 if ac_fn_cxx_try_compile "$LINENO"; then :
48132 glibcxx_cv_func__qfpclass_use=yes
48133 else
48134 glibcxx_cv_func__qfpclass_use=no
48136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48137 ac_ext=c
48138 ac_cpp='$CPP $CPPFLAGS'
48139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48148 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48150 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48151 for ac_func in _qfpclass
48152 do :
48153 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48154 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48155 cat >>confdefs.h <<_ACEOF
48156 #define HAVE__QFPCLASS 1
48157 _ACEOF
48160 done
48169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48170 $as_echo_n "checking for hypot declaration... " >&6; }
48171 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48172 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48173 $as_echo_n "(cached) " >&6
48174 else
48177 ac_ext=cpp
48178 ac_cpp='$CXXCPP $CPPFLAGS'
48179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48184 /* end confdefs.h. */
48185 #include <math.h>
48187 main ()
48189 hypot(0, 0);
48191 return 0;
48193 _ACEOF
48194 if ac_fn_cxx_try_compile "$LINENO"; then :
48195 glibcxx_cv_func_hypot_use=yes
48196 else
48197 glibcxx_cv_func_hypot_use=no
48199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48200 ac_ext=c
48201 ac_cpp='$CPP $CPPFLAGS'
48202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48211 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48213 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48214 for ac_func in hypot
48215 do :
48216 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48217 if test "x$ac_cv_func_hypot" = x""yes; then :
48218 cat >>confdefs.h <<_ACEOF
48219 #define HAVE_HYPOT 1
48220 _ACEOF
48223 done
48225 else
48227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48228 $as_echo_n "checking for _hypot declaration... " >&6; }
48229 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48230 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48231 $as_echo_n "(cached) " >&6
48232 else
48235 ac_ext=cpp
48236 ac_cpp='$CXXCPP $CPPFLAGS'
48237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48242 /* end confdefs.h. */
48243 #include <math.h>
48245 main ()
48247 _hypot(0, 0);
48249 return 0;
48251 _ACEOF
48252 if ac_fn_cxx_try_compile "$LINENO"; then :
48253 glibcxx_cv_func__hypot_use=yes
48254 else
48255 glibcxx_cv_func__hypot_use=no
48257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48258 ac_ext=c
48259 ac_cpp='$CPP $CPPFLAGS'
48260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48269 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48271 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48272 for ac_func in _hypot
48273 do :
48274 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48275 if test "x$ac_cv_func__hypot" = x""yes; then :
48276 cat >>confdefs.h <<_ACEOF
48277 #define HAVE__HYPOT 1
48278 _ACEOF
48281 done
48290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48291 $as_echo_n "checking for float trig functions... " >&6; }
48292 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48293 $as_echo_n "(cached) " >&6
48294 else
48297 ac_ext=cpp
48298 ac_cpp='$CXXCPP $CPPFLAGS'
48299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48304 /* end confdefs.h. */
48305 #include <math.h>
48307 main ()
48309 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48311 return 0;
48313 _ACEOF
48314 if ac_fn_cxx_try_compile "$LINENO"; then :
48315 glibcxx_cv_func_float_trig_use=yes
48316 else
48317 glibcxx_cv_func_float_trig_use=no
48319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48320 ac_ext=c
48321 ac_cpp='$CPP $CPPFLAGS'
48322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48329 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48330 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48331 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48332 do :
48333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48335 eval as_val=\$$as_ac_var
48336 if test "x$as_val" = x""yes; then :
48337 cat >>confdefs.h <<_ACEOF
48338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48339 _ACEOF
48342 done
48344 else
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48346 $as_echo_n "checking for _float trig functions... " >&6; }
48347 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48348 $as_echo_n "(cached) " >&6
48349 else
48352 ac_ext=cpp
48353 ac_cpp='$CXXCPP $CPPFLAGS'
48354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48359 /* end confdefs.h. */
48360 #include <math.h>
48362 main ()
48364 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48366 return 0;
48368 _ACEOF
48369 if ac_fn_cxx_try_compile "$LINENO"; then :
48370 glibcxx_cv_func__float_trig_use=yes
48371 else
48372 glibcxx_cv_func__float_trig_use=no
48374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48375 ac_ext=c
48376 ac_cpp='$CPP $CPPFLAGS'
48377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48384 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48385 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48386 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48387 do :
48388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48390 eval as_val=\$$as_ac_var
48391 if test "x$as_val" = x""yes; then :
48392 cat >>confdefs.h <<_ACEOF
48393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48394 _ACEOF
48397 done
48406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48407 $as_echo_n "checking for float round functions... " >&6; }
48408 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48409 $as_echo_n "(cached) " >&6
48410 else
48413 ac_ext=cpp
48414 ac_cpp='$CXXCPP $CPPFLAGS'
48415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48420 /* end confdefs.h. */
48421 #include <math.h>
48423 main ()
48425 ceilf (0); floorf (0);
48427 return 0;
48429 _ACEOF
48430 if ac_fn_cxx_try_compile "$LINENO"; then :
48431 glibcxx_cv_func_float_round_use=yes
48432 else
48433 glibcxx_cv_func_float_round_use=no
48435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48436 ac_ext=c
48437 ac_cpp='$CPP $CPPFLAGS'
48438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48445 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48446 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48447 for ac_func in ceilf floorf
48448 do :
48449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48451 eval as_val=\$$as_ac_var
48452 if test "x$as_val" = x""yes; then :
48453 cat >>confdefs.h <<_ACEOF
48454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48455 _ACEOF
48458 done
48460 else
48461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48462 $as_echo_n "checking for _float round functions... " >&6; }
48463 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48464 $as_echo_n "(cached) " >&6
48465 else
48468 ac_ext=cpp
48469 ac_cpp='$CXXCPP $CPPFLAGS'
48470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48475 /* end confdefs.h. */
48476 #include <math.h>
48478 main ()
48480 _ceilf (0); _floorf (0);
48482 return 0;
48484 _ACEOF
48485 if ac_fn_cxx_try_compile "$LINENO"; then :
48486 glibcxx_cv_func__float_round_use=yes
48487 else
48488 glibcxx_cv_func__float_round_use=no
48490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48491 ac_ext=c
48492 ac_cpp='$CPP $CPPFLAGS'
48493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48500 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48501 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48502 for ac_func in _ceilf _floorf
48503 do :
48504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48506 eval as_val=\$$as_ac_var
48507 if test "x$as_val" = x""yes; then :
48508 cat >>confdefs.h <<_ACEOF
48509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48510 _ACEOF
48513 done
48523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48524 $as_echo_n "checking for expf declaration... " >&6; }
48525 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48526 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48527 $as_echo_n "(cached) " >&6
48528 else
48531 ac_ext=cpp
48532 ac_cpp='$CXXCPP $CPPFLAGS'
48533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48538 /* end confdefs.h. */
48539 #include <math.h>
48540 #ifdef HAVE_IEEEFP_H
48541 #include <ieeefp.h>
48542 #endif
48545 main ()
48547 expf(0);
48549 return 0;
48551 _ACEOF
48552 if ac_fn_cxx_try_compile "$LINENO"; then :
48553 glibcxx_cv_func_expf_use=yes
48554 else
48555 glibcxx_cv_func_expf_use=no
48557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48558 ac_ext=c
48559 ac_cpp='$CPP $CPPFLAGS'
48560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48569 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48571 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48572 for ac_func in expf
48573 do :
48574 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48575 if test "x$ac_cv_func_expf" = x""yes; then :
48576 cat >>confdefs.h <<_ACEOF
48577 #define HAVE_EXPF 1
48578 _ACEOF
48581 done
48583 else
48585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48586 $as_echo_n "checking for _expf declaration... " >&6; }
48587 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48588 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48589 $as_echo_n "(cached) " >&6
48590 else
48593 ac_ext=cpp
48594 ac_cpp='$CXXCPP $CPPFLAGS'
48595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48600 /* end confdefs.h. */
48601 #include <math.h>
48602 #ifdef HAVE_IEEEFP_H
48603 #include <ieeefp.h>
48604 #endif
48607 main ()
48609 _expf(0);
48611 return 0;
48613 _ACEOF
48614 if ac_fn_cxx_try_compile "$LINENO"; then :
48615 glibcxx_cv_func__expf_use=yes
48616 else
48617 glibcxx_cv_func__expf_use=no
48619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48620 ac_ext=c
48621 ac_cpp='$CPP $CPPFLAGS'
48622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48631 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48633 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48634 for ac_func in _expf
48635 do :
48636 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48637 if test "x$ac_cv_func__expf" = x""yes; then :
48638 cat >>confdefs.h <<_ACEOF
48639 #define HAVE__EXPF 1
48640 _ACEOF
48643 done
48652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48653 $as_echo_n "checking for isnanf declaration... " >&6; }
48654 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48655 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48656 $as_echo_n "(cached) " >&6
48657 else
48660 ac_ext=cpp
48661 ac_cpp='$CXXCPP $CPPFLAGS'
48662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48667 /* end confdefs.h. */
48668 #include <math.h>
48669 #ifdef HAVE_IEEEFP_H
48670 #include <ieeefp.h>
48671 #endif
48674 main ()
48676 isnanf(0);
48678 return 0;
48680 _ACEOF
48681 if ac_fn_cxx_try_compile "$LINENO"; then :
48682 glibcxx_cv_func_isnanf_use=yes
48683 else
48684 glibcxx_cv_func_isnanf_use=no
48686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48687 ac_ext=c
48688 ac_cpp='$CPP $CPPFLAGS'
48689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48698 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48700 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48701 for ac_func in isnanf
48702 do :
48703 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48704 if test "x$ac_cv_func_isnanf" = x""yes; then :
48705 cat >>confdefs.h <<_ACEOF
48706 #define HAVE_ISNANF 1
48707 _ACEOF
48710 done
48712 else
48714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48715 $as_echo_n "checking for _isnanf declaration... " >&6; }
48716 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48717 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48718 $as_echo_n "(cached) " >&6
48719 else
48722 ac_ext=cpp
48723 ac_cpp='$CXXCPP $CPPFLAGS'
48724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48729 /* end confdefs.h. */
48730 #include <math.h>
48731 #ifdef HAVE_IEEEFP_H
48732 #include <ieeefp.h>
48733 #endif
48736 main ()
48738 _isnanf(0);
48740 return 0;
48742 _ACEOF
48743 if ac_fn_cxx_try_compile "$LINENO"; then :
48744 glibcxx_cv_func__isnanf_use=yes
48745 else
48746 glibcxx_cv_func__isnanf_use=no
48748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48749 ac_ext=c
48750 ac_cpp='$CPP $CPPFLAGS'
48751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48760 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48762 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48763 for ac_func in _isnanf
48764 do :
48765 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48766 if test "x$ac_cv_func__isnanf" = x""yes; then :
48767 cat >>confdefs.h <<_ACEOF
48768 #define HAVE__ISNANF 1
48769 _ACEOF
48772 done
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48782 $as_echo_n "checking for isinff declaration... " >&6; }
48783 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48784 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48785 $as_echo_n "(cached) " >&6
48786 else
48789 ac_ext=cpp
48790 ac_cpp='$CXXCPP $CPPFLAGS'
48791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48796 /* end confdefs.h. */
48797 #include <math.h>
48798 #ifdef HAVE_IEEEFP_H
48799 #include <ieeefp.h>
48800 #endif
48803 main ()
48805 isinff(0);
48807 return 0;
48809 _ACEOF
48810 if ac_fn_cxx_try_compile "$LINENO"; then :
48811 glibcxx_cv_func_isinff_use=yes
48812 else
48813 glibcxx_cv_func_isinff_use=no
48815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48816 ac_ext=c
48817 ac_cpp='$CPP $CPPFLAGS'
48818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48827 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48829 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48830 for ac_func in isinff
48831 do :
48832 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48833 if test "x$ac_cv_func_isinff" = x""yes; then :
48834 cat >>confdefs.h <<_ACEOF
48835 #define HAVE_ISINFF 1
48836 _ACEOF
48839 done
48841 else
48843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48844 $as_echo_n "checking for _isinff declaration... " >&6; }
48845 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48846 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48847 $as_echo_n "(cached) " >&6
48848 else
48851 ac_ext=cpp
48852 ac_cpp='$CXXCPP $CPPFLAGS'
48853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48858 /* end confdefs.h. */
48859 #include <math.h>
48860 #ifdef HAVE_IEEEFP_H
48861 #include <ieeefp.h>
48862 #endif
48865 main ()
48867 _isinff(0);
48869 return 0;
48871 _ACEOF
48872 if ac_fn_cxx_try_compile "$LINENO"; then :
48873 glibcxx_cv_func__isinff_use=yes
48874 else
48875 glibcxx_cv_func__isinff_use=no
48877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48878 ac_ext=c
48879 ac_cpp='$CPP $CPPFLAGS'
48880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48889 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48891 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48892 for ac_func in _isinff
48893 do :
48894 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48895 if test "x$ac_cv_func__isinff" = x""yes; then :
48896 cat >>confdefs.h <<_ACEOF
48897 #define HAVE__ISINFF 1
48898 _ACEOF
48901 done
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48911 $as_echo_n "checking for atan2f declaration... " >&6; }
48912 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48913 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48914 $as_echo_n "(cached) " >&6
48915 else
48918 ac_ext=cpp
48919 ac_cpp='$CXXCPP $CPPFLAGS'
48920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48925 /* end confdefs.h. */
48926 #include <math.h>
48928 main ()
48930 atan2f(0, 0);
48932 return 0;
48934 _ACEOF
48935 if ac_fn_cxx_try_compile "$LINENO"; then :
48936 glibcxx_cv_func_atan2f_use=yes
48937 else
48938 glibcxx_cv_func_atan2f_use=no
48940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48941 ac_ext=c
48942 ac_cpp='$CPP $CPPFLAGS'
48943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48952 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48954 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48955 for ac_func in atan2f
48956 do :
48957 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48958 if test "x$ac_cv_func_atan2f" = x""yes; then :
48959 cat >>confdefs.h <<_ACEOF
48960 #define HAVE_ATAN2F 1
48961 _ACEOF
48964 done
48966 else
48968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48969 $as_echo_n "checking for _atan2f declaration... " >&6; }
48970 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48971 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48972 $as_echo_n "(cached) " >&6
48973 else
48976 ac_ext=cpp
48977 ac_cpp='$CXXCPP $CPPFLAGS'
48978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48983 /* end confdefs.h. */
48984 #include <math.h>
48986 main ()
48988 _atan2f(0, 0);
48990 return 0;
48992 _ACEOF
48993 if ac_fn_cxx_try_compile "$LINENO"; then :
48994 glibcxx_cv_func__atan2f_use=yes
48995 else
48996 glibcxx_cv_func__atan2f_use=no
48998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48999 ac_ext=c
49000 ac_cpp='$CPP $CPPFLAGS'
49001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49010 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49012 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49013 for ac_func in _atan2f
49014 do :
49015 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49016 if test "x$ac_cv_func__atan2f" = x""yes; then :
49017 cat >>confdefs.h <<_ACEOF
49018 #define HAVE__ATAN2F 1
49019 _ACEOF
49022 done
49031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49032 $as_echo_n "checking for fabsf declaration... " >&6; }
49033 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49034 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49035 $as_echo_n "(cached) " >&6
49036 else
49039 ac_ext=cpp
49040 ac_cpp='$CXXCPP $CPPFLAGS'
49041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49046 /* end confdefs.h. */
49047 #include <math.h>
49048 #ifdef HAVE_IEEEFP_H
49049 #include <ieeefp.h>
49050 #endif
49053 main ()
49055 fabsf(0);
49057 return 0;
49059 _ACEOF
49060 if ac_fn_cxx_try_compile "$LINENO"; then :
49061 glibcxx_cv_func_fabsf_use=yes
49062 else
49063 glibcxx_cv_func_fabsf_use=no
49065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066 ac_ext=c
49067 ac_cpp='$CPP $CPPFLAGS'
49068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49077 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49079 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49080 for ac_func in fabsf
49081 do :
49082 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49083 if test "x$ac_cv_func_fabsf" = x""yes; then :
49084 cat >>confdefs.h <<_ACEOF
49085 #define HAVE_FABSF 1
49086 _ACEOF
49089 done
49091 else
49093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49094 $as_echo_n "checking for _fabsf declaration... " >&6; }
49095 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49096 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49097 $as_echo_n "(cached) " >&6
49098 else
49101 ac_ext=cpp
49102 ac_cpp='$CXXCPP $CPPFLAGS'
49103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49108 /* end confdefs.h. */
49109 #include <math.h>
49110 #ifdef HAVE_IEEEFP_H
49111 #include <ieeefp.h>
49112 #endif
49115 main ()
49117 _fabsf(0);
49119 return 0;
49121 _ACEOF
49122 if ac_fn_cxx_try_compile "$LINENO"; then :
49123 glibcxx_cv_func__fabsf_use=yes
49124 else
49125 glibcxx_cv_func__fabsf_use=no
49127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49128 ac_ext=c
49129 ac_cpp='$CPP $CPPFLAGS'
49130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49139 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49141 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49142 for ac_func in _fabsf
49143 do :
49144 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49145 if test "x$ac_cv_func__fabsf" = x""yes; then :
49146 cat >>confdefs.h <<_ACEOF
49147 #define HAVE__FABSF 1
49148 _ACEOF
49151 done
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49161 $as_echo_n "checking for fmodf declaration... " >&6; }
49162 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49163 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49164 $as_echo_n "(cached) " >&6
49165 else
49168 ac_ext=cpp
49169 ac_cpp='$CXXCPP $CPPFLAGS'
49170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175 /* end confdefs.h. */
49176 #include <math.h>
49178 main ()
49180 fmodf(0, 0);
49182 return 0;
49184 _ACEOF
49185 if ac_fn_cxx_try_compile "$LINENO"; then :
49186 glibcxx_cv_func_fmodf_use=yes
49187 else
49188 glibcxx_cv_func_fmodf_use=no
49190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49191 ac_ext=c
49192 ac_cpp='$CPP $CPPFLAGS'
49193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49202 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49204 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49205 for ac_func in fmodf
49206 do :
49207 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49208 if test "x$ac_cv_func_fmodf" = x""yes; then :
49209 cat >>confdefs.h <<_ACEOF
49210 #define HAVE_FMODF 1
49211 _ACEOF
49214 done
49216 else
49218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49219 $as_echo_n "checking for _fmodf declaration... " >&6; }
49220 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49221 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49222 $as_echo_n "(cached) " >&6
49223 else
49226 ac_ext=cpp
49227 ac_cpp='$CXXCPP $CPPFLAGS'
49228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49233 /* end confdefs.h. */
49234 #include <math.h>
49236 main ()
49238 _fmodf(0, 0);
49240 return 0;
49242 _ACEOF
49243 if ac_fn_cxx_try_compile "$LINENO"; then :
49244 glibcxx_cv_func__fmodf_use=yes
49245 else
49246 glibcxx_cv_func__fmodf_use=no
49248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49249 ac_ext=c
49250 ac_cpp='$CPP $CPPFLAGS'
49251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49260 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49262 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49263 for ac_func in _fmodf
49264 do :
49265 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49266 if test "x$ac_cv_func__fmodf" = x""yes; then :
49267 cat >>confdefs.h <<_ACEOF
49268 #define HAVE__FMODF 1
49269 _ACEOF
49272 done
49281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49282 $as_echo_n "checking for frexpf declaration... " >&6; }
49283 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49284 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49285 $as_echo_n "(cached) " >&6
49286 else
49289 ac_ext=cpp
49290 ac_cpp='$CXXCPP $CPPFLAGS'
49291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49296 /* end confdefs.h. */
49297 #include <math.h>
49299 main ()
49301 frexpf(0, 0);
49303 return 0;
49305 _ACEOF
49306 if ac_fn_cxx_try_compile "$LINENO"; then :
49307 glibcxx_cv_func_frexpf_use=yes
49308 else
49309 glibcxx_cv_func_frexpf_use=no
49311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49312 ac_ext=c
49313 ac_cpp='$CPP $CPPFLAGS'
49314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49323 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49325 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49326 for ac_func in frexpf
49327 do :
49328 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49329 if test "x$ac_cv_func_frexpf" = x""yes; then :
49330 cat >>confdefs.h <<_ACEOF
49331 #define HAVE_FREXPF 1
49332 _ACEOF
49335 done
49337 else
49339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49340 $as_echo_n "checking for _frexpf declaration... " >&6; }
49341 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49342 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49343 $as_echo_n "(cached) " >&6
49344 else
49347 ac_ext=cpp
49348 ac_cpp='$CXXCPP $CPPFLAGS'
49349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49354 /* end confdefs.h. */
49355 #include <math.h>
49357 main ()
49359 _frexpf(0, 0);
49361 return 0;
49363 _ACEOF
49364 if ac_fn_cxx_try_compile "$LINENO"; then :
49365 glibcxx_cv_func__frexpf_use=yes
49366 else
49367 glibcxx_cv_func__frexpf_use=no
49369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49370 ac_ext=c
49371 ac_cpp='$CPP $CPPFLAGS'
49372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49381 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49383 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49384 for ac_func in _frexpf
49385 do :
49386 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49387 if test "x$ac_cv_func__frexpf" = x""yes; then :
49388 cat >>confdefs.h <<_ACEOF
49389 #define HAVE__FREXPF 1
49390 _ACEOF
49393 done
49402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49403 $as_echo_n "checking for hypotf declaration... " >&6; }
49404 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49405 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49406 $as_echo_n "(cached) " >&6
49407 else
49410 ac_ext=cpp
49411 ac_cpp='$CXXCPP $CPPFLAGS'
49412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49417 /* end confdefs.h. */
49418 #include <math.h>
49420 main ()
49422 hypotf(0, 0);
49424 return 0;
49426 _ACEOF
49427 if ac_fn_cxx_try_compile "$LINENO"; then :
49428 glibcxx_cv_func_hypotf_use=yes
49429 else
49430 glibcxx_cv_func_hypotf_use=no
49432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49433 ac_ext=c
49434 ac_cpp='$CPP $CPPFLAGS'
49435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49444 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49446 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49447 for ac_func in hypotf
49448 do :
49449 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49450 if test "x$ac_cv_func_hypotf" = x""yes; then :
49451 cat >>confdefs.h <<_ACEOF
49452 #define HAVE_HYPOTF 1
49453 _ACEOF
49456 done
49458 else
49460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49461 $as_echo_n "checking for _hypotf declaration... " >&6; }
49462 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49463 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49464 $as_echo_n "(cached) " >&6
49465 else
49468 ac_ext=cpp
49469 ac_cpp='$CXXCPP $CPPFLAGS'
49470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49475 /* end confdefs.h. */
49476 #include <math.h>
49478 main ()
49480 _hypotf(0, 0);
49482 return 0;
49484 _ACEOF
49485 if ac_fn_cxx_try_compile "$LINENO"; then :
49486 glibcxx_cv_func__hypotf_use=yes
49487 else
49488 glibcxx_cv_func__hypotf_use=no
49490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49491 ac_ext=c
49492 ac_cpp='$CPP $CPPFLAGS'
49493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49502 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49504 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49505 for ac_func in _hypotf
49506 do :
49507 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49508 if test "x$ac_cv_func__hypotf" = x""yes; then :
49509 cat >>confdefs.h <<_ACEOF
49510 #define HAVE__HYPOTF 1
49511 _ACEOF
49514 done
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49524 $as_echo_n "checking for ldexpf declaration... " >&6; }
49525 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49526 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49527 $as_echo_n "(cached) " >&6
49528 else
49531 ac_ext=cpp
49532 ac_cpp='$CXXCPP $CPPFLAGS'
49533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49538 /* end confdefs.h. */
49539 #include <math.h>
49541 main ()
49543 ldexpf(0, 0);
49545 return 0;
49547 _ACEOF
49548 if ac_fn_cxx_try_compile "$LINENO"; then :
49549 glibcxx_cv_func_ldexpf_use=yes
49550 else
49551 glibcxx_cv_func_ldexpf_use=no
49553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49554 ac_ext=c
49555 ac_cpp='$CPP $CPPFLAGS'
49556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49565 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49567 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49568 for ac_func in ldexpf
49569 do :
49570 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49571 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49572 cat >>confdefs.h <<_ACEOF
49573 #define HAVE_LDEXPF 1
49574 _ACEOF
49577 done
49579 else
49581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49582 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49583 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49584 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49585 $as_echo_n "(cached) " >&6
49586 else
49589 ac_ext=cpp
49590 ac_cpp='$CXXCPP $CPPFLAGS'
49591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49596 /* end confdefs.h. */
49597 #include <math.h>
49599 main ()
49601 _ldexpf(0, 0);
49603 return 0;
49605 _ACEOF
49606 if ac_fn_cxx_try_compile "$LINENO"; then :
49607 glibcxx_cv_func__ldexpf_use=yes
49608 else
49609 glibcxx_cv_func__ldexpf_use=no
49611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49612 ac_ext=c
49613 ac_cpp='$CPP $CPPFLAGS'
49614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49623 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49625 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49626 for ac_func in _ldexpf
49627 do :
49628 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49629 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49630 cat >>confdefs.h <<_ACEOF
49631 #define HAVE__LDEXPF 1
49632 _ACEOF
49635 done
49644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49645 $as_echo_n "checking for logf declaration... " >&6; }
49646 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49647 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49648 $as_echo_n "(cached) " >&6
49649 else
49652 ac_ext=cpp
49653 ac_cpp='$CXXCPP $CPPFLAGS'
49654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49659 /* end confdefs.h. */
49660 #include <math.h>
49661 #ifdef HAVE_IEEEFP_H
49662 #include <ieeefp.h>
49663 #endif
49666 main ()
49668 logf(0);
49670 return 0;
49672 _ACEOF
49673 if ac_fn_cxx_try_compile "$LINENO"; then :
49674 glibcxx_cv_func_logf_use=yes
49675 else
49676 glibcxx_cv_func_logf_use=no
49678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49679 ac_ext=c
49680 ac_cpp='$CPP $CPPFLAGS'
49681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49690 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49692 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49693 for ac_func in logf
49694 do :
49695 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49696 if test "x$ac_cv_func_logf" = x""yes; then :
49697 cat >>confdefs.h <<_ACEOF
49698 #define HAVE_LOGF 1
49699 _ACEOF
49702 done
49704 else
49706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49707 $as_echo_n "checking for _logf declaration... " >&6; }
49708 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49709 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49710 $as_echo_n "(cached) " >&6
49711 else
49714 ac_ext=cpp
49715 ac_cpp='$CXXCPP $CPPFLAGS'
49716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49721 /* end confdefs.h. */
49722 #include <math.h>
49723 #ifdef HAVE_IEEEFP_H
49724 #include <ieeefp.h>
49725 #endif
49728 main ()
49730 _logf(0);
49732 return 0;
49734 _ACEOF
49735 if ac_fn_cxx_try_compile "$LINENO"; then :
49736 glibcxx_cv_func__logf_use=yes
49737 else
49738 glibcxx_cv_func__logf_use=no
49740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49741 ac_ext=c
49742 ac_cpp='$CPP $CPPFLAGS'
49743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49752 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49754 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49755 for ac_func in _logf
49756 do :
49757 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49758 if test "x$ac_cv_func__logf" = x""yes; then :
49759 cat >>confdefs.h <<_ACEOF
49760 #define HAVE__LOGF 1
49761 _ACEOF
49764 done
49773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49774 $as_echo_n "checking for log10f declaration... " >&6; }
49775 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49776 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49777 $as_echo_n "(cached) " >&6
49778 else
49781 ac_ext=cpp
49782 ac_cpp='$CXXCPP $CPPFLAGS'
49783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49788 /* end confdefs.h. */
49789 #include <math.h>
49790 #ifdef HAVE_IEEEFP_H
49791 #include <ieeefp.h>
49792 #endif
49795 main ()
49797 log10f(0);
49799 return 0;
49801 _ACEOF
49802 if ac_fn_cxx_try_compile "$LINENO"; then :
49803 glibcxx_cv_func_log10f_use=yes
49804 else
49805 glibcxx_cv_func_log10f_use=no
49807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49808 ac_ext=c
49809 ac_cpp='$CPP $CPPFLAGS'
49810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49819 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49821 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49822 for ac_func in log10f
49823 do :
49824 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49825 if test "x$ac_cv_func_log10f" = x""yes; then :
49826 cat >>confdefs.h <<_ACEOF
49827 #define HAVE_LOG10F 1
49828 _ACEOF
49831 done
49833 else
49835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49836 $as_echo_n "checking for _log10f declaration... " >&6; }
49837 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49838 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49839 $as_echo_n "(cached) " >&6
49840 else
49843 ac_ext=cpp
49844 ac_cpp='$CXXCPP $CPPFLAGS'
49845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49850 /* end confdefs.h. */
49851 #include <math.h>
49852 #ifdef HAVE_IEEEFP_H
49853 #include <ieeefp.h>
49854 #endif
49857 main ()
49859 _log10f(0);
49861 return 0;
49863 _ACEOF
49864 if ac_fn_cxx_try_compile "$LINENO"; then :
49865 glibcxx_cv_func__log10f_use=yes
49866 else
49867 glibcxx_cv_func__log10f_use=no
49869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49870 ac_ext=c
49871 ac_cpp='$CPP $CPPFLAGS'
49872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49881 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49883 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49884 for ac_func in _log10f
49885 do :
49886 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49887 if test "x$ac_cv_func__log10f" = x""yes; then :
49888 cat >>confdefs.h <<_ACEOF
49889 #define HAVE__LOG10F 1
49890 _ACEOF
49893 done
49902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49903 $as_echo_n "checking for modff declaration... " >&6; }
49904 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49905 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49906 $as_echo_n "(cached) " >&6
49907 else
49910 ac_ext=cpp
49911 ac_cpp='$CXXCPP $CPPFLAGS'
49912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49917 /* end confdefs.h. */
49918 #include <math.h>
49920 main ()
49922 modff(0, 0);
49924 return 0;
49926 _ACEOF
49927 if ac_fn_cxx_try_compile "$LINENO"; then :
49928 glibcxx_cv_func_modff_use=yes
49929 else
49930 glibcxx_cv_func_modff_use=no
49932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49933 ac_ext=c
49934 ac_cpp='$CPP $CPPFLAGS'
49935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49944 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49946 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49947 for ac_func in modff
49948 do :
49949 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49950 if test "x$ac_cv_func_modff" = x""yes; then :
49951 cat >>confdefs.h <<_ACEOF
49952 #define HAVE_MODFF 1
49953 _ACEOF
49956 done
49958 else
49960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49961 $as_echo_n "checking for _modff declaration... " >&6; }
49962 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49963 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49964 $as_echo_n "(cached) " >&6
49965 else
49968 ac_ext=cpp
49969 ac_cpp='$CXXCPP $CPPFLAGS'
49970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49975 /* end confdefs.h. */
49976 #include <math.h>
49978 main ()
49980 _modff(0, 0);
49982 return 0;
49984 _ACEOF
49985 if ac_fn_cxx_try_compile "$LINENO"; then :
49986 glibcxx_cv_func__modff_use=yes
49987 else
49988 glibcxx_cv_func__modff_use=no
49990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49991 ac_ext=c
49992 ac_cpp='$CPP $CPPFLAGS'
49993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50002 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50004 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50005 for ac_func in _modff
50006 do :
50007 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50008 if test "x$ac_cv_func__modff" = x""yes; then :
50009 cat >>confdefs.h <<_ACEOF
50010 #define HAVE__MODFF 1
50011 _ACEOF
50014 done
50023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50024 $as_echo_n "checking for modf declaration... " >&6; }
50025 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50026 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50027 $as_echo_n "(cached) " >&6
50028 else
50031 ac_ext=cpp
50032 ac_cpp='$CXXCPP $CPPFLAGS'
50033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50038 /* end confdefs.h. */
50039 #include <math.h>
50041 main ()
50043 modf(0, 0);
50045 return 0;
50047 _ACEOF
50048 if ac_fn_cxx_try_compile "$LINENO"; then :
50049 glibcxx_cv_func_modf_use=yes
50050 else
50051 glibcxx_cv_func_modf_use=no
50053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50054 ac_ext=c
50055 ac_cpp='$CPP $CPPFLAGS'
50056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50065 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50067 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50068 for ac_func in modf
50069 do :
50070 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50071 if test "x$ac_cv_func_modf" = x""yes; then :
50072 cat >>confdefs.h <<_ACEOF
50073 #define HAVE_MODF 1
50074 _ACEOF
50077 done
50079 else
50081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50082 $as_echo_n "checking for _modf declaration... " >&6; }
50083 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50084 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50085 $as_echo_n "(cached) " >&6
50086 else
50089 ac_ext=cpp
50090 ac_cpp='$CXXCPP $CPPFLAGS'
50091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50096 /* end confdefs.h. */
50097 #include <math.h>
50099 main ()
50101 _modf(0, 0);
50103 return 0;
50105 _ACEOF
50106 if ac_fn_cxx_try_compile "$LINENO"; then :
50107 glibcxx_cv_func__modf_use=yes
50108 else
50109 glibcxx_cv_func__modf_use=no
50111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50112 ac_ext=c
50113 ac_cpp='$CPP $CPPFLAGS'
50114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50123 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50125 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50126 for ac_func in _modf
50127 do :
50128 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50129 if test "x$ac_cv_func__modf" = x""yes; then :
50130 cat >>confdefs.h <<_ACEOF
50131 #define HAVE__MODF 1
50132 _ACEOF
50135 done
50144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50145 $as_echo_n "checking for powf declaration... " >&6; }
50146 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50147 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50148 $as_echo_n "(cached) " >&6
50149 else
50152 ac_ext=cpp
50153 ac_cpp='$CXXCPP $CPPFLAGS'
50154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50159 /* end confdefs.h. */
50160 #include <math.h>
50162 main ()
50164 powf(0, 0);
50166 return 0;
50168 _ACEOF
50169 if ac_fn_cxx_try_compile "$LINENO"; then :
50170 glibcxx_cv_func_powf_use=yes
50171 else
50172 glibcxx_cv_func_powf_use=no
50174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50175 ac_ext=c
50176 ac_cpp='$CPP $CPPFLAGS'
50177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50186 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50188 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50189 for ac_func in powf
50190 do :
50191 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50192 if test "x$ac_cv_func_powf" = x""yes; then :
50193 cat >>confdefs.h <<_ACEOF
50194 #define HAVE_POWF 1
50195 _ACEOF
50198 done
50200 else
50202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50203 $as_echo_n "checking for _powf declaration... " >&6; }
50204 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50205 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50206 $as_echo_n "(cached) " >&6
50207 else
50210 ac_ext=cpp
50211 ac_cpp='$CXXCPP $CPPFLAGS'
50212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50217 /* end confdefs.h. */
50218 #include <math.h>
50220 main ()
50222 _powf(0, 0);
50224 return 0;
50226 _ACEOF
50227 if ac_fn_cxx_try_compile "$LINENO"; then :
50228 glibcxx_cv_func__powf_use=yes
50229 else
50230 glibcxx_cv_func__powf_use=no
50232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50233 ac_ext=c
50234 ac_cpp='$CPP $CPPFLAGS'
50235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50244 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50246 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50247 for ac_func in _powf
50248 do :
50249 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50250 if test "x$ac_cv_func__powf" = x""yes; then :
50251 cat >>confdefs.h <<_ACEOF
50252 #define HAVE__POWF 1
50253 _ACEOF
50256 done
50265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50266 $as_echo_n "checking for sqrtf declaration... " >&6; }
50267 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50268 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50269 $as_echo_n "(cached) " >&6
50270 else
50273 ac_ext=cpp
50274 ac_cpp='$CXXCPP $CPPFLAGS'
50275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50280 /* end confdefs.h. */
50281 #include <math.h>
50282 #ifdef HAVE_IEEEFP_H
50283 #include <ieeefp.h>
50284 #endif
50287 main ()
50289 sqrtf(0);
50291 return 0;
50293 _ACEOF
50294 if ac_fn_cxx_try_compile "$LINENO"; then :
50295 glibcxx_cv_func_sqrtf_use=yes
50296 else
50297 glibcxx_cv_func_sqrtf_use=no
50299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50300 ac_ext=c
50301 ac_cpp='$CPP $CPPFLAGS'
50302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50311 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50313 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50314 for ac_func in sqrtf
50315 do :
50316 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50317 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50318 cat >>confdefs.h <<_ACEOF
50319 #define HAVE_SQRTF 1
50320 _ACEOF
50323 done
50325 else
50327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50328 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50329 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50330 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50331 $as_echo_n "(cached) " >&6
50332 else
50335 ac_ext=cpp
50336 ac_cpp='$CXXCPP $CPPFLAGS'
50337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50342 /* end confdefs.h. */
50343 #include <math.h>
50344 #ifdef HAVE_IEEEFP_H
50345 #include <ieeefp.h>
50346 #endif
50349 main ()
50351 _sqrtf(0);
50353 return 0;
50355 _ACEOF
50356 if ac_fn_cxx_try_compile "$LINENO"; then :
50357 glibcxx_cv_func__sqrtf_use=yes
50358 else
50359 glibcxx_cv_func__sqrtf_use=no
50361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50362 ac_ext=c
50363 ac_cpp='$CPP $CPPFLAGS'
50364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50373 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50375 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50376 for ac_func in _sqrtf
50377 do :
50378 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50379 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50380 cat >>confdefs.h <<_ACEOF
50381 #define HAVE__SQRTF 1
50382 _ACEOF
50385 done
50394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50395 $as_echo_n "checking for sincosf declaration... " >&6; }
50396 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50397 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50398 $as_echo_n "(cached) " >&6
50399 else
50402 ac_ext=cpp
50403 ac_cpp='$CXXCPP $CPPFLAGS'
50404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50409 /* end confdefs.h. */
50410 #include <math.h>
50412 main ()
50414 sincosf(0, 0, 0);
50416 return 0;
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420 glibcxx_cv_func_sincosf_use=yes
50421 else
50422 glibcxx_cv_func_sincosf_use=no
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425 ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50436 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50438 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50439 for ac_func in sincosf
50440 do :
50441 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50442 if test "x$ac_cv_func_sincosf" = x""yes; then :
50443 cat >>confdefs.h <<_ACEOF
50444 #define HAVE_SINCOSF 1
50445 _ACEOF
50448 done
50450 else
50452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50453 $as_echo_n "checking for _sincosf declaration... " >&6; }
50454 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50455 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50456 $as_echo_n "(cached) " >&6
50457 else
50460 ac_ext=cpp
50461 ac_cpp='$CXXCPP $CPPFLAGS'
50462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h. */
50468 #include <math.h>
50470 main ()
50472 _sincosf(0, 0, 0);
50474 return 0;
50476 _ACEOF
50477 if ac_fn_cxx_try_compile "$LINENO"; then :
50478 glibcxx_cv_func__sincosf_use=yes
50479 else
50480 glibcxx_cv_func__sincosf_use=no
50482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50483 ac_ext=c
50484 ac_cpp='$CPP $CPPFLAGS'
50485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50494 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50496 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50497 for ac_func in _sincosf
50498 do :
50499 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50500 if test "x$ac_cv_func__sincosf" = x""yes; then :
50501 cat >>confdefs.h <<_ACEOF
50502 #define HAVE__SINCOSF 1
50503 _ACEOF
50506 done
50515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50516 $as_echo_n "checking for finitef declaration... " >&6; }
50517 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50518 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50519 $as_echo_n "(cached) " >&6
50520 else
50523 ac_ext=cpp
50524 ac_cpp='$CXXCPP $CPPFLAGS'
50525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50530 /* end confdefs.h. */
50531 #include <math.h>
50532 #ifdef HAVE_IEEEFP_H
50533 #include <ieeefp.h>
50534 #endif
50537 main ()
50539 finitef(0);
50541 return 0;
50543 _ACEOF
50544 if ac_fn_cxx_try_compile "$LINENO"; then :
50545 glibcxx_cv_func_finitef_use=yes
50546 else
50547 glibcxx_cv_func_finitef_use=no
50549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50550 ac_ext=c
50551 ac_cpp='$CPP $CPPFLAGS'
50552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50561 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50563 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50564 for ac_func in finitef
50565 do :
50566 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50567 if test "x$ac_cv_func_finitef" = x""yes; then :
50568 cat >>confdefs.h <<_ACEOF
50569 #define HAVE_FINITEF 1
50570 _ACEOF
50573 done
50575 else
50577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50578 $as_echo_n "checking for _finitef declaration... " >&6; }
50579 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50580 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50581 $as_echo_n "(cached) " >&6
50582 else
50585 ac_ext=cpp
50586 ac_cpp='$CXXCPP $CPPFLAGS'
50587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50592 /* end confdefs.h. */
50593 #include <math.h>
50594 #ifdef HAVE_IEEEFP_H
50595 #include <ieeefp.h>
50596 #endif
50599 main ()
50601 _finitef(0);
50603 return 0;
50605 _ACEOF
50606 if ac_fn_cxx_try_compile "$LINENO"; then :
50607 glibcxx_cv_func__finitef_use=yes
50608 else
50609 glibcxx_cv_func__finitef_use=no
50611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50612 ac_ext=c
50613 ac_cpp='$CPP $CPPFLAGS'
50614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50623 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50625 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50626 for ac_func in _finitef
50627 do :
50628 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50629 if test "x$ac_cv_func__finitef" = x""yes; then :
50630 cat >>confdefs.h <<_ACEOF
50631 #define HAVE__FINITEF 1
50632 _ACEOF
50635 done
50644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50645 $as_echo_n "checking for long double trig functions... " >&6; }
50646 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50647 $as_echo_n "(cached) " >&6
50648 else
50651 ac_ext=cpp
50652 ac_cpp='$CXXCPP $CPPFLAGS'
50653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50658 /* end confdefs.h. */
50659 #include <math.h>
50661 main ()
50663 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50665 return 0;
50667 _ACEOF
50668 if ac_fn_cxx_try_compile "$LINENO"; then :
50669 glibcxx_cv_func_long_double_trig_use=yes
50670 else
50671 glibcxx_cv_func_long_double_trig_use=no
50673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50674 ac_ext=c
50675 ac_cpp='$CPP $CPPFLAGS'
50676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50683 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50684 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50685 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50686 do :
50687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50689 eval as_val=\$$as_ac_var
50690 if test "x$as_val" = x""yes; then :
50691 cat >>confdefs.h <<_ACEOF
50692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50693 _ACEOF
50696 done
50698 else
50699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50700 $as_echo_n "checking for _long double trig functions... " >&6; }
50701 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50702 $as_echo_n "(cached) " >&6
50703 else
50706 ac_ext=cpp
50707 ac_cpp='$CXXCPP $CPPFLAGS'
50708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50713 /* end confdefs.h. */
50714 #include <math.h>
50716 main ()
50718 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50720 return 0;
50722 _ACEOF
50723 if ac_fn_cxx_try_compile "$LINENO"; then :
50724 glibcxx_cv_func__long_double_trig_use=yes
50725 else
50726 glibcxx_cv_func__long_double_trig_use=no
50728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50729 ac_ext=c
50730 ac_cpp='$CPP $CPPFLAGS'
50731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50738 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50739 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50740 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50741 do :
50742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50744 eval as_val=\$$as_ac_var
50745 if test "x$as_val" = x""yes; then :
50746 cat >>confdefs.h <<_ACEOF
50747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50748 _ACEOF
50751 done
50760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50761 $as_echo_n "checking for long double round functions... " >&6; }
50762 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50763 $as_echo_n "(cached) " >&6
50764 else
50767 ac_ext=cpp
50768 ac_cpp='$CXXCPP $CPPFLAGS'
50769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50774 /* end confdefs.h. */
50775 #include <math.h>
50777 main ()
50779 ceill (0); floorl (0);
50781 return 0;
50783 _ACEOF
50784 if ac_fn_cxx_try_compile "$LINENO"; then :
50785 glibcxx_cv_func_long_double_round_use=yes
50786 else
50787 glibcxx_cv_func_long_double_round_use=no
50789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50790 ac_ext=c
50791 ac_cpp='$CPP $CPPFLAGS'
50792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50799 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50800 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50801 for ac_func in ceill floorl
50802 do :
50803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50805 eval as_val=\$$as_ac_var
50806 if test "x$as_val" = x""yes; then :
50807 cat >>confdefs.h <<_ACEOF
50808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50809 _ACEOF
50812 done
50814 else
50815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50816 $as_echo_n "checking for _long double round functions... " >&6; }
50817 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50818 $as_echo_n "(cached) " >&6
50819 else
50822 ac_ext=cpp
50823 ac_cpp='$CXXCPP $CPPFLAGS'
50824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50829 /* end confdefs.h. */
50830 #include <math.h>
50832 main ()
50834 _ceill (0); _floorl (0);
50836 return 0;
50838 _ACEOF
50839 if ac_fn_cxx_try_compile "$LINENO"; then :
50840 glibcxx_cv_func__long_double_round_use=yes
50841 else
50842 glibcxx_cv_func__long_double_round_use=no
50844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50845 ac_ext=c
50846 ac_cpp='$CPP $CPPFLAGS'
50847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50854 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50855 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50856 for ac_func in _ceill _floorl
50857 do :
50858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50860 eval as_val=\$$as_ac_var
50861 if test "x$as_val" = x""yes; then :
50862 cat >>confdefs.h <<_ACEOF
50863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50864 _ACEOF
50867 done
50877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50878 $as_echo_n "checking for isnanl declaration... " >&6; }
50879 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50880 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50881 $as_echo_n "(cached) " >&6
50882 else
50885 ac_ext=cpp
50886 ac_cpp='$CXXCPP $CPPFLAGS'
50887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50892 /* end confdefs.h. */
50893 #include <math.h>
50894 #ifdef HAVE_IEEEFP_H
50895 #include <ieeefp.h>
50896 #endif
50899 main ()
50901 isnanl(0);
50903 return 0;
50905 _ACEOF
50906 if ac_fn_cxx_try_compile "$LINENO"; then :
50907 glibcxx_cv_func_isnanl_use=yes
50908 else
50909 glibcxx_cv_func_isnanl_use=no
50911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50912 ac_ext=c
50913 ac_cpp='$CPP $CPPFLAGS'
50914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50923 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50925 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50926 for ac_func in isnanl
50927 do :
50928 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50929 if test "x$ac_cv_func_isnanl" = x""yes; then :
50930 cat >>confdefs.h <<_ACEOF
50931 #define HAVE_ISNANL 1
50932 _ACEOF
50935 done
50937 else
50939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50940 $as_echo_n "checking for _isnanl declaration... " >&6; }
50941 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50942 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50943 $as_echo_n "(cached) " >&6
50944 else
50947 ac_ext=cpp
50948 ac_cpp='$CXXCPP $CPPFLAGS'
50949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50954 /* end confdefs.h. */
50955 #include <math.h>
50956 #ifdef HAVE_IEEEFP_H
50957 #include <ieeefp.h>
50958 #endif
50961 main ()
50963 _isnanl(0);
50965 return 0;
50967 _ACEOF
50968 if ac_fn_cxx_try_compile "$LINENO"; then :
50969 glibcxx_cv_func__isnanl_use=yes
50970 else
50971 glibcxx_cv_func__isnanl_use=no
50973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50974 ac_ext=c
50975 ac_cpp='$CPP $CPPFLAGS'
50976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50985 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50987 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50988 for ac_func in _isnanl
50989 do :
50990 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50991 if test "x$ac_cv_func__isnanl" = x""yes; then :
50992 cat >>confdefs.h <<_ACEOF
50993 #define HAVE__ISNANL 1
50994 _ACEOF
50997 done
51006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51007 $as_echo_n "checking for isinfl declaration... " >&6; }
51008 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51009 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
51010 $as_echo_n "(cached) " >&6
51011 else
51014 ac_ext=cpp
51015 ac_cpp='$CXXCPP $CPPFLAGS'
51016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51021 /* end confdefs.h. */
51022 #include <math.h>
51023 #ifdef HAVE_IEEEFP_H
51024 #include <ieeefp.h>
51025 #endif
51028 main ()
51030 isinfl(0);
51032 return 0;
51034 _ACEOF
51035 if ac_fn_cxx_try_compile "$LINENO"; then :
51036 glibcxx_cv_func_isinfl_use=yes
51037 else
51038 glibcxx_cv_func_isinfl_use=no
51040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51041 ac_ext=c
51042 ac_cpp='$CPP $CPPFLAGS'
51043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51052 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51054 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51055 for ac_func in isinfl
51056 do :
51057 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51058 if test "x$ac_cv_func_isinfl" = x""yes; then :
51059 cat >>confdefs.h <<_ACEOF
51060 #define HAVE_ISINFL 1
51061 _ACEOF
51064 done
51066 else
51068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51069 $as_echo_n "checking for _isinfl declaration... " >&6; }
51070 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51071 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51072 $as_echo_n "(cached) " >&6
51073 else
51076 ac_ext=cpp
51077 ac_cpp='$CXXCPP $CPPFLAGS'
51078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51083 /* end confdefs.h. */
51084 #include <math.h>
51085 #ifdef HAVE_IEEEFP_H
51086 #include <ieeefp.h>
51087 #endif
51090 main ()
51092 _isinfl(0);
51094 return 0;
51096 _ACEOF
51097 if ac_fn_cxx_try_compile "$LINENO"; then :
51098 glibcxx_cv_func__isinfl_use=yes
51099 else
51100 glibcxx_cv_func__isinfl_use=no
51102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51103 ac_ext=c
51104 ac_cpp='$CPP $CPPFLAGS'
51105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51114 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51116 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51117 for ac_func in _isinfl
51118 do :
51119 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51120 if test "x$ac_cv_func__isinfl" = x""yes; then :
51121 cat >>confdefs.h <<_ACEOF
51122 #define HAVE__ISINFL 1
51123 _ACEOF
51126 done
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51136 $as_echo_n "checking for atan2l declaration... " >&6; }
51137 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51138 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51139 $as_echo_n "(cached) " >&6
51140 else
51143 ac_ext=cpp
51144 ac_cpp='$CXXCPP $CPPFLAGS'
51145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51150 /* end confdefs.h. */
51151 #include <math.h>
51153 main ()
51155 atan2l(0, 0);
51157 return 0;
51159 _ACEOF
51160 if ac_fn_cxx_try_compile "$LINENO"; then :
51161 glibcxx_cv_func_atan2l_use=yes
51162 else
51163 glibcxx_cv_func_atan2l_use=no
51165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51166 ac_ext=c
51167 ac_cpp='$CPP $CPPFLAGS'
51168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51177 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51179 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51180 for ac_func in atan2l
51181 do :
51182 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51183 if test "x$ac_cv_func_atan2l" = x""yes; then :
51184 cat >>confdefs.h <<_ACEOF
51185 #define HAVE_ATAN2L 1
51186 _ACEOF
51189 done
51191 else
51193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51194 $as_echo_n "checking for _atan2l declaration... " >&6; }
51195 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51196 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51197 $as_echo_n "(cached) " >&6
51198 else
51201 ac_ext=cpp
51202 ac_cpp='$CXXCPP $CPPFLAGS'
51203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51208 /* end confdefs.h. */
51209 #include <math.h>
51211 main ()
51213 _atan2l(0, 0);
51215 return 0;
51217 _ACEOF
51218 if ac_fn_cxx_try_compile "$LINENO"; then :
51219 glibcxx_cv_func__atan2l_use=yes
51220 else
51221 glibcxx_cv_func__atan2l_use=no
51223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51224 ac_ext=c
51225 ac_cpp='$CPP $CPPFLAGS'
51226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51235 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51237 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51238 for ac_func in _atan2l
51239 do :
51240 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51241 if test "x$ac_cv_func__atan2l" = x""yes; then :
51242 cat >>confdefs.h <<_ACEOF
51243 #define HAVE__ATAN2L 1
51244 _ACEOF
51247 done
51256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51257 $as_echo_n "checking for expl declaration... " >&6; }
51258 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51259 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51260 $as_echo_n "(cached) " >&6
51261 else
51264 ac_ext=cpp
51265 ac_cpp='$CXXCPP $CPPFLAGS'
51266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51271 /* end confdefs.h. */
51272 #include <math.h>
51273 #ifdef HAVE_IEEEFP_H
51274 #include <ieeefp.h>
51275 #endif
51278 main ()
51280 expl(0);
51282 return 0;
51284 _ACEOF
51285 if ac_fn_cxx_try_compile "$LINENO"; then :
51286 glibcxx_cv_func_expl_use=yes
51287 else
51288 glibcxx_cv_func_expl_use=no
51290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51291 ac_ext=c
51292 ac_cpp='$CPP $CPPFLAGS'
51293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51302 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51304 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51305 for ac_func in expl
51306 do :
51307 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51308 if test "x$ac_cv_func_expl" = x""yes; then :
51309 cat >>confdefs.h <<_ACEOF
51310 #define HAVE_EXPL 1
51311 _ACEOF
51314 done
51316 else
51318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51319 $as_echo_n "checking for _expl declaration... " >&6; }
51320 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51321 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51322 $as_echo_n "(cached) " >&6
51323 else
51326 ac_ext=cpp
51327 ac_cpp='$CXXCPP $CPPFLAGS'
51328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51333 /* end confdefs.h. */
51334 #include <math.h>
51335 #ifdef HAVE_IEEEFP_H
51336 #include <ieeefp.h>
51337 #endif
51340 main ()
51342 _expl(0);
51344 return 0;
51346 _ACEOF
51347 if ac_fn_cxx_try_compile "$LINENO"; then :
51348 glibcxx_cv_func__expl_use=yes
51349 else
51350 glibcxx_cv_func__expl_use=no
51352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51353 ac_ext=c
51354 ac_cpp='$CPP $CPPFLAGS'
51355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51364 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51366 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51367 for ac_func in _expl
51368 do :
51369 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51370 if test "x$ac_cv_func__expl" = x""yes; then :
51371 cat >>confdefs.h <<_ACEOF
51372 #define HAVE__EXPL 1
51373 _ACEOF
51376 done
51385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51386 $as_echo_n "checking for fabsl declaration... " >&6; }
51387 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51388 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51389 $as_echo_n "(cached) " >&6
51390 else
51393 ac_ext=cpp
51394 ac_cpp='$CXXCPP $CPPFLAGS'
51395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51400 /* end confdefs.h. */
51401 #include <math.h>
51402 #ifdef HAVE_IEEEFP_H
51403 #include <ieeefp.h>
51404 #endif
51407 main ()
51409 fabsl(0);
51411 return 0;
51413 _ACEOF
51414 if ac_fn_cxx_try_compile "$LINENO"; then :
51415 glibcxx_cv_func_fabsl_use=yes
51416 else
51417 glibcxx_cv_func_fabsl_use=no
51419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51420 ac_ext=c
51421 ac_cpp='$CPP $CPPFLAGS'
51422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51431 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51433 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51434 for ac_func in fabsl
51435 do :
51436 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51437 if test "x$ac_cv_func_fabsl" = x""yes; then :
51438 cat >>confdefs.h <<_ACEOF
51439 #define HAVE_FABSL 1
51440 _ACEOF
51443 done
51445 else
51447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51448 $as_echo_n "checking for _fabsl declaration... " >&6; }
51449 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51450 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51451 $as_echo_n "(cached) " >&6
51452 else
51455 ac_ext=cpp
51456 ac_cpp='$CXXCPP $CPPFLAGS'
51457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51462 /* end confdefs.h. */
51463 #include <math.h>
51464 #ifdef HAVE_IEEEFP_H
51465 #include <ieeefp.h>
51466 #endif
51469 main ()
51471 _fabsl(0);
51473 return 0;
51475 _ACEOF
51476 if ac_fn_cxx_try_compile "$LINENO"; then :
51477 glibcxx_cv_func__fabsl_use=yes
51478 else
51479 glibcxx_cv_func__fabsl_use=no
51481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51482 ac_ext=c
51483 ac_cpp='$CPP $CPPFLAGS'
51484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51493 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51495 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51496 for ac_func in _fabsl
51497 do :
51498 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51499 if test "x$ac_cv_func__fabsl" = x""yes; then :
51500 cat >>confdefs.h <<_ACEOF
51501 #define HAVE__FABSL 1
51502 _ACEOF
51505 done
51514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51515 $as_echo_n "checking for fmodl declaration... " >&6; }
51516 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51517 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51518 $as_echo_n "(cached) " >&6
51519 else
51522 ac_ext=cpp
51523 ac_cpp='$CXXCPP $CPPFLAGS'
51524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51529 /* end confdefs.h. */
51530 #include <math.h>
51532 main ()
51534 fmodl(0, 0);
51536 return 0;
51538 _ACEOF
51539 if ac_fn_cxx_try_compile "$LINENO"; then :
51540 glibcxx_cv_func_fmodl_use=yes
51541 else
51542 glibcxx_cv_func_fmodl_use=no
51544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51545 ac_ext=c
51546 ac_cpp='$CPP $CPPFLAGS'
51547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51556 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51558 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51559 for ac_func in fmodl
51560 do :
51561 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51562 if test "x$ac_cv_func_fmodl" = x""yes; then :
51563 cat >>confdefs.h <<_ACEOF
51564 #define HAVE_FMODL 1
51565 _ACEOF
51568 done
51570 else
51572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51573 $as_echo_n "checking for _fmodl declaration... " >&6; }
51574 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51575 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51576 $as_echo_n "(cached) " >&6
51577 else
51580 ac_ext=cpp
51581 ac_cpp='$CXXCPP $CPPFLAGS'
51582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51587 /* end confdefs.h. */
51588 #include <math.h>
51590 main ()
51592 _fmodl(0, 0);
51594 return 0;
51596 _ACEOF
51597 if ac_fn_cxx_try_compile "$LINENO"; then :
51598 glibcxx_cv_func__fmodl_use=yes
51599 else
51600 glibcxx_cv_func__fmodl_use=no
51602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51603 ac_ext=c
51604 ac_cpp='$CPP $CPPFLAGS'
51605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51614 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51616 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51617 for ac_func in _fmodl
51618 do :
51619 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51620 if test "x$ac_cv_func__fmodl" = x""yes; then :
51621 cat >>confdefs.h <<_ACEOF
51622 #define HAVE__FMODL 1
51623 _ACEOF
51626 done
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51636 $as_echo_n "checking for frexpl declaration... " >&6; }
51637 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51638 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51639 $as_echo_n "(cached) " >&6
51640 else
51643 ac_ext=cpp
51644 ac_cpp='$CXXCPP $CPPFLAGS'
51645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51650 /* end confdefs.h. */
51651 #include <math.h>
51653 main ()
51655 frexpl(0, 0);
51657 return 0;
51659 _ACEOF
51660 if ac_fn_cxx_try_compile "$LINENO"; then :
51661 glibcxx_cv_func_frexpl_use=yes
51662 else
51663 glibcxx_cv_func_frexpl_use=no
51665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51666 ac_ext=c
51667 ac_cpp='$CPP $CPPFLAGS'
51668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51677 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51679 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51680 for ac_func in frexpl
51681 do :
51682 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51683 if test "x$ac_cv_func_frexpl" = x""yes; then :
51684 cat >>confdefs.h <<_ACEOF
51685 #define HAVE_FREXPL 1
51686 _ACEOF
51689 done
51691 else
51693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51694 $as_echo_n "checking for _frexpl declaration... " >&6; }
51695 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51696 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51697 $as_echo_n "(cached) " >&6
51698 else
51701 ac_ext=cpp
51702 ac_cpp='$CXXCPP $CPPFLAGS'
51703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51708 /* end confdefs.h. */
51709 #include <math.h>
51711 main ()
51713 _frexpl(0, 0);
51715 return 0;
51717 _ACEOF
51718 if ac_fn_cxx_try_compile "$LINENO"; then :
51719 glibcxx_cv_func__frexpl_use=yes
51720 else
51721 glibcxx_cv_func__frexpl_use=no
51723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51724 ac_ext=c
51725 ac_cpp='$CPP $CPPFLAGS'
51726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51735 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51737 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51738 for ac_func in _frexpl
51739 do :
51740 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51741 if test "x$ac_cv_func__frexpl" = x""yes; then :
51742 cat >>confdefs.h <<_ACEOF
51743 #define HAVE__FREXPL 1
51744 _ACEOF
51747 done
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51757 $as_echo_n "checking for hypotl declaration... " >&6; }
51758 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51759 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51760 $as_echo_n "(cached) " >&6
51761 else
51764 ac_ext=cpp
51765 ac_cpp='$CXXCPP $CPPFLAGS'
51766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51771 /* end confdefs.h. */
51772 #include <math.h>
51774 main ()
51776 hypotl(0, 0);
51778 return 0;
51780 _ACEOF
51781 if ac_fn_cxx_try_compile "$LINENO"; then :
51782 glibcxx_cv_func_hypotl_use=yes
51783 else
51784 glibcxx_cv_func_hypotl_use=no
51786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51787 ac_ext=c
51788 ac_cpp='$CPP $CPPFLAGS'
51789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51798 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51800 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51801 for ac_func in hypotl
51802 do :
51803 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51804 if test "x$ac_cv_func_hypotl" = x""yes; then :
51805 cat >>confdefs.h <<_ACEOF
51806 #define HAVE_HYPOTL 1
51807 _ACEOF
51810 done
51812 else
51814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51815 $as_echo_n "checking for _hypotl declaration... " >&6; }
51816 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51817 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51818 $as_echo_n "(cached) " >&6
51819 else
51822 ac_ext=cpp
51823 ac_cpp='$CXXCPP $CPPFLAGS'
51824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51829 /* end confdefs.h. */
51830 #include <math.h>
51832 main ()
51834 _hypotl(0, 0);
51836 return 0;
51838 _ACEOF
51839 if ac_fn_cxx_try_compile "$LINENO"; then :
51840 glibcxx_cv_func__hypotl_use=yes
51841 else
51842 glibcxx_cv_func__hypotl_use=no
51844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51845 ac_ext=c
51846 ac_cpp='$CPP $CPPFLAGS'
51847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51856 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51858 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51859 for ac_func in _hypotl
51860 do :
51861 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51862 if test "x$ac_cv_func__hypotl" = x""yes; then :
51863 cat >>confdefs.h <<_ACEOF
51864 #define HAVE__HYPOTL 1
51865 _ACEOF
51868 done
51877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51878 $as_echo_n "checking for ldexpl declaration... " >&6; }
51879 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51880 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51881 $as_echo_n "(cached) " >&6
51882 else
51885 ac_ext=cpp
51886 ac_cpp='$CXXCPP $CPPFLAGS'
51887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51892 /* end confdefs.h. */
51893 #include <math.h>
51895 main ()
51897 ldexpl(0, 0);
51899 return 0;
51901 _ACEOF
51902 if ac_fn_cxx_try_compile "$LINENO"; then :
51903 glibcxx_cv_func_ldexpl_use=yes
51904 else
51905 glibcxx_cv_func_ldexpl_use=no
51907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51908 ac_ext=c
51909 ac_cpp='$CPP $CPPFLAGS'
51910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51919 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51921 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51922 for ac_func in ldexpl
51923 do :
51924 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51925 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51926 cat >>confdefs.h <<_ACEOF
51927 #define HAVE_LDEXPL 1
51928 _ACEOF
51931 done
51933 else
51935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51936 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51937 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51938 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51939 $as_echo_n "(cached) " >&6
51940 else
51943 ac_ext=cpp
51944 ac_cpp='$CXXCPP $CPPFLAGS'
51945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51950 /* end confdefs.h. */
51951 #include <math.h>
51953 main ()
51955 _ldexpl(0, 0);
51957 return 0;
51959 _ACEOF
51960 if ac_fn_cxx_try_compile "$LINENO"; then :
51961 glibcxx_cv_func__ldexpl_use=yes
51962 else
51963 glibcxx_cv_func__ldexpl_use=no
51965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51966 ac_ext=c
51967 ac_cpp='$CPP $CPPFLAGS'
51968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51977 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51979 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51980 for ac_func in _ldexpl
51981 do :
51982 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51983 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51984 cat >>confdefs.h <<_ACEOF
51985 #define HAVE__LDEXPL 1
51986 _ACEOF
51989 done
51998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51999 $as_echo_n "checking for logl declaration... " >&6; }
52000 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52001 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
52002 $as_echo_n "(cached) " >&6
52003 else
52006 ac_ext=cpp
52007 ac_cpp='$CXXCPP $CPPFLAGS'
52008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52013 /* end confdefs.h. */
52014 #include <math.h>
52015 #ifdef HAVE_IEEEFP_H
52016 #include <ieeefp.h>
52017 #endif
52020 main ()
52022 logl(0);
52024 return 0;
52026 _ACEOF
52027 if ac_fn_cxx_try_compile "$LINENO"; then :
52028 glibcxx_cv_func_logl_use=yes
52029 else
52030 glibcxx_cv_func_logl_use=no
52032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52033 ac_ext=c
52034 ac_cpp='$CPP $CPPFLAGS'
52035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52044 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52046 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52047 for ac_func in logl
52048 do :
52049 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52050 if test "x$ac_cv_func_logl" = x""yes; then :
52051 cat >>confdefs.h <<_ACEOF
52052 #define HAVE_LOGL 1
52053 _ACEOF
52056 done
52058 else
52060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52061 $as_echo_n "checking for _logl declaration... " >&6; }
52062 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52063 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52064 $as_echo_n "(cached) " >&6
52065 else
52068 ac_ext=cpp
52069 ac_cpp='$CXXCPP $CPPFLAGS'
52070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52075 /* end confdefs.h. */
52076 #include <math.h>
52077 #ifdef HAVE_IEEEFP_H
52078 #include <ieeefp.h>
52079 #endif
52082 main ()
52084 _logl(0);
52086 return 0;
52088 _ACEOF
52089 if ac_fn_cxx_try_compile "$LINENO"; then :
52090 glibcxx_cv_func__logl_use=yes
52091 else
52092 glibcxx_cv_func__logl_use=no
52094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52095 ac_ext=c
52096 ac_cpp='$CPP $CPPFLAGS'
52097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52106 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52108 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52109 for ac_func in _logl
52110 do :
52111 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52112 if test "x$ac_cv_func__logl" = x""yes; then :
52113 cat >>confdefs.h <<_ACEOF
52114 #define HAVE__LOGL 1
52115 _ACEOF
52118 done
52127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52128 $as_echo_n "checking for log10l declaration... " >&6; }
52129 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52130 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52131 $as_echo_n "(cached) " >&6
52132 else
52135 ac_ext=cpp
52136 ac_cpp='$CXXCPP $CPPFLAGS'
52137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52142 /* end confdefs.h. */
52143 #include <math.h>
52144 #ifdef HAVE_IEEEFP_H
52145 #include <ieeefp.h>
52146 #endif
52149 main ()
52151 log10l(0);
52153 return 0;
52155 _ACEOF
52156 if ac_fn_cxx_try_compile "$LINENO"; then :
52157 glibcxx_cv_func_log10l_use=yes
52158 else
52159 glibcxx_cv_func_log10l_use=no
52161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52162 ac_ext=c
52163 ac_cpp='$CPP $CPPFLAGS'
52164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52173 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52175 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52176 for ac_func in log10l
52177 do :
52178 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52179 if test "x$ac_cv_func_log10l" = x""yes; then :
52180 cat >>confdefs.h <<_ACEOF
52181 #define HAVE_LOG10L 1
52182 _ACEOF
52185 done
52187 else
52189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52190 $as_echo_n "checking for _log10l declaration... " >&6; }
52191 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52192 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52193 $as_echo_n "(cached) " >&6
52194 else
52197 ac_ext=cpp
52198 ac_cpp='$CXXCPP $CPPFLAGS'
52199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52204 /* end confdefs.h. */
52205 #include <math.h>
52206 #ifdef HAVE_IEEEFP_H
52207 #include <ieeefp.h>
52208 #endif
52211 main ()
52213 _log10l(0);
52215 return 0;
52217 _ACEOF
52218 if ac_fn_cxx_try_compile "$LINENO"; then :
52219 glibcxx_cv_func__log10l_use=yes
52220 else
52221 glibcxx_cv_func__log10l_use=no
52223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52224 ac_ext=c
52225 ac_cpp='$CPP $CPPFLAGS'
52226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52235 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52237 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52238 for ac_func in _log10l
52239 do :
52240 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52241 if test "x$ac_cv_func__log10l" = x""yes; then :
52242 cat >>confdefs.h <<_ACEOF
52243 #define HAVE__LOG10L 1
52244 _ACEOF
52247 done
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52257 $as_echo_n "checking for modfl declaration... " >&6; }
52258 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52259 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52260 $as_echo_n "(cached) " >&6
52261 else
52264 ac_ext=cpp
52265 ac_cpp='$CXXCPP $CPPFLAGS'
52266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52271 /* end confdefs.h. */
52272 #include <math.h>
52274 main ()
52276 modfl(0, 0);
52278 return 0;
52280 _ACEOF
52281 if ac_fn_cxx_try_compile "$LINENO"; then :
52282 glibcxx_cv_func_modfl_use=yes
52283 else
52284 glibcxx_cv_func_modfl_use=no
52286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52287 ac_ext=c
52288 ac_cpp='$CPP $CPPFLAGS'
52289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52298 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52300 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52301 for ac_func in modfl
52302 do :
52303 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52304 if test "x$ac_cv_func_modfl" = x""yes; then :
52305 cat >>confdefs.h <<_ACEOF
52306 #define HAVE_MODFL 1
52307 _ACEOF
52310 done
52312 else
52314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52315 $as_echo_n "checking for _modfl declaration... " >&6; }
52316 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52317 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52318 $as_echo_n "(cached) " >&6
52319 else
52322 ac_ext=cpp
52323 ac_cpp='$CXXCPP $CPPFLAGS'
52324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52329 /* end confdefs.h. */
52330 #include <math.h>
52332 main ()
52334 _modfl(0, 0);
52336 return 0;
52338 _ACEOF
52339 if ac_fn_cxx_try_compile "$LINENO"; then :
52340 glibcxx_cv_func__modfl_use=yes
52341 else
52342 glibcxx_cv_func__modfl_use=no
52344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52345 ac_ext=c
52346 ac_cpp='$CPP $CPPFLAGS'
52347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52356 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52358 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52359 for ac_func in _modfl
52360 do :
52361 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52362 if test "x$ac_cv_func__modfl" = x""yes; then :
52363 cat >>confdefs.h <<_ACEOF
52364 #define HAVE__MODFL 1
52365 _ACEOF
52368 done
52377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52378 $as_echo_n "checking for powl declaration... " >&6; }
52379 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52380 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52381 $as_echo_n "(cached) " >&6
52382 else
52385 ac_ext=cpp
52386 ac_cpp='$CXXCPP $CPPFLAGS'
52387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52392 /* end confdefs.h. */
52393 #include <math.h>
52395 main ()
52397 powl(0, 0);
52399 return 0;
52401 _ACEOF
52402 if ac_fn_cxx_try_compile "$LINENO"; then :
52403 glibcxx_cv_func_powl_use=yes
52404 else
52405 glibcxx_cv_func_powl_use=no
52407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52408 ac_ext=c
52409 ac_cpp='$CPP $CPPFLAGS'
52410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52419 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52421 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52422 for ac_func in powl
52423 do :
52424 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52425 if test "x$ac_cv_func_powl" = x""yes; then :
52426 cat >>confdefs.h <<_ACEOF
52427 #define HAVE_POWL 1
52428 _ACEOF
52431 done
52433 else
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52436 $as_echo_n "checking for _powl declaration... " >&6; }
52437 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52438 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52439 $as_echo_n "(cached) " >&6
52440 else
52443 ac_ext=cpp
52444 ac_cpp='$CXXCPP $CPPFLAGS'
52445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52450 /* end confdefs.h. */
52451 #include <math.h>
52453 main ()
52455 _powl(0, 0);
52457 return 0;
52459 _ACEOF
52460 if ac_fn_cxx_try_compile "$LINENO"; then :
52461 glibcxx_cv_func__powl_use=yes
52462 else
52463 glibcxx_cv_func__powl_use=no
52465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52466 ac_ext=c
52467 ac_cpp='$CPP $CPPFLAGS'
52468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52477 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52479 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52480 for ac_func in _powl
52481 do :
52482 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52483 if test "x$ac_cv_func__powl" = x""yes; then :
52484 cat >>confdefs.h <<_ACEOF
52485 #define HAVE__POWL 1
52486 _ACEOF
52489 done
52498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52499 $as_echo_n "checking for sqrtl declaration... " >&6; }
52500 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52501 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52502 $as_echo_n "(cached) " >&6
52503 else
52506 ac_ext=cpp
52507 ac_cpp='$CXXCPP $CPPFLAGS'
52508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 #include <math.h>
52515 #ifdef HAVE_IEEEFP_H
52516 #include <ieeefp.h>
52517 #endif
52520 main ()
52522 sqrtl(0);
52524 return 0;
52526 _ACEOF
52527 if ac_fn_cxx_try_compile "$LINENO"; then :
52528 glibcxx_cv_func_sqrtl_use=yes
52529 else
52530 glibcxx_cv_func_sqrtl_use=no
52532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52533 ac_ext=c
52534 ac_cpp='$CPP $CPPFLAGS'
52535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52544 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52546 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52547 for ac_func in sqrtl
52548 do :
52549 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52550 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52551 cat >>confdefs.h <<_ACEOF
52552 #define HAVE_SQRTL 1
52553 _ACEOF
52556 done
52558 else
52560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52561 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52562 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52563 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52564 $as_echo_n "(cached) " >&6
52565 else
52568 ac_ext=cpp
52569 ac_cpp='$CXXCPP $CPPFLAGS'
52570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52575 /* end confdefs.h. */
52576 #include <math.h>
52577 #ifdef HAVE_IEEEFP_H
52578 #include <ieeefp.h>
52579 #endif
52582 main ()
52584 _sqrtl(0);
52586 return 0;
52588 _ACEOF
52589 if ac_fn_cxx_try_compile "$LINENO"; then :
52590 glibcxx_cv_func__sqrtl_use=yes
52591 else
52592 glibcxx_cv_func__sqrtl_use=no
52594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52595 ac_ext=c
52596 ac_cpp='$CPP $CPPFLAGS'
52597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52606 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52608 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52609 for ac_func in _sqrtl
52610 do :
52611 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52612 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52613 cat >>confdefs.h <<_ACEOF
52614 #define HAVE__SQRTL 1
52615 _ACEOF
52618 done
52627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52628 $as_echo_n "checking for sincosl declaration... " >&6; }
52629 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52630 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52631 $as_echo_n "(cached) " >&6
52632 else
52635 ac_ext=cpp
52636 ac_cpp='$CXXCPP $CPPFLAGS'
52637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52642 /* end confdefs.h. */
52643 #include <math.h>
52645 main ()
52647 sincosl(0, 0, 0);
52649 return 0;
52651 _ACEOF
52652 if ac_fn_cxx_try_compile "$LINENO"; then :
52653 glibcxx_cv_func_sincosl_use=yes
52654 else
52655 glibcxx_cv_func_sincosl_use=no
52657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52658 ac_ext=c
52659 ac_cpp='$CPP $CPPFLAGS'
52660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52669 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52671 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52672 for ac_func in sincosl
52673 do :
52674 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52675 if test "x$ac_cv_func_sincosl" = x""yes; then :
52676 cat >>confdefs.h <<_ACEOF
52677 #define HAVE_SINCOSL 1
52678 _ACEOF
52681 done
52683 else
52685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52686 $as_echo_n "checking for _sincosl declaration... " >&6; }
52687 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52688 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52689 $as_echo_n "(cached) " >&6
52690 else
52693 ac_ext=cpp
52694 ac_cpp='$CXXCPP $CPPFLAGS'
52695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52700 /* end confdefs.h. */
52701 #include <math.h>
52703 main ()
52705 _sincosl(0, 0, 0);
52707 return 0;
52709 _ACEOF
52710 if ac_fn_cxx_try_compile "$LINENO"; then :
52711 glibcxx_cv_func__sincosl_use=yes
52712 else
52713 glibcxx_cv_func__sincosl_use=no
52715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52716 ac_ext=c
52717 ac_cpp='$CPP $CPPFLAGS'
52718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52727 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52729 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52730 for ac_func in _sincosl
52731 do :
52732 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52733 if test "x$ac_cv_func__sincosl" = x""yes; then :
52734 cat >>confdefs.h <<_ACEOF
52735 #define HAVE__SINCOSL 1
52736 _ACEOF
52739 done
52748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52749 $as_echo_n "checking for finitel declaration... " >&6; }
52750 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52751 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52752 $as_echo_n "(cached) " >&6
52753 else
52756 ac_ext=cpp
52757 ac_cpp='$CXXCPP $CPPFLAGS'
52758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52763 /* end confdefs.h. */
52764 #include <math.h>
52765 #ifdef HAVE_IEEEFP_H
52766 #include <ieeefp.h>
52767 #endif
52770 main ()
52772 finitel(0);
52774 return 0;
52776 _ACEOF
52777 if ac_fn_cxx_try_compile "$LINENO"; then :
52778 glibcxx_cv_func_finitel_use=yes
52779 else
52780 glibcxx_cv_func_finitel_use=no
52782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52783 ac_ext=c
52784 ac_cpp='$CPP $CPPFLAGS'
52785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52794 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52796 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52797 for ac_func in finitel
52798 do :
52799 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52800 if test "x$ac_cv_func_finitel" = x""yes; then :
52801 cat >>confdefs.h <<_ACEOF
52802 #define HAVE_FINITEL 1
52803 _ACEOF
52806 done
52808 else
52810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52811 $as_echo_n "checking for _finitel declaration... " >&6; }
52812 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52813 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52814 $as_echo_n "(cached) " >&6
52815 else
52818 ac_ext=cpp
52819 ac_cpp='$CXXCPP $CPPFLAGS'
52820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52825 /* end confdefs.h. */
52826 #include <math.h>
52827 #ifdef HAVE_IEEEFP_H
52828 #include <ieeefp.h>
52829 #endif
52832 main ()
52834 _finitel(0);
52836 return 0;
52838 _ACEOF
52839 if ac_fn_cxx_try_compile "$LINENO"; then :
52840 glibcxx_cv_func__finitel_use=yes
52841 else
52842 glibcxx_cv_func__finitel_use=no
52844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52845 ac_ext=c
52846 ac_cpp='$CPP $CPPFLAGS'
52847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52856 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52858 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52859 for ac_func in _finitel
52860 do :
52861 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52862 if test "x$ac_cv_func__finitel" = x""yes; then :
52863 cat >>confdefs.h <<_ACEOF
52864 #define HAVE__FINITEL 1
52865 _ACEOF
52868 done
52876 LIBS="$ac_save_LIBS"
52877 CXXFLAGS="$ac_save_CXXFLAGS"
52880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52881 ac_save_CXXFLAGS="$CXXFLAGS"
52882 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52886 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52887 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52888 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52889 $as_echo_n "(cached) " >&6
52890 else
52893 ac_ext=cpp
52894 ac_cpp='$CXXCPP $CPPFLAGS'
52895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52900 /* end confdefs.h. */
52901 #include <stdlib.h>
52903 main ()
52905 at_quick_exit(0);
52907 return 0;
52909 _ACEOF
52910 if ac_fn_cxx_try_compile "$LINENO"; then :
52911 glibcxx_cv_func_at_quick_exit_use=yes
52912 else
52913 glibcxx_cv_func_at_quick_exit_use=no
52915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52916 ac_ext=c
52917 ac_cpp='$CPP $CPPFLAGS'
52918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52927 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52928 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52929 for ac_func in at_quick_exit
52930 do :
52931 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52932 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52933 cat >>confdefs.h <<_ACEOF
52934 #define HAVE_AT_QUICK_EXIT 1
52935 _ACEOF
52938 done
52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52944 $as_echo_n "checking for quick_exit declaration... " >&6; }
52945 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52946 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52947 $as_echo_n "(cached) " >&6
52948 else
52951 ac_ext=cpp
52952 ac_cpp='$CXXCPP $CPPFLAGS'
52953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52958 /* end confdefs.h. */
52959 #include <stdlib.h>
52961 main ()
52963 quick_exit(0);
52965 return 0;
52967 _ACEOF
52968 if ac_fn_cxx_try_compile "$LINENO"; then :
52969 glibcxx_cv_func_quick_exit_use=yes
52970 else
52971 glibcxx_cv_func_quick_exit_use=no
52973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52985 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52986 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52987 for ac_func in quick_exit
52988 do :
52989 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52990 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52991 cat >>confdefs.h <<_ACEOF
52992 #define HAVE_QUICK_EXIT 1
52993 _ACEOF
52996 done
53001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53002 $as_echo_n "checking for strtold declaration... " >&6; }
53003 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53004 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
53005 $as_echo_n "(cached) " >&6
53006 else
53009 ac_ext=cpp
53010 ac_cpp='$CXXCPP $CPPFLAGS'
53011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53016 /* end confdefs.h. */
53017 #include <stdlib.h>
53019 main ()
53021 strtold(0, 0);
53023 return 0;
53025 _ACEOF
53026 if ac_fn_cxx_try_compile "$LINENO"; then :
53027 glibcxx_cv_func_strtold_use=yes
53028 else
53029 glibcxx_cv_func_strtold_use=no
53031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53032 ac_ext=c
53033 ac_cpp='$CPP $CPPFLAGS'
53034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53043 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53044 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53045 for ac_func in strtold
53046 do :
53047 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53048 if test "x$ac_cv_func_strtold" = x""yes; then :
53049 cat >>confdefs.h <<_ACEOF
53050 #define HAVE_STRTOLD 1
53051 _ACEOF
53054 done
53061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53062 $as_echo_n "checking for strtof declaration... " >&6; }
53063 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53064 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53065 $as_echo_n "(cached) " >&6
53066 else
53069 ac_ext=cpp
53070 ac_cpp='$CXXCPP $CPPFLAGS'
53071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53076 /* end confdefs.h. */
53077 #include <stdlib.h>
53079 main ()
53081 strtof(0, 0);
53083 return 0;
53085 _ACEOF
53086 if ac_fn_cxx_try_compile "$LINENO"; then :
53087 glibcxx_cv_func_strtof_use=yes
53088 else
53089 glibcxx_cv_func_strtof_use=no
53091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53092 ac_ext=c
53093 ac_cpp='$CPP $CPPFLAGS'
53094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53103 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53104 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53105 for ac_func in strtof
53106 do :
53107 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53108 if test "x$ac_cv_func_strtof" = x""yes; then :
53109 cat >>confdefs.h <<_ACEOF
53110 #define HAVE_STRTOF 1
53111 _ACEOF
53114 done
53121 CXXFLAGS="$ac_save_CXXFLAGS"
53125 *djgpp)
53126 # GLIBCXX_CHECK_MATH_SUPPORT
53127 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53129 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53131 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53133 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53135 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53139 *-freebsd*)
53140 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53143 # If we're not using GNU ld, then there's no point in even trying these
53144 # tests. Check for that first. We should have already tested for gld
53145 # by now (in libtool), but require it now just to be safe...
53146 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53147 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53151 # The name set by libtool depends on the version of libtool. Shame on us
53152 # for depending on an impl detail, but c'est la vie. Older versions used
53153 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53154 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53155 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53156 # set (hence we're using an older libtool), then set it.
53157 if test x${with_gnu_ld+set} != xset; then
53158 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53159 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53160 with_gnu_ld=no
53161 else
53162 with_gnu_ld=$ac_cv_prog_gnu_ld
53166 # Start by getting the version number. I think the libtool test already
53167 # does some of this, but throws away the result.
53168 glibcxx_ld_is_gold=no
53169 if test x"$with_gnu_ld" = x"yes"; then
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53171 $as_echo_n "checking for ld version... " >&6; }
53173 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53174 glibcxx_ld_is_gold=yes
53176 ldver=`$LD --version 2>/dev/null |
53177 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'`
53179 glibcxx_gnu_ld_version=`echo $ldver | \
53180 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53182 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53185 # Set --gc-sections.
53186 glibcxx_have_gc_sections=no
53187 if test "$glibcxx_ld_is_gold" = "yes"; then
53188 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53189 glibcxx_have_gc_sections=yes
53191 else
53192 glibcxx_gcsections_min_ld=21602
53193 if test x"$with_gnu_ld" = x"yes" &&
53194 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53195 glibcxx_have_gc_sections=yes
53198 if test "$glibcxx_have_gc_sections" = "yes"; then
53199 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53200 # NB: This flag only works reliably after 2.16.1. Configure tests
53201 # for this are difficult, so hard wire a value that should work.
53203 ac_test_CFLAGS="${CFLAGS+set}"
53204 ac_save_CFLAGS="$CFLAGS"
53205 CFLAGS='-Wl,--gc-sections'
53207 # Check for -Wl,--gc-sections
53208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53209 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53210 if test x$gcc_no_link = xyes; then
53211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53214 /* end confdefs.h. */
53215 int one(void) { return 1; }
53216 int two(void) { return 2; }
53219 main ()
53221 two();
53223 return 0;
53225 _ACEOF
53226 if ac_fn_c_try_link "$LINENO"; then :
53227 ac_gcsections=yes
53228 else
53229 ac_gcsections=no
53231 rm -f core conftest.err conftest.$ac_objext \
53232 conftest$ac_exeext conftest.$ac_ext
53233 if test "$ac_gcsections" = "yes"; then
53234 rm -f conftest.c
53235 touch conftest.c
53236 if $CC -c conftest.c; then
53237 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53238 grep "Warning: gc-sections option ignored" > /dev/null; then
53239 ac_gcsections=no
53242 rm -f conftest.c conftest.o conftest
53244 if test "$ac_gcsections" = "yes"; then
53245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53248 $as_echo "$ac_gcsections" >&6; }
53250 if test "$ac_test_CFLAGS" = set; then
53251 CFLAGS="$ac_save_CFLAGS"
53252 else
53253 # this is the suspicious part
53254 CFLAGS=''
53258 # Set -z,relro.
53259 # Note this is only for shared objects.
53260 ac_ld_relro=no
53261 if test x"$with_gnu_ld" = x"yes"; then
53262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53263 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53264 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53265 if test -n "$cxx_z_relo"; then
53266 OPT_LDFLAGS="-Wl,-z,relro"
53267 ac_ld_relro=yes
53269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53270 $as_echo "$ac_ld_relro" >&6; }
53273 # Set linker optimization flags.
53274 if test x"$with_gnu_ld" = x"yes"; then
53275 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53281 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53283 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53285 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53287 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53289 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53291 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53293 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53295 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53297 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53300 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53302 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53304 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53306 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53308 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53310 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53312 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53314 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53316 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53318 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53320 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53322 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53324 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53326 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53328 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53330 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53332 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53334 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53336 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53338 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53340 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53342 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53344 if test x"long_double_math_on_this_cpu" = x"yes"; then
53345 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53347 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53349 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53352 for ac_func in __cxa_thread_atexit
53353 do :
53354 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53355 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53356 cat >>confdefs.h <<_ACEOF
53357 #define HAVE___CXA_THREAD_ATEXIT 1
53358 _ACEOF
53361 done
53363 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53364 do :
53365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53367 eval as_val=\$$as_ac_var
53368 if test "x$as_val" = x""yes; then :
53369 cat >>confdefs.h <<_ACEOF
53370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53371 _ACEOF
53374 done
53378 *-fuchsia*)
53379 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53383 *-hpux*)
53384 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53387 # If we're not using GNU ld, then there's no point in even trying these
53388 # tests. Check for that first. We should have already tested for gld
53389 # by now (in libtool), but require it now just to be safe...
53390 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53391 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53395 # The name set by libtool depends on the version of libtool. Shame on us
53396 # for depending on an impl detail, but c'est la vie. Older versions used
53397 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53398 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53399 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53400 # set (hence we're using an older libtool), then set it.
53401 if test x${with_gnu_ld+set} != xset; then
53402 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53403 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53404 with_gnu_ld=no
53405 else
53406 with_gnu_ld=$ac_cv_prog_gnu_ld
53410 # Start by getting the version number. I think the libtool test already
53411 # does some of this, but throws away the result.
53412 glibcxx_ld_is_gold=no
53413 if test x"$with_gnu_ld" = x"yes"; then
53414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53415 $as_echo_n "checking for ld version... " >&6; }
53417 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53418 glibcxx_ld_is_gold=yes
53420 ldver=`$LD --version 2>/dev/null |
53421 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'`
53423 glibcxx_gnu_ld_version=`echo $ldver | \
53424 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53426 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53429 # Set --gc-sections.
53430 glibcxx_have_gc_sections=no
53431 if test "$glibcxx_ld_is_gold" = "yes"; then
53432 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53433 glibcxx_have_gc_sections=yes
53435 else
53436 glibcxx_gcsections_min_ld=21602
53437 if test x"$with_gnu_ld" = x"yes" &&
53438 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53439 glibcxx_have_gc_sections=yes
53442 if test "$glibcxx_have_gc_sections" = "yes"; then
53443 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53444 # NB: This flag only works reliably after 2.16.1. Configure tests
53445 # for this are difficult, so hard wire a value that should work.
53447 ac_test_CFLAGS="${CFLAGS+set}"
53448 ac_save_CFLAGS="$CFLAGS"
53449 CFLAGS='-Wl,--gc-sections'
53451 # Check for -Wl,--gc-sections
53452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53453 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53454 if test x$gcc_no_link = xyes; then
53455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53458 /* end confdefs.h. */
53459 int one(void) { return 1; }
53460 int two(void) { return 2; }
53463 main ()
53465 two();
53467 return 0;
53469 _ACEOF
53470 if ac_fn_c_try_link "$LINENO"; then :
53471 ac_gcsections=yes
53472 else
53473 ac_gcsections=no
53475 rm -f core conftest.err conftest.$ac_objext \
53476 conftest$ac_exeext conftest.$ac_ext
53477 if test "$ac_gcsections" = "yes"; then
53478 rm -f conftest.c
53479 touch conftest.c
53480 if $CC -c conftest.c; then
53481 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53482 grep "Warning: gc-sections option ignored" > /dev/null; then
53483 ac_gcsections=no
53486 rm -f conftest.c conftest.o conftest
53488 if test "$ac_gcsections" = "yes"; then
53489 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53492 $as_echo "$ac_gcsections" >&6; }
53494 if test "$ac_test_CFLAGS" = set; then
53495 CFLAGS="$ac_save_CFLAGS"
53496 else
53497 # this is the suspicious part
53498 CFLAGS=''
53502 # Set -z,relro.
53503 # Note this is only for shared objects.
53504 ac_ld_relro=no
53505 if test x"$with_gnu_ld" = x"yes"; then
53506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53507 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53508 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53509 if test -n "$cxx_z_relo"; then
53510 OPT_LDFLAGS="-Wl,-z,relro"
53511 ac_ld_relro=yes
53513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53514 $as_echo "$ac_ld_relro" >&6; }
53517 # Set linker optimization flags.
53518 if test x"$with_gnu_ld" = x"yes"; then
53519 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53526 # GLIBCXX_CHECK_MATH_SUPPORT
53527 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53529 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53531 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53533 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53535 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53537 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53539 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53541 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53543 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53545 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53547 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53549 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53551 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53553 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53555 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53557 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53559 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53561 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53563 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53565 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53567 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53570 # GLIBCXX_CHECK_STDLIB_SUPPORT
53571 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53576 # Check whether --enable-tls was given.
53577 if test "${enable_tls+set}" = set; then :
53578 enableval=$enable_tls;
53579 case "$enableval" in
53580 yes|no) ;;
53581 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53582 esac
53584 else
53585 enable_tls=yes
53589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53590 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53591 if test "${gcc_cv_have_tls+set}" = set; then :
53592 $as_echo_n "(cached) " >&6
53593 else
53595 if test "$cross_compiling" = yes; then :
53596 if test x$gcc_no_link = xyes; then
53597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53600 /* end confdefs.h. */
53601 __thread int a; int b; int main() { return a = b; }
53602 _ACEOF
53603 if ac_fn_c_try_link "$LINENO"; then :
53604 chktls_save_LDFLAGS="$LDFLAGS"
53605 case $host in
53606 *-*-linux*)
53607 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53609 esac
53610 chktls_save_CFLAGS="$CFLAGS"
53611 CFLAGS="-fPIC $CFLAGS"
53612 if test x$gcc_no_link = xyes; then
53613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53616 /* end confdefs.h. */
53617 int f() { return 0; }
53618 _ACEOF
53619 if ac_fn_c_try_link "$LINENO"; then :
53620 if test x$gcc_no_link = xyes; then
53621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53624 /* end confdefs.h. */
53625 __thread int a; int b; int f() { return a = b; }
53626 _ACEOF
53627 if ac_fn_c_try_link "$LINENO"; then :
53628 gcc_cv_have_tls=yes
53629 else
53630 gcc_cv_have_tls=no
53632 rm -f core conftest.err conftest.$ac_objext \
53633 conftest$ac_exeext conftest.$ac_ext
53634 else
53635 gcc_cv_have_tls=yes
53637 rm -f core conftest.err conftest.$ac_objext \
53638 conftest$ac_exeext conftest.$ac_ext
53639 CFLAGS="$chktls_save_CFLAGS"
53640 LDFLAGS="$chktls_save_LDFLAGS"
53641 else
53642 gcc_cv_have_tls=no
53644 rm -f core conftest.err conftest.$ac_objext \
53645 conftest$ac_exeext conftest.$ac_ext
53648 else
53649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53650 /* end confdefs.h. */
53651 __thread int a; int b; int main() { return a = b; }
53652 _ACEOF
53653 if ac_fn_c_try_run "$LINENO"; then :
53654 chktls_save_LDFLAGS="$LDFLAGS"
53655 LDFLAGS="-static $LDFLAGS"
53656 if test x$gcc_no_link = xyes; then
53657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53660 /* end confdefs.h. */
53661 int main() { return 0; }
53662 _ACEOF
53663 if ac_fn_c_try_link "$LINENO"; then :
53664 if test "$cross_compiling" = yes; then :
53665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53667 as_fn_error "cannot run test program while cross compiling
53668 See \`config.log' for more details." "$LINENO" 5; }
53669 else
53670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53671 /* end confdefs.h. */
53672 __thread int a; int b; int main() { return a = b; }
53673 _ACEOF
53674 if ac_fn_c_try_run "$LINENO"; then :
53675 gcc_cv_have_tls=yes
53676 else
53677 gcc_cv_have_tls=no
53679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53680 conftest.$ac_objext conftest.beam conftest.$ac_ext
53683 else
53684 gcc_cv_have_tls=yes
53686 rm -f core conftest.err conftest.$ac_objext \
53687 conftest$ac_exeext conftest.$ac_ext
53688 LDFLAGS="$chktls_save_LDFLAGS"
53689 if test $gcc_cv_have_tls = yes; then
53690 chktls_save_CFLAGS="$CFLAGS"
53691 thread_CFLAGS=failed
53692 for flag in '' '-pthread' '-lpthread'; do
53693 CFLAGS="$flag $chktls_save_CFLAGS"
53694 if test x$gcc_no_link = xyes; then
53695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53698 /* end confdefs.h. */
53699 #include <pthread.h>
53700 void *g(void *d) { return NULL; }
53702 main ()
53704 pthread_t t; pthread_create(&t,NULL,g,NULL);
53706 return 0;
53708 _ACEOF
53709 if ac_fn_c_try_link "$LINENO"; then :
53710 thread_CFLAGS="$flag"
53712 rm -f core conftest.err conftest.$ac_objext \
53713 conftest$ac_exeext conftest.$ac_ext
53714 if test "X$thread_CFLAGS" != Xfailed; then
53715 break
53717 done
53718 CFLAGS="$chktls_save_CFLAGS"
53719 if test "X$thread_CFLAGS" != Xfailed; then
53720 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53721 if test "$cross_compiling" = yes; then :
53722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53724 as_fn_error "cannot run test program while cross compiling
53725 See \`config.log' for more details." "$LINENO" 5; }
53726 else
53727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53728 /* end confdefs.h. */
53729 #include <pthread.h>
53730 __thread int a;
53731 static int *volatile a_in_other_thread;
53732 static void *
53733 thread_func (void *arg)
53735 a_in_other_thread = &a;
53736 return (void *)0;
53739 main ()
53741 pthread_t thread;
53742 void *thread_retval;
53743 int *volatile a_in_main_thread;
53744 a_in_main_thread = &a;
53745 if (pthread_create (&thread, (pthread_attr_t *)0,
53746 thread_func, (void *)0))
53747 return 0;
53748 if (pthread_join (thread, &thread_retval))
53749 return 0;
53750 return (a_in_other_thread == a_in_main_thread);
53752 return 0;
53754 _ACEOF
53755 if ac_fn_c_try_run "$LINENO"; then :
53756 gcc_cv_have_tls=yes
53757 else
53758 gcc_cv_have_tls=no
53760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53761 conftest.$ac_objext conftest.beam conftest.$ac_ext
53764 CFLAGS="$chktls_save_CFLAGS"
53767 else
53768 gcc_cv_have_tls=no
53770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53771 conftest.$ac_objext conftest.beam conftest.$ac_ext
53775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53776 $as_echo "$gcc_cv_have_tls" >&6; }
53777 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53779 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53782 case "$target" in
53783 *-hpux10*)
53784 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53786 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53788 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53790 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53792 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53795 esac
53797 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53799 # All these tests are for C++; save the language and the compiler flags.
53800 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53801 # found in GLIBCXX_CONFIGURE.
53803 ac_ext=cpp
53804 ac_cpp='$CXXCPP $CPPFLAGS'
53805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53810 ac_save_CXXFLAGS="$CXXFLAGS"
53812 # Check for maintainer-mode bits.
53813 if test x"$USE_MAINTAINER_MODE" = xno; then
53814 WERROR=''
53815 else
53816 WERROR='-Werror'
53819 # Check for -ffunction-sections -fdata-sections
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53821 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53822 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53824 /* end confdefs.h. */
53825 int foo; void bar() { };
53827 main ()
53831 return 0;
53833 _ACEOF
53834 if ac_fn_cxx_try_compile "$LINENO"; then :
53835 ac_fdsections=yes
53836 else
53837 ac_fdsections=no
53839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53840 if test "$ac_test_CXXFLAGS" = set; then
53841 CXXFLAGS="$ac_save_CXXFLAGS"
53842 else
53843 # this is the suspicious part
53844 CXXFLAGS=''
53846 if test x"$ac_fdsections" = x"yes"; then
53847 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53850 $as_echo "$ac_fdsections" >&6; }
53852 ac_ext=c
53853 ac_cpp='$CPP $CPPFLAGS'
53854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53862 # If we're not using GNU ld, then there's no point in even trying these
53863 # tests. Check for that first. We should have already tested for gld
53864 # by now (in libtool), but require it now just to be safe...
53865 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53866 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53870 # The name set by libtool depends on the version of libtool. Shame on us
53871 # for depending on an impl detail, but c'est la vie. Older versions used
53872 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53873 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53874 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53875 # set (hence we're using an older libtool), then set it.
53876 if test x${with_gnu_ld+set} != xset; then
53877 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53878 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53879 with_gnu_ld=no
53880 else
53881 with_gnu_ld=$ac_cv_prog_gnu_ld
53885 # Start by getting the version number. I think the libtool test already
53886 # does some of this, but throws away the result.
53887 glibcxx_ld_is_gold=no
53888 if test x"$with_gnu_ld" = x"yes"; then
53889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53890 $as_echo_n "checking for ld version... " >&6; }
53892 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53893 glibcxx_ld_is_gold=yes
53895 ldver=`$LD --version 2>/dev/null |
53896 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'`
53898 glibcxx_gnu_ld_version=`echo $ldver | \
53899 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53901 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53904 # Set --gc-sections.
53905 glibcxx_have_gc_sections=no
53906 if test "$glibcxx_ld_is_gold" = "yes"; then
53907 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53908 glibcxx_have_gc_sections=yes
53910 else
53911 glibcxx_gcsections_min_ld=21602
53912 if test x"$with_gnu_ld" = x"yes" &&
53913 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53914 glibcxx_have_gc_sections=yes
53917 if test "$glibcxx_have_gc_sections" = "yes"; then
53918 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53919 # NB: This flag only works reliably after 2.16.1. Configure tests
53920 # for this are difficult, so hard wire a value that should work.
53922 ac_test_CFLAGS="${CFLAGS+set}"
53923 ac_save_CFLAGS="$CFLAGS"
53924 CFLAGS='-Wl,--gc-sections'
53926 # Check for -Wl,--gc-sections
53927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53928 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53929 if test x$gcc_no_link = xyes; then
53930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53933 /* end confdefs.h. */
53934 int one(void) { return 1; }
53935 int two(void) { return 2; }
53938 main ()
53940 two();
53942 return 0;
53944 _ACEOF
53945 if ac_fn_c_try_link "$LINENO"; then :
53946 ac_gcsections=yes
53947 else
53948 ac_gcsections=no
53950 rm -f core conftest.err conftest.$ac_objext \
53951 conftest$ac_exeext conftest.$ac_ext
53952 if test "$ac_gcsections" = "yes"; then
53953 rm -f conftest.c
53954 touch conftest.c
53955 if $CC -c conftest.c; then
53956 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53957 grep "Warning: gc-sections option ignored" > /dev/null; then
53958 ac_gcsections=no
53961 rm -f conftest.c conftest.o conftest
53963 if test "$ac_gcsections" = "yes"; then
53964 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53967 $as_echo "$ac_gcsections" >&6; }
53969 if test "$ac_test_CFLAGS" = set; then
53970 CFLAGS="$ac_save_CFLAGS"
53971 else
53972 # this is the suspicious part
53973 CFLAGS=''
53977 # Set -z,relro.
53978 # Note this is only for shared objects.
53979 ac_ld_relro=no
53980 if test x"$with_gnu_ld" = x"yes"; then
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53982 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53983 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53984 if test -n "$cxx_z_relo"; then
53985 OPT_LDFLAGS="-Wl,-z,relro"
53986 ac_ld_relro=yes
53988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53989 $as_echo "$ac_ld_relro" >&6; }
53992 # Set linker optimization flags.
53993 if test x"$with_gnu_ld" = x"yes"; then
53994 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54001 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54002 ac_save_CXXFLAGS="$CXXFLAGS"
54003 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54006 $as_echo_n "checking for sin in -lm... " >&6; }
54007 if test "${ac_cv_lib_m_sin+set}" = set; then :
54008 $as_echo_n "(cached) " >&6
54009 else
54010 ac_check_lib_save_LIBS=$LIBS
54011 LIBS="-lm $LIBS"
54012 if test x$gcc_no_link = xyes; then
54013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54016 /* end confdefs.h. */
54018 /* Override any GCC internal prototype to avoid an error.
54019 Use char because int might match the return type of a GCC
54020 builtin and then its argument prototype would still apply. */
54021 #ifdef __cplusplus
54022 extern "C"
54023 #endif
54024 char sin ();
54026 main ()
54028 return sin ();
54030 return 0;
54032 _ACEOF
54033 if ac_fn_c_try_link "$LINENO"; then :
54034 ac_cv_lib_m_sin=yes
54035 else
54036 ac_cv_lib_m_sin=no
54038 rm -f core conftest.err conftest.$ac_objext \
54039 conftest$ac_exeext conftest.$ac_ext
54040 LIBS=$ac_check_lib_save_LIBS
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54043 $as_echo "$ac_cv_lib_m_sin" >&6; }
54044 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54045 libm="-lm"
54048 ac_save_LIBS="$LIBS"
54049 LIBS="$LIBS $libm"
54053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54054 $as_echo_n "checking for isinf declaration... " >&6; }
54055 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54056 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54057 $as_echo_n "(cached) " >&6
54058 else
54061 ac_ext=cpp
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h. */
54069 #include <math.h>
54070 #ifdef HAVE_IEEEFP_H
54071 #include <ieeefp.h>
54072 #endif
54075 main ()
54077 isinf(0);
54079 return 0;
54081 _ACEOF
54082 if ac_fn_cxx_try_compile "$LINENO"; then :
54083 glibcxx_cv_func_isinf_use=yes
54084 else
54085 glibcxx_cv_func_isinf_use=no
54087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54088 ac_ext=c
54089 ac_cpp='$CPP $CPPFLAGS'
54090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54099 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54101 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54102 for ac_func in isinf
54103 do :
54104 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54105 if test "x$ac_cv_func_isinf" = x""yes; then :
54106 cat >>confdefs.h <<_ACEOF
54107 #define HAVE_ISINF 1
54108 _ACEOF
54111 done
54113 else
54115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54116 $as_echo_n "checking for _isinf declaration... " >&6; }
54117 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54118 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54119 $as_echo_n "(cached) " >&6
54120 else
54123 ac_ext=cpp
54124 ac_cpp='$CXXCPP $CPPFLAGS'
54125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54130 /* end confdefs.h. */
54131 #include <math.h>
54132 #ifdef HAVE_IEEEFP_H
54133 #include <ieeefp.h>
54134 #endif
54137 main ()
54139 _isinf(0);
54141 return 0;
54143 _ACEOF
54144 if ac_fn_cxx_try_compile "$LINENO"; then :
54145 glibcxx_cv_func__isinf_use=yes
54146 else
54147 glibcxx_cv_func__isinf_use=no
54149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54150 ac_ext=c
54151 ac_cpp='$CPP $CPPFLAGS'
54152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54161 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54163 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54164 for ac_func in _isinf
54165 do :
54166 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54167 if test "x$ac_cv_func__isinf" = x""yes; then :
54168 cat >>confdefs.h <<_ACEOF
54169 #define HAVE__ISINF 1
54170 _ACEOF
54173 done
54182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54183 $as_echo_n "checking for isnan declaration... " >&6; }
54184 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54185 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54186 $as_echo_n "(cached) " >&6
54187 else
54190 ac_ext=cpp
54191 ac_cpp='$CXXCPP $CPPFLAGS'
54192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54197 /* end confdefs.h. */
54198 #include <math.h>
54199 #ifdef HAVE_IEEEFP_H
54200 #include <ieeefp.h>
54201 #endif
54204 main ()
54206 isnan(0);
54208 return 0;
54210 _ACEOF
54211 if ac_fn_cxx_try_compile "$LINENO"; then :
54212 glibcxx_cv_func_isnan_use=yes
54213 else
54214 glibcxx_cv_func_isnan_use=no
54216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54217 ac_ext=c
54218 ac_cpp='$CPP $CPPFLAGS'
54219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54228 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54230 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54231 for ac_func in isnan
54232 do :
54233 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54234 if test "x$ac_cv_func_isnan" = x""yes; then :
54235 cat >>confdefs.h <<_ACEOF
54236 #define HAVE_ISNAN 1
54237 _ACEOF
54240 done
54242 else
54244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54245 $as_echo_n "checking for _isnan declaration... " >&6; }
54246 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54247 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54248 $as_echo_n "(cached) " >&6
54249 else
54252 ac_ext=cpp
54253 ac_cpp='$CXXCPP $CPPFLAGS'
54254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54259 /* end confdefs.h. */
54260 #include <math.h>
54261 #ifdef HAVE_IEEEFP_H
54262 #include <ieeefp.h>
54263 #endif
54266 main ()
54268 _isnan(0);
54270 return 0;
54272 _ACEOF
54273 if ac_fn_cxx_try_compile "$LINENO"; then :
54274 glibcxx_cv_func__isnan_use=yes
54275 else
54276 glibcxx_cv_func__isnan_use=no
54278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54279 ac_ext=c
54280 ac_cpp='$CPP $CPPFLAGS'
54281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54290 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54292 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54293 for ac_func in _isnan
54294 do :
54295 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54296 if test "x$ac_cv_func__isnan" = x""yes; then :
54297 cat >>confdefs.h <<_ACEOF
54298 #define HAVE__ISNAN 1
54299 _ACEOF
54302 done
54311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54312 $as_echo_n "checking for finite declaration... " >&6; }
54313 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54314 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54315 $as_echo_n "(cached) " >&6
54316 else
54319 ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h. */
54327 #include <math.h>
54328 #ifdef HAVE_IEEEFP_H
54329 #include <ieeefp.h>
54330 #endif
54333 main ()
54335 finite(0);
54337 return 0;
54339 _ACEOF
54340 if ac_fn_cxx_try_compile "$LINENO"; then :
54341 glibcxx_cv_func_finite_use=yes
54342 else
54343 glibcxx_cv_func_finite_use=no
54345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54346 ac_ext=c
54347 ac_cpp='$CPP $CPPFLAGS'
54348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54357 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54359 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54360 for ac_func in finite
54361 do :
54362 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54363 if test "x$ac_cv_func_finite" = x""yes; then :
54364 cat >>confdefs.h <<_ACEOF
54365 #define HAVE_FINITE 1
54366 _ACEOF
54369 done
54371 else
54373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54374 $as_echo_n "checking for _finite declaration... " >&6; }
54375 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54376 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54377 $as_echo_n "(cached) " >&6
54378 else
54381 ac_ext=cpp
54382 ac_cpp='$CXXCPP $CPPFLAGS'
54383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54388 /* end confdefs.h. */
54389 #include <math.h>
54390 #ifdef HAVE_IEEEFP_H
54391 #include <ieeefp.h>
54392 #endif
54395 main ()
54397 _finite(0);
54399 return 0;
54401 _ACEOF
54402 if ac_fn_cxx_try_compile "$LINENO"; then :
54403 glibcxx_cv_func__finite_use=yes
54404 else
54405 glibcxx_cv_func__finite_use=no
54407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54408 ac_ext=c
54409 ac_cpp='$CPP $CPPFLAGS'
54410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54419 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54421 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54422 for ac_func in _finite
54423 do :
54424 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54425 if test "x$ac_cv_func__finite" = x""yes; then :
54426 cat >>confdefs.h <<_ACEOF
54427 #define HAVE__FINITE 1
54428 _ACEOF
54431 done
54440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54441 $as_echo_n "checking for sincos declaration... " >&6; }
54442 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54443 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54444 $as_echo_n "(cached) " >&6
54445 else
54448 ac_ext=cpp
54449 ac_cpp='$CXXCPP $CPPFLAGS'
54450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54455 /* end confdefs.h. */
54456 #include <math.h>
54458 main ()
54460 sincos(0, 0, 0);
54462 return 0;
54464 _ACEOF
54465 if ac_fn_cxx_try_compile "$LINENO"; then :
54466 glibcxx_cv_func_sincos_use=yes
54467 else
54468 glibcxx_cv_func_sincos_use=no
54470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54471 ac_ext=c
54472 ac_cpp='$CPP $CPPFLAGS'
54473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54482 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54484 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54485 for ac_func in sincos
54486 do :
54487 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54488 if test "x$ac_cv_func_sincos" = x""yes; then :
54489 cat >>confdefs.h <<_ACEOF
54490 #define HAVE_SINCOS 1
54491 _ACEOF
54494 done
54496 else
54498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54499 $as_echo_n "checking for _sincos declaration... " >&6; }
54500 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54501 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54502 $as_echo_n "(cached) " >&6
54503 else
54506 ac_ext=cpp
54507 ac_cpp='$CXXCPP $CPPFLAGS'
54508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54513 /* end confdefs.h. */
54514 #include <math.h>
54516 main ()
54518 _sincos(0, 0, 0);
54520 return 0;
54522 _ACEOF
54523 if ac_fn_cxx_try_compile "$LINENO"; then :
54524 glibcxx_cv_func__sincos_use=yes
54525 else
54526 glibcxx_cv_func__sincos_use=no
54528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54529 ac_ext=c
54530 ac_cpp='$CPP $CPPFLAGS'
54531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54540 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54542 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54543 for ac_func in _sincos
54544 do :
54545 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54546 if test "x$ac_cv_func__sincos" = x""yes; then :
54547 cat >>confdefs.h <<_ACEOF
54548 #define HAVE__SINCOS 1
54549 _ACEOF
54552 done
54561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54562 $as_echo_n "checking for fpclass declaration... " >&6; }
54563 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54564 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54565 $as_echo_n "(cached) " >&6
54566 else
54569 ac_ext=cpp
54570 ac_cpp='$CXXCPP $CPPFLAGS'
54571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54576 /* end confdefs.h. */
54577 #include <math.h>
54578 #ifdef HAVE_IEEEFP_H
54579 #include <ieeefp.h>
54580 #endif
54583 main ()
54585 fpclass(0);
54587 return 0;
54589 _ACEOF
54590 if ac_fn_cxx_try_compile "$LINENO"; then :
54591 glibcxx_cv_func_fpclass_use=yes
54592 else
54593 glibcxx_cv_func_fpclass_use=no
54595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54596 ac_ext=c
54597 ac_cpp='$CPP $CPPFLAGS'
54598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54607 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54609 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54610 for ac_func in fpclass
54611 do :
54612 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54613 if test "x$ac_cv_func_fpclass" = x""yes; then :
54614 cat >>confdefs.h <<_ACEOF
54615 #define HAVE_FPCLASS 1
54616 _ACEOF
54619 done
54621 else
54623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54624 $as_echo_n "checking for _fpclass declaration... " >&6; }
54625 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54626 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54627 $as_echo_n "(cached) " >&6
54628 else
54631 ac_ext=cpp
54632 ac_cpp='$CXXCPP $CPPFLAGS'
54633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54638 /* end confdefs.h. */
54639 #include <math.h>
54640 #ifdef HAVE_IEEEFP_H
54641 #include <ieeefp.h>
54642 #endif
54645 main ()
54647 _fpclass(0);
54649 return 0;
54651 _ACEOF
54652 if ac_fn_cxx_try_compile "$LINENO"; then :
54653 glibcxx_cv_func__fpclass_use=yes
54654 else
54655 glibcxx_cv_func__fpclass_use=no
54657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54658 ac_ext=c
54659 ac_cpp='$CPP $CPPFLAGS'
54660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54669 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54671 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54672 for ac_func in _fpclass
54673 do :
54674 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54675 if test "x$ac_cv_func__fpclass" = x""yes; then :
54676 cat >>confdefs.h <<_ACEOF
54677 #define HAVE__FPCLASS 1
54678 _ACEOF
54681 done
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54691 $as_echo_n "checking for qfpclass declaration... " >&6; }
54692 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54693 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54694 $as_echo_n "(cached) " >&6
54695 else
54698 ac_ext=cpp
54699 ac_cpp='$CXXCPP $CPPFLAGS'
54700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54705 /* end confdefs.h. */
54706 #include <math.h>
54707 #ifdef HAVE_IEEEFP_H
54708 #include <ieeefp.h>
54709 #endif
54712 main ()
54714 qfpclass(0);
54716 return 0;
54718 _ACEOF
54719 if ac_fn_cxx_try_compile "$LINENO"; then :
54720 glibcxx_cv_func_qfpclass_use=yes
54721 else
54722 glibcxx_cv_func_qfpclass_use=no
54724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54725 ac_ext=c
54726 ac_cpp='$CPP $CPPFLAGS'
54727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54736 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54738 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54739 for ac_func in qfpclass
54740 do :
54741 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54742 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54743 cat >>confdefs.h <<_ACEOF
54744 #define HAVE_QFPCLASS 1
54745 _ACEOF
54748 done
54750 else
54752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54753 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54754 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54755 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54756 $as_echo_n "(cached) " >&6
54757 else
54760 ac_ext=cpp
54761 ac_cpp='$CXXCPP $CPPFLAGS'
54762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54767 /* end confdefs.h. */
54768 #include <math.h>
54769 #ifdef HAVE_IEEEFP_H
54770 #include <ieeefp.h>
54771 #endif
54774 main ()
54776 _qfpclass(0);
54778 return 0;
54780 _ACEOF
54781 if ac_fn_cxx_try_compile "$LINENO"; then :
54782 glibcxx_cv_func__qfpclass_use=yes
54783 else
54784 glibcxx_cv_func__qfpclass_use=no
54786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54787 ac_ext=c
54788 ac_cpp='$CPP $CPPFLAGS'
54789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54798 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54800 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54801 for ac_func in _qfpclass
54802 do :
54803 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54804 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54805 cat >>confdefs.h <<_ACEOF
54806 #define HAVE__QFPCLASS 1
54807 _ACEOF
54810 done
54819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54820 $as_echo_n "checking for hypot declaration... " >&6; }
54821 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54822 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54823 $as_echo_n "(cached) " >&6
54824 else
54827 ac_ext=cpp
54828 ac_cpp='$CXXCPP $CPPFLAGS'
54829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54834 /* end confdefs.h. */
54835 #include <math.h>
54837 main ()
54839 hypot(0, 0);
54841 return 0;
54843 _ACEOF
54844 if ac_fn_cxx_try_compile "$LINENO"; then :
54845 glibcxx_cv_func_hypot_use=yes
54846 else
54847 glibcxx_cv_func_hypot_use=no
54849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54850 ac_ext=c
54851 ac_cpp='$CPP $CPPFLAGS'
54852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54861 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54863 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54864 for ac_func in hypot
54865 do :
54866 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54867 if test "x$ac_cv_func_hypot" = x""yes; then :
54868 cat >>confdefs.h <<_ACEOF
54869 #define HAVE_HYPOT 1
54870 _ACEOF
54873 done
54875 else
54877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54878 $as_echo_n "checking for _hypot declaration... " >&6; }
54879 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54880 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54881 $as_echo_n "(cached) " >&6
54882 else
54885 ac_ext=cpp
54886 ac_cpp='$CXXCPP $CPPFLAGS'
54887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54892 /* end confdefs.h. */
54893 #include <math.h>
54895 main ()
54897 _hypot(0, 0);
54899 return 0;
54901 _ACEOF
54902 if ac_fn_cxx_try_compile "$LINENO"; then :
54903 glibcxx_cv_func__hypot_use=yes
54904 else
54905 glibcxx_cv_func__hypot_use=no
54907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54908 ac_ext=c
54909 ac_cpp='$CPP $CPPFLAGS'
54910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54919 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54921 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54922 for ac_func in _hypot
54923 do :
54924 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54925 if test "x$ac_cv_func__hypot" = x""yes; then :
54926 cat >>confdefs.h <<_ACEOF
54927 #define HAVE__HYPOT 1
54928 _ACEOF
54931 done
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54941 $as_echo_n "checking for float trig functions... " >&6; }
54942 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54943 $as_echo_n "(cached) " >&6
54944 else
54947 ac_ext=cpp
54948 ac_cpp='$CXXCPP $CPPFLAGS'
54949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54954 /* end confdefs.h. */
54955 #include <math.h>
54957 main ()
54959 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54961 return 0;
54963 _ACEOF
54964 if ac_fn_cxx_try_compile "$LINENO"; then :
54965 glibcxx_cv_func_float_trig_use=yes
54966 else
54967 glibcxx_cv_func_float_trig_use=no
54969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54970 ac_ext=c
54971 ac_cpp='$CPP $CPPFLAGS'
54972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54979 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54980 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54981 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54982 do :
54983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54985 eval as_val=\$$as_ac_var
54986 if test "x$as_val" = x""yes; then :
54987 cat >>confdefs.h <<_ACEOF
54988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54989 _ACEOF
54992 done
54994 else
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54996 $as_echo_n "checking for _float trig functions... " >&6; }
54997 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54998 $as_echo_n "(cached) " >&6
54999 else
55002 ac_ext=cpp
55003 ac_cpp='$CXXCPP $CPPFLAGS'
55004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55009 /* end confdefs.h. */
55010 #include <math.h>
55012 main ()
55014 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55016 return 0;
55018 _ACEOF
55019 if ac_fn_cxx_try_compile "$LINENO"; then :
55020 glibcxx_cv_func__float_trig_use=yes
55021 else
55022 glibcxx_cv_func__float_trig_use=no
55024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55025 ac_ext=c
55026 ac_cpp='$CPP $CPPFLAGS'
55027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55034 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55035 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55036 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55037 do :
55038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55040 eval as_val=\$$as_ac_var
55041 if test "x$as_val" = x""yes; then :
55042 cat >>confdefs.h <<_ACEOF
55043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55044 _ACEOF
55047 done
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55057 $as_echo_n "checking for float round functions... " >&6; }
55058 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55059 $as_echo_n "(cached) " >&6
55060 else
55063 ac_ext=cpp
55064 ac_cpp='$CXXCPP $CPPFLAGS'
55065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55070 /* end confdefs.h. */
55071 #include <math.h>
55073 main ()
55075 ceilf (0); floorf (0);
55077 return 0;
55079 _ACEOF
55080 if ac_fn_cxx_try_compile "$LINENO"; then :
55081 glibcxx_cv_func_float_round_use=yes
55082 else
55083 glibcxx_cv_func_float_round_use=no
55085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55086 ac_ext=c
55087 ac_cpp='$CPP $CPPFLAGS'
55088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55095 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55096 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55097 for ac_func in ceilf floorf
55098 do :
55099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55101 eval as_val=\$$as_ac_var
55102 if test "x$as_val" = x""yes; then :
55103 cat >>confdefs.h <<_ACEOF
55104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55105 _ACEOF
55108 done
55110 else
55111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55112 $as_echo_n "checking for _float round functions... " >&6; }
55113 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55114 $as_echo_n "(cached) " >&6
55115 else
55118 ac_ext=cpp
55119 ac_cpp='$CXXCPP $CPPFLAGS'
55120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55125 /* end confdefs.h. */
55126 #include <math.h>
55128 main ()
55130 _ceilf (0); _floorf (0);
55132 return 0;
55134 _ACEOF
55135 if ac_fn_cxx_try_compile "$LINENO"; then :
55136 glibcxx_cv_func__float_round_use=yes
55137 else
55138 glibcxx_cv_func__float_round_use=no
55140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55141 ac_ext=c
55142 ac_cpp='$CPP $CPPFLAGS'
55143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55150 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55151 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55152 for ac_func in _ceilf _floorf
55153 do :
55154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55156 eval as_val=\$$as_ac_var
55157 if test "x$as_val" = x""yes; then :
55158 cat >>confdefs.h <<_ACEOF
55159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55160 _ACEOF
55163 done
55173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55174 $as_echo_n "checking for expf declaration... " >&6; }
55175 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55176 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55177 $as_echo_n "(cached) " >&6
55178 else
55181 ac_ext=cpp
55182 ac_cpp='$CXXCPP $CPPFLAGS'
55183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55188 /* end confdefs.h. */
55189 #include <math.h>
55190 #ifdef HAVE_IEEEFP_H
55191 #include <ieeefp.h>
55192 #endif
55195 main ()
55197 expf(0);
55199 return 0;
55201 _ACEOF
55202 if ac_fn_cxx_try_compile "$LINENO"; then :
55203 glibcxx_cv_func_expf_use=yes
55204 else
55205 glibcxx_cv_func_expf_use=no
55207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55208 ac_ext=c
55209 ac_cpp='$CPP $CPPFLAGS'
55210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55219 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55221 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55222 for ac_func in expf
55223 do :
55224 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55225 if test "x$ac_cv_func_expf" = x""yes; then :
55226 cat >>confdefs.h <<_ACEOF
55227 #define HAVE_EXPF 1
55228 _ACEOF
55231 done
55233 else
55235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55236 $as_echo_n "checking for _expf declaration... " >&6; }
55237 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55238 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55239 $as_echo_n "(cached) " >&6
55240 else
55243 ac_ext=cpp
55244 ac_cpp='$CXXCPP $CPPFLAGS'
55245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55250 /* end confdefs.h. */
55251 #include <math.h>
55252 #ifdef HAVE_IEEEFP_H
55253 #include <ieeefp.h>
55254 #endif
55257 main ()
55259 _expf(0);
55261 return 0;
55263 _ACEOF
55264 if ac_fn_cxx_try_compile "$LINENO"; then :
55265 glibcxx_cv_func__expf_use=yes
55266 else
55267 glibcxx_cv_func__expf_use=no
55269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55270 ac_ext=c
55271 ac_cpp='$CPP $CPPFLAGS'
55272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55281 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55283 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55284 for ac_func in _expf
55285 do :
55286 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55287 if test "x$ac_cv_func__expf" = x""yes; then :
55288 cat >>confdefs.h <<_ACEOF
55289 #define HAVE__EXPF 1
55290 _ACEOF
55293 done
55302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55303 $as_echo_n "checking for isnanf declaration... " >&6; }
55304 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55305 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55306 $as_echo_n "(cached) " >&6
55307 else
55310 ac_ext=cpp
55311 ac_cpp='$CXXCPP $CPPFLAGS'
55312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55317 /* end confdefs.h. */
55318 #include <math.h>
55319 #ifdef HAVE_IEEEFP_H
55320 #include <ieeefp.h>
55321 #endif
55324 main ()
55326 isnanf(0);
55328 return 0;
55330 _ACEOF
55331 if ac_fn_cxx_try_compile "$LINENO"; then :
55332 glibcxx_cv_func_isnanf_use=yes
55333 else
55334 glibcxx_cv_func_isnanf_use=no
55336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55337 ac_ext=c
55338 ac_cpp='$CPP $CPPFLAGS'
55339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55348 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55350 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55351 for ac_func in isnanf
55352 do :
55353 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55354 if test "x$ac_cv_func_isnanf" = x""yes; then :
55355 cat >>confdefs.h <<_ACEOF
55356 #define HAVE_ISNANF 1
55357 _ACEOF
55360 done
55362 else
55364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55365 $as_echo_n "checking for _isnanf declaration... " >&6; }
55366 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55367 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55368 $as_echo_n "(cached) " >&6
55369 else
55372 ac_ext=cpp
55373 ac_cpp='$CXXCPP $CPPFLAGS'
55374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55379 /* end confdefs.h. */
55380 #include <math.h>
55381 #ifdef HAVE_IEEEFP_H
55382 #include <ieeefp.h>
55383 #endif
55386 main ()
55388 _isnanf(0);
55390 return 0;
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394 glibcxx_cv_func__isnanf_use=yes
55395 else
55396 glibcxx_cv_func__isnanf_use=no
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399 ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55410 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55412 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55413 for ac_func in _isnanf
55414 do :
55415 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55416 if test "x$ac_cv_func__isnanf" = x""yes; then :
55417 cat >>confdefs.h <<_ACEOF
55418 #define HAVE__ISNANF 1
55419 _ACEOF
55422 done
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55432 $as_echo_n "checking for isinff declaration... " >&6; }
55433 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55434 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55435 $as_echo_n "(cached) " >&6
55436 else
55439 ac_ext=cpp
55440 ac_cpp='$CXXCPP $CPPFLAGS'
55441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55446 /* end confdefs.h. */
55447 #include <math.h>
55448 #ifdef HAVE_IEEEFP_H
55449 #include <ieeefp.h>
55450 #endif
55453 main ()
55455 isinff(0);
55457 return 0;
55459 _ACEOF
55460 if ac_fn_cxx_try_compile "$LINENO"; then :
55461 glibcxx_cv_func_isinff_use=yes
55462 else
55463 glibcxx_cv_func_isinff_use=no
55465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55466 ac_ext=c
55467 ac_cpp='$CPP $CPPFLAGS'
55468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55477 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55479 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55480 for ac_func in isinff
55481 do :
55482 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55483 if test "x$ac_cv_func_isinff" = x""yes; then :
55484 cat >>confdefs.h <<_ACEOF
55485 #define HAVE_ISINFF 1
55486 _ACEOF
55489 done
55491 else
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55494 $as_echo_n "checking for _isinff declaration... " >&6; }
55495 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55496 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55497 $as_echo_n "(cached) " >&6
55498 else
55501 ac_ext=cpp
55502 ac_cpp='$CXXCPP $CPPFLAGS'
55503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55508 /* end confdefs.h. */
55509 #include <math.h>
55510 #ifdef HAVE_IEEEFP_H
55511 #include <ieeefp.h>
55512 #endif
55515 main ()
55517 _isinff(0);
55519 return 0;
55521 _ACEOF
55522 if ac_fn_cxx_try_compile "$LINENO"; then :
55523 glibcxx_cv_func__isinff_use=yes
55524 else
55525 glibcxx_cv_func__isinff_use=no
55527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55528 ac_ext=c
55529 ac_cpp='$CPP $CPPFLAGS'
55530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55539 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55541 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55542 for ac_func in _isinff
55543 do :
55544 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55545 if test "x$ac_cv_func__isinff" = x""yes; then :
55546 cat >>confdefs.h <<_ACEOF
55547 #define HAVE__ISINFF 1
55548 _ACEOF
55551 done
55560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55561 $as_echo_n "checking for atan2f declaration... " >&6; }
55562 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55563 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55564 $as_echo_n "(cached) " >&6
55565 else
55568 ac_ext=cpp
55569 ac_cpp='$CXXCPP $CPPFLAGS'
55570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55575 /* end confdefs.h. */
55576 #include <math.h>
55578 main ()
55580 atan2f(0, 0);
55582 return 0;
55584 _ACEOF
55585 if ac_fn_cxx_try_compile "$LINENO"; then :
55586 glibcxx_cv_func_atan2f_use=yes
55587 else
55588 glibcxx_cv_func_atan2f_use=no
55590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55591 ac_ext=c
55592 ac_cpp='$CPP $CPPFLAGS'
55593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55602 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55604 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55605 for ac_func in atan2f
55606 do :
55607 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55608 if test "x$ac_cv_func_atan2f" = x""yes; then :
55609 cat >>confdefs.h <<_ACEOF
55610 #define HAVE_ATAN2F 1
55611 _ACEOF
55614 done
55616 else
55618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55619 $as_echo_n "checking for _atan2f declaration... " >&6; }
55620 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55621 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55622 $as_echo_n "(cached) " >&6
55623 else
55626 ac_ext=cpp
55627 ac_cpp='$CXXCPP $CPPFLAGS'
55628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55633 /* end confdefs.h. */
55634 #include <math.h>
55636 main ()
55638 _atan2f(0, 0);
55640 return 0;
55642 _ACEOF
55643 if ac_fn_cxx_try_compile "$LINENO"; then :
55644 glibcxx_cv_func__atan2f_use=yes
55645 else
55646 glibcxx_cv_func__atan2f_use=no
55648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55649 ac_ext=c
55650 ac_cpp='$CPP $CPPFLAGS'
55651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55660 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55662 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55663 for ac_func in _atan2f
55664 do :
55665 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55666 if test "x$ac_cv_func__atan2f" = x""yes; then :
55667 cat >>confdefs.h <<_ACEOF
55668 #define HAVE__ATAN2F 1
55669 _ACEOF
55672 done
55681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55682 $as_echo_n "checking for fabsf declaration... " >&6; }
55683 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55684 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55685 $as_echo_n "(cached) " >&6
55686 else
55689 ac_ext=cpp
55690 ac_cpp='$CXXCPP $CPPFLAGS'
55691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55696 /* end confdefs.h. */
55697 #include <math.h>
55698 #ifdef HAVE_IEEEFP_H
55699 #include <ieeefp.h>
55700 #endif
55703 main ()
55705 fabsf(0);
55707 return 0;
55709 _ACEOF
55710 if ac_fn_cxx_try_compile "$LINENO"; then :
55711 glibcxx_cv_func_fabsf_use=yes
55712 else
55713 glibcxx_cv_func_fabsf_use=no
55715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55716 ac_ext=c
55717 ac_cpp='$CPP $CPPFLAGS'
55718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55727 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55729 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55730 for ac_func in fabsf
55731 do :
55732 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55733 if test "x$ac_cv_func_fabsf" = x""yes; then :
55734 cat >>confdefs.h <<_ACEOF
55735 #define HAVE_FABSF 1
55736 _ACEOF
55739 done
55741 else
55743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55744 $as_echo_n "checking for _fabsf declaration... " >&6; }
55745 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55746 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55747 $as_echo_n "(cached) " >&6
55748 else
55751 ac_ext=cpp
55752 ac_cpp='$CXXCPP $CPPFLAGS'
55753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55758 /* end confdefs.h. */
55759 #include <math.h>
55760 #ifdef HAVE_IEEEFP_H
55761 #include <ieeefp.h>
55762 #endif
55765 main ()
55767 _fabsf(0);
55769 return 0;
55771 _ACEOF
55772 if ac_fn_cxx_try_compile "$LINENO"; then :
55773 glibcxx_cv_func__fabsf_use=yes
55774 else
55775 glibcxx_cv_func__fabsf_use=no
55777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55778 ac_ext=c
55779 ac_cpp='$CPP $CPPFLAGS'
55780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55789 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55791 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55792 for ac_func in _fabsf
55793 do :
55794 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55795 if test "x$ac_cv_func__fabsf" = x""yes; then :
55796 cat >>confdefs.h <<_ACEOF
55797 #define HAVE__FABSF 1
55798 _ACEOF
55801 done
55810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55811 $as_echo_n "checking for fmodf declaration... " >&6; }
55812 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55813 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55814 $as_echo_n "(cached) " >&6
55815 else
55818 ac_ext=cpp
55819 ac_cpp='$CXXCPP $CPPFLAGS'
55820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55825 /* end confdefs.h. */
55826 #include <math.h>
55828 main ()
55830 fmodf(0, 0);
55832 return 0;
55834 _ACEOF
55835 if ac_fn_cxx_try_compile "$LINENO"; then :
55836 glibcxx_cv_func_fmodf_use=yes
55837 else
55838 glibcxx_cv_func_fmodf_use=no
55840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55841 ac_ext=c
55842 ac_cpp='$CPP $CPPFLAGS'
55843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55852 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55854 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55855 for ac_func in fmodf
55856 do :
55857 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55858 if test "x$ac_cv_func_fmodf" = x""yes; then :
55859 cat >>confdefs.h <<_ACEOF
55860 #define HAVE_FMODF 1
55861 _ACEOF
55864 done
55866 else
55868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55869 $as_echo_n "checking for _fmodf declaration... " >&6; }
55870 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55871 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55872 $as_echo_n "(cached) " >&6
55873 else
55876 ac_ext=cpp
55877 ac_cpp='$CXXCPP $CPPFLAGS'
55878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55883 /* end confdefs.h. */
55884 #include <math.h>
55886 main ()
55888 _fmodf(0, 0);
55890 return 0;
55892 _ACEOF
55893 if ac_fn_cxx_try_compile "$LINENO"; then :
55894 glibcxx_cv_func__fmodf_use=yes
55895 else
55896 glibcxx_cv_func__fmodf_use=no
55898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55899 ac_ext=c
55900 ac_cpp='$CPP $CPPFLAGS'
55901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55910 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55912 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55913 for ac_func in _fmodf
55914 do :
55915 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55916 if test "x$ac_cv_func__fmodf" = x""yes; then :
55917 cat >>confdefs.h <<_ACEOF
55918 #define HAVE__FMODF 1
55919 _ACEOF
55922 done
55931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55932 $as_echo_n "checking for frexpf declaration... " >&6; }
55933 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55934 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55935 $as_echo_n "(cached) " >&6
55936 else
55939 ac_ext=cpp
55940 ac_cpp='$CXXCPP $CPPFLAGS'
55941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55946 /* end confdefs.h. */
55947 #include <math.h>
55949 main ()
55951 frexpf(0, 0);
55953 return 0;
55955 _ACEOF
55956 if ac_fn_cxx_try_compile "$LINENO"; then :
55957 glibcxx_cv_func_frexpf_use=yes
55958 else
55959 glibcxx_cv_func_frexpf_use=no
55961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55962 ac_ext=c
55963 ac_cpp='$CPP $CPPFLAGS'
55964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55973 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55975 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55976 for ac_func in frexpf
55977 do :
55978 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55979 if test "x$ac_cv_func_frexpf" = x""yes; then :
55980 cat >>confdefs.h <<_ACEOF
55981 #define HAVE_FREXPF 1
55982 _ACEOF
55985 done
55987 else
55989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55990 $as_echo_n "checking for _frexpf declaration... " >&6; }
55991 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55992 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55993 $as_echo_n "(cached) " >&6
55994 else
55997 ac_ext=cpp
55998 ac_cpp='$CXXCPP $CPPFLAGS'
55999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56004 /* end confdefs.h. */
56005 #include <math.h>
56007 main ()
56009 _frexpf(0, 0);
56011 return 0;
56013 _ACEOF
56014 if ac_fn_cxx_try_compile "$LINENO"; then :
56015 glibcxx_cv_func__frexpf_use=yes
56016 else
56017 glibcxx_cv_func__frexpf_use=no
56019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56020 ac_ext=c
56021 ac_cpp='$CPP $CPPFLAGS'
56022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56031 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56033 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56034 for ac_func in _frexpf
56035 do :
56036 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56037 if test "x$ac_cv_func__frexpf" = x""yes; then :
56038 cat >>confdefs.h <<_ACEOF
56039 #define HAVE__FREXPF 1
56040 _ACEOF
56043 done
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56053 $as_echo_n "checking for hypotf declaration... " >&6; }
56054 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56055 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56056 $as_echo_n "(cached) " >&6
56057 else
56060 ac_ext=cpp
56061 ac_cpp='$CXXCPP $CPPFLAGS'
56062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56067 /* end confdefs.h. */
56068 #include <math.h>
56070 main ()
56072 hypotf(0, 0);
56074 return 0;
56076 _ACEOF
56077 if ac_fn_cxx_try_compile "$LINENO"; then :
56078 glibcxx_cv_func_hypotf_use=yes
56079 else
56080 glibcxx_cv_func_hypotf_use=no
56082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56083 ac_ext=c
56084 ac_cpp='$CPP $CPPFLAGS'
56085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56094 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56096 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56097 for ac_func in hypotf
56098 do :
56099 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56100 if test "x$ac_cv_func_hypotf" = x""yes; then :
56101 cat >>confdefs.h <<_ACEOF
56102 #define HAVE_HYPOTF 1
56103 _ACEOF
56106 done
56108 else
56110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56111 $as_echo_n "checking for _hypotf declaration... " >&6; }
56112 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56113 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56114 $as_echo_n "(cached) " >&6
56115 else
56118 ac_ext=cpp
56119 ac_cpp='$CXXCPP $CPPFLAGS'
56120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56125 /* end confdefs.h. */
56126 #include <math.h>
56128 main ()
56130 _hypotf(0, 0);
56132 return 0;
56134 _ACEOF
56135 if ac_fn_cxx_try_compile "$LINENO"; then :
56136 glibcxx_cv_func__hypotf_use=yes
56137 else
56138 glibcxx_cv_func__hypotf_use=no
56140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_ext=c
56142 ac_cpp='$CPP $CPPFLAGS'
56143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56152 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56154 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56155 for ac_func in _hypotf
56156 do :
56157 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56158 if test "x$ac_cv_func__hypotf" = x""yes; then :
56159 cat >>confdefs.h <<_ACEOF
56160 #define HAVE__HYPOTF 1
56161 _ACEOF
56164 done
56173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56174 $as_echo_n "checking for ldexpf declaration... " >&6; }
56175 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56176 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56177 $as_echo_n "(cached) " >&6
56178 else
56181 ac_ext=cpp
56182 ac_cpp='$CXXCPP $CPPFLAGS'
56183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56188 /* end confdefs.h. */
56189 #include <math.h>
56191 main ()
56193 ldexpf(0, 0);
56195 return 0;
56197 _ACEOF
56198 if ac_fn_cxx_try_compile "$LINENO"; then :
56199 glibcxx_cv_func_ldexpf_use=yes
56200 else
56201 glibcxx_cv_func_ldexpf_use=no
56203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56204 ac_ext=c
56205 ac_cpp='$CPP $CPPFLAGS'
56206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56215 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56217 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56218 for ac_func in ldexpf
56219 do :
56220 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56221 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56222 cat >>confdefs.h <<_ACEOF
56223 #define HAVE_LDEXPF 1
56224 _ACEOF
56227 done
56229 else
56231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56232 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56233 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56234 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56235 $as_echo_n "(cached) " >&6
56236 else
56239 ac_ext=cpp
56240 ac_cpp='$CXXCPP $CPPFLAGS'
56241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56246 /* end confdefs.h. */
56247 #include <math.h>
56249 main ()
56251 _ldexpf(0, 0);
56253 return 0;
56255 _ACEOF
56256 if ac_fn_cxx_try_compile "$LINENO"; then :
56257 glibcxx_cv_func__ldexpf_use=yes
56258 else
56259 glibcxx_cv_func__ldexpf_use=no
56261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56262 ac_ext=c
56263 ac_cpp='$CPP $CPPFLAGS'
56264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56273 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56275 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56276 for ac_func in _ldexpf
56277 do :
56278 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56279 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56280 cat >>confdefs.h <<_ACEOF
56281 #define HAVE__LDEXPF 1
56282 _ACEOF
56285 done
56294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56295 $as_echo_n "checking for logf declaration... " >&6; }
56296 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56297 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56298 $as_echo_n "(cached) " >&6
56299 else
56302 ac_ext=cpp
56303 ac_cpp='$CXXCPP $CPPFLAGS'
56304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56309 /* end confdefs.h. */
56310 #include <math.h>
56311 #ifdef HAVE_IEEEFP_H
56312 #include <ieeefp.h>
56313 #endif
56316 main ()
56318 logf(0);
56320 return 0;
56322 _ACEOF
56323 if ac_fn_cxx_try_compile "$LINENO"; then :
56324 glibcxx_cv_func_logf_use=yes
56325 else
56326 glibcxx_cv_func_logf_use=no
56328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56329 ac_ext=c
56330 ac_cpp='$CPP $CPPFLAGS'
56331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56340 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56342 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56343 for ac_func in logf
56344 do :
56345 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56346 if test "x$ac_cv_func_logf" = x""yes; then :
56347 cat >>confdefs.h <<_ACEOF
56348 #define HAVE_LOGF 1
56349 _ACEOF
56352 done
56354 else
56356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56357 $as_echo_n "checking for _logf declaration... " >&6; }
56358 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56359 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56360 $as_echo_n "(cached) " >&6
56361 else
56364 ac_ext=cpp
56365 ac_cpp='$CXXCPP $CPPFLAGS'
56366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56371 /* end confdefs.h. */
56372 #include <math.h>
56373 #ifdef HAVE_IEEEFP_H
56374 #include <ieeefp.h>
56375 #endif
56378 main ()
56380 _logf(0);
56382 return 0;
56384 _ACEOF
56385 if ac_fn_cxx_try_compile "$LINENO"; then :
56386 glibcxx_cv_func__logf_use=yes
56387 else
56388 glibcxx_cv_func__logf_use=no
56390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56391 ac_ext=c
56392 ac_cpp='$CPP $CPPFLAGS'
56393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56402 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56404 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56405 for ac_func in _logf
56406 do :
56407 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56408 if test "x$ac_cv_func__logf" = x""yes; then :
56409 cat >>confdefs.h <<_ACEOF
56410 #define HAVE__LOGF 1
56411 _ACEOF
56414 done
56423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56424 $as_echo_n "checking for log10f declaration... " >&6; }
56425 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56426 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56427 $as_echo_n "(cached) " >&6
56428 else
56431 ac_ext=cpp
56432 ac_cpp='$CXXCPP $CPPFLAGS'
56433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56438 /* end confdefs.h. */
56439 #include <math.h>
56440 #ifdef HAVE_IEEEFP_H
56441 #include <ieeefp.h>
56442 #endif
56445 main ()
56447 log10f(0);
56449 return 0;
56451 _ACEOF
56452 if ac_fn_cxx_try_compile "$LINENO"; then :
56453 glibcxx_cv_func_log10f_use=yes
56454 else
56455 glibcxx_cv_func_log10f_use=no
56457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56458 ac_ext=c
56459 ac_cpp='$CPP $CPPFLAGS'
56460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56469 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56471 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56472 for ac_func in log10f
56473 do :
56474 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56475 if test "x$ac_cv_func_log10f" = x""yes; then :
56476 cat >>confdefs.h <<_ACEOF
56477 #define HAVE_LOG10F 1
56478 _ACEOF
56481 done
56483 else
56485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56486 $as_echo_n "checking for _log10f declaration... " >&6; }
56487 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56488 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56489 $as_echo_n "(cached) " >&6
56490 else
56493 ac_ext=cpp
56494 ac_cpp='$CXXCPP $CPPFLAGS'
56495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56500 /* end confdefs.h. */
56501 #include <math.h>
56502 #ifdef HAVE_IEEEFP_H
56503 #include <ieeefp.h>
56504 #endif
56507 main ()
56509 _log10f(0);
56511 return 0;
56513 _ACEOF
56514 if ac_fn_cxx_try_compile "$LINENO"; then :
56515 glibcxx_cv_func__log10f_use=yes
56516 else
56517 glibcxx_cv_func__log10f_use=no
56519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56520 ac_ext=c
56521 ac_cpp='$CPP $CPPFLAGS'
56522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56531 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56533 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56534 for ac_func in _log10f
56535 do :
56536 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56537 if test "x$ac_cv_func__log10f" = x""yes; then :
56538 cat >>confdefs.h <<_ACEOF
56539 #define HAVE__LOG10F 1
56540 _ACEOF
56543 done
56552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56553 $as_echo_n "checking for modff declaration... " >&6; }
56554 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56555 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56556 $as_echo_n "(cached) " >&6
56557 else
56560 ac_ext=cpp
56561 ac_cpp='$CXXCPP $CPPFLAGS'
56562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56567 /* end confdefs.h. */
56568 #include <math.h>
56570 main ()
56572 modff(0, 0);
56574 return 0;
56576 _ACEOF
56577 if ac_fn_cxx_try_compile "$LINENO"; then :
56578 glibcxx_cv_func_modff_use=yes
56579 else
56580 glibcxx_cv_func_modff_use=no
56582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56583 ac_ext=c
56584 ac_cpp='$CPP $CPPFLAGS'
56585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56594 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56596 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56597 for ac_func in modff
56598 do :
56599 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56600 if test "x$ac_cv_func_modff" = x""yes; then :
56601 cat >>confdefs.h <<_ACEOF
56602 #define HAVE_MODFF 1
56603 _ACEOF
56606 done
56608 else
56610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56611 $as_echo_n "checking for _modff declaration... " >&6; }
56612 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56613 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56614 $as_echo_n "(cached) " >&6
56615 else
56618 ac_ext=cpp
56619 ac_cpp='$CXXCPP $CPPFLAGS'
56620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56625 /* end confdefs.h. */
56626 #include <math.h>
56628 main ()
56630 _modff(0, 0);
56632 return 0;
56634 _ACEOF
56635 if ac_fn_cxx_try_compile "$LINENO"; then :
56636 glibcxx_cv_func__modff_use=yes
56637 else
56638 glibcxx_cv_func__modff_use=no
56640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56641 ac_ext=c
56642 ac_cpp='$CPP $CPPFLAGS'
56643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56652 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56654 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56655 for ac_func in _modff
56656 do :
56657 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56658 if test "x$ac_cv_func__modff" = x""yes; then :
56659 cat >>confdefs.h <<_ACEOF
56660 #define HAVE__MODFF 1
56661 _ACEOF
56664 done
56673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56674 $as_echo_n "checking for modf declaration... " >&6; }
56675 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56676 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56677 $as_echo_n "(cached) " >&6
56678 else
56681 ac_ext=cpp
56682 ac_cpp='$CXXCPP $CPPFLAGS'
56683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56688 /* end confdefs.h. */
56689 #include <math.h>
56691 main ()
56693 modf(0, 0);
56695 return 0;
56697 _ACEOF
56698 if ac_fn_cxx_try_compile "$LINENO"; then :
56699 glibcxx_cv_func_modf_use=yes
56700 else
56701 glibcxx_cv_func_modf_use=no
56703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56704 ac_ext=c
56705 ac_cpp='$CPP $CPPFLAGS'
56706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56715 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56717 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56718 for ac_func in modf
56719 do :
56720 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56721 if test "x$ac_cv_func_modf" = x""yes; then :
56722 cat >>confdefs.h <<_ACEOF
56723 #define HAVE_MODF 1
56724 _ACEOF
56727 done
56729 else
56731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56732 $as_echo_n "checking for _modf declaration... " >&6; }
56733 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56734 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56735 $as_echo_n "(cached) " >&6
56736 else
56739 ac_ext=cpp
56740 ac_cpp='$CXXCPP $CPPFLAGS'
56741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56746 /* end confdefs.h. */
56747 #include <math.h>
56749 main ()
56751 _modf(0, 0);
56753 return 0;
56755 _ACEOF
56756 if ac_fn_cxx_try_compile "$LINENO"; then :
56757 glibcxx_cv_func__modf_use=yes
56758 else
56759 glibcxx_cv_func__modf_use=no
56761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56762 ac_ext=c
56763 ac_cpp='$CPP $CPPFLAGS'
56764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56773 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56775 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56776 for ac_func in _modf
56777 do :
56778 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56779 if test "x$ac_cv_func__modf" = x""yes; then :
56780 cat >>confdefs.h <<_ACEOF
56781 #define HAVE__MODF 1
56782 _ACEOF
56785 done
56794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56795 $as_echo_n "checking for powf declaration... " >&6; }
56796 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56797 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56798 $as_echo_n "(cached) " >&6
56799 else
56802 ac_ext=cpp
56803 ac_cpp='$CXXCPP $CPPFLAGS'
56804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56809 /* end confdefs.h. */
56810 #include <math.h>
56812 main ()
56814 powf(0, 0);
56816 return 0;
56818 _ACEOF
56819 if ac_fn_cxx_try_compile "$LINENO"; then :
56820 glibcxx_cv_func_powf_use=yes
56821 else
56822 glibcxx_cv_func_powf_use=no
56824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56825 ac_ext=c
56826 ac_cpp='$CPP $CPPFLAGS'
56827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56836 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56838 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56839 for ac_func in powf
56840 do :
56841 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56842 if test "x$ac_cv_func_powf" = x""yes; then :
56843 cat >>confdefs.h <<_ACEOF
56844 #define HAVE_POWF 1
56845 _ACEOF
56848 done
56850 else
56852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56853 $as_echo_n "checking for _powf declaration... " >&6; }
56854 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56855 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56856 $as_echo_n "(cached) " >&6
56857 else
56860 ac_ext=cpp
56861 ac_cpp='$CXXCPP $CPPFLAGS'
56862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56867 /* end confdefs.h. */
56868 #include <math.h>
56870 main ()
56872 _powf(0, 0);
56874 return 0;
56876 _ACEOF
56877 if ac_fn_cxx_try_compile "$LINENO"; then :
56878 glibcxx_cv_func__powf_use=yes
56879 else
56880 glibcxx_cv_func__powf_use=no
56882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56883 ac_ext=c
56884 ac_cpp='$CPP $CPPFLAGS'
56885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56894 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56896 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56897 for ac_func in _powf
56898 do :
56899 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56900 if test "x$ac_cv_func__powf" = x""yes; then :
56901 cat >>confdefs.h <<_ACEOF
56902 #define HAVE__POWF 1
56903 _ACEOF
56906 done
56915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56916 $as_echo_n "checking for sqrtf declaration... " >&6; }
56917 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56918 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56919 $as_echo_n "(cached) " >&6
56920 else
56923 ac_ext=cpp
56924 ac_cpp='$CXXCPP $CPPFLAGS'
56925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56930 /* end confdefs.h. */
56931 #include <math.h>
56932 #ifdef HAVE_IEEEFP_H
56933 #include <ieeefp.h>
56934 #endif
56937 main ()
56939 sqrtf(0);
56941 return 0;
56943 _ACEOF
56944 if ac_fn_cxx_try_compile "$LINENO"; then :
56945 glibcxx_cv_func_sqrtf_use=yes
56946 else
56947 glibcxx_cv_func_sqrtf_use=no
56949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56950 ac_ext=c
56951 ac_cpp='$CPP $CPPFLAGS'
56952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56961 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56963 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56964 for ac_func in sqrtf
56965 do :
56966 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56967 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56968 cat >>confdefs.h <<_ACEOF
56969 #define HAVE_SQRTF 1
56970 _ACEOF
56973 done
56975 else
56977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56978 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56979 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56980 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56981 $as_echo_n "(cached) " >&6
56982 else
56985 ac_ext=cpp
56986 ac_cpp='$CXXCPP $CPPFLAGS'
56987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56992 /* end confdefs.h. */
56993 #include <math.h>
56994 #ifdef HAVE_IEEEFP_H
56995 #include <ieeefp.h>
56996 #endif
56999 main ()
57001 _sqrtf(0);
57003 return 0;
57005 _ACEOF
57006 if ac_fn_cxx_try_compile "$LINENO"; then :
57007 glibcxx_cv_func__sqrtf_use=yes
57008 else
57009 glibcxx_cv_func__sqrtf_use=no
57011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57012 ac_ext=c
57013 ac_cpp='$CPP $CPPFLAGS'
57014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57023 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57025 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57026 for ac_func in _sqrtf
57027 do :
57028 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57029 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57030 cat >>confdefs.h <<_ACEOF
57031 #define HAVE__SQRTF 1
57032 _ACEOF
57035 done
57044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57045 $as_echo_n "checking for sincosf declaration... " >&6; }
57046 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57047 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57048 $as_echo_n "(cached) " >&6
57049 else
57052 ac_ext=cpp
57053 ac_cpp='$CXXCPP $CPPFLAGS'
57054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57059 /* end confdefs.h. */
57060 #include <math.h>
57062 main ()
57064 sincosf(0, 0, 0);
57066 return 0;
57068 _ACEOF
57069 if ac_fn_cxx_try_compile "$LINENO"; then :
57070 glibcxx_cv_func_sincosf_use=yes
57071 else
57072 glibcxx_cv_func_sincosf_use=no
57074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57075 ac_ext=c
57076 ac_cpp='$CPP $CPPFLAGS'
57077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57086 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57088 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57089 for ac_func in sincosf
57090 do :
57091 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57092 if test "x$ac_cv_func_sincosf" = x""yes; then :
57093 cat >>confdefs.h <<_ACEOF
57094 #define HAVE_SINCOSF 1
57095 _ACEOF
57098 done
57100 else
57102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57103 $as_echo_n "checking for _sincosf declaration... " >&6; }
57104 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57105 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57106 $as_echo_n "(cached) " >&6
57107 else
57110 ac_ext=cpp
57111 ac_cpp='$CXXCPP $CPPFLAGS'
57112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57117 /* end confdefs.h. */
57118 #include <math.h>
57120 main ()
57122 _sincosf(0, 0, 0);
57124 return 0;
57126 _ACEOF
57127 if ac_fn_cxx_try_compile "$LINENO"; then :
57128 glibcxx_cv_func__sincosf_use=yes
57129 else
57130 glibcxx_cv_func__sincosf_use=no
57132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57133 ac_ext=c
57134 ac_cpp='$CPP $CPPFLAGS'
57135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57144 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57146 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57147 for ac_func in _sincosf
57148 do :
57149 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57150 if test "x$ac_cv_func__sincosf" = x""yes; then :
57151 cat >>confdefs.h <<_ACEOF
57152 #define HAVE__SINCOSF 1
57153 _ACEOF
57156 done
57165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57166 $as_echo_n "checking for finitef declaration... " >&6; }
57167 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57168 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57169 $as_echo_n "(cached) " >&6
57170 else
57173 ac_ext=cpp
57174 ac_cpp='$CXXCPP $CPPFLAGS'
57175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57180 /* end confdefs.h. */
57181 #include <math.h>
57182 #ifdef HAVE_IEEEFP_H
57183 #include <ieeefp.h>
57184 #endif
57187 main ()
57189 finitef(0);
57191 return 0;
57193 _ACEOF
57194 if ac_fn_cxx_try_compile "$LINENO"; then :
57195 glibcxx_cv_func_finitef_use=yes
57196 else
57197 glibcxx_cv_func_finitef_use=no
57199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57200 ac_ext=c
57201 ac_cpp='$CPP $CPPFLAGS'
57202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57211 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57213 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57214 for ac_func in finitef
57215 do :
57216 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57217 if test "x$ac_cv_func_finitef" = x""yes; then :
57218 cat >>confdefs.h <<_ACEOF
57219 #define HAVE_FINITEF 1
57220 _ACEOF
57223 done
57225 else
57227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57228 $as_echo_n "checking for _finitef declaration... " >&6; }
57229 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57230 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57231 $as_echo_n "(cached) " >&6
57232 else
57235 ac_ext=cpp
57236 ac_cpp='$CXXCPP $CPPFLAGS'
57237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57242 /* end confdefs.h. */
57243 #include <math.h>
57244 #ifdef HAVE_IEEEFP_H
57245 #include <ieeefp.h>
57246 #endif
57249 main ()
57251 _finitef(0);
57253 return 0;
57255 _ACEOF
57256 if ac_fn_cxx_try_compile "$LINENO"; then :
57257 glibcxx_cv_func__finitef_use=yes
57258 else
57259 glibcxx_cv_func__finitef_use=no
57261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57262 ac_ext=c
57263 ac_cpp='$CPP $CPPFLAGS'
57264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57273 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57275 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57276 for ac_func in _finitef
57277 do :
57278 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57279 if test "x$ac_cv_func__finitef" = x""yes; then :
57280 cat >>confdefs.h <<_ACEOF
57281 #define HAVE__FINITEF 1
57282 _ACEOF
57285 done
57294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57295 $as_echo_n "checking for long double trig functions... " >&6; }
57296 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57297 $as_echo_n "(cached) " >&6
57298 else
57301 ac_ext=cpp
57302 ac_cpp='$CXXCPP $CPPFLAGS'
57303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57308 /* end confdefs.h. */
57309 #include <math.h>
57311 main ()
57313 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57315 return 0;
57317 _ACEOF
57318 if ac_fn_cxx_try_compile "$LINENO"; then :
57319 glibcxx_cv_func_long_double_trig_use=yes
57320 else
57321 glibcxx_cv_func_long_double_trig_use=no
57323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57324 ac_ext=c
57325 ac_cpp='$CPP $CPPFLAGS'
57326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57333 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57334 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57335 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57336 do :
57337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57339 eval as_val=\$$as_ac_var
57340 if test "x$as_val" = x""yes; then :
57341 cat >>confdefs.h <<_ACEOF
57342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57343 _ACEOF
57346 done
57348 else
57349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57350 $as_echo_n "checking for _long double trig functions... " >&6; }
57351 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57352 $as_echo_n "(cached) " >&6
57353 else
57356 ac_ext=cpp
57357 ac_cpp='$CXXCPP $CPPFLAGS'
57358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57363 /* end confdefs.h. */
57364 #include <math.h>
57366 main ()
57368 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57370 return 0;
57372 _ACEOF
57373 if ac_fn_cxx_try_compile "$LINENO"; then :
57374 glibcxx_cv_func__long_double_trig_use=yes
57375 else
57376 glibcxx_cv_func__long_double_trig_use=no
57378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57379 ac_ext=c
57380 ac_cpp='$CPP $CPPFLAGS'
57381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57388 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57389 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57390 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57391 do :
57392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57394 eval as_val=\$$as_ac_var
57395 if test "x$as_val" = x""yes; then :
57396 cat >>confdefs.h <<_ACEOF
57397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57398 _ACEOF
57401 done
57410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57411 $as_echo_n "checking for long double round functions... " >&6; }
57412 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57413 $as_echo_n "(cached) " >&6
57414 else
57417 ac_ext=cpp
57418 ac_cpp='$CXXCPP $CPPFLAGS'
57419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57424 /* end confdefs.h. */
57425 #include <math.h>
57427 main ()
57429 ceill (0); floorl (0);
57431 return 0;
57433 _ACEOF
57434 if ac_fn_cxx_try_compile "$LINENO"; then :
57435 glibcxx_cv_func_long_double_round_use=yes
57436 else
57437 glibcxx_cv_func_long_double_round_use=no
57439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57440 ac_ext=c
57441 ac_cpp='$CPP $CPPFLAGS'
57442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57449 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57450 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57451 for ac_func in ceill floorl
57452 do :
57453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57455 eval as_val=\$$as_ac_var
57456 if test "x$as_val" = x""yes; then :
57457 cat >>confdefs.h <<_ACEOF
57458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57459 _ACEOF
57462 done
57464 else
57465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57466 $as_echo_n "checking for _long double round functions... " >&6; }
57467 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57468 $as_echo_n "(cached) " >&6
57469 else
57472 ac_ext=cpp
57473 ac_cpp='$CXXCPP $CPPFLAGS'
57474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57479 /* end confdefs.h. */
57480 #include <math.h>
57482 main ()
57484 _ceill (0); _floorl (0);
57486 return 0;
57488 _ACEOF
57489 if ac_fn_cxx_try_compile "$LINENO"; then :
57490 glibcxx_cv_func__long_double_round_use=yes
57491 else
57492 glibcxx_cv_func__long_double_round_use=no
57494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57495 ac_ext=c
57496 ac_cpp='$CPP $CPPFLAGS'
57497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57504 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57505 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57506 for ac_func in _ceill _floorl
57507 do :
57508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57510 eval as_val=\$$as_ac_var
57511 if test "x$as_val" = x""yes; then :
57512 cat >>confdefs.h <<_ACEOF
57513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57514 _ACEOF
57517 done
57527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57528 $as_echo_n "checking for isnanl declaration... " >&6; }
57529 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57530 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57531 $as_echo_n "(cached) " >&6
57532 else
57535 ac_ext=cpp
57536 ac_cpp='$CXXCPP $CPPFLAGS'
57537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57542 /* end confdefs.h. */
57543 #include <math.h>
57544 #ifdef HAVE_IEEEFP_H
57545 #include <ieeefp.h>
57546 #endif
57549 main ()
57551 isnanl(0);
57553 return 0;
57555 _ACEOF
57556 if ac_fn_cxx_try_compile "$LINENO"; then :
57557 glibcxx_cv_func_isnanl_use=yes
57558 else
57559 glibcxx_cv_func_isnanl_use=no
57561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57562 ac_ext=c
57563 ac_cpp='$CPP $CPPFLAGS'
57564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57573 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57575 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57576 for ac_func in isnanl
57577 do :
57578 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57579 if test "x$ac_cv_func_isnanl" = x""yes; then :
57580 cat >>confdefs.h <<_ACEOF
57581 #define HAVE_ISNANL 1
57582 _ACEOF
57585 done
57587 else
57589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57590 $as_echo_n "checking for _isnanl declaration... " >&6; }
57591 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57592 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57593 $as_echo_n "(cached) " >&6
57594 else
57597 ac_ext=cpp
57598 ac_cpp='$CXXCPP $CPPFLAGS'
57599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57604 /* end confdefs.h. */
57605 #include <math.h>
57606 #ifdef HAVE_IEEEFP_H
57607 #include <ieeefp.h>
57608 #endif
57611 main ()
57613 _isnanl(0);
57615 return 0;
57617 _ACEOF
57618 if ac_fn_cxx_try_compile "$LINENO"; then :
57619 glibcxx_cv_func__isnanl_use=yes
57620 else
57621 glibcxx_cv_func__isnanl_use=no
57623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57624 ac_ext=c
57625 ac_cpp='$CPP $CPPFLAGS'
57626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57635 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57637 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57638 for ac_func in _isnanl
57639 do :
57640 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57641 if test "x$ac_cv_func__isnanl" = x""yes; then :
57642 cat >>confdefs.h <<_ACEOF
57643 #define HAVE__ISNANL 1
57644 _ACEOF
57647 done
57656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57657 $as_echo_n "checking for isinfl declaration... " >&6; }
57658 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57659 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57660 $as_echo_n "(cached) " >&6
57661 else
57664 ac_ext=cpp
57665 ac_cpp='$CXXCPP $CPPFLAGS'
57666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57671 /* end confdefs.h. */
57672 #include <math.h>
57673 #ifdef HAVE_IEEEFP_H
57674 #include <ieeefp.h>
57675 #endif
57678 main ()
57680 isinfl(0);
57682 return 0;
57684 _ACEOF
57685 if ac_fn_cxx_try_compile "$LINENO"; then :
57686 glibcxx_cv_func_isinfl_use=yes
57687 else
57688 glibcxx_cv_func_isinfl_use=no
57690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57691 ac_ext=c
57692 ac_cpp='$CPP $CPPFLAGS'
57693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57702 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57704 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57705 for ac_func in isinfl
57706 do :
57707 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57708 if test "x$ac_cv_func_isinfl" = x""yes; then :
57709 cat >>confdefs.h <<_ACEOF
57710 #define HAVE_ISINFL 1
57711 _ACEOF
57714 done
57716 else
57718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57719 $as_echo_n "checking for _isinfl declaration... " >&6; }
57720 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57721 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57722 $as_echo_n "(cached) " >&6
57723 else
57726 ac_ext=cpp
57727 ac_cpp='$CXXCPP $CPPFLAGS'
57728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57733 /* end confdefs.h. */
57734 #include <math.h>
57735 #ifdef HAVE_IEEEFP_H
57736 #include <ieeefp.h>
57737 #endif
57740 main ()
57742 _isinfl(0);
57744 return 0;
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748 glibcxx_cv_func__isinfl_use=yes
57749 else
57750 glibcxx_cv_func__isinfl_use=no
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753 ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57764 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57766 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57767 for ac_func in _isinfl
57768 do :
57769 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57770 if test "x$ac_cv_func__isinfl" = x""yes; then :
57771 cat >>confdefs.h <<_ACEOF
57772 #define HAVE__ISINFL 1
57773 _ACEOF
57776 done
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57786 $as_echo_n "checking for atan2l declaration... " >&6; }
57787 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57788 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57789 $as_echo_n "(cached) " >&6
57790 else
57793 ac_ext=cpp
57794 ac_cpp='$CXXCPP $CPPFLAGS'
57795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57800 /* end confdefs.h. */
57801 #include <math.h>
57803 main ()
57805 atan2l(0, 0);
57807 return 0;
57809 _ACEOF
57810 if ac_fn_cxx_try_compile "$LINENO"; then :
57811 glibcxx_cv_func_atan2l_use=yes
57812 else
57813 glibcxx_cv_func_atan2l_use=no
57815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57816 ac_ext=c
57817 ac_cpp='$CPP $CPPFLAGS'
57818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57827 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57829 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57830 for ac_func in atan2l
57831 do :
57832 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57833 if test "x$ac_cv_func_atan2l" = x""yes; then :
57834 cat >>confdefs.h <<_ACEOF
57835 #define HAVE_ATAN2L 1
57836 _ACEOF
57839 done
57841 else
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57844 $as_echo_n "checking for _atan2l declaration... " >&6; }
57845 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57846 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57847 $as_echo_n "(cached) " >&6
57848 else
57851 ac_ext=cpp
57852 ac_cpp='$CXXCPP $CPPFLAGS'
57853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57858 /* end confdefs.h. */
57859 #include <math.h>
57861 main ()
57863 _atan2l(0, 0);
57865 return 0;
57867 _ACEOF
57868 if ac_fn_cxx_try_compile "$LINENO"; then :
57869 glibcxx_cv_func__atan2l_use=yes
57870 else
57871 glibcxx_cv_func__atan2l_use=no
57873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57874 ac_ext=c
57875 ac_cpp='$CPP $CPPFLAGS'
57876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57885 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57887 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57888 for ac_func in _atan2l
57889 do :
57890 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57891 if test "x$ac_cv_func__atan2l" = x""yes; then :
57892 cat >>confdefs.h <<_ACEOF
57893 #define HAVE__ATAN2L 1
57894 _ACEOF
57897 done
57906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57907 $as_echo_n "checking for expl declaration... " >&6; }
57908 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57909 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57910 $as_echo_n "(cached) " >&6
57911 else
57914 ac_ext=cpp
57915 ac_cpp='$CXXCPP $CPPFLAGS'
57916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57921 /* end confdefs.h. */
57922 #include <math.h>
57923 #ifdef HAVE_IEEEFP_H
57924 #include <ieeefp.h>
57925 #endif
57928 main ()
57930 expl(0);
57932 return 0;
57934 _ACEOF
57935 if ac_fn_cxx_try_compile "$LINENO"; then :
57936 glibcxx_cv_func_expl_use=yes
57937 else
57938 glibcxx_cv_func_expl_use=no
57940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57941 ac_ext=c
57942 ac_cpp='$CPP $CPPFLAGS'
57943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57952 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57954 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57955 for ac_func in expl
57956 do :
57957 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57958 if test "x$ac_cv_func_expl" = x""yes; then :
57959 cat >>confdefs.h <<_ACEOF
57960 #define HAVE_EXPL 1
57961 _ACEOF
57964 done
57966 else
57968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57969 $as_echo_n "checking for _expl declaration... " >&6; }
57970 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57971 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57972 $as_echo_n "(cached) " >&6
57973 else
57976 ac_ext=cpp
57977 ac_cpp='$CXXCPP $CPPFLAGS'
57978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57983 /* end confdefs.h. */
57984 #include <math.h>
57985 #ifdef HAVE_IEEEFP_H
57986 #include <ieeefp.h>
57987 #endif
57990 main ()
57992 _expl(0);
57994 return 0;
57996 _ACEOF
57997 if ac_fn_cxx_try_compile "$LINENO"; then :
57998 glibcxx_cv_func__expl_use=yes
57999 else
58000 glibcxx_cv_func__expl_use=no
58002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58003 ac_ext=c
58004 ac_cpp='$CPP $CPPFLAGS'
58005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58014 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58016 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58017 for ac_func in _expl
58018 do :
58019 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58020 if test "x$ac_cv_func__expl" = x""yes; then :
58021 cat >>confdefs.h <<_ACEOF
58022 #define HAVE__EXPL 1
58023 _ACEOF
58026 done
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58036 $as_echo_n "checking for fabsl declaration... " >&6; }
58037 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58038 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58039 $as_echo_n "(cached) " >&6
58040 else
58043 ac_ext=cpp
58044 ac_cpp='$CXXCPP $CPPFLAGS'
58045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58050 /* end confdefs.h. */
58051 #include <math.h>
58052 #ifdef HAVE_IEEEFP_H
58053 #include <ieeefp.h>
58054 #endif
58057 main ()
58059 fabsl(0);
58061 return 0;
58063 _ACEOF
58064 if ac_fn_cxx_try_compile "$LINENO"; then :
58065 glibcxx_cv_func_fabsl_use=yes
58066 else
58067 glibcxx_cv_func_fabsl_use=no
58069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58070 ac_ext=c
58071 ac_cpp='$CPP $CPPFLAGS'
58072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58081 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58083 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58084 for ac_func in fabsl
58085 do :
58086 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58087 if test "x$ac_cv_func_fabsl" = x""yes; then :
58088 cat >>confdefs.h <<_ACEOF
58089 #define HAVE_FABSL 1
58090 _ACEOF
58093 done
58095 else
58097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58098 $as_echo_n "checking for _fabsl declaration... " >&6; }
58099 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58100 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58101 $as_echo_n "(cached) " >&6
58102 else
58105 ac_ext=cpp
58106 ac_cpp='$CXXCPP $CPPFLAGS'
58107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58112 /* end confdefs.h. */
58113 #include <math.h>
58114 #ifdef HAVE_IEEEFP_H
58115 #include <ieeefp.h>
58116 #endif
58119 main ()
58121 _fabsl(0);
58123 return 0;
58125 _ACEOF
58126 if ac_fn_cxx_try_compile "$LINENO"; then :
58127 glibcxx_cv_func__fabsl_use=yes
58128 else
58129 glibcxx_cv_func__fabsl_use=no
58131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58132 ac_ext=c
58133 ac_cpp='$CPP $CPPFLAGS'
58134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58143 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58145 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58146 for ac_func in _fabsl
58147 do :
58148 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58149 if test "x$ac_cv_func__fabsl" = x""yes; then :
58150 cat >>confdefs.h <<_ACEOF
58151 #define HAVE__FABSL 1
58152 _ACEOF
58155 done
58164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58165 $as_echo_n "checking for fmodl declaration... " >&6; }
58166 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58167 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58168 $as_echo_n "(cached) " >&6
58169 else
58172 ac_ext=cpp
58173 ac_cpp='$CXXCPP $CPPFLAGS'
58174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58179 /* end confdefs.h. */
58180 #include <math.h>
58182 main ()
58184 fmodl(0, 0);
58186 return 0;
58188 _ACEOF
58189 if ac_fn_cxx_try_compile "$LINENO"; then :
58190 glibcxx_cv_func_fmodl_use=yes
58191 else
58192 glibcxx_cv_func_fmodl_use=no
58194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58195 ac_ext=c
58196 ac_cpp='$CPP $CPPFLAGS'
58197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58206 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58208 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58209 for ac_func in fmodl
58210 do :
58211 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58212 if test "x$ac_cv_func_fmodl" = x""yes; then :
58213 cat >>confdefs.h <<_ACEOF
58214 #define HAVE_FMODL 1
58215 _ACEOF
58218 done
58220 else
58222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58223 $as_echo_n "checking for _fmodl declaration... " >&6; }
58224 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58225 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58226 $as_echo_n "(cached) " >&6
58227 else
58230 ac_ext=cpp
58231 ac_cpp='$CXXCPP $CPPFLAGS'
58232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58237 /* end confdefs.h. */
58238 #include <math.h>
58240 main ()
58242 _fmodl(0, 0);
58244 return 0;
58246 _ACEOF
58247 if ac_fn_cxx_try_compile "$LINENO"; then :
58248 glibcxx_cv_func__fmodl_use=yes
58249 else
58250 glibcxx_cv_func__fmodl_use=no
58252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58253 ac_ext=c
58254 ac_cpp='$CPP $CPPFLAGS'
58255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58264 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58266 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58267 for ac_func in _fmodl
58268 do :
58269 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58270 if test "x$ac_cv_func__fmodl" = x""yes; then :
58271 cat >>confdefs.h <<_ACEOF
58272 #define HAVE__FMODL 1
58273 _ACEOF
58276 done
58285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58286 $as_echo_n "checking for frexpl declaration... " >&6; }
58287 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58288 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58289 $as_echo_n "(cached) " >&6
58290 else
58293 ac_ext=cpp
58294 ac_cpp='$CXXCPP $CPPFLAGS'
58295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58300 /* end confdefs.h. */
58301 #include <math.h>
58303 main ()
58305 frexpl(0, 0);
58307 return 0;
58309 _ACEOF
58310 if ac_fn_cxx_try_compile "$LINENO"; then :
58311 glibcxx_cv_func_frexpl_use=yes
58312 else
58313 glibcxx_cv_func_frexpl_use=no
58315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58316 ac_ext=c
58317 ac_cpp='$CPP $CPPFLAGS'
58318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58327 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58329 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58330 for ac_func in frexpl
58331 do :
58332 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58333 if test "x$ac_cv_func_frexpl" = x""yes; then :
58334 cat >>confdefs.h <<_ACEOF
58335 #define HAVE_FREXPL 1
58336 _ACEOF
58339 done
58341 else
58343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58344 $as_echo_n "checking for _frexpl declaration... " >&6; }
58345 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58346 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58347 $as_echo_n "(cached) " >&6
58348 else
58351 ac_ext=cpp
58352 ac_cpp='$CXXCPP $CPPFLAGS'
58353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58358 /* end confdefs.h. */
58359 #include <math.h>
58361 main ()
58363 _frexpl(0, 0);
58365 return 0;
58367 _ACEOF
58368 if ac_fn_cxx_try_compile "$LINENO"; then :
58369 glibcxx_cv_func__frexpl_use=yes
58370 else
58371 glibcxx_cv_func__frexpl_use=no
58373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58374 ac_ext=c
58375 ac_cpp='$CPP $CPPFLAGS'
58376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58385 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58387 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58388 for ac_func in _frexpl
58389 do :
58390 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58391 if test "x$ac_cv_func__frexpl" = x""yes; then :
58392 cat >>confdefs.h <<_ACEOF
58393 #define HAVE__FREXPL 1
58394 _ACEOF
58397 done
58406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58407 $as_echo_n "checking for hypotl declaration... " >&6; }
58408 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58409 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58410 $as_echo_n "(cached) " >&6
58411 else
58414 ac_ext=cpp
58415 ac_cpp='$CXXCPP $CPPFLAGS'
58416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58421 /* end confdefs.h. */
58422 #include <math.h>
58424 main ()
58426 hypotl(0, 0);
58428 return 0;
58430 _ACEOF
58431 if ac_fn_cxx_try_compile "$LINENO"; then :
58432 glibcxx_cv_func_hypotl_use=yes
58433 else
58434 glibcxx_cv_func_hypotl_use=no
58436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58437 ac_ext=c
58438 ac_cpp='$CPP $CPPFLAGS'
58439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58448 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58450 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58451 for ac_func in hypotl
58452 do :
58453 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58454 if test "x$ac_cv_func_hypotl" = x""yes; then :
58455 cat >>confdefs.h <<_ACEOF
58456 #define HAVE_HYPOTL 1
58457 _ACEOF
58460 done
58462 else
58464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58465 $as_echo_n "checking for _hypotl declaration... " >&6; }
58466 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58467 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58468 $as_echo_n "(cached) " >&6
58469 else
58472 ac_ext=cpp
58473 ac_cpp='$CXXCPP $CPPFLAGS'
58474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58479 /* end confdefs.h. */
58480 #include <math.h>
58482 main ()
58484 _hypotl(0, 0);
58486 return 0;
58488 _ACEOF
58489 if ac_fn_cxx_try_compile "$LINENO"; then :
58490 glibcxx_cv_func__hypotl_use=yes
58491 else
58492 glibcxx_cv_func__hypotl_use=no
58494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58495 ac_ext=c
58496 ac_cpp='$CPP $CPPFLAGS'
58497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58506 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58508 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58509 for ac_func in _hypotl
58510 do :
58511 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58512 if test "x$ac_cv_func__hypotl" = x""yes; then :
58513 cat >>confdefs.h <<_ACEOF
58514 #define HAVE__HYPOTL 1
58515 _ACEOF
58518 done
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58528 $as_echo_n "checking for ldexpl declaration... " >&6; }
58529 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58530 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58531 $as_echo_n "(cached) " >&6
58532 else
58535 ac_ext=cpp
58536 ac_cpp='$CXXCPP $CPPFLAGS'
58537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58542 /* end confdefs.h. */
58543 #include <math.h>
58545 main ()
58547 ldexpl(0, 0);
58549 return 0;
58551 _ACEOF
58552 if ac_fn_cxx_try_compile "$LINENO"; then :
58553 glibcxx_cv_func_ldexpl_use=yes
58554 else
58555 glibcxx_cv_func_ldexpl_use=no
58557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58558 ac_ext=c
58559 ac_cpp='$CPP $CPPFLAGS'
58560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58569 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58571 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58572 for ac_func in ldexpl
58573 do :
58574 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58575 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58576 cat >>confdefs.h <<_ACEOF
58577 #define HAVE_LDEXPL 1
58578 _ACEOF
58581 done
58583 else
58585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58586 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58587 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58588 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58589 $as_echo_n "(cached) " >&6
58590 else
58593 ac_ext=cpp
58594 ac_cpp='$CXXCPP $CPPFLAGS'
58595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58600 /* end confdefs.h. */
58601 #include <math.h>
58603 main ()
58605 _ldexpl(0, 0);
58607 return 0;
58609 _ACEOF
58610 if ac_fn_cxx_try_compile "$LINENO"; then :
58611 glibcxx_cv_func__ldexpl_use=yes
58612 else
58613 glibcxx_cv_func__ldexpl_use=no
58615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58616 ac_ext=c
58617 ac_cpp='$CPP $CPPFLAGS'
58618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58627 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58629 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58630 for ac_func in _ldexpl
58631 do :
58632 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58633 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58634 cat >>confdefs.h <<_ACEOF
58635 #define HAVE__LDEXPL 1
58636 _ACEOF
58639 done
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58649 $as_echo_n "checking for logl declaration... " >&6; }
58650 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58651 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58652 $as_echo_n "(cached) " >&6
58653 else
58656 ac_ext=cpp
58657 ac_cpp='$CXXCPP $CPPFLAGS'
58658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58663 /* end confdefs.h. */
58664 #include <math.h>
58665 #ifdef HAVE_IEEEFP_H
58666 #include <ieeefp.h>
58667 #endif
58670 main ()
58672 logl(0);
58674 return 0;
58676 _ACEOF
58677 if ac_fn_cxx_try_compile "$LINENO"; then :
58678 glibcxx_cv_func_logl_use=yes
58679 else
58680 glibcxx_cv_func_logl_use=no
58682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58683 ac_ext=c
58684 ac_cpp='$CPP $CPPFLAGS'
58685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58694 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58696 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58697 for ac_func in logl
58698 do :
58699 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58700 if test "x$ac_cv_func_logl" = x""yes; then :
58701 cat >>confdefs.h <<_ACEOF
58702 #define HAVE_LOGL 1
58703 _ACEOF
58706 done
58708 else
58710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58711 $as_echo_n "checking for _logl declaration... " >&6; }
58712 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58713 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58714 $as_echo_n "(cached) " >&6
58715 else
58718 ac_ext=cpp
58719 ac_cpp='$CXXCPP $CPPFLAGS'
58720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58725 /* end confdefs.h. */
58726 #include <math.h>
58727 #ifdef HAVE_IEEEFP_H
58728 #include <ieeefp.h>
58729 #endif
58732 main ()
58734 _logl(0);
58736 return 0;
58738 _ACEOF
58739 if ac_fn_cxx_try_compile "$LINENO"; then :
58740 glibcxx_cv_func__logl_use=yes
58741 else
58742 glibcxx_cv_func__logl_use=no
58744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58745 ac_ext=c
58746 ac_cpp='$CPP $CPPFLAGS'
58747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58756 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58758 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58759 for ac_func in _logl
58760 do :
58761 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58762 if test "x$ac_cv_func__logl" = x""yes; then :
58763 cat >>confdefs.h <<_ACEOF
58764 #define HAVE__LOGL 1
58765 _ACEOF
58768 done
58777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58778 $as_echo_n "checking for log10l declaration... " >&6; }
58779 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58780 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58781 $as_echo_n "(cached) " >&6
58782 else
58785 ac_ext=cpp
58786 ac_cpp='$CXXCPP $CPPFLAGS'
58787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58792 /* end confdefs.h. */
58793 #include <math.h>
58794 #ifdef HAVE_IEEEFP_H
58795 #include <ieeefp.h>
58796 #endif
58799 main ()
58801 log10l(0);
58803 return 0;
58805 _ACEOF
58806 if ac_fn_cxx_try_compile "$LINENO"; then :
58807 glibcxx_cv_func_log10l_use=yes
58808 else
58809 glibcxx_cv_func_log10l_use=no
58811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58812 ac_ext=c
58813 ac_cpp='$CPP $CPPFLAGS'
58814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58823 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58825 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58826 for ac_func in log10l
58827 do :
58828 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58829 if test "x$ac_cv_func_log10l" = x""yes; then :
58830 cat >>confdefs.h <<_ACEOF
58831 #define HAVE_LOG10L 1
58832 _ACEOF
58835 done
58837 else
58839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58840 $as_echo_n "checking for _log10l declaration... " >&6; }
58841 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58842 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58843 $as_echo_n "(cached) " >&6
58844 else
58847 ac_ext=cpp
58848 ac_cpp='$CXXCPP $CPPFLAGS'
58849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58854 /* end confdefs.h. */
58855 #include <math.h>
58856 #ifdef HAVE_IEEEFP_H
58857 #include <ieeefp.h>
58858 #endif
58861 main ()
58863 _log10l(0);
58865 return 0;
58867 _ACEOF
58868 if ac_fn_cxx_try_compile "$LINENO"; then :
58869 glibcxx_cv_func__log10l_use=yes
58870 else
58871 glibcxx_cv_func__log10l_use=no
58873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58874 ac_ext=c
58875 ac_cpp='$CPP $CPPFLAGS'
58876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58885 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58887 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58888 for ac_func in _log10l
58889 do :
58890 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58891 if test "x$ac_cv_func__log10l" = x""yes; then :
58892 cat >>confdefs.h <<_ACEOF
58893 #define HAVE__LOG10L 1
58894 _ACEOF
58897 done
58906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58907 $as_echo_n "checking for modfl declaration... " >&6; }
58908 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58909 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58910 $as_echo_n "(cached) " >&6
58911 else
58914 ac_ext=cpp
58915 ac_cpp='$CXXCPP $CPPFLAGS'
58916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58921 /* end confdefs.h. */
58922 #include <math.h>
58924 main ()
58926 modfl(0, 0);
58928 return 0;
58930 _ACEOF
58931 if ac_fn_cxx_try_compile "$LINENO"; then :
58932 glibcxx_cv_func_modfl_use=yes
58933 else
58934 glibcxx_cv_func_modfl_use=no
58936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58937 ac_ext=c
58938 ac_cpp='$CPP $CPPFLAGS'
58939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58948 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58950 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58951 for ac_func in modfl
58952 do :
58953 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58954 if test "x$ac_cv_func_modfl" = x""yes; then :
58955 cat >>confdefs.h <<_ACEOF
58956 #define HAVE_MODFL 1
58957 _ACEOF
58960 done
58962 else
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58965 $as_echo_n "checking for _modfl declaration... " >&6; }
58966 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58967 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58968 $as_echo_n "(cached) " >&6
58969 else
58972 ac_ext=cpp
58973 ac_cpp='$CXXCPP $CPPFLAGS'
58974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58979 /* end confdefs.h. */
58980 #include <math.h>
58982 main ()
58984 _modfl(0, 0);
58986 return 0;
58988 _ACEOF
58989 if ac_fn_cxx_try_compile "$LINENO"; then :
58990 glibcxx_cv_func__modfl_use=yes
58991 else
58992 glibcxx_cv_func__modfl_use=no
58994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58995 ac_ext=c
58996 ac_cpp='$CPP $CPPFLAGS'
58997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59006 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59008 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59009 for ac_func in _modfl
59010 do :
59011 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59012 if test "x$ac_cv_func__modfl" = x""yes; then :
59013 cat >>confdefs.h <<_ACEOF
59014 #define HAVE__MODFL 1
59015 _ACEOF
59018 done
59027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59028 $as_echo_n "checking for powl declaration... " >&6; }
59029 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59030 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59031 $as_echo_n "(cached) " >&6
59032 else
59035 ac_ext=cpp
59036 ac_cpp='$CXXCPP $CPPFLAGS'
59037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59042 /* end confdefs.h. */
59043 #include <math.h>
59045 main ()
59047 powl(0, 0);
59049 return 0;
59051 _ACEOF
59052 if ac_fn_cxx_try_compile "$LINENO"; then :
59053 glibcxx_cv_func_powl_use=yes
59054 else
59055 glibcxx_cv_func_powl_use=no
59057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59058 ac_ext=c
59059 ac_cpp='$CPP $CPPFLAGS'
59060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59069 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59071 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59072 for ac_func in powl
59073 do :
59074 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59075 if test "x$ac_cv_func_powl" = x""yes; then :
59076 cat >>confdefs.h <<_ACEOF
59077 #define HAVE_POWL 1
59078 _ACEOF
59081 done
59083 else
59085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59086 $as_echo_n "checking for _powl declaration... " >&6; }
59087 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59088 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59089 $as_echo_n "(cached) " >&6
59090 else
59093 ac_ext=cpp
59094 ac_cpp='$CXXCPP $CPPFLAGS'
59095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59100 /* end confdefs.h. */
59101 #include <math.h>
59103 main ()
59105 _powl(0, 0);
59107 return 0;
59109 _ACEOF
59110 if ac_fn_cxx_try_compile "$LINENO"; then :
59111 glibcxx_cv_func__powl_use=yes
59112 else
59113 glibcxx_cv_func__powl_use=no
59115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59116 ac_ext=c
59117 ac_cpp='$CPP $CPPFLAGS'
59118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59127 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59129 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59130 for ac_func in _powl
59131 do :
59132 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59133 if test "x$ac_cv_func__powl" = x""yes; then :
59134 cat >>confdefs.h <<_ACEOF
59135 #define HAVE__POWL 1
59136 _ACEOF
59139 done
59148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59149 $as_echo_n "checking for sqrtl declaration... " >&6; }
59150 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59151 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59152 $as_echo_n "(cached) " >&6
59153 else
59156 ac_ext=cpp
59157 ac_cpp='$CXXCPP $CPPFLAGS'
59158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59163 /* end confdefs.h. */
59164 #include <math.h>
59165 #ifdef HAVE_IEEEFP_H
59166 #include <ieeefp.h>
59167 #endif
59170 main ()
59172 sqrtl(0);
59174 return 0;
59176 _ACEOF
59177 if ac_fn_cxx_try_compile "$LINENO"; then :
59178 glibcxx_cv_func_sqrtl_use=yes
59179 else
59180 glibcxx_cv_func_sqrtl_use=no
59182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59183 ac_ext=c
59184 ac_cpp='$CPP $CPPFLAGS'
59185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59194 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59196 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59197 for ac_func in sqrtl
59198 do :
59199 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59200 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59201 cat >>confdefs.h <<_ACEOF
59202 #define HAVE_SQRTL 1
59203 _ACEOF
59206 done
59208 else
59210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59211 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59212 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59213 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59214 $as_echo_n "(cached) " >&6
59215 else
59218 ac_ext=cpp
59219 ac_cpp='$CXXCPP $CPPFLAGS'
59220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59225 /* end confdefs.h. */
59226 #include <math.h>
59227 #ifdef HAVE_IEEEFP_H
59228 #include <ieeefp.h>
59229 #endif
59232 main ()
59234 _sqrtl(0);
59236 return 0;
59238 _ACEOF
59239 if ac_fn_cxx_try_compile "$LINENO"; then :
59240 glibcxx_cv_func__sqrtl_use=yes
59241 else
59242 glibcxx_cv_func__sqrtl_use=no
59244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59245 ac_ext=c
59246 ac_cpp='$CPP $CPPFLAGS'
59247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59256 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59258 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59259 for ac_func in _sqrtl
59260 do :
59261 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59262 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59263 cat >>confdefs.h <<_ACEOF
59264 #define HAVE__SQRTL 1
59265 _ACEOF
59268 done
59277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59278 $as_echo_n "checking for sincosl declaration... " >&6; }
59279 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59280 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59281 $as_echo_n "(cached) " >&6
59282 else
59285 ac_ext=cpp
59286 ac_cpp='$CXXCPP $CPPFLAGS'
59287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59292 /* end confdefs.h. */
59293 #include <math.h>
59295 main ()
59297 sincosl(0, 0, 0);
59299 return 0;
59301 _ACEOF
59302 if ac_fn_cxx_try_compile "$LINENO"; then :
59303 glibcxx_cv_func_sincosl_use=yes
59304 else
59305 glibcxx_cv_func_sincosl_use=no
59307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59308 ac_ext=c
59309 ac_cpp='$CPP $CPPFLAGS'
59310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59319 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59321 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59322 for ac_func in sincosl
59323 do :
59324 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59325 if test "x$ac_cv_func_sincosl" = x""yes; then :
59326 cat >>confdefs.h <<_ACEOF
59327 #define HAVE_SINCOSL 1
59328 _ACEOF
59331 done
59333 else
59335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59336 $as_echo_n "checking for _sincosl declaration... " >&6; }
59337 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59338 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59339 $as_echo_n "(cached) " >&6
59340 else
59343 ac_ext=cpp
59344 ac_cpp='$CXXCPP $CPPFLAGS'
59345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59350 /* end confdefs.h. */
59351 #include <math.h>
59353 main ()
59355 _sincosl(0, 0, 0);
59357 return 0;
59359 _ACEOF
59360 if ac_fn_cxx_try_compile "$LINENO"; then :
59361 glibcxx_cv_func__sincosl_use=yes
59362 else
59363 glibcxx_cv_func__sincosl_use=no
59365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59366 ac_ext=c
59367 ac_cpp='$CPP $CPPFLAGS'
59368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59377 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59379 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59380 for ac_func in _sincosl
59381 do :
59382 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59383 if test "x$ac_cv_func__sincosl" = x""yes; then :
59384 cat >>confdefs.h <<_ACEOF
59385 #define HAVE__SINCOSL 1
59386 _ACEOF
59389 done
59398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59399 $as_echo_n "checking for finitel declaration... " >&6; }
59400 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59401 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59402 $as_echo_n "(cached) " >&6
59403 else
59406 ac_ext=cpp
59407 ac_cpp='$CXXCPP $CPPFLAGS'
59408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59413 /* end confdefs.h. */
59414 #include <math.h>
59415 #ifdef HAVE_IEEEFP_H
59416 #include <ieeefp.h>
59417 #endif
59420 main ()
59422 finitel(0);
59424 return 0;
59426 _ACEOF
59427 if ac_fn_cxx_try_compile "$LINENO"; then :
59428 glibcxx_cv_func_finitel_use=yes
59429 else
59430 glibcxx_cv_func_finitel_use=no
59432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59433 ac_ext=c
59434 ac_cpp='$CPP $CPPFLAGS'
59435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59444 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59446 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59447 for ac_func in finitel
59448 do :
59449 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59450 if test "x$ac_cv_func_finitel" = x""yes; then :
59451 cat >>confdefs.h <<_ACEOF
59452 #define HAVE_FINITEL 1
59453 _ACEOF
59456 done
59458 else
59460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59461 $as_echo_n "checking for _finitel declaration... " >&6; }
59462 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59463 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59464 $as_echo_n "(cached) " >&6
59465 else
59468 ac_ext=cpp
59469 ac_cpp='$CXXCPP $CPPFLAGS'
59470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59475 /* end confdefs.h. */
59476 #include <math.h>
59477 #ifdef HAVE_IEEEFP_H
59478 #include <ieeefp.h>
59479 #endif
59482 main ()
59484 _finitel(0);
59486 return 0;
59488 _ACEOF
59489 if ac_fn_cxx_try_compile "$LINENO"; then :
59490 glibcxx_cv_func__finitel_use=yes
59491 else
59492 glibcxx_cv_func__finitel_use=no
59494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59495 ac_ext=c
59496 ac_cpp='$CPP $CPPFLAGS'
59497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59506 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59508 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59509 for ac_func in _finitel
59510 do :
59511 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59512 if test "x$ac_cv_func__finitel" = x""yes; then :
59513 cat >>confdefs.h <<_ACEOF
59514 #define HAVE__FINITEL 1
59515 _ACEOF
59518 done
59526 LIBS="$ac_save_LIBS"
59527 CXXFLAGS="$ac_save_CXXFLAGS"
59530 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59531 ac_save_CXXFLAGS="$CXXFLAGS"
59532 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59536 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59537 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59538 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59539 $as_echo_n "(cached) " >&6
59540 else
59543 ac_ext=cpp
59544 ac_cpp='$CXXCPP $CPPFLAGS'
59545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59550 /* end confdefs.h. */
59551 #include <stdlib.h>
59553 main ()
59555 at_quick_exit(0);
59557 return 0;
59559 _ACEOF
59560 if ac_fn_cxx_try_compile "$LINENO"; then :
59561 glibcxx_cv_func_at_quick_exit_use=yes
59562 else
59563 glibcxx_cv_func_at_quick_exit_use=no
59565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59566 ac_ext=c
59567 ac_cpp='$CPP $CPPFLAGS'
59568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59577 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59578 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59579 for ac_func in at_quick_exit
59580 do :
59581 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59582 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59583 cat >>confdefs.h <<_ACEOF
59584 #define HAVE_AT_QUICK_EXIT 1
59585 _ACEOF
59588 done
59593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59594 $as_echo_n "checking for quick_exit declaration... " >&6; }
59595 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59596 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59597 $as_echo_n "(cached) " >&6
59598 else
59601 ac_ext=cpp
59602 ac_cpp='$CXXCPP $CPPFLAGS'
59603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59608 /* end confdefs.h. */
59609 #include <stdlib.h>
59611 main ()
59613 quick_exit(0);
59615 return 0;
59617 _ACEOF
59618 if ac_fn_cxx_try_compile "$LINENO"; then :
59619 glibcxx_cv_func_quick_exit_use=yes
59620 else
59621 glibcxx_cv_func_quick_exit_use=no
59623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59624 ac_ext=c
59625 ac_cpp='$CPP $CPPFLAGS'
59626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59635 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59636 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59637 for ac_func in quick_exit
59638 do :
59639 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59640 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59641 cat >>confdefs.h <<_ACEOF
59642 #define HAVE_QUICK_EXIT 1
59643 _ACEOF
59646 done
59651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59652 $as_echo_n "checking for strtold declaration... " >&6; }
59653 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59654 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59655 $as_echo_n "(cached) " >&6
59656 else
59659 ac_ext=cpp
59660 ac_cpp='$CXXCPP $CPPFLAGS'
59661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59666 /* end confdefs.h. */
59667 #include <stdlib.h>
59669 main ()
59671 strtold(0, 0);
59673 return 0;
59675 _ACEOF
59676 if ac_fn_cxx_try_compile "$LINENO"; then :
59677 glibcxx_cv_func_strtold_use=yes
59678 else
59679 glibcxx_cv_func_strtold_use=no
59681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59682 ac_ext=c
59683 ac_cpp='$CPP $CPPFLAGS'
59684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59693 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59694 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59695 for ac_func in strtold
59696 do :
59697 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59698 if test "x$ac_cv_func_strtold" = x""yes; then :
59699 cat >>confdefs.h <<_ACEOF
59700 #define HAVE_STRTOLD 1
59701 _ACEOF
59704 done
59711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59712 $as_echo_n "checking for strtof declaration... " >&6; }
59713 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59714 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59715 $as_echo_n "(cached) " >&6
59716 else
59719 ac_ext=cpp
59720 ac_cpp='$CXXCPP $CPPFLAGS'
59721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59726 /* end confdefs.h. */
59727 #include <stdlib.h>
59729 main ()
59731 strtof(0, 0);
59733 return 0;
59735 _ACEOF
59736 if ac_fn_cxx_try_compile "$LINENO"; then :
59737 glibcxx_cv_func_strtof_use=yes
59738 else
59739 glibcxx_cv_func_strtof_use=no
59741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59742 ac_ext=c
59743 ac_cpp='$CPP $CPPFLAGS'
59744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59753 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59754 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59755 for ac_func in strtof
59756 do :
59757 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59758 if test "x$ac_cv_func_strtof" = x""yes; then :
59759 cat >>confdefs.h <<_ACEOF
59760 #define HAVE_STRTOF 1
59761 _ACEOF
59764 done
59771 CXXFLAGS="$ac_save_CXXFLAGS"
59773 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59777 # Check whether --enable-tls was given.
59778 if test "${enable_tls+set}" = set; then :
59779 enableval=$enable_tls;
59780 case "$enableval" in
59781 yes|no) ;;
59782 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59783 esac
59785 else
59786 enable_tls=yes
59790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59791 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59792 if test "${gcc_cv_have_tls+set}" = set; then :
59793 $as_echo_n "(cached) " >&6
59794 else
59796 if test "$cross_compiling" = yes; then :
59797 if test x$gcc_no_link = xyes; then
59798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59801 /* end confdefs.h. */
59802 __thread int a; int b; int main() { return a = b; }
59803 _ACEOF
59804 if ac_fn_c_try_link "$LINENO"; then :
59805 chktls_save_LDFLAGS="$LDFLAGS"
59806 case $host in
59807 *-*-linux*)
59808 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59810 esac
59811 chktls_save_CFLAGS="$CFLAGS"
59812 CFLAGS="-fPIC $CFLAGS"
59813 if test x$gcc_no_link = xyes; then
59814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59817 /* end confdefs.h. */
59818 int f() { return 0; }
59819 _ACEOF
59820 if ac_fn_c_try_link "$LINENO"; then :
59821 if test x$gcc_no_link = xyes; then
59822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59825 /* end confdefs.h. */
59826 __thread int a; int b; int f() { return a = b; }
59827 _ACEOF
59828 if ac_fn_c_try_link "$LINENO"; then :
59829 gcc_cv_have_tls=yes
59830 else
59831 gcc_cv_have_tls=no
59833 rm -f core conftest.err conftest.$ac_objext \
59834 conftest$ac_exeext conftest.$ac_ext
59835 else
59836 gcc_cv_have_tls=yes
59838 rm -f core conftest.err conftest.$ac_objext \
59839 conftest$ac_exeext conftest.$ac_ext
59840 CFLAGS="$chktls_save_CFLAGS"
59841 LDFLAGS="$chktls_save_LDFLAGS"
59842 else
59843 gcc_cv_have_tls=no
59845 rm -f core conftest.err conftest.$ac_objext \
59846 conftest$ac_exeext conftest.$ac_ext
59849 else
59850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59851 /* end confdefs.h. */
59852 __thread int a; int b; int main() { return a = b; }
59853 _ACEOF
59854 if ac_fn_c_try_run "$LINENO"; then :
59855 chktls_save_LDFLAGS="$LDFLAGS"
59856 LDFLAGS="-static $LDFLAGS"
59857 if test x$gcc_no_link = xyes; then
59858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59861 /* end confdefs.h. */
59862 int main() { return 0; }
59863 _ACEOF
59864 if ac_fn_c_try_link "$LINENO"; then :
59865 if test "$cross_compiling" = yes; then :
59866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59868 as_fn_error "cannot run test program while cross compiling
59869 See \`config.log' for more details." "$LINENO" 5; }
59870 else
59871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59872 /* end confdefs.h. */
59873 __thread int a; int b; int main() { return a = b; }
59874 _ACEOF
59875 if ac_fn_c_try_run "$LINENO"; then :
59876 gcc_cv_have_tls=yes
59877 else
59878 gcc_cv_have_tls=no
59880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59881 conftest.$ac_objext conftest.beam conftest.$ac_ext
59884 else
59885 gcc_cv_have_tls=yes
59887 rm -f core conftest.err conftest.$ac_objext \
59888 conftest$ac_exeext conftest.$ac_ext
59889 LDFLAGS="$chktls_save_LDFLAGS"
59890 if test $gcc_cv_have_tls = yes; then
59891 chktls_save_CFLAGS="$CFLAGS"
59892 thread_CFLAGS=failed
59893 for flag in '' '-pthread' '-lpthread'; do
59894 CFLAGS="$flag $chktls_save_CFLAGS"
59895 if test x$gcc_no_link = xyes; then
59896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59899 /* end confdefs.h. */
59900 #include <pthread.h>
59901 void *g(void *d) { return NULL; }
59903 main ()
59905 pthread_t t; pthread_create(&t,NULL,g,NULL);
59907 return 0;
59909 _ACEOF
59910 if ac_fn_c_try_link "$LINENO"; then :
59911 thread_CFLAGS="$flag"
59913 rm -f core conftest.err conftest.$ac_objext \
59914 conftest$ac_exeext conftest.$ac_ext
59915 if test "X$thread_CFLAGS" != Xfailed; then
59916 break
59918 done
59919 CFLAGS="$chktls_save_CFLAGS"
59920 if test "X$thread_CFLAGS" != Xfailed; then
59921 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59922 if test "$cross_compiling" = yes; then :
59923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59925 as_fn_error "cannot run test program while cross compiling
59926 See \`config.log' for more details." "$LINENO" 5; }
59927 else
59928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59929 /* end confdefs.h. */
59930 #include <pthread.h>
59931 __thread int a;
59932 static int *volatile a_in_other_thread;
59933 static void *
59934 thread_func (void *arg)
59936 a_in_other_thread = &a;
59937 return (void *)0;
59940 main ()
59942 pthread_t thread;
59943 void *thread_retval;
59944 int *volatile a_in_main_thread;
59945 a_in_main_thread = &a;
59946 if (pthread_create (&thread, (pthread_attr_t *)0,
59947 thread_func, (void *)0))
59948 return 0;
59949 if (pthread_join (thread, &thread_retval))
59950 return 0;
59951 return (a_in_other_thread == a_in_main_thread);
59953 return 0;
59955 _ACEOF
59956 if ac_fn_c_try_run "$LINENO"; then :
59957 gcc_cv_have_tls=yes
59958 else
59959 gcc_cv_have_tls=no
59961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59962 conftest.$ac_objext conftest.beam conftest.$ac_ext
59965 CFLAGS="$chktls_save_CFLAGS"
59968 else
59969 gcc_cv_have_tls=no
59971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59972 conftest.$ac_objext conftest.beam conftest.$ac_ext
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59977 $as_echo "$gcc_cv_have_tls" >&6; }
59978 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59980 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59983 for ac_func in __cxa_thread_atexit_impl
59984 do :
59985 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59986 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59987 cat >>confdefs.h <<_ACEOF
59988 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59989 _ACEOF
59992 done
59994 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59995 do :
59996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59998 eval as_val=\$$as_ac_var
59999 if test "x$as_val" = x""yes; then :
60000 cat >>confdefs.h <<_ACEOF
60001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60002 _ACEOF
60005 done
60012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60013 $as_echo_n "checking for iconv... " >&6; }
60014 if test "${am_cv_func_iconv+set}" = set; then :
60015 $as_echo_n "(cached) " >&6
60016 else
60018 am_cv_func_iconv="no, consider installing GNU libiconv"
60019 am_cv_lib_iconv=no
60020 am_save_CPPFLAGS="$CPPFLAGS"
60021 CPPFLAGS="$CPPFLAGS $INCICONV"
60022 if test x$gcc_no_link = xyes; then
60023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60026 /* end confdefs.h. */
60027 #include <stdlib.h>
60028 #include <iconv.h>
60030 main ()
60032 iconv_t cd = iconv_open("","");
60033 iconv(cd,NULL,NULL,NULL,NULL);
60034 iconv_close(cd);
60036 return 0;
60038 _ACEOF
60039 if ac_fn_c_try_link "$LINENO"; then :
60040 am_cv_func_iconv=yes
60042 rm -f core conftest.err conftest.$ac_objext \
60043 conftest$ac_exeext conftest.$ac_ext
60044 CPPFLAGS="$am_save_CPPFLAGS"
60046 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60047 for _libs in .libs _libs; do
60048 am_save_CPPFLAGS="$CPPFLAGS"
60049 am_save_LIBS="$LIBS"
60050 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60051 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60052 if test x$gcc_no_link = xyes; then
60053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60056 /* end confdefs.h. */
60057 #include <stdlib.h>
60058 #include <iconv.h>
60060 main ()
60062 iconv_t cd = iconv_open("","");
60063 iconv(cd,NULL,NULL,NULL,NULL);
60064 iconv_close(cd);
60066 return 0;
60068 _ACEOF
60069 if ac_fn_c_try_link "$LINENO"; then :
60070 INCICONV="-I../libiconv/include"
60071 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60072 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60073 am_cv_lib_iconv=yes
60074 am_cv_func_iconv=yes
60076 rm -f core conftest.err conftest.$ac_objext \
60077 conftest$ac_exeext conftest.$ac_ext
60078 CPPFLAGS="$am_save_CPPFLAGS"
60079 LIBS="$am_save_LIBS"
60080 if test "$am_cv_func_iconv" = "yes"; then
60081 break
60083 done
60086 if test "$am_cv_func_iconv" != yes; then
60087 am_save_CPPFLAGS="$CPPFLAGS"
60088 am_save_LIBS="$LIBS"
60089 CPPFLAGS="$LIBS $INCICONV"
60090 LIBS="$LIBS $LIBICONV"
60091 if test x$gcc_no_link = xyes; then
60092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60095 /* end confdefs.h. */
60096 #include <stdlib.h>
60097 #include <iconv.h>
60099 main ()
60101 iconv_t cd = iconv_open("","");
60102 iconv(cd,NULL,NULL,NULL,NULL);
60103 iconv_close(cd);
60105 return 0;
60107 _ACEOF
60108 if ac_fn_c_try_link "$LINENO"; then :
60109 am_cv_lib_iconv=yes
60110 am_cv_func_iconv=yes
60112 rm -f core conftest.err conftest.$ac_objext \
60113 conftest$ac_exeext conftest.$ac_ext
60114 CPPFLAGS="$am_save_CPPFLAGS"
60115 LIBS="$am_save_LIBS"
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60120 $as_echo "$am_cv_func_iconv" >&6; }
60121 if test "$am_cv_func_iconv" = yes; then
60123 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60126 if test "$am_cv_lib_iconv" = yes; then
60128 for element in $INCICONV; do
60129 haveit=
60130 for x in $CPPFLAGS; do
60132 acl_save_prefix="$prefix"
60133 prefix="$acl_final_prefix"
60134 acl_save_exec_prefix="$exec_prefix"
60135 exec_prefix="$acl_final_exec_prefix"
60136 eval x=\"$x\"
60137 exec_prefix="$acl_save_exec_prefix"
60138 prefix="$acl_save_prefix"
60140 if test "X$x" = "X$element"; then
60141 haveit=yes
60142 break
60144 done
60145 if test -z "$haveit"; then
60146 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60148 done
60150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60151 $as_echo_n "checking how to link with libiconv... " >&6; }
60152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60153 $as_echo "$LIBICONV" >&6; }
60154 else
60155 LIBICONV=
60156 LTLIBICONV=
60161 if test "$am_cv_func_iconv" = yes; then
60162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60163 $as_echo_n "checking for iconv declaration... " >&6; }
60164 if test "${am_cv_proto_iconv+set}" = set; then :
60165 $as_echo_n "(cached) " >&6
60166 else
60168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60169 /* end confdefs.h. */
60171 #include <stdlib.h>
60172 #include <iconv.h>
60173 extern
60174 #ifdef __cplusplus
60176 #endif
60177 #if defined(__STDC__) || defined(__cplusplus)
60178 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60179 #else
60180 size_t iconv();
60181 #endif
60184 main ()
60188 return 0;
60190 _ACEOF
60191 if ac_fn_c_try_compile "$LINENO"; then :
60192 am_cv_proto_iconv_arg1=""
60193 else
60194 am_cv_proto_iconv_arg1="const"
60196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60197 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);"
60200 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60202 }$am_cv_proto_iconv" >&5
60203 $as_echo "${ac_t:-
60204 }$am_cv_proto_iconv" >&6; }
60206 cat >>confdefs.h <<_ACEOF
60207 #define ICONV_CONST $am_cv_proto_iconv_arg1
60208 _ACEOF
60213 *-mingw32*)
60215 # If we're not using GNU ld, then there's no point in even trying these
60216 # tests. Check for that first. We should have already tested for gld
60217 # by now (in libtool), but require it now just to be safe...
60218 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60219 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60223 # The name set by libtool depends on the version of libtool. Shame on us
60224 # for depending on an impl detail, but c'est la vie. Older versions used
60225 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60226 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60227 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60228 # set (hence we're using an older libtool), then set it.
60229 if test x${with_gnu_ld+set} != xset; then
60230 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60231 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60232 with_gnu_ld=no
60233 else
60234 with_gnu_ld=$ac_cv_prog_gnu_ld
60238 # Start by getting the version number. I think the libtool test already
60239 # does some of this, but throws away the result.
60240 glibcxx_ld_is_gold=no
60241 if test x"$with_gnu_ld" = x"yes"; then
60242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60243 $as_echo_n "checking for ld version... " >&6; }
60245 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60246 glibcxx_ld_is_gold=yes
60248 ldver=`$LD --version 2>/dev/null |
60249 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'`
60251 glibcxx_gnu_ld_version=`echo $ldver | \
60252 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60254 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60257 # Set --gc-sections.
60258 glibcxx_have_gc_sections=no
60259 if test "$glibcxx_ld_is_gold" = "yes"; then
60260 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60261 glibcxx_have_gc_sections=yes
60263 else
60264 glibcxx_gcsections_min_ld=21602
60265 if test x"$with_gnu_ld" = x"yes" &&
60266 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60267 glibcxx_have_gc_sections=yes
60270 if test "$glibcxx_have_gc_sections" = "yes"; then
60271 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60272 # NB: This flag only works reliably after 2.16.1. Configure tests
60273 # for this are difficult, so hard wire a value that should work.
60275 ac_test_CFLAGS="${CFLAGS+set}"
60276 ac_save_CFLAGS="$CFLAGS"
60277 CFLAGS='-Wl,--gc-sections'
60279 # Check for -Wl,--gc-sections
60280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60281 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60282 if test x$gcc_no_link = xyes; then
60283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60286 /* end confdefs.h. */
60287 int one(void) { return 1; }
60288 int two(void) { return 2; }
60291 main ()
60293 two();
60295 return 0;
60297 _ACEOF
60298 if ac_fn_c_try_link "$LINENO"; then :
60299 ac_gcsections=yes
60300 else
60301 ac_gcsections=no
60303 rm -f core conftest.err conftest.$ac_objext \
60304 conftest$ac_exeext conftest.$ac_ext
60305 if test "$ac_gcsections" = "yes"; then
60306 rm -f conftest.c
60307 touch conftest.c
60308 if $CC -c conftest.c; then
60309 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60310 grep "Warning: gc-sections option ignored" > /dev/null; then
60311 ac_gcsections=no
60314 rm -f conftest.c conftest.o conftest
60316 if test "$ac_gcsections" = "yes"; then
60317 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60320 $as_echo "$ac_gcsections" >&6; }
60322 if test "$ac_test_CFLAGS" = set; then
60323 CFLAGS="$ac_save_CFLAGS"
60324 else
60325 # this is the suspicious part
60326 CFLAGS=''
60330 # Set -z,relro.
60331 # Note this is only for shared objects.
60332 ac_ld_relro=no
60333 if test x"$with_gnu_ld" = x"yes"; then
60334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60335 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60336 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60337 if test -n "$cxx_z_relo"; then
60338 OPT_LDFLAGS="-Wl,-z,relro"
60339 ac_ld_relro=yes
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60342 $as_echo "$ac_ld_relro" >&6; }
60345 # Set linker optimization flags.
60346 if test x"$with_gnu_ld" = x"yes"; then
60347 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60354 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60355 ac_save_CXXFLAGS="$CXXFLAGS"
60356 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60359 $as_echo_n "checking for sin in -lm... " >&6; }
60360 if test "${ac_cv_lib_m_sin+set}" = set; then :
60361 $as_echo_n "(cached) " >&6
60362 else
60363 ac_check_lib_save_LIBS=$LIBS
60364 LIBS="-lm $LIBS"
60365 if test x$gcc_no_link = xyes; then
60366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60369 /* end confdefs.h. */
60371 /* Override any GCC internal prototype to avoid an error.
60372 Use char because int might match the return type of a GCC
60373 builtin and then its argument prototype would still apply. */
60374 #ifdef __cplusplus
60375 extern "C"
60376 #endif
60377 char sin ();
60379 main ()
60381 return sin ();
60383 return 0;
60385 _ACEOF
60386 if ac_fn_c_try_link "$LINENO"; then :
60387 ac_cv_lib_m_sin=yes
60388 else
60389 ac_cv_lib_m_sin=no
60391 rm -f core conftest.err conftest.$ac_objext \
60392 conftest$ac_exeext conftest.$ac_ext
60393 LIBS=$ac_check_lib_save_LIBS
60395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60396 $as_echo "$ac_cv_lib_m_sin" >&6; }
60397 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60398 libm="-lm"
60401 ac_save_LIBS="$LIBS"
60402 LIBS="$LIBS $libm"
60406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60407 $as_echo_n "checking for isinf declaration... " >&6; }
60408 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60409 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60410 $as_echo_n "(cached) " >&6
60411 else
60414 ac_ext=cpp
60415 ac_cpp='$CXXCPP $CPPFLAGS'
60416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60421 /* end confdefs.h. */
60422 #include <math.h>
60423 #ifdef HAVE_IEEEFP_H
60424 #include <ieeefp.h>
60425 #endif
60428 main ()
60430 isinf(0);
60432 return 0;
60434 _ACEOF
60435 if ac_fn_cxx_try_compile "$LINENO"; then :
60436 glibcxx_cv_func_isinf_use=yes
60437 else
60438 glibcxx_cv_func_isinf_use=no
60440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60441 ac_ext=c
60442 ac_cpp='$CPP $CPPFLAGS'
60443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60452 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60454 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60455 for ac_func in isinf
60456 do :
60457 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60458 if test "x$ac_cv_func_isinf" = x""yes; then :
60459 cat >>confdefs.h <<_ACEOF
60460 #define HAVE_ISINF 1
60461 _ACEOF
60464 done
60466 else
60468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60469 $as_echo_n "checking for _isinf declaration... " >&6; }
60470 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60471 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60472 $as_echo_n "(cached) " >&6
60473 else
60476 ac_ext=cpp
60477 ac_cpp='$CXXCPP $CPPFLAGS'
60478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60483 /* end confdefs.h. */
60484 #include <math.h>
60485 #ifdef HAVE_IEEEFP_H
60486 #include <ieeefp.h>
60487 #endif
60490 main ()
60492 _isinf(0);
60494 return 0;
60496 _ACEOF
60497 if ac_fn_cxx_try_compile "$LINENO"; then :
60498 glibcxx_cv_func__isinf_use=yes
60499 else
60500 glibcxx_cv_func__isinf_use=no
60502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60503 ac_ext=c
60504 ac_cpp='$CPP $CPPFLAGS'
60505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60514 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60516 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60517 for ac_func in _isinf
60518 do :
60519 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60520 if test "x$ac_cv_func__isinf" = x""yes; then :
60521 cat >>confdefs.h <<_ACEOF
60522 #define HAVE__ISINF 1
60523 _ACEOF
60526 done
60535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60536 $as_echo_n "checking for isnan declaration... " >&6; }
60537 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60538 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60539 $as_echo_n "(cached) " >&6
60540 else
60543 ac_ext=cpp
60544 ac_cpp='$CXXCPP $CPPFLAGS'
60545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60550 /* end confdefs.h. */
60551 #include <math.h>
60552 #ifdef HAVE_IEEEFP_H
60553 #include <ieeefp.h>
60554 #endif
60557 main ()
60559 isnan(0);
60561 return 0;
60563 _ACEOF
60564 if ac_fn_cxx_try_compile "$LINENO"; then :
60565 glibcxx_cv_func_isnan_use=yes
60566 else
60567 glibcxx_cv_func_isnan_use=no
60569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60570 ac_ext=c
60571 ac_cpp='$CPP $CPPFLAGS'
60572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60581 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60583 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60584 for ac_func in isnan
60585 do :
60586 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60587 if test "x$ac_cv_func_isnan" = x""yes; then :
60588 cat >>confdefs.h <<_ACEOF
60589 #define HAVE_ISNAN 1
60590 _ACEOF
60593 done
60595 else
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60598 $as_echo_n "checking for _isnan declaration... " >&6; }
60599 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60600 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60601 $as_echo_n "(cached) " >&6
60602 else
60605 ac_ext=cpp
60606 ac_cpp='$CXXCPP $CPPFLAGS'
60607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60612 /* end confdefs.h. */
60613 #include <math.h>
60614 #ifdef HAVE_IEEEFP_H
60615 #include <ieeefp.h>
60616 #endif
60619 main ()
60621 _isnan(0);
60623 return 0;
60625 _ACEOF
60626 if ac_fn_cxx_try_compile "$LINENO"; then :
60627 glibcxx_cv_func__isnan_use=yes
60628 else
60629 glibcxx_cv_func__isnan_use=no
60631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60632 ac_ext=c
60633 ac_cpp='$CPP $CPPFLAGS'
60634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60643 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60645 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60646 for ac_func in _isnan
60647 do :
60648 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60649 if test "x$ac_cv_func__isnan" = x""yes; then :
60650 cat >>confdefs.h <<_ACEOF
60651 #define HAVE__ISNAN 1
60652 _ACEOF
60655 done
60664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60665 $as_echo_n "checking for finite declaration... " >&6; }
60666 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60667 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60668 $as_echo_n "(cached) " >&6
60669 else
60672 ac_ext=cpp
60673 ac_cpp='$CXXCPP $CPPFLAGS'
60674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60679 /* end confdefs.h. */
60680 #include <math.h>
60681 #ifdef HAVE_IEEEFP_H
60682 #include <ieeefp.h>
60683 #endif
60686 main ()
60688 finite(0);
60690 return 0;
60692 _ACEOF
60693 if ac_fn_cxx_try_compile "$LINENO"; then :
60694 glibcxx_cv_func_finite_use=yes
60695 else
60696 glibcxx_cv_func_finite_use=no
60698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60699 ac_ext=c
60700 ac_cpp='$CPP $CPPFLAGS'
60701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60710 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60712 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60713 for ac_func in finite
60714 do :
60715 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60716 if test "x$ac_cv_func_finite" = x""yes; then :
60717 cat >>confdefs.h <<_ACEOF
60718 #define HAVE_FINITE 1
60719 _ACEOF
60722 done
60724 else
60726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60727 $as_echo_n "checking for _finite declaration... " >&6; }
60728 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60729 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60730 $as_echo_n "(cached) " >&6
60731 else
60734 ac_ext=cpp
60735 ac_cpp='$CXXCPP $CPPFLAGS'
60736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60741 /* end confdefs.h. */
60742 #include <math.h>
60743 #ifdef HAVE_IEEEFP_H
60744 #include <ieeefp.h>
60745 #endif
60748 main ()
60750 _finite(0);
60752 return 0;
60754 _ACEOF
60755 if ac_fn_cxx_try_compile "$LINENO"; then :
60756 glibcxx_cv_func__finite_use=yes
60757 else
60758 glibcxx_cv_func__finite_use=no
60760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60761 ac_ext=c
60762 ac_cpp='$CPP $CPPFLAGS'
60763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60772 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60774 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60775 for ac_func in _finite
60776 do :
60777 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60778 if test "x$ac_cv_func__finite" = x""yes; then :
60779 cat >>confdefs.h <<_ACEOF
60780 #define HAVE__FINITE 1
60781 _ACEOF
60784 done
60793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60794 $as_echo_n "checking for sincos declaration... " >&6; }
60795 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60796 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60797 $as_echo_n "(cached) " >&6
60798 else
60801 ac_ext=cpp
60802 ac_cpp='$CXXCPP $CPPFLAGS'
60803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60808 /* end confdefs.h. */
60809 #include <math.h>
60811 main ()
60813 sincos(0, 0, 0);
60815 return 0;
60817 _ACEOF
60818 if ac_fn_cxx_try_compile "$LINENO"; then :
60819 glibcxx_cv_func_sincos_use=yes
60820 else
60821 glibcxx_cv_func_sincos_use=no
60823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60824 ac_ext=c
60825 ac_cpp='$CPP $CPPFLAGS'
60826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60835 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60837 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60838 for ac_func in sincos
60839 do :
60840 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60841 if test "x$ac_cv_func_sincos" = x""yes; then :
60842 cat >>confdefs.h <<_ACEOF
60843 #define HAVE_SINCOS 1
60844 _ACEOF
60847 done
60849 else
60851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60852 $as_echo_n "checking for _sincos declaration... " >&6; }
60853 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60854 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60855 $as_echo_n "(cached) " >&6
60856 else
60859 ac_ext=cpp
60860 ac_cpp='$CXXCPP $CPPFLAGS'
60861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60866 /* end confdefs.h. */
60867 #include <math.h>
60869 main ()
60871 _sincos(0, 0, 0);
60873 return 0;
60875 _ACEOF
60876 if ac_fn_cxx_try_compile "$LINENO"; then :
60877 glibcxx_cv_func__sincos_use=yes
60878 else
60879 glibcxx_cv_func__sincos_use=no
60881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60882 ac_ext=c
60883 ac_cpp='$CPP $CPPFLAGS'
60884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60893 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60895 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60896 for ac_func in _sincos
60897 do :
60898 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60899 if test "x$ac_cv_func__sincos" = x""yes; then :
60900 cat >>confdefs.h <<_ACEOF
60901 #define HAVE__SINCOS 1
60902 _ACEOF
60905 done
60914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60915 $as_echo_n "checking for fpclass declaration... " >&6; }
60916 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60917 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60918 $as_echo_n "(cached) " >&6
60919 else
60922 ac_ext=cpp
60923 ac_cpp='$CXXCPP $CPPFLAGS'
60924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60929 /* end confdefs.h. */
60930 #include <math.h>
60931 #ifdef HAVE_IEEEFP_H
60932 #include <ieeefp.h>
60933 #endif
60936 main ()
60938 fpclass(0);
60940 return 0;
60942 _ACEOF
60943 if ac_fn_cxx_try_compile "$LINENO"; then :
60944 glibcxx_cv_func_fpclass_use=yes
60945 else
60946 glibcxx_cv_func_fpclass_use=no
60948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60949 ac_ext=c
60950 ac_cpp='$CPP $CPPFLAGS'
60951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60960 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60962 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60963 for ac_func in fpclass
60964 do :
60965 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60966 if test "x$ac_cv_func_fpclass" = x""yes; then :
60967 cat >>confdefs.h <<_ACEOF
60968 #define HAVE_FPCLASS 1
60969 _ACEOF
60972 done
60974 else
60976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60977 $as_echo_n "checking for _fpclass declaration... " >&6; }
60978 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60979 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60980 $as_echo_n "(cached) " >&6
60981 else
60984 ac_ext=cpp
60985 ac_cpp='$CXXCPP $CPPFLAGS'
60986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60991 /* end confdefs.h. */
60992 #include <math.h>
60993 #ifdef HAVE_IEEEFP_H
60994 #include <ieeefp.h>
60995 #endif
60998 main ()
61000 _fpclass(0);
61002 return 0;
61004 _ACEOF
61005 if ac_fn_cxx_try_compile "$LINENO"; then :
61006 glibcxx_cv_func__fpclass_use=yes
61007 else
61008 glibcxx_cv_func__fpclass_use=no
61010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61011 ac_ext=c
61012 ac_cpp='$CPP $CPPFLAGS'
61013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61022 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61024 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61025 for ac_func in _fpclass
61026 do :
61027 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61028 if test "x$ac_cv_func__fpclass" = x""yes; then :
61029 cat >>confdefs.h <<_ACEOF
61030 #define HAVE__FPCLASS 1
61031 _ACEOF
61034 done
61043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61044 $as_echo_n "checking for qfpclass declaration... " >&6; }
61045 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61046 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61047 $as_echo_n "(cached) " >&6
61048 else
61051 ac_ext=cpp
61052 ac_cpp='$CXXCPP $CPPFLAGS'
61053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61058 /* end confdefs.h. */
61059 #include <math.h>
61060 #ifdef HAVE_IEEEFP_H
61061 #include <ieeefp.h>
61062 #endif
61065 main ()
61067 qfpclass(0);
61069 return 0;
61071 _ACEOF
61072 if ac_fn_cxx_try_compile "$LINENO"; then :
61073 glibcxx_cv_func_qfpclass_use=yes
61074 else
61075 glibcxx_cv_func_qfpclass_use=no
61077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61078 ac_ext=c
61079 ac_cpp='$CPP $CPPFLAGS'
61080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61089 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61091 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61092 for ac_func in qfpclass
61093 do :
61094 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61095 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61096 cat >>confdefs.h <<_ACEOF
61097 #define HAVE_QFPCLASS 1
61098 _ACEOF
61101 done
61103 else
61105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61106 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61107 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61108 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61109 $as_echo_n "(cached) " >&6
61110 else
61113 ac_ext=cpp
61114 ac_cpp='$CXXCPP $CPPFLAGS'
61115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61120 /* end confdefs.h. */
61121 #include <math.h>
61122 #ifdef HAVE_IEEEFP_H
61123 #include <ieeefp.h>
61124 #endif
61127 main ()
61129 _qfpclass(0);
61131 return 0;
61133 _ACEOF
61134 if ac_fn_cxx_try_compile "$LINENO"; then :
61135 glibcxx_cv_func__qfpclass_use=yes
61136 else
61137 glibcxx_cv_func__qfpclass_use=no
61139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61140 ac_ext=c
61141 ac_cpp='$CPP $CPPFLAGS'
61142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61151 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61153 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61154 for ac_func in _qfpclass
61155 do :
61156 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61157 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61158 cat >>confdefs.h <<_ACEOF
61159 #define HAVE__QFPCLASS 1
61160 _ACEOF
61163 done
61172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61173 $as_echo_n "checking for hypot declaration... " >&6; }
61174 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61175 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61176 $as_echo_n "(cached) " >&6
61177 else
61180 ac_ext=cpp
61181 ac_cpp='$CXXCPP $CPPFLAGS'
61182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61187 /* end confdefs.h. */
61188 #include <math.h>
61190 main ()
61192 hypot(0, 0);
61194 return 0;
61196 _ACEOF
61197 if ac_fn_cxx_try_compile "$LINENO"; then :
61198 glibcxx_cv_func_hypot_use=yes
61199 else
61200 glibcxx_cv_func_hypot_use=no
61202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61203 ac_ext=c
61204 ac_cpp='$CPP $CPPFLAGS'
61205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61214 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61216 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61217 for ac_func in hypot
61218 do :
61219 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61220 if test "x$ac_cv_func_hypot" = x""yes; then :
61221 cat >>confdefs.h <<_ACEOF
61222 #define HAVE_HYPOT 1
61223 _ACEOF
61226 done
61228 else
61230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61231 $as_echo_n "checking for _hypot declaration... " >&6; }
61232 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61233 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61234 $as_echo_n "(cached) " >&6
61235 else
61238 ac_ext=cpp
61239 ac_cpp='$CXXCPP $CPPFLAGS'
61240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61245 /* end confdefs.h. */
61246 #include <math.h>
61248 main ()
61250 _hypot(0, 0);
61252 return 0;
61254 _ACEOF
61255 if ac_fn_cxx_try_compile "$LINENO"; then :
61256 glibcxx_cv_func__hypot_use=yes
61257 else
61258 glibcxx_cv_func__hypot_use=no
61260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61261 ac_ext=c
61262 ac_cpp='$CPP $CPPFLAGS'
61263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61272 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61274 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61275 for ac_func in _hypot
61276 do :
61277 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61278 if test "x$ac_cv_func__hypot" = x""yes; then :
61279 cat >>confdefs.h <<_ACEOF
61280 #define HAVE__HYPOT 1
61281 _ACEOF
61284 done
61293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61294 $as_echo_n "checking for float trig functions... " >&6; }
61295 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61296 $as_echo_n "(cached) " >&6
61297 else
61300 ac_ext=cpp
61301 ac_cpp='$CXXCPP $CPPFLAGS'
61302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61307 /* end confdefs.h. */
61308 #include <math.h>
61310 main ()
61312 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61314 return 0;
61316 _ACEOF
61317 if ac_fn_cxx_try_compile "$LINENO"; then :
61318 glibcxx_cv_func_float_trig_use=yes
61319 else
61320 glibcxx_cv_func_float_trig_use=no
61322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61323 ac_ext=c
61324 ac_cpp='$CPP $CPPFLAGS'
61325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61332 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61333 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61334 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61335 do :
61336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61338 eval as_val=\$$as_ac_var
61339 if test "x$as_val" = x""yes; then :
61340 cat >>confdefs.h <<_ACEOF
61341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61342 _ACEOF
61345 done
61347 else
61348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61349 $as_echo_n "checking for _float trig functions... " >&6; }
61350 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61351 $as_echo_n "(cached) " >&6
61352 else
61355 ac_ext=cpp
61356 ac_cpp='$CXXCPP $CPPFLAGS'
61357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61362 /* end confdefs.h. */
61363 #include <math.h>
61365 main ()
61367 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61369 return 0;
61371 _ACEOF
61372 if ac_fn_cxx_try_compile "$LINENO"; then :
61373 glibcxx_cv_func__float_trig_use=yes
61374 else
61375 glibcxx_cv_func__float_trig_use=no
61377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61378 ac_ext=c
61379 ac_cpp='$CPP $CPPFLAGS'
61380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61387 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61388 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61389 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61390 do :
61391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61393 eval as_val=\$$as_ac_var
61394 if test "x$as_val" = x""yes; then :
61395 cat >>confdefs.h <<_ACEOF
61396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61397 _ACEOF
61400 done
61409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61410 $as_echo_n "checking for float round functions... " >&6; }
61411 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61412 $as_echo_n "(cached) " >&6
61413 else
61416 ac_ext=cpp
61417 ac_cpp='$CXXCPP $CPPFLAGS'
61418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61423 /* end confdefs.h. */
61424 #include <math.h>
61426 main ()
61428 ceilf (0); floorf (0);
61430 return 0;
61432 _ACEOF
61433 if ac_fn_cxx_try_compile "$LINENO"; then :
61434 glibcxx_cv_func_float_round_use=yes
61435 else
61436 glibcxx_cv_func_float_round_use=no
61438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61439 ac_ext=c
61440 ac_cpp='$CPP $CPPFLAGS'
61441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61448 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61449 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61450 for ac_func in ceilf floorf
61451 do :
61452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61454 eval as_val=\$$as_ac_var
61455 if test "x$as_val" = x""yes; then :
61456 cat >>confdefs.h <<_ACEOF
61457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61458 _ACEOF
61461 done
61463 else
61464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61465 $as_echo_n "checking for _float round functions... " >&6; }
61466 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61467 $as_echo_n "(cached) " >&6
61468 else
61471 ac_ext=cpp
61472 ac_cpp='$CXXCPP $CPPFLAGS'
61473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61478 /* end confdefs.h. */
61479 #include <math.h>
61481 main ()
61483 _ceilf (0); _floorf (0);
61485 return 0;
61487 _ACEOF
61488 if ac_fn_cxx_try_compile "$LINENO"; then :
61489 glibcxx_cv_func__float_round_use=yes
61490 else
61491 glibcxx_cv_func__float_round_use=no
61493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61494 ac_ext=c
61495 ac_cpp='$CPP $CPPFLAGS'
61496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61503 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61504 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61505 for ac_func in _ceilf _floorf
61506 do :
61507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61509 eval as_val=\$$as_ac_var
61510 if test "x$as_val" = x""yes; then :
61511 cat >>confdefs.h <<_ACEOF
61512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61513 _ACEOF
61516 done
61526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61527 $as_echo_n "checking for expf declaration... " >&6; }
61528 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61529 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61530 $as_echo_n "(cached) " >&6
61531 else
61534 ac_ext=cpp
61535 ac_cpp='$CXXCPP $CPPFLAGS'
61536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61541 /* end confdefs.h. */
61542 #include <math.h>
61543 #ifdef HAVE_IEEEFP_H
61544 #include <ieeefp.h>
61545 #endif
61548 main ()
61550 expf(0);
61552 return 0;
61554 _ACEOF
61555 if ac_fn_cxx_try_compile "$LINENO"; then :
61556 glibcxx_cv_func_expf_use=yes
61557 else
61558 glibcxx_cv_func_expf_use=no
61560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61561 ac_ext=c
61562 ac_cpp='$CPP $CPPFLAGS'
61563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61572 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61574 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61575 for ac_func in expf
61576 do :
61577 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61578 if test "x$ac_cv_func_expf" = x""yes; then :
61579 cat >>confdefs.h <<_ACEOF
61580 #define HAVE_EXPF 1
61581 _ACEOF
61584 done
61586 else
61588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61589 $as_echo_n "checking for _expf declaration... " >&6; }
61590 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61591 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61592 $as_echo_n "(cached) " >&6
61593 else
61596 ac_ext=cpp
61597 ac_cpp='$CXXCPP $CPPFLAGS'
61598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61603 /* end confdefs.h. */
61604 #include <math.h>
61605 #ifdef HAVE_IEEEFP_H
61606 #include <ieeefp.h>
61607 #endif
61610 main ()
61612 _expf(0);
61614 return 0;
61616 _ACEOF
61617 if ac_fn_cxx_try_compile "$LINENO"; then :
61618 glibcxx_cv_func__expf_use=yes
61619 else
61620 glibcxx_cv_func__expf_use=no
61622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61623 ac_ext=c
61624 ac_cpp='$CPP $CPPFLAGS'
61625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61634 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61636 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61637 for ac_func in _expf
61638 do :
61639 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61640 if test "x$ac_cv_func__expf" = x""yes; then :
61641 cat >>confdefs.h <<_ACEOF
61642 #define HAVE__EXPF 1
61643 _ACEOF
61646 done
61655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61656 $as_echo_n "checking for isnanf declaration... " >&6; }
61657 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61658 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61659 $as_echo_n "(cached) " >&6
61660 else
61663 ac_ext=cpp
61664 ac_cpp='$CXXCPP $CPPFLAGS'
61665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61670 /* end confdefs.h. */
61671 #include <math.h>
61672 #ifdef HAVE_IEEEFP_H
61673 #include <ieeefp.h>
61674 #endif
61677 main ()
61679 isnanf(0);
61681 return 0;
61683 _ACEOF
61684 if ac_fn_cxx_try_compile "$LINENO"; then :
61685 glibcxx_cv_func_isnanf_use=yes
61686 else
61687 glibcxx_cv_func_isnanf_use=no
61689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61690 ac_ext=c
61691 ac_cpp='$CPP $CPPFLAGS'
61692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61701 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61703 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61704 for ac_func in isnanf
61705 do :
61706 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61707 if test "x$ac_cv_func_isnanf" = x""yes; then :
61708 cat >>confdefs.h <<_ACEOF
61709 #define HAVE_ISNANF 1
61710 _ACEOF
61713 done
61715 else
61717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61718 $as_echo_n "checking for _isnanf declaration... " >&6; }
61719 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61720 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61721 $as_echo_n "(cached) " >&6
61722 else
61725 ac_ext=cpp
61726 ac_cpp='$CXXCPP $CPPFLAGS'
61727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61732 /* end confdefs.h. */
61733 #include <math.h>
61734 #ifdef HAVE_IEEEFP_H
61735 #include <ieeefp.h>
61736 #endif
61739 main ()
61741 _isnanf(0);
61743 return 0;
61745 _ACEOF
61746 if ac_fn_cxx_try_compile "$LINENO"; then :
61747 glibcxx_cv_func__isnanf_use=yes
61748 else
61749 glibcxx_cv_func__isnanf_use=no
61751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61752 ac_ext=c
61753 ac_cpp='$CPP $CPPFLAGS'
61754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61763 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61765 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61766 for ac_func in _isnanf
61767 do :
61768 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61769 if test "x$ac_cv_func__isnanf" = x""yes; then :
61770 cat >>confdefs.h <<_ACEOF
61771 #define HAVE__ISNANF 1
61772 _ACEOF
61775 done
61784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61785 $as_echo_n "checking for isinff declaration... " >&6; }
61786 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61787 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61788 $as_echo_n "(cached) " >&6
61789 else
61792 ac_ext=cpp
61793 ac_cpp='$CXXCPP $CPPFLAGS'
61794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61799 /* end confdefs.h. */
61800 #include <math.h>
61801 #ifdef HAVE_IEEEFP_H
61802 #include <ieeefp.h>
61803 #endif
61806 main ()
61808 isinff(0);
61810 return 0;
61812 _ACEOF
61813 if ac_fn_cxx_try_compile "$LINENO"; then :
61814 glibcxx_cv_func_isinff_use=yes
61815 else
61816 glibcxx_cv_func_isinff_use=no
61818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61819 ac_ext=c
61820 ac_cpp='$CPP $CPPFLAGS'
61821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61830 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61832 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61833 for ac_func in isinff
61834 do :
61835 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61836 if test "x$ac_cv_func_isinff" = x""yes; then :
61837 cat >>confdefs.h <<_ACEOF
61838 #define HAVE_ISINFF 1
61839 _ACEOF
61842 done
61844 else
61846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61847 $as_echo_n "checking for _isinff declaration... " >&6; }
61848 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61849 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61850 $as_echo_n "(cached) " >&6
61851 else
61854 ac_ext=cpp
61855 ac_cpp='$CXXCPP $CPPFLAGS'
61856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61861 /* end confdefs.h. */
61862 #include <math.h>
61863 #ifdef HAVE_IEEEFP_H
61864 #include <ieeefp.h>
61865 #endif
61868 main ()
61870 _isinff(0);
61872 return 0;
61874 _ACEOF
61875 if ac_fn_cxx_try_compile "$LINENO"; then :
61876 glibcxx_cv_func__isinff_use=yes
61877 else
61878 glibcxx_cv_func__isinff_use=no
61880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61881 ac_ext=c
61882 ac_cpp='$CPP $CPPFLAGS'
61883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61892 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61894 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61895 for ac_func in _isinff
61896 do :
61897 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61898 if test "x$ac_cv_func__isinff" = x""yes; then :
61899 cat >>confdefs.h <<_ACEOF
61900 #define HAVE__ISINFF 1
61901 _ACEOF
61904 done
61913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61914 $as_echo_n "checking for atan2f declaration... " >&6; }
61915 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61916 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61917 $as_echo_n "(cached) " >&6
61918 else
61921 ac_ext=cpp
61922 ac_cpp='$CXXCPP $CPPFLAGS'
61923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61928 /* end confdefs.h. */
61929 #include <math.h>
61931 main ()
61933 atan2f(0, 0);
61935 return 0;
61937 _ACEOF
61938 if ac_fn_cxx_try_compile "$LINENO"; then :
61939 glibcxx_cv_func_atan2f_use=yes
61940 else
61941 glibcxx_cv_func_atan2f_use=no
61943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61944 ac_ext=c
61945 ac_cpp='$CPP $CPPFLAGS'
61946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61955 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61957 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61958 for ac_func in atan2f
61959 do :
61960 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61961 if test "x$ac_cv_func_atan2f" = x""yes; then :
61962 cat >>confdefs.h <<_ACEOF
61963 #define HAVE_ATAN2F 1
61964 _ACEOF
61967 done
61969 else
61971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61972 $as_echo_n "checking for _atan2f declaration... " >&6; }
61973 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61974 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61975 $as_echo_n "(cached) " >&6
61976 else
61979 ac_ext=cpp
61980 ac_cpp='$CXXCPP $CPPFLAGS'
61981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61986 /* end confdefs.h. */
61987 #include <math.h>
61989 main ()
61991 _atan2f(0, 0);
61993 return 0;
61995 _ACEOF
61996 if ac_fn_cxx_try_compile "$LINENO"; then :
61997 glibcxx_cv_func__atan2f_use=yes
61998 else
61999 glibcxx_cv_func__atan2f_use=no
62001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62002 ac_ext=c
62003 ac_cpp='$CPP $CPPFLAGS'
62004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62013 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62015 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62016 for ac_func in _atan2f
62017 do :
62018 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62019 if test "x$ac_cv_func__atan2f" = x""yes; then :
62020 cat >>confdefs.h <<_ACEOF
62021 #define HAVE__ATAN2F 1
62022 _ACEOF
62025 done
62034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62035 $as_echo_n "checking for fabsf declaration... " >&6; }
62036 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62037 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62038 $as_echo_n "(cached) " >&6
62039 else
62042 ac_ext=cpp
62043 ac_cpp='$CXXCPP $CPPFLAGS'
62044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62049 /* end confdefs.h. */
62050 #include <math.h>
62051 #ifdef HAVE_IEEEFP_H
62052 #include <ieeefp.h>
62053 #endif
62056 main ()
62058 fabsf(0);
62060 return 0;
62062 _ACEOF
62063 if ac_fn_cxx_try_compile "$LINENO"; then :
62064 glibcxx_cv_func_fabsf_use=yes
62065 else
62066 glibcxx_cv_func_fabsf_use=no
62068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62069 ac_ext=c
62070 ac_cpp='$CPP $CPPFLAGS'
62071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62080 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62082 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62083 for ac_func in fabsf
62084 do :
62085 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62086 if test "x$ac_cv_func_fabsf" = x""yes; then :
62087 cat >>confdefs.h <<_ACEOF
62088 #define HAVE_FABSF 1
62089 _ACEOF
62092 done
62094 else
62096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62097 $as_echo_n "checking for _fabsf declaration... " >&6; }
62098 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62099 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62100 $as_echo_n "(cached) " >&6
62101 else
62104 ac_ext=cpp
62105 ac_cpp='$CXXCPP $CPPFLAGS'
62106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62111 /* end confdefs.h. */
62112 #include <math.h>
62113 #ifdef HAVE_IEEEFP_H
62114 #include <ieeefp.h>
62115 #endif
62118 main ()
62120 _fabsf(0);
62122 return 0;
62124 _ACEOF
62125 if ac_fn_cxx_try_compile "$LINENO"; then :
62126 glibcxx_cv_func__fabsf_use=yes
62127 else
62128 glibcxx_cv_func__fabsf_use=no
62130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62131 ac_ext=c
62132 ac_cpp='$CPP $CPPFLAGS'
62133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62142 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62144 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62145 for ac_func in _fabsf
62146 do :
62147 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62148 if test "x$ac_cv_func__fabsf" = x""yes; then :
62149 cat >>confdefs.h <<_ACEOF
62150 #define HAVE__FABSF 1
62151 _ACEOF
62154 done
62163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62164 $as_echo_n "checking for fmodf declaration... " >&6; }
62165 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62166 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62167 $as_echo_n "(cached) " >&6
62168 else
62171 ac_ext=cpp
62172 ac_cpp='$CXXCPP $CPPFLAGS'
62173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62178 /* end confdefs.h. */
62179 #include <math.h>
62181 main ()
62183 fmodf(0, 0);
62185 return 0;
62187 _ACEOF
62188 if ac_fn_cxx_try_compile "$LINENO"; then :
62189 glibcxx_cv_func_fmodf_use=yes
62190 else
62191 glibcxx_cv_func_fmodf_use=no
62193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62194 ac_ext=c
62195 ac_cpp='$CPP $CPPFLAGS'
62196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62205 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62207 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62208 for ac_func in fmodf
62209 do :
62210 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62211 if test "x$ac_cv_func_fmodf" = x""yes; then :
62212 cat >>confdefs.h <<_ACEOF
62213 #define HAVE_FMODF 1
62214 _ACEOF
62217 done
62219 else
62221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62222 $as_echo_n "checking for _fmodf declaration... " >&6; }
62223 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62224 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62225 $as_echo_n "(cached) " >&6
62226 else
62229 ac_ext=cpp
62230 ac_cpp='$CXXCPP $CPPFLAGS'
62231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62236 /* end confdefs.h. */
62237 #include <math.h>
62239 main ()
62241 _fmodf(0, 0);
62243 return 0;
62245 _ACEOF
62246 if ac_fn_cxx_try_compile "$LINENO"; then :
62247 glibcxx_cv_func__fmodf_use=yes
62248 else
62249 glibcxx_cv_func__fmodf_use=no
62251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62252 ac_ext=c
62253 ac_cpp='$CPP $CPPFLAGS'
62254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62263 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62265 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62266 for ac_func in _fmodf
62267 do :
62268 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62269 if test "x$ac_cv_func__fmodf" = x""yes; then :
62270 cat >>confdefs.h <<_ACEOF
62271 #define HAVE__FMODF 1
62272 _ACEOF
62275 done
62284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62285 $as_echo_n "checking for frexpf declaration... " >&6; }
62286 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62287 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62288 $as_echo_n "(cached) " >&6
62289 else
62292 ac_ext=cpp
62293 ac_cpp='$CXXCPP $CPPFLAGS'
62294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62299 /* end confdefs.h. */
62300 #include <math.h>
62302 main ()
62304 frexpf(0, 0);
62306 return 0;
62308 _ACEOF
62309 if ac_fn_cxx_try_compile "$LINENO"; then :
62310 glibcxx_cv_func_frexpf_use=yes
62311 else
62312 glibcxx_cv_func_frexpf_use=no
62314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62315 ac_ext=c
62316 ac_cpp='$CPP $CPPFLAGS'
62317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62326 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62328 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62329 for ac_func in frexpf
62330 do :
62331 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62332 if test "x$ac_cv_func_frexpf" = x""yes; then :
62333 cat >>confdefs.h <<_ACEOF
62334 #define HAVE_FREXPF 1
62335 _ACEOF
62338 done
62340 else
62342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62343 $as_echo_n "checking for _frexpf declaration... " >&6; }
62344 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62345 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62346 $as_echo_n "(cached) " >&6
62347 else
62350 ac_ext=cpp
62351 ac_cpp='$CXXCPP $CPPFLAGS'
62352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62357 /* end confdefs.h. */
62358 #include <math.h>
62360 main ()
62362 _frexpf(0, 0);
62364 return 0;
62366 _ACEOF
62367 if ac_fn_cxx_try_compile "$LINENO"; then :
62368 glibcxx_cv_func__frexpf_use=yes
62369 else
62370 glibcxx_cv_func__frexpf_use=no
62372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62373 ac_ext=c
62374 ac_cpp='$CPP $CPPFLAGS'
62375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62384 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62386 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62387 for ac_func in _frexpf
62388 do :
62389 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62390 if test "x$ac_cv_func__frexpf" = x""yes; then :
62391 cat >>confdefs.h <<_ACEOF
62392 #define HAVE__FREXPF 1
62393 _ACEOF
62396 done
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62406 $as_echo_n "checking for hypotf declaration... " >&6; }
62407 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62408 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62409 $as_echo_n "(cached) " >&6
62410 else
62413 ac_ext=cpp
62414 ac_cpp='$CXXCPP $CPPFLAGS'
62415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62420 /* end confdefs.h. */
62421 #include <math.h>
62423 main ()
62425 hypotf(0, 0);
62427 return 0;
62429 _ACEOF
62430 if ac_fn_cxx_try_compile "$LINENO"; then :
62431 glibcxx_cv_func_hypotf_use=yes
62432 else
62433 glibcxx_cv_func_hypotf_use=no
62435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62436 ac_ext=c
62437 ac_cpp='$CPP $CPPFLAGS'
62438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62447 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62449 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62450 for ac_func in hypotf
62451 do :
62452 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62453 if test "x$ac_cv_func_hypotf" = x""yes; then :
62454 cat >>confdefs.h <<_ACEOF
62455 #define HAVE_HYPOTF 1
62456 _ACEOF
62459 done
62461 else
62463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62464 $as_echo_n "checking for _hypotf declaration... " >&6; }
62465 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62466 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62467 $as_echo_n "(cached) " >&6
62468 else
62471 ac_ext=cpp
62472 ac_cpp='$CXXCPP $CPPFLAGS'
62473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62478 /* end confdefs.h. */
62479 #include <math.h>
62481 main ()
62483 _hypotf(0, 0);
62485 return 0;
62487 _ACEOF
62488 if ac_fn_cxx_try_compile "$LINENO"; then :
62489 glibcxx_cv_func__hypotf_use=yes
62490 else
62491 glibcxx_cv_func__hypotf_use=no
62493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62494 ac_ext=c
62495 ac_cpp='$CPP $CPPFLAGS'
62496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62505 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62507 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62508 for ac_func in _hypotf
62509 do :
62510 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62511 if test "x$ac_cv_func__hypotf" = x""yes; then :
62512 cat >>confdefs.h <<_ACEOF
62513 #define HAVE__HYPOTF 1
62514 _ACEOF
62517 done
62526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62527 $as_echo_n "checking for ldexpf declaration... " >&6; }
62528 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62529 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62530 $as_echo_n "(cached) " >&6
62531 else
62534 ac_ext=cpp
62535 ac_cpp='$CXXCPP $CPPFLAGS'
62536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62541 /* end confdefs.h. */
62542 #include <math.h>
62544 main ()
62546 ldexpf(0, 0);
62548 return 0;
62550 _ACEOF
62551 if ac_fn_cxx_try_compile "$LINENO"; then :
62552 glibcxx_cv_func_ldexpf_use=yes
62553 else
62554 glibcxx_cv_func_ldexpf_use=no
62556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62557 ac_ext=c
62558 ac_cpp='$CPP $CPPFLAGS'
62559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62568 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62570 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62571 for ac_func in ldexpf
62572 do :
62573 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62574 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62575 cat >>confdefs.h <<_ACEOF
62576 #define HAVE_LDEXPF 1
62577 _ACEOF
62580 done
62582 else
62584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62585 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62586 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62587 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62588 $as_echo_n "(cached) " >&6
62589 else
62592 ac_ext=cpp
62593 ac_cpp='$CXXCPP $CPPFLAGS'
62594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62599 /* end confdefs.h. */
62600 #include <math.h>
62602 main ()
62604 _ldexpf(0, 0);
62606 return 0;
62608 _ACEOF
62609 if ac_fn_cxx_try_compile "$LINENO"; then :
62610 glibcxx_cv_func__ldexpf_use=yes
62611 else
62612 glibcxx_cv_func__ldexpf_use=no
62614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62615 ac_ext=c
62616 ac_cpp='$CPP $CPPFLAGS'
62617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62626 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62628 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62629 for ac_func in _ldexpf
62630 do :
62631 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62632 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62633 cat >>confdefs.h <<_ACEOF
62634 #define HAVE__LDEXPF 1
62635 _ACEOF
62638 done
62647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62648 $as_echo_n "checking for logf declaration... " >&6; }
62649 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62650 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62651 $as_echo_n "(cached) " >&6
62652 else
62655 ac_ext=cpp
62656 ac_cpp='$CXXCPP $CPPFLAGS'
62657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62662 /* end confdefs.h. */
62663 #include <math.h>
62664 #ifdef HAVE_IEEEFP_H
62665 #include <ieeefp.h>
62666 #endif
62669 main ()
62671 logf(0);
62673 return 0;
62675 _ACEOF
62676 if ac_fn_cxx_try_compile "$LINENO"; then :
62677 glibcxx_cv_func_logf_use=yes
62678 else
62679 glibcxx_cv_func_logf_use=no
62681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62682 ac_ext=c
62683 ac_cpp='$CPP $CPPFLAGS'
62684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62693 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62695 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62696 for ac_func in logf
62697 do :
62698 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62699 if test "x$ac_cv_func_logf" = x""yes; then :
62700 cat >>confdefs.h <<_ACEOF
62701 #define HAVE_LOGF 1
62702 _ACEOF
62705 done
62707 else
62709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62710 $as_echo_n "checking for _logf declaration... " >&6; }
62711 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62712 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62713 $as_echo_n "(cached) " >&6
62714 else
62717 ac_ext=cpp
62718 ac_cpp='$CXXCPP $CPPFLAGS'
62719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62724 /* end confdefs.h. */
62725 #include <math.h>
62726 #ifdef HAVE_IEEEFP_H
62727 #include <ieeefp.h>
62728 #endif
62731 main ()
62733 _logf(0);
62735 return 0;
62737 _ACEOF
62738 if ac_fn_cxx_try_compile "$LINENO"; then :
62739 glibcxx_cv_func__logf_use=yes
62740 else
62741 glibcxx_cv_func__logf_use=no
62743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62744 ac_ext=c
62745 ac_cpp='$CPP $CPPFLAGS'
62746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62755 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62757 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62758 for ac_func in _logf
62759 do :
62760 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62761 if test "x$ac_cv_func__logf" = x""yes; then :
62762 cat >>confdefs.h <<_ACEOF
62763 #define HAVE__LOGF 1
62764 _ACEOF
62767 done
62776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62777 $as_echo_n "checking for log10f declaration... " >&6; }
62778 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62779 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62780 $as_echo_n "(cached) " >&6
62781 else
62784 ac_ext=cpp
62785 ac_cpp='$CXXCPP $CPPFLAGS'
62786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62791 /* end confdefs.h. */
62792 #include <math.h>
62793 #ifdef HAVE_IEEEFP_H
62794 #include <ieeefp.h>
62795 #endif
62798 main ()
62800 log10f(0);
62802 return 0;
62804 _ACEOF
62805 if ac_fn_cxx_try_compile "$LINENO"; then :
62806 glibcxx_cv_func_log10f_use=yes
62807 else
62808 glibcxx_cv_func_log10f_use=no
62810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62811 ac_ext=c
62812 ac_cpp='$CPP $CPPFLAGS'
62813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62822 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62824 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62825 for ac_func in log10f
62826 do :
62827 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62828 if test "x$ac_cv_func_log10f" = x""yes; then :
62829 cat >>confdefs.h <<_ACEOF
62830 #define HAVE_LOG10F 1
62831 _ACEOF
62834 done
62836 else
62838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62839 $as_echo_n "checking for _log10f declaration... " >&6; }
62840 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62841 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62842 $as_echo_n "(cached) " >&6
62843 else
62846 ac_ext=cpp
62847 ac_cpp='$CXXCPP $CPPFLAGS'
62848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62853 /* end confdefs.h. */
62854 #include <math.h>
62855 #ifdef HAVE_IEEEFP_H
62856 #include <ieeefp.h>
62857 #endif
62860 main ()
62862 _log10f(0);
62864 return 0;
62866 _ACEOF
62867 if ac_fn_cxx_try_compile "$LINENO"; then :
62868 glibcxx_cv_func__log10f_use=yes
62869 else
62870 glibcxx_cv_func__log10f_use=no
62872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62873 ac_ext=c
62874 ac_cpp='$CPP $CPPFLAGS'
62875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62884 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62886 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62887 for ac_func in _log10f
62888 do :
62889 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62890 if test "x$ac_cv_func__log10f" = x""yes; then :
62891 cat >>confdefs.h <<_ACEOF
62892 #define HAVE__LOG10F 1
62893 _ACEOF
62896 done
62905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62906 $as_echo_n "checking for modff declaration... " >&6; }
62907 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62908 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62909 $as_echo_n "(cached) " >&6
62910 else
62913 ac_ext=cpp
62914 ac_cpp='$CXXCPP $CPPFLAGS'
62915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62920 /* end confdefs.h. */
62921 #include <math.h>
62923 main ()
62925 modff(0, 0);
62927 return 0;
62929 _ACEOF
62930 if ac_fn_cxx_try_compile "$LINENO"; then :
62931 glibcxx_cv_func_modff_use=yes
62932 else
62933 glibcxx_cv_func_modff_use=no
62935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62936 ac_ext=c
62937 ac_cpp='$CPP $CPPFLAGS'
62938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62947 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62949 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62950 for ac_func in modff
62951 do :
62952 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62953 if test "x$ac_cv_func_modff" = x""yes; then :
62954 cat >>confdefs.h <<_ACEOF
62955 #define HAVE_MODFF 1
62956 _ACEOF
62959 done
62961 else
62963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62964 $as_echo_n "checking for _modff declaration... " >&6; }
62965 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62966 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62967 $as_echo_n "(cached) " >&6
62968 else
62971 ac_ext=cpp
62972 ac_cpp='$CXXCPP $CPPFLAGS'
62973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62978 /* end confdefs.h. */
62979 #include <math.h>
62981 main ()
62983 _modff(0, 0);
62985 return 0;
62987 _ACEOF
62988 if ac_fn_cxx_try_compile "$LINENO"; then :
62989 glibcxx_cv_func__modff_use=yes
62990 else
62991 glibcxx_cv_func__modff_use=no
62993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62994 ac_ext=c
62995 ac_cpp='$CPP $CPPFLAGS'
62996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63005 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63007 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63008 for ac_func in _modff
63009 do :
63010 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63011 if test "x$ac_cv_func__modff" = x""yes; then :
63012 cat >>confdefs.h <<_ACEOF
63013 #define HAVE__MODFF 1
63014 _ACEOF
63017 done
63026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63027 $as_echo_n "checking for modf declaration... " >&6; }
63028 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63029 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63030 $as_echo_n "(cached) " >&6
63031 else
63034 ac_ext=cpp
63035 ac_cpp='$CXXCPP $CPPFLAGS'
63036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63041 /* end confdefs.h. */
63042 #include <math.h>
63044 main ()
63046 modf(0, 0);
63048 return 0;
63050 _ACEOF
63051 if ac_fn_cxx_try_compile "$LINENO"; then :
63052 glibcxx_cv_func_modf_use=yes
63053 else
63054 glibcxx_cv_func_modf_use=no
63056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63057 ac_ext=c
63058 ac_cpp='$CPP $CPPFLAGS'
63059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63068 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63070 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63071 for ac_func in modf
63072 do :
63073 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63074 if test "x$ac_cv_func_modf" = x""yes; then :
63075 cat >>confdefs.h <<_ACEOF
63076 #define HAVE_MODF 1
63077 _ACEOF
63080 done
63082 else
63084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63085 $as_echo_n "checking for _modf declaration... " >&6; }
63086 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63087 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63088 $as_echo_n "(cached) " >&6
63089 else
63092 ac_ext=cpp
63093 ac_cpp='$CXXCPP $CPPFLAGS'
63094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63099 /* end confdefs.h. */
63100 #include <math.h>
63102 main ()
63104 _modf(0, 0);
63106 return 0;
63108 _ACEOF
63109 if ac_fn_cxx_try_compile "$LINENO"; then :
63110 glibcxx_cv_func__modf_use=yes
63111 else
63112 glibcxx_cv_func__modf_use=no
63114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63115 ac_ext=c
63116 ac_cpp='$CPP $CPPFLAGS'
63117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63126 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63128 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63129 for ac_func in _modf
63130 do :
63131 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63132 if test "x$ac_cv_func__modf" = x""yes; then :
63133 cat >>confdefs.h <<_ACEOF
63134 #define HAVE__MODF 1
63135 _ACEOF
63138 done
63147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63148 $as_echo_n "checking for powf declaration... " >&6; }
63149 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63150 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63151 $as_echo_n "(cached) " >&6
63152 else
63155 ac_ext=cpp
63156 ac_cpp='$CXXCPP $CPPFLAGS'
63157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63162 /* end confdefs.h. */
63163 #include <math.h>
63165 main ()
63167 powf(0, 0);
63169 return 0;
63171 _ACEOF
63172 if ac_fn_cxx_try_compile "$LINENO"; then :
63173 glibcxx_cv_func_powf_use=yes
63174 else
63175 glibcxx_cv_func_powf_use=no
63177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63178 ac_ext=c
63179 ac_cpp='$CPP $CPPFLAGS'
63180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63189 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63191 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63192 for ac_func in powf
63193 do :
63194 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63195 if test "x$ac_cv_func_powf" = x""yes; then :
63196 cat >>confdefs.h <<_ACEOF
63197 #define HAVE_POWF 1
63198 _ACEOF
63201 done
63203 else
63205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63206 $as_echo_n "checking for _powf declaration... " >&6; }
63207 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63208 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63209 $as_echo_n "(cached) " >&6
63210 else
63213 ac_ext=cpp
63214 ac_cpp='$CXXCPP $CPPFLAGS'
63215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63220 /* end confdefs.h. */
63221 #include <math.h>
63223 main ()
63225 _powf(0, 0);
63227 return 0;
63229 _ACEOF
63230 if ac_fn_cxx_try_compile "$LINENO"; then :
63231 glibcxx_cv_func__powf_use=yes
63232 else
63233 glibcxx_cv_func__powf_use=no
63235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63236 ac_ext=c
63237 ac_cpp='$CPP $CPPFLAGS'
63238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63247 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63249 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63250 for ac_func in _powf
63251 do :
63252 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63253 if test "x$ac_cv_func__powf" = x""yes; then :
63254 cat >>confdefs.h <<_ACEOF
63255 #define HAVE__POWF 1
63256 _ACEOF
63259 done
63268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63269 $as_echo_n "checking for sqrtf declaration... " >&6; }
63270 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63271 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63272 $as_echo_n "(cached) " >&6
63273 else
63276 ac_ext=cpp
63277 ac_cpp='$CXXCPP $CPPFLAGS'
63278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63283 /* end confdefs.h. */
63284 #include <math.h>
63285 #ifdef HAVE_IEEEFP_H
63286 #include <ieeefp.h>
63287 #endif
63290 main ()
63292 sqrtf(0);
63294 return 0;
63296 _ACEOF
63297 if ac_fn_cxx_try_compile "$LINENO"; then :
63298 glibcxx_cv_func_sqrtf_use=yes
63299 else
63300 glibcxx_cv_func_sqrtf_use=no
63302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63303 ac_ext=c
63304 ac_cpp='$CPP $CPPFLAGS'
63305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63314 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63316 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63317 for ac_func in sqrtf
63318 do :
63319 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63320 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63321 cat >>confdefs.h <<_ACEOF
63322 #define HAVE_SQRTF 1
63323 _ACEOF
63326 done
63328 else
63330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63331 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63332 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63333 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63334 $as_echo_n "(cached) " >&6
63335 else
63338 ac_ext=cpp
63339 ac_cpp='$CXXCPP $CPPFLAGS'
63340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63345 /* end confdefs.h. */
63346 #include <math.h>
63347 #ifdef HAVE_IEEEFP_H
63348 #include <ieeefp.h>
63349 #endif
63352 main ()
63354 _sqrtf(0);
63356 return 0;
63358 _ACEOF
63359 if ac_fn_cxx_try_compile "$LINENO"; then :
63360 glibcxx_cv_func__sqrtf_use=yes
63361 else
63362 glibcxx_cv_func__sqrtf_use=no
63364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63365 ac_ext=c
63366 ac_cpp='$CPP $CPPFLAGS'
63367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63376 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63378 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63379 for ac_func in _sqrtf
63380 do :
63381 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63382 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63383 cat >>confdefs.h <<_ACEOF
63384 #define HAVE__SQRTF 1
63385 _ACEOF
63388 done
63397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63398 $as_echo_n "checking for sincosf declaration... " >&6; }
63399 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63400 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63401 $as_echo_n "(cached) " >&6
63402 else
63405 ac_ext=cpp
63406 ac_cpp='$CXXCPP $CPPFLAGS'
63407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63412 /* end confdefs.h. */
63413 #include <math.h>
63415 main ()
63417 sincosf(0, 0, 0);
63419 return 0;
63421 _ACEOF
63422 if ac_fn_cxx_try_compile "$LINENO"; then :
63423 glibcxx_cv_func_sincosf_use=yes
63424 else
63425 glibcxx_cv_func_sincosf_use=no
63427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63428 ac_ext=c
63429 ac_cpp='$CPP $CPPFLAGS'
63430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63439 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63441 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63442 for ac_func in sincosf
63443 do :
63444 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63445 if test "x$ac_cv_func_sincosf" = x""yes; then :
63446 cat >>confdefs.h <<_ACEOF
63447 #define HAVE_SINCOSF 1
63448 _ACEOF
63451 done
63453 else
63455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63456 $as_echo_n "checking for _sincosf declaration... " >&6; }
63457 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63458 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63459 $as_echo_n "(cached) " >&6
63460 else
63463 ac_ext=cpp
63464 ac_cpp='$CXXCPP $CPPFLAGS'
63465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63470 /* end confdefs.h. */
63471 #include <math.h>
63473 main ()
63475 _sincosf(0, 0, 0);
63477 return 0;
63479 _ACEOF
63480 if ac_fn_cxx_try_compile "$LINENO"; then :
63481 glibcxx_cv_func__sincosf_use=yes
63482 else
63483 glibcxx_cv_func__sincosf_use=no
63485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63486 ac_ext=c
63487 ac_cpp='$CPP $CPPFLAGS'
63488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63497 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63499 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63500 for ac_func in _sincosf
63501 do :
63502 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63503 if test "x$ac_cv_func__sincosf" = x""yes; then :
63504 cat >>confdefs.h <<_ACEOF
63505 #define HAVE__SINCOSF 1
63506 _ACEOF
63509 done
63518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63519 $as_echo_n "checking for finitef declaration... " >&6; }
63520 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63521 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63522 $as_echo_n "(cached) " >&6
63523 else
63526 ac_ext=cpp
63527 ac_cpp='$CXXCPP $CPPFLAGS'
63528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63533 /* end confdefs.h. */
63534 #include <math.h>
63535 #ifdef HAVE_IEEEFP_H
63536 #include <ieeefp.h>
63537 #endif
63540 main ()
63542 finitef(0);
63544 return 0;
63546 _ACEOF
63547 if ac_fn_cxx_try_compile "$LINENO"; then :
63548 glibcxx_cv_func_finitef_use=yes
63549 else
63550 glibcxx_cv_func_finitef_use=no
63552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63553 ac_ext=c
63554 ac_cpp='$CPP $CPPFLAGS'
63555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63564 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63566 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63567 for ac_func in finitef
63568 do :
63569 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63570 if test "x$ac_cv_func_finitef" = x""yes; then :
63571 cat >>confdefs.h <<_ACEOF
63572 #define HAVE_FINITEF 1
63573 _ACEOF
63576 done
63578 else
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63581 $as_echo_n "checking for _finitef declaration... " >&6; }
63582 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63583 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63584 $as_echo_n "(cached) " >&6
63585 else
63588 ac_ext=cpp
63589 ac_cpp='$CXXCPP $CPPFLAGS'
63590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63595 /* end confdefs.h. */
63596 #include <math.h>
63597 #ifdef HAVE_IEEEFP_H
63598 #include <ieeefp.h>
63599 #endif
63602 main ()
63604 _finitef(0);
63606 return 0;
63608 _ACEOF
63609 if ac_fn_cxx_try_compile "$LINENO"; then :
63610 glibcxx_cv_func__finitef_use=yes
63611 else
63612 glibcxx_cv_func__finitef_use=no
63614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63615 ac_ext=c
63616 ac_cpp='$CPP $CPPFLAGS'
63617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63626 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63628 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63629 for ac_func in _finitef
63630 do :
63631 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63632 if test "x$ac_cv_func__finitef" = x""yes; then :
63633 cat >>confdefs.h <<_ACEOF
63634 #define HAVE__FINITEF 1
63635 _ACEOF
63638 done
63647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63648 $as_echo_n "checking for long double trig functions... " >&6; }
63649 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63650 $as_echo_n "(cached) " >&6
63651 else
63654 ac_ext=cpp
63655 ac_cpp='$CXXCPP $CPPFLAGS'
63656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63661 /* end confdefs.h. */
63662 #include <math.h>
63664 main ()
63666 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63668 return 0;
63670 _ACEOF
63671 if ac_fn_cxx_try_compile "$LINENO"; then :
63672 glibcxx_cv_func_long_double_trig_use=yes
63673 else
63674 glibcxx_cv_func_long_double_trig_use=no
63676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63677 ac_ext=c
63678 ac_cpp='$CPP $CPPFLAGS'
63679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63686 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63687 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63688 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63689 do :
63690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63692 eval as_val=\$$as_ac_var
63693 if test "x$as_val" = x""yes; then :
63694 cat >>confdefs.h <<_ACEOF
63695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63696 _ACEOF
63699 done
63701 else
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63703 $as_echo_n "checking for _long double trig functions... " >&6; }
63704 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63705 $as_echo_n "(cached) " >&6
63706 else
63709 ac_ext=cpp
63710 ac_cpp='$CXXCPP $CPPFLAGS'
63711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63716 /* end confdefs.h. */
63717 #include <math.h>
63719 main ()
63721 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63723 return 0;
63725 _ACEOF
63726 if ac_fn_cxx_try_compile "$LINENO"; then :
63727 glibcxx_cv_func__long_double_trig_use=yes
63728 else
63729 glibcxx_cv_func__long_double_trig_use=no
63731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63732 ac_ext=c
63733 ac_cpp='$CPP $CPPFLAGS'
63734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63741 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63742 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63743 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63744 do :
63745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63747 eval as_val=\$$as_ac_var
63748 if test "x$as_val" = x""yes; then :
63749 cat >>confdefs.h <<_ACEOF
63750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63751 _ACEOF
63754 done
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63764 $as_echo_n "checking for long double round functions... " >&6; }
63765 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63766 $as_echo_n "(cached) " >&6
63767 else
63770 ac_ext=cpp
63771 ac_cpp='$CXXCPP $CPPFLAGS'
63772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63777 /* end confdefs.h. */
63778 #include <math.h>
63780 main ()
63782 ceill (0); floorl (0);
63784 return 0;
63786 _ACEOF
63787 if ac_fn_cxx_try_compile "$LINENO"; then :
63788 glibcxx_cv_func_long_double_round_use=yes
63789 else
63790 glibcxx_cv_func_long_double_round_use=no
63792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63793 ac_ext=c
63794 ac_cpp='$CPP $CPPFLAGS'
63795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63802 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63803 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63804 for ac_func in ceill floorl
63805 do :
63806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63808 eval as_val=\$$as_ac_var
63809 if test "x$as_val" = x""yes; then :
63810 cat >>confdefs.h <<_ACEOF
63811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63812 _ACEOF
63815 done
63817 else
63818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63819 $as_echo_n "checking for _long double round functions... " >&6; }
63820 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63821 $as_echo_n "(cached) " >&6
63822 else
63825 ac_ext=cpp
63826 ac_cpp='$CXXCPP $CPPFLAGS'
63827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63832 /* end confdefs.h. */
63833 #include <math.h>
63835 main ()
63837 _ceill (0); _floorl (0);
63839 return 0;
63841 _ACEOF
63842 if ac_fn_cxx_try_compile "$LINENO"; then :
63843 glibcxx_cv_func__long_double_round_use=yes
63844 else
63845 glibcxx_cv_func__long_double_round_use=no
63847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63848 ac_ext=c
63849 ac_cpp='$CPP $CPPFLAGS'
63850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63857 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63858 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63859 for ac_func in _ceill _floorl
63860 do :
63861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63863 eval as_val=\$$as_ac_var
63864 if test "x$as_val" = x""yes; then :
63865 cat >>confdefs.h <<_ACEOF
63866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63867 _ACEOF
63870 done
63880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63881 $as_echo_n "checking for isnanl declaration... " >&6; }
63882 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63883 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63884 $as_echo_n "(cached) " >&6
63885 else
63888 ac_ext=cpp
63889 ac_cpp='$CXXCPP $CPPFLAGS'
63890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63895 /* end confdefs.h. */
63896 #include <math.h>
63897 #ifdef HAVE_IEEEFP_H
63898 #include <ieeefp.h>
63899 #endif
63902 main ()
63904 isnanl(0);
63906 return 0;
63908 _ACEOF
63909 if ac_fn_cxx_try_compile "$LINENO"; then :
63910 glibcxx_cv_func_isnanl_use=yes
63911 else
63912 glibcxx_cv_func_isnanl_use=no
63914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63915 ac_ext=c
63916 ac_cpp='$CPP $CPPFLAGS'
63917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63926 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63928 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63929 for ac_func in isnanl
63930 do :
63931 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63932 if test "x$ac_cv_func_isnanl" = x""yes; then :
63933 cat >>confdefs.h <<_ACEOF
63934 #define HAVE_ISNANL 1
63935 _ACEOF
63938 done
63940 else
63942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63943 $as_echo_n "checking for _isnanl declaration... " >&6; }
63944 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63945 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63946 $as_echo_n "(cached) " >&6
63947 else
63950 ac_ext=cpp
63951 ac_cpp='$CXXCPP $CPPFLAGS'
63952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63957 /* end confdefs.h. */
63958 #include <math.h>
63959 #ifdef HAVE_IEEEFP_H
63960 #include <ieeefp.h>
63961 #endif
63964 main ()
63966 _isnanl(0);
63968 return 0;
63970 _ACEOF
63971 if ac_fn_cxx_try_compile "$LINENO"; then :
63972 glibcxx_cv_func__isnanl_use=yes
63973 else
63974 glibcxx_cv_func__isnanl_use=no
63976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63977 ac_ext=c
63978 ac_cpp='$CPP $CPPFLAGS'
63979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63988 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63990 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63991 for ac_func in _isnanl
63992 do :
63993 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63994 if test "x$ac_cv_func__isnanl" = x""yes; then :
63995 cat >>confdefs.h <<_ACEOF
63996 #define HAVE__ISNANL 1
63997 _ACEOF
64000 done
64009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64010 $as_echo_n "checking for isinfl declaration... " >&6; }
64011 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64012 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
64013 $as_echo_n "(cached) " >&6
64014 else
64017 ac_ext=cpp
64018 ac_cpp='$CXXCPP $CPPFLAGS'
64019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64024 /* end confdefs.h. */
64025 #include <math.h>
64026 #ifdef HAVE_IEEEFP_H
64027 #include <ieeefp.h>
64028 #endif
64031 main ()
64033 isinfl(0);
64035 return 0;
64037 _ACEOF
64038 if ac_fn_cxx_try_compile "$LINENO"; then :
64039 glibcxx_cv_func_isinfl_use=yes
64040 else
64041 glibcxx_cv_func_isinfl_use=no
64043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64044 ac_ext=c
64045 ac_cpp='$CPP $CPPFLAGS'
64046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64055 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64057 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64058 for ac_func in isinfl
64059 do :
64060 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64061 if test "x$ac_cv_func_isinfl" = x""yes; then :
64062 cat >>confdefs.h <<_ACEOF
64063 #define HAVE_ISINFL 1
64064 _ACEOF
64067 done
64069 else
64071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64072 $as_echo_n "checking for _isinfl declaration... " >&6; }
64073 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64074 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64075 $as_echo_n "(cached) " >&6
64076 else
64079 ac_ext=cpp
64080 ac_cpp='$CXXCPP $CPPFLAGS'
64081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64086 /* end confdefs.h. */
64087 #include <math.h>
64088 #ifdef HAVE_IEEEFP_H
64089 #include <ieeefp.h>
64090 #endif
64093 main ()
64095 _isinfl(0);
64097 return 0;
64099 _ACEOF
64100 if ac_fn_cxx_try_compile "$LINENO"; then :
64101 glibcxx_cv_func__isinfl_use=yes
64102 else
64103 glibcxx_cv_func__isinfl_use=no
64105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64106 ac_ext=c
64107 ac_cpp='$CPP $CPPFLAGS'
64108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64117 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64119 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64120 for ac_func in _isinfl
64121 do :
64122 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64123 if test "x$ac_cv_func__isinfl" = x""yes; then :
64124 cat >>confdefs.h <<_ACEOF
64125 #define HAVE__ISINFL 1
64126 _ACEOF
64129 done
64138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64139 $as_echo_n "checking for atan2l declaration... " >&6; }
64140 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64141 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64142 $as_echo_n "(cached) " >&6
64143 else
64146 ac_ext=cpp
64147 ac_cpp='$CXXCPP $CPPFLAGS'
64148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64153 /* end confdefs.h. */
64154 #include <math.h>
64156 main ()
64158 atan2l(0, 0);
64160 return 0;
64162 _ACEOF
64163 if ac_fn_cxx_try_compile "$LINENO"; then :
64164 glibcxx_cv_func_atan2l_use=yes
64165 else
64166 glibcxx_cv_func_atan2l_use=no
64168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64169 ac_ext=c
64170 ac_cpp='$CPP $CPPFLAGS'
64171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64180 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64182 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64183 for ac_func in atan2l
64184 do :
64185 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64186 if test "x$ac_cv_func_atan2l" = x""yes; then :
64187 cat >>confdefs.h <<_ACEOF
64188 #define HAVE_ATAN2L 1
64189 _ACEOF
64192 done
64194 else
64196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64197 $as_echo_n "checking for _atan2l declaration... " >&6; }
64198 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64199 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64200 $as_echo_n "(cached) " >&6
64201 else
64204 ac_ext=cpp
64205 ac_cpp='$CXXCPP $CPPFLAGS'
64206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64211 /* end confdefs.h. */
64212 #include <math.h>
64214 main ()
64216 _atan2l(0, 0);
64218 return 0;
64220 _ACEOF
64221 if ac_fn_cxx_try_compile "$LINENO"; then :
64222 glibcxx_cv_func__atan2l_use=yes
64223 else
64224 glibcxx_cv_func__atan2l_use=no
64226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64227 ac_ext=c
64228 ac_cpp='$CPP $CPPFLAGS'
64229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64238 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64240 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64241 for ac_func in _atan2l
64242 do :
64243 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64244 if test "x$ac_cv_func__atan2l" = x""yes; then :
64245 cat >>confdefs.h <<_ACEOF
64246 #define HAVE__ATAN2L 1
64247 _ACEOF
64250 done
64259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64260 $as_echo_n "checking for expl declaration... " >&6; }
64261 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64262 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64263 $as_echo_n "(cached) " >&6
64264 else
64267 ac_ext=cpp
64268 ac_cpp='$CXXCPP $CPPFLAGS'
64269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64274 /* end confdefs.h. */
64275 #include <math.h>
64276 #ifdef HAVE_IEEEFP_H
64277 #include <ieeefp.h>
64278 #endif
64281 main ()
64283 expl(0);
64285 return 0;
64287 _ACEOF
64288 if ac_fn_cxx_try_compile "$LINENO"; then :
64289 glibcxx_cv_func_expl_use=yes
64290 else
64291 glibcxx_cv_func_expl_use=no
64293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64294 ac_ext=c
64295 ac_cpp='$CPP $CPPFLAGS'
64296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64305 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64307 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64308 for ac_func in expl
64309 do :
64310 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64311 if test "x$ac_cv_func_expl" = x""yes; then :
64312 cat >>confdefs.h <<_ACEOF
64313 #define HAVE_EXPL 1
64314 _ACEOF
64317 done
64319 else
64321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64322 $as_echo_n "checking for _expl declaration... " >&6; }
64323 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64324 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64325 $as_echo_n "(cached) " >&6
64326 else
64329 ac_ext=cpp
64330 ac_cpp='$CXXCPP $CPPFLAGS'
64331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64336 /* end confdefs.h. */
64337 #include <math.h>
64338 #ifdef HAVE_IEEEFP_H
64339 #include <ieeefp.h>
64340 #endif
64343 main ()
64345 _expl(0);
64347 return 0;
64349 _ACEOF
64350 if ac_fn_cxx_try_compile "$LINENO"; then :
64351 glibcxx_cv_func__expl_use=yes
64352 else
64353 glibcxx_cv_func__expl_use=no
64355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64356 ac_ext=c
64357 ac_cpp='$CPP $CPPFLAGS'
64358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64367 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64369 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64370 for ac_func in _expl
64371 do :
64372 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64373 if test "x$ac_cv_func__expl" = x""yes; then :
64374 cat >>confdefs.h <<_ACEOF
64375 #define HAVE__EXPL 1
64376 _ACEOF
64379 done
64388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64389 $as_echo_n "checking for fabsl declaration... " >&6; }
64390 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64391 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64392 $as_echo_n "(cached) " >&6
64393 else
64396 ac_ext=cpp
64397 ac_cpp='$CXXCPP $CPPFLAGS'
64398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64403 /* end confdefs.h. */
64404 #include <math.h>
64405 #ifdef HAVE_IEEEFP_H
64406 #include <ieeefp.h>
64407 #endif
64410 main ()
64412 fabsl(0);
64414 return 0;
64416 _ACEOF
64417 if ac_fn_cxx_try_compile "$LINENO"; then :
64418 glibcxx_cv_func_fabsl_use=yes
64419 else
64420 glibcxx_cv_func_fabsl_use=no
64422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64423 ac_ext=c
64424 ac_cpp='$CPP $CPPFLAGS'
64425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64434 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64436 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64437 for ac_func in fabsl
64438 do :
64439 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64440 if test "x$ac_cv_func_fabsl" = x""yes; then :
64441 cat >>confdefs.h <<_ACEOF
64442 #define HAVE_FABSL 1
64443 _ACEOF
64446 done
64448 else
64450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64451 $as_echo_n "checking for _fabsl declaration... " >&6; }
64452 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64453 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64454 $as_echo_n "(cached) " >&6
64455 else
64458 ac_ext=cpp
64459 ac_cpp='$CXXCPP $CPPFLAGS'
64460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64465 /* end confdefs.h. */
64466 #include <math.h>
64467 #ifdef HAVE_IEEEFP_H
64468 #include <ieeefp.h>
64469 #endif
64472 main ()
64474 _fabsl(0);
64476 return 0;
64478 _ACEOF
64479 if ac_fn_cxx_try_compile "$LINENO"; then :
64480 glibcxx_cv_func__fabsl_use=yes
64481 else
64482 glibcxx_cv_func__fabsl_use=no
64484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64485 ac_ext=c
64486 ac_cpp='$CPP $CPPFLAGS'
64487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64496 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64498 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64499 for ac_func in _fabsl
64500 do :
64501 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64502 if test "x$ac_cv_func__fabsl" = x""yes; then :
64503 cat >>confdefs.h <<_ACEOF
64504 #define HAVE__FABSL 1
64505 _ACEOF
64508 done
64517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64518 $as_echo_n "checking for fmodl declaration... " >&6; }
64519 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64520 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64521 $as_echo_n "(cached) " >&6
64522 else
64525 ac_ext=cpp
64526 ac_cpp='$CXXCPP $CPPFLAGS'
64527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64532 /* end confdefs.h. */
64533 #include <math.h>
64535 main ()
64537 fmodl(0, 0);
64539 return 0;
64541 _ACEOF
64542 if ac_fn_cxx_try_compile "$LINENO"; then :
64543 glibcxx_cv_func_fmodl_use=yes
64544 else
64545 glibcxx_cv_func_fmodl_use=no
64547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64548 ac_ext=c
64549 ac_cpp='$CPP $CPPFLAGS'
64550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64559 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64561 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64562 for ac_func in fmodl
64563 do :
64564 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64565 if test "x$ac_cv_func_fmodl" = x""yes; then :
64566 cat >>confdefs.h <<_ACEOF
64567 #define HAVE_FMODL 1
64568 _ACEOF
64571 done
64573 else
64575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64576 $as_echo_n "checking for _fmodl declaration... " >&6; }
64577 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64578 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64579 $as_echo_n "(cached) " >&6
64580 else
64583 ac_ext=cpp
64584 ac_cpp='$CXXCPP $CPPFLAGS'
64585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64590 /* end confdefs.h. */
64591 #include <math.h>
64593 main ()
64595 _fmodl(0, 0);
64597 return 0;
64599 _ACEOF
64600 if ac_fn_cxx_try_compile "$LINENO"; then :
64601 glibcxx_cv_func__fmodl_use=yes
64602 else
64603 glibcxx_cv_func__fmodl_use=no
64605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64606 ac_ext=c
64607 ac_cpp='$CPP $CPPFLAGS'
64608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64617 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64619 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64620 for ac_func in _fmodl
64621 do :
64622 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64623 if test "x$ac_cv_func__fmodl" = x""yes; then :
64624 cat >>confdefs.h <<_ACEOF
64625 #define HAVE__FMODL 1
64626 _ACEOF
64629 done
64638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64639 $as_echo_n "checking for frexpl declaration... " >&6; }
64640 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64641 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64642 $as_echo_n "(cached) " >&6
64643 else
64646 ac_ext=cpp
64647 ac_cpp='$CXXCPP $CPPFLAGS'
64648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64653 /* end confdefs.h. */
64654 #include <math.h>
64656 main ()
64658 frexpl(0, 0);
64660 return 0;
64662 _ACEOF
64663 if ac_fn_cxx_try_compile "$LINENO"; then :
64664 glibcxx_cv_func_frexpl_use=yes
64665 else
64666 glibcxx_cv_func_frexpl_use=no
64668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64669 ac_ext=c
64670 ac_cpp='$CPP $CPPFLAGS'
64671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64680 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64682 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64683 for ac_func in frexpl
64684 do :
64685 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64686 if test "x$ac_cv_func_frexpl" = x""yes; then :
64687 cat >>confdefs.h <<_ACEOF
64688 #define HAVE_FREXPL 1
64689 _ACEOF
64692 done
64694 else
64696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64697 $as_echo_n "checking for _frexpl declaration... " >&6; }
64698 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64699 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64700 $as_echo_n "(cached) " >&6
64701 else
64704 ac_ext=cpp
64705 ac_cpp='$CXXCPP $CPPFLAGS'
64706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64711 /* end confdefs.h. */
64712 #include <math.h>
64714 main ()
64716 _frexpl(0, 0);
64718 return 0;
64720 _ACEOF
64721 if ac_fn_cxx_try_compile "$LINENO"; then :
64722 glibcxx_cv_func__frexpl_use=yes
64723 else
64724 glibcxx_cv_func__frexpl_use=no
64726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64727 ac_ext=c
64728 ac_cpp='$CPP $CPPFLAGS'
64729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64738 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64740 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64741 for ac_func in _frexpl
64742 do :
64743 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64744 if test "x$ac_cv_func__frexpl" = x""yes; then :
64745 cat >>confdefs.h <<_ACEOF
64746 #define HAVE__FREXPL 1
64747 _ACEOF
64750 done
64759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64760 $as_echo_n "checking for hypotl declaration... " >&6; }
64761 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64762 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64763 $as_echo_n "(cached) " >&6
64764 else
64767 ac_ext=cpp
64768 ac_cpp='$CXXCPP $CPPFLAGS'
64769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64774 /* end confdefs.h. */
64775 #include <math.h>
64777 main ()
64779 hypotl(0, 0);
64781 return 0;
64783 _ACEOF
64784 if ac_fn_cxx_try_compile "$LINENO"; then :
64785 glibcxx_cv_func_hypotl_use=yes
64786 else
64787 glibcxx_cv_func_hypotl_use=no
64789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64790 ac_ext=c
64791 ac_cpp='$CPP $CPPFLAGS'
64792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64801 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64803 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64804 for ac_func in hypotl
64805 do :
64806 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64807 if test "x$ac_cv_func_hypotl" = x""yes; then :
64808 cat >>confdefs.h <<_ACEOF
64809 #define HAVE_HYPOTL 1
64810 _ACEOF
64813 done
64815 else
64817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64818 $as_echo_n "checking for _hypotl declaration... " >&6; }
64819 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64820 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64821 $as_echo_n "(cached) " >&6
64822 else
64825 ac_ext=cpp
64826 ac_cpp='$CXXCPP $CPPFLAGS'
64827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64832 /* end confdefs.h. */
64833 #include <math.h>
64835 main ()
64837 _hypotl(0, 0);
64839 return 0;
64841 _ACEOF
64842 if ac_fn_cxx_try_compile "$LINENO"; then :
64843 glibcxx_cv_func__hypotl_use=yes
64844 else
64845 glibcxx_cv_func__hypotl_use=no
64847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64848 ac_ext=c
64849 ac_cpp='$CPP $CPPFLAGS'
64850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64859 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64861 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64862 for ac_func in _hypotl
64863 do :
64864 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64865 if test "x$ac_cv_func__hypotl" = x""yes; then :
64866 cat >>confdefs.h <<_ACEOF
64867 #define HAVE__HYPOTL 1
64868 _ACEOF
64871 done
64880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64881 $as_echo_n "checking for ldexpl declaration... " >&6; }
64882 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64883 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64884 $as_echo_n "(cached) " >&6
64885 else
64888 ac_ext=cpp
64889 ac_cpp='$CXXCPP $CPPFLAGS'
64890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64895 /* end confdefs.h. */
64896 #include <math.h>
64898 main ()
64900 ldexpl(0, 0);
64902 return 0;
64904 _ACEOF
64905 if ac_fn_cxx_try_compile "$LINENO"; then :
64906 glibcxx_cv_func_ldexpl_use=yes
64907 else
64908 glibcxx_cv_func_ldexpl_use=no
64910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64911 ac_ext=c
64912 ac_cpp='$CPP $CPPFLAGS'
64913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64922 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64924 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64925 for ac_func in ldexpl
64926 do :
64927 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64928 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64929 cat >>confdefs.h <<_ACEOF
64930 #define HAVE_LDEXPL 1
64931 _ACEOF
64934 done
64936 else
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64939 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64940 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64941 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64942 $as_echo_n "(cached) " >&6
64943 else
64946 ac_ext=cpp
64947 ac_cpp='$CXXCPP $CPPFLAGS'
64948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64953 /* end confdefs.h. */
64954 #include <math.h>
64956 main ()
64958 _ldexpl(0, 0);
64960 return 0;
64962 _ACEOF
64963 if ac_fn_cxx_try_compile "$LINENO"; then :
64964 glibcxx_cv_func__ldexpl_use=yes
64965 else
64966 glibcxx_cv_func__ldexpl_use=no
64968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64969 ac_ext=c
64970 ac_cpp='$CPP $CPPFLAGS'
64971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64980 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64982 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64983 for ac_func in _ldexpl
64984 do :
64985 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64986 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64987 cat >>confdefs.h <<_ACEOF
64988 #define HAVE__LDEXPL 1
64989 _ACEOF
64992 done
65001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65002 $as_echo_n "checking for logl declaration... " >&6; }
65003 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65004 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
65005 $as_echo_n "(cached) " >&6
65006 else
65009 ac_ext=cpp
65010 ac_cpp='$CXXCPP $CPPFLAGS'
65011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65016 /* end confdefs.h. */
65017 #include <math.h>
65018 #ifdef HAVE_IEEEFP_H
65019 #include <ieeefp.h>
65020 #endif
65023 main ()
65025 logl(0);
65027 return 0;
65029 _ACEOF
65030 if ac_fn_cxx_try_compile "$LINENO"; then :
65031 glibcxx_cv_func_logl_use=yes
65032 else
65033 glibcxx_cv_func_logl_use=no
65035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65036 ac_ext=c
65037 ac_cpp='$CPP $CPPFLAGS'
65038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65047 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65049 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65050 for ac_func in logl
65051 do :
65052 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65053 if test "x$ac_cv_func_logl" = x""yes; then :
65054 cat >>confdefs.h <<_ACEOF
65055 #define HAVE_LOGL 1
65056 _ACEOF
65059 done
65061 else
65063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65064 $as_echo_n "checking for _logl declaration... " >&6; }
65065 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65066 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65067 $as_echo_n "(cached) " >&6
65068 else
65071 ac_ext=cpp
65072 ac_cpp='$CXXCPP $CPPFLAGS'
65073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65078 /* end confdefs.h. */
65079 #include <math.h>
65080 #ifdef HAVE_IEEEFP_H
65081 #include <ieeefp.h>
65082 #endif
65085 main ()
65087 _logl(0);
65089 return 0;
65091 _ACEOF
65092 if ac_fn_cxx_try_compile "$LINENO"; then :
65093 glibcxx_cv_func__logl_use=yes
65094 else
65095 glibcxx_cv_func__logl_use=no
65097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65098 ac_ext=c
65099 ac_cpp='$CPP $CPPFLAGS'
65100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65109 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65111 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65112 for ac_func in _logl
65113 do :
65114 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65115 if test "x$ac_cv_func__logl" = x""yes; then :
65116 cat >>confdefs.h <<_ACEOF
65117 #define HAVE__LOGL 1
65118 _ACEOF
65121 done
65130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65131 $as_echo_n "checking for log10l declaration... " >&6; }
65132 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65133 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65134 $as_echo_n "(cached) " >&6
65135 else
65138 ac_ext=cpp
65139 ac_cpp='$CXXCPP $CPPFLAGS'
65140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65145 /* end confdefs.h. */
65146 #include <math.h>
65147 #ifdef HAVE_IEEEFP_H
65148 #include <ieeefp.h>
65149 #endif
65152 main ()
65154 log10l(0);
65156 return 0;
65158 _ACEOF
65159 if ac_fn_cxx_try_compile "$LINENO"; then :
65160 glibcxx_cv_func_log10l_use=yes
65161 else
65162 glibcxx_cv_func_log10l_use=no
65164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65165 ac_ext=c
65166 ac_cpp='$CPP $CPPFLAGS'
65167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65176 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65178 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65179 for ac_func in log10l
65180 do :
65181 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65182 if test "x$ac_cv_func_log10l" = x""yes; then :
65183 cat >>confdefs.h <<_ACEOF
65184 #define HAVE_LOG10L 1
65185 _ACEOF
65188 done
65190 else
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65193 $as_echo_n "checking for _log10l declaration... " >&6; }
65194 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65195 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65196 $as_echo_n "(cached) " >&6
65197 else
65200 ac_ext=cpp
65201 ac_cpp='$CXXCPP $CPPFLAGS'
65202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65207 /* end confdefs.h. */
65208 #include <math.h>
65209 #ifdef HAVE_IEEEFP_H
65210 #include <ieeefp.h>
65211 #endif
65214 main ()
65216 _log10l(0);
65218 return 0;
65220 _ACEOF
65221 if ac_fn_cxx_try_compile "$LINENO"; then :
65222 glibcxx_cv_func__log10l_use=yes
65223 else
65224 glibcxx_cv_func__log10l_use=no
65226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65227 ac_ext=c
65228 ac_cpp='$CPP $CPPFLAGS'
65229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65238 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65240 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65241 for ac_func in _log10l
65242 do :
65243 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65244 if test "x$ac_cv_func__log10l" = x""yes; then :
65245 cat >>confdefs.h <<_ACEOF
65246 #define HAVE__LOG10L 1
65247 _ACEOF
65250 done
65259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65260 $as_echo_n "checking for modfl declaration... " >&6; }
65261 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65262 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65263 $as_echo_n "(cached) " >&6
65264 else
65267 ac_ext=cpp
65268 ac_cpp='$CXXCPP $CPPFLAGS'
65269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65274 /* end confdefs.h. */
65275 #include <math.h>
65277 main ()
65279 modfl(0, 0);
65281 return 0;
65283 _ACEOF
65284 if ac_fn_cxx_try_compile "$LINENO"; then :
65285 glibcxx_cv_func_modfl_use=yes
65286 else
65287 glibcxx_cv_func_modfl_use=no
65289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65290 ac_ext=c
65291 ac_cpp='$CPP $CPPFLAGS'
65292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65301 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65303 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65304 for ac_func in modfl
65305 do :
65306 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65307 if test "x$ac_cv_func_modfl" = x""yes; then :
65308 cat >>confdefs.h <<_ACEOF
65309 #define HAVE_MODFL 1
65310 _ACEOF
65313 done
65315 else
65317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65318 $as_echo_n "checking for _modfl declaration... " >&6; }
65319 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65320 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65321 $as_echo_n "(cached) " >&6
65322 else
65325 ac_ext=cpp
65326 ac_cpp='$CXXCPP $CPPFLAGS'
65327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65332 /* end confdefs.h. */
65333 #include <math.h>
65335 main ()
65337 _modfl(0, 0);
65339 return 0;
65341 _ACEOF
65342 if ac_fn_cxx_try_compile "$LINENO"; then :
65343 glibcxx_cv_func__modfl_use=yes
65344 else
65345 glibcxx_cv_func__modfl_use=no
65347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65348 ac_ext=c
65349 ac_cpp='$CPP $CPPFLAGS'
65350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65359 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65361 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65362 for ac_func in _modfl
65363 do :
65364 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65365 if test "x$ac_cv_func__modfl" = x""yes; then :
65366 cat >>confdefs.h <<_ACEOF
65367 #define HAVE__MODFL 1
65368 _ACEOF
65371 done
65380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65381 $as_echo_n "checking for powl declaration... " >&6; }
65382 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65383 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65384 $as_echo_n "(cached) " >&6
65385 else
65388 ac_ext=cpp
65389 ac_cpp='$CXXCPP $CPPFLAGS'
65390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65395 /* end confdefs.h. */
65396 #include <math.h>
65398 main ()
65400 powl(0, 0);
65402 return 0;
65404 _ACEOF
65405 if ac_fn_cxx_try_compile "$LINENO"; then :
65406 glibcxx_cv_func_powl_use=yes
65407 else
65408 glibcxx_cv_func_powl_use=no
65410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65411 ac_ext=c
65412 ac_cpp='$CPP $CPPFLAGS'
65413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65422 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65424 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65425 for ac_func in powl
65426 do :
65427 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65428 if test "x$ac_cv_func_powl" = x""yes; then :
65429 cat >>confdefs.h <<_ACEOF
65430 #define HAVE_POWL 1
65431 _ACEOF
65434 done
65436 else
65438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65439 $as_echo_n "checking for _powl declaration... " >&6; }
65440 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65441 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65442 $as_echo_n "(cached) " >&6
65443 else
65446 ac_ext=cpp
65447 ac_cpp='$CXXCPP $CPPFLAGS'
65448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65453 /* end confdefs.h. */
65454 #include <math.h>
65456 main ()
65458 _powl(0, 0);
65460 return 0;
65462 _ACEOF
65463 if ac_fn_cxx_try_compile "$LINENO"; then :
65464 glibcxx_cv_func__powl_use=yes
65465 else
65466 glibcxx_cv_func__powl_use=no
65468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65469 ac_ext=c
65470 ac_cpp='$CPP $CPPFLAGS'
65471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65480 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65482 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65483 for ac_func in _powl
65484 do :
65485 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65486 if test "x$ac_cv_func__powl" = x""yes; then :
65487 cat >>confdefs.h <<_ACEOF
65488 #define HAVE__POWL 1
65489 _ACEOF
65492 done
65501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65502 $as_echo_n "checking for sqrtl declaration... " >&6; }
65503 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65504 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65505 $as_echo_n "(cached) " >&6
65506 else
65509 ac_ext=cpp
65510 ac_cpp='$CXXCPP $CPPFLAGS'
65511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65516 /* end confdefs.h. */
65517 #include <math.h>
65518 #ifdef HAVE_IEEEFP_H
65519 #include <ieeefp.h>
65520 #endif
65523 main ()
65525 sqrtl(0);
65527 return 0;
65529 _ACEOF
65530 if ac_fn_cxx_try_compile "$LINENO"; then :
65531 glibcxx_cv_func_sqrtl_use=yes
65532 else
65533 glibcxx_cv_func_sqrtl_use=no
65535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65536 ac_ext=c
65537 ac_cpp='$CPP $CPPFLAGS'
65538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65547 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65549 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65550 for ac_func in sqrtl
65551 do :
65552 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65553 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65554 cat >>confdefs.h <<_ACEOF
65555 #define HAVE_SQRTL 1
65556 _ACEOF
65559 done
65561 else
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65564 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65565 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65566 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65567 $as_echo_n "(cached) " >&6
65568 else
65571 ac_ext=cpp
65572 ac_cpp='$CXXCPP $CPPFLAGS'
65573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65578 /* end confdefs.h. */
65579 #include <math.h>
65580 #ifdef HAVE_IEEEFP_H
65581 #include <ieeefp.h>
65582 #endif
65585 main ()
65587 _sqrtl(0);
65589 return 0;
65591 _ACEOF
65592 if ac_fn_cxx_try_compile "$LINENO"; then :
65593 glibcxx_cv_func__sqrtl_use=yes
65594 else
65595 glibcxx_cv_func__sqrtl_use=no
65597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65598 ac_ext=c
65599 ac_cpp='$CPP $CPPFLAGS'
65600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65609 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65611 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65612 for ac_func in _sqrtl
65613 do :
65614 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65615 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65616 cat >>confdefs.h <<_ACEOF
65617 #define HAVE__SQRTL 1
65618 _ACEOF
65621 done
65630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65631 $as_echo_n "checking for sincosl declaration... " >&6; }
65632 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65633 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65634 $as_echo_n "(cached) " >&6
65635 else
65638 ac_ext=cpp
65639 ac_cpp='$CXXCPP $CPPFLAGS'
65640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65645 /* end confdefs.h. */
65646 #include <math.h>
65648 main ()
65650 sincosl(0, 0, 0);
65652 return 0;
65654 _ACEOF
65655 if ac_fn_cxx_try_compile "$LINENO"; then :
65656 glibcxx_cv_func_sincosl_use=yes
65657 else
65658 glibcxx_cv_func_sincosl_use=no
65660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65661 ac_ext=c
65662 ac_cpp='$CPP $CPPFLAGS'
65663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65672 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65674 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65675 for ac_func in sincosl
65676 do :
65677 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65678 if test "x$ac_cv_func_sincosl" = x""yes; then :
65679 cat >>confdefs.h <<_ACEOF
65680 #define HAVE_SINCOSL 1
65681 _ACEOF
65684 done
65686 else
65688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65689 $as_echo_n "checking for _sincosl declaration... " >&6; }
65690 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65691 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65692 $as_echo_n "(cached) " >&6
65693 else
65696 ac_ext=cpp
65697 ac_cpp='$CXXCPP $CPPFLAGS'
65698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65703 /* end confdefs.h. */
65704 #include <math.h>
65706 main ()
65708 _sincosl(0, 0, 0);
65710 return 0;
65712 _ACEOF
65713 if ac_fn_cxx_try_compile "$LINENO"; then :
65714 glibcxx_cv_func__sincosl_use=yes
65715 else
65716 glibcxx_cv_func__sincosl_use=no
65718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65719 ac_ext=c
65720 ac_cpp='$CPP $CPPFLAGS'
65721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65730 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65732 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65733 for ac_func in _sincosl
65734 do :
65735 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65736 if test "x$ac_cv_func__sincosl" = x""yes; then :
65737 cat >>confdefs.h <<_ACEOF
65738 #define HAVE__SINCOSL 1
65739 _ACEOF
65742 done
65751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65752 $as_echo_n "checking for finitel declaration... " >&6; }
65753 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65754 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65755 $as_echo_n "(cached) " >&6
65756 else
65759 ac_ext=cpp
65760 ac_cpp='$CXXCPP $CPPFLAGS'
65761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65766 /* end confdefs.h. */
65767 #include <math.h>
65768 #ifdef HAVE_IEEEFP_H
65769 #include <ieeefp.h>
65770 #endif
65773 main ()
65775 finitel(0);
65777 return 0;
65779 _ACEOF
65780 if ac_fn_cxx_try_compile "$LINENO"; then :
65781 glibcxx_cv_func_finitel_use=yes
65782 else
65783 glibcxx_cv_func_finitel_use=no
65785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65786 ac_ext=c
65787 ac_cpp='$CPP $CPPFLAGS'
65788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65797 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65799 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65800 for ac_func in finitel
65801 do :
65802 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65803 if test "x$ac_cv_func_finitel" = x""yes; then :
65804 cat >>confdefs.h <<_ACEOF
65805 #define HAVE_FINITEL 1
65806 _ACEOF
65809 done
65811 else
65813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65814 $as_echo_n "checking for _finitel declaration... " >&6; }
65815 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65816 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65817 $as_echo_n "(cached) " >&6
65818 else
65821 ac_ext=cpp
65822 ac_cpp='$CXXCPP $CPPFLAGS'
65823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65828 /* end confdefs.h. */
65829 #include <math.h>
65830 #ifdef HAVE_IEEEFP_H
65831 #include <ieeefp.h>
65832 #endif
65835 main ()
65837 _finitel(0);
65839 return 0;
65841 _ACEOF
65842 if ac_fn_cxx_try_compile "$LINENO"; then :
65843 glibcxx_cv_func__finitel_use=yes
65844 else
65845 glibcxx_cv_func__finitel_use=no
65847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65848 ac_ext=c
65849 ac_cpp='$CPP $CPPFLAGS'
65850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65859 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65861 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65862 for ac_func in _finitel
65863 do :
65864 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65865 if test "x$ac_cv_func__finitel" = x""yes; then :
65866 cat >>confdefs.h <<_ACEOF
65867 #define HAVE__FINITEL 1
65868 _ACEOF
65871 done
65879 LIBS="$ac_save_LIBS"
65880 CXXFLAGS="$ac_save_CXXFLAGS"
65883 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65884 ac_save_CXXFLAGS="$CXXFLAGS"
65885 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65889 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65890 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65891 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65892 $as_echo_n "(cached) " >&6
65893 else
65896 ac_ext=cpp
65897 ac_cpp='$CXXCPP $CPPFLAGS'
65898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65903 /* end confdefs.h. */
65904 #include <stdlib.h>
65906 main ()
65908 at_quick_exit(0);
65910 return 0;
65912 _ACEOF
65913 if ac_fn_cxx_try_compile "$LINENO"; then :
65914 glibcxx_cv_func_at_quick_exit_use=yes
65915 else
65916 glibcxx_cv_func_at_quick_exit_use=no
65918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65919 ac_ext=c
65920 ac_cpp='$CPP $CPPFLAGS'
65921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65930 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65931 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65932 for ac_func in at_quick_exit
65933 do :
65934 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65935 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65936 cat >>confdefs.h <<_ACEOF
65937 #define HAVE_AT_QUICK_EXIT 1
65938 _ACEOF
65941 done
65946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65947 $as_echo_n "checking for quick_exit declaration... " >&6; }
65948 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65949 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65950 $as_echo_n "(cached) " >&6
65951 else
65954 ac_ext=cpp
65955 ac_cpp='$CXXCPP $CPPFLAGS'
65956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65961 /* end confdefs.h. */
65962 #include <stdlib.h>
65964 main ()
65966 quick_exit(0);
65968 return 0;
65970 _ACEOF
65971 if ac_fn_cxx_try_compile "$LINENO"; then :
65972 glibcxx_cv_func_quick_exit_use=yes
65973 else
65974 glibcxx_cv_func_quick_exit_use=no
65976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65977 ac_ext=c
65978 ac_cpp='$CPP $CPPFLAGS'
65979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65988 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65989 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65990 for ac_func in quick_exit
65991 do :
65992 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65993 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65994 cat >>confdefs.h <<_ACEOF
65995 #define HAVE_QUICK_EXIT 1
65996 _ACEOF
65999 done
66004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66005 $as_echo_n "checking for strtold declaration... " >&6; }
66006 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66007 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
66008 $as_echo_n "(cached) " >&6
66009 else
66012 ac_ext=cpp
66013 ac_cpp='$CXXCPP $CPPFLAGS'
66014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66019 /* end confdefs.h. */
66020 #include <stdlib.h>
66022 main ()
66024 strtold(0, 0);
66026 return 0;
66028 _ACEOF
66029 if ac_fn_cxx_try_compile "$LINENO"; then :
66030 glibcxx_cv_func_strtold_use=yes
66031 else
66032 glibcxx_cv_func_strtold_use=no
66034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66035 ac_ext=c
66036 ac_cpp='$CPP $CPPFLAGS'
66037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66046 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66047 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66048 for ac_func in strtold
66049 do :
66050 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66051 if test "x$ac_cv_func_strtold" = x""yes; then :
66052 cat >>confdefs.h <<_ACEOF
66053 #define HAVE_STRTOLD 1
66054 _ACEOF
66057 done
66064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66065 $as_echo_n "checking for strtof declaration... " >&6; }
66066 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66067 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66068 $as_echo_n "(cached) " >&6
66069 else
66072 ac_ext=cpp
66073 ac_cpp='$CXXCPP $CPPFLAGS'
66074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66079 /* end confdefs.h. */
66080 #include <stdlib.h>
66082 main ()
66084 strtof(0, 0);
66086 return 0;
66088 _ACEOF
66089 if ac_fn_cxx_try_compile "$LINENO"; then :
66090 glibcxx_cv_func_strtof_use=yes
66091 else
66092 glibcxx_cv_func_strtof_use=no
66094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66095 ac_ext=c
66096 ac_cpp='$CPP $CPPFLAGS'
66097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66106 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66107 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66108 for ac_func in strtof
66109 do :
66110 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66111 if test "x$ac_cv_func_strtof" = x""yes; then :
66112 cat >>confdefs.h <<_ACEOF
66113 #define HAVE_STRTOF 1
66114 _ACEOF
66117 done
66124 CXXFLAGS="$ac_save_CXXFLAGS"
66126 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66127 do :
66128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66130 eval as_val=\$$as_ac_var
66131 if test "x$as_val" = x""yes; then :
66132 cat >>confdefs.h <<_ACEOF
66133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66134 _ACEOF
66137 done
66139 for ac_func in _wfopen
66140 do :
66141 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66142 if test "x$ac_cv_func__wfopen" = x""yes; then :
66143 cat >>confdefs.h <<_ACEOF
66144 #define HAVE__WFOPEN 1
66145 _ACEOF
66148 done
66151 *-netbsd* | *-openbsd*)
66152 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66155 # If we're not using GNU ld, then there's no point in even trying these
66156 # tests. Check for that first. We should have already tested for gld
66157 # by now (in libtool), but require it now just to be safe...
66158 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66159 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66163 # The name set by libtool depends on the version of libtool. Shame on us
66164 # for depending on an impl detail, but c'est la vie. Older versions used
66165 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66166 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66167 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66168 # set (hence we're using an older libtool), then set it.
66169 if test x${with_gnu_ld+set} != xset; then
66170 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66171 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66172 with_gnu_ld=no
66173 else
66174 with_gnu_ld=$ac_cv_prog_gnu_ld
66178 # Start by getting the version number. I think the libtool test already
66179 # does some of this, but throws away the result.
66180 glibcxx_ld_is_gold=no
66181 if test x"$with_gnu_ld" = x"yes"; then
66182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66183 $as_echo_n "checking for ld version... " >&6; }
66185 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66186 glibcxx_ld_is_gold=yes
66188 ldver=`$LD --version 2>/dev/null |
66189 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'`
66191 glibcxx_gnu_ld_version=`echo $ldver | \
66192 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66194 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66197 # Set --gc-sections.
66198 glibcxx_have_gc_sections=no
66199 if test "$glibcxx_ld_is_gold" = "yes"; then
66200 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66201 glibcxx_have_gc_sections=yes
66203 else
66204 glibcxx_gcsections_min_ld=21602
66205 if test x"$with_gnu_ld" = x"yes" &&
66206 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66207 glibcxx_have_gc_sections=yes
66210 if test "$glibcxx_have_gc_sections" = "yes"; then
66211 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66212 # NB: This flag only works reliably after 2.16.1. Configure tests
66213 # for this are difficult, so hard wire a value that should work.
66215 ac_test_CFLAGS="${CFLAGS+set}"
66216 ac_save_CFLAGS="$CFLAGS"
66217 CFLAGS='-Wl,--gc-sections'
66219 # Check for -Wl,--gc-sections
66220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66221 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66222 if test x$gcc_no_link = xyes; then
66223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66226 /* end confdefs.h. */
66227 int one(void) { return 1; }
66228 int two(void) { return 2; }
66231 main ()
66233 two();
66235 return 0;
66237 _ACEOF
66238 if ac_fn_c_try_link "$LINENO"; then :
66239 ac_gcsections=yes
66240 else
66241 ac_gcsections=no
66243 rm -f core conftest.err conftest.$ac_objext \
66244 conftest$ac_exeext conftest.$ac_ext
66245 if test "$ac_gcsections" = "yes"; then
66246 rm -f conftest.c
66247 touch conftest.c
66248 if $CC -c conftest.c; then
66249 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66250 grep "Warning: gc-sections option ignored" > /dev/null; then
66251 ac_gcsections=no
66254 rm -f conftest.c conftest.o conftest
66256 if test "$ac_gcsections" = "yes"; then
66257 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66260 $as_echo "$ac_gcsections" >&6; }
66262 if test "$ac_test_CFLAGS" = set; then
66263 CFLAGS="$ac_save_CFLAGS"
66264 else
66265 # this is the suspicious part
66266 CFLAGS=''
66270 # Set -z,relro.
66271 # Note this is only for shared objects.
66272 ac_ld_relro=no
66273 if test x"$with_gnu_ld" = x"yes"; then
66274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66275 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66276 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66277 if test -n "$cxx_z_relo"; then
66278 OPT_LDFLAGS="-Wl,-z,relro"
66279 ac_ld_relro=yes
66281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66282 $as_echo "$ac_ld_relro" >&6; }
66285 # Set linker optimization flags.
66286 if test x"$with_gnu_ld" = x"yes"; then
66287 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66293 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66295 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66297 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66299 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66301 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66303 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66305 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66307 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66309 if test x"long_double_math_on_this_cpu" = x"yes"; then
66310 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66312 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66314 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66317 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66318 do :
66319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66321 eval as_val=\$$as_ac_var
66322 if test "x$as_val" = x""yes; then :
66323 cat >>confdefs.h <<_ACEOF
66324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66325 _ACEOF
66328 done
66331 *-qnx6.1* | *-qnx6.2*)
66332 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66335 # If we're not using GNU ld, then there's no point in even trying these
66336 # tests. Check for that first. We should have already tested for gld
66337 # by now (in libtool), but require it now just to be safe...
66338 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66339 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66343 # The name set by libtool depends on the version of libtool. Shame on us
66344 # for depending on an impl detail, but c'est la vie. Older versions used
66345 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66346 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66347 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66348 # set (hence we're using an older libtool), then set it.
66349 if test x${with_gnu_ld+set} != xset; then
66350 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66351 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66352 with_gnu_ld=no
66353 else
66354 with_gnu_ld=$ac_cv_prog_gnu_ld
66358 # Start by getting the version number. I think the libtool test already
66359 # does some of this, but throws away the result.
66360 glibcxx_ld_is_gold=no
66361 if test x"$with_gnu_ld" = x"yes"; then
66362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66363 $as_echo_n "checking for ld version... " >&6; }
66365 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66366 glibcxx_ld_is_gold=yes
66368 ldver=`$LD --version 2>/dev/null |
66369 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'`
66371 glibcxx_gnu_ld_version=`echo $ldver | \
66372 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66374 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66377 # Set --gc-sections.
66378 glibcxx_have_gc_sections=no
66379 if test "$glibcxx_ld_is_gold" = "yes"; then
66380 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66381 glibcxx_have_gc_sections=yes
66383 else
66384 glibcxx_gcsections_min_ld=21602
66385 if test x"$with_gnu_ld" = x"yes" &&
66386 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66387 glibcxx_have_gc_sections=yes
66390 if test "$glibcxx_have_gc_sections" = "yes"; then
66391 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66392 # NB: This flag only works reliably after 2.16.1. Configure tests
66393 # for this are difficult, so hard wire a value that should work.
66395 ac_test_CFLAGS="${CFLAGS+set}"
66396 ac_save_CFLAGS="$CFLAGS"
66397 CFLAGS='-Wl,--gc-sections'
66399 # Check for -Wl,--gc-sections
66400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66401 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66402 if test x$gcc_no_link = xyes; then
66403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66406 /* end confdefs.h. */
66407 int one(void) { return 1; }
66408 int two(void) { return 2; }
66411 main ()
66413 two();
66415 return 0;
66417 _ACEOF
66418 if ac_fn_c_try_link "$LINENO"; then :
66419 ac_gcsections=yes
66420 else
66421 ac_gcsections=no
66423 rm -f core conftest.err conftest.$ac_objext \
66424 conftest$ac_exeext conftest.$ac_ext
66425 if test "$ac_gcsections" = "yes"; then
66426 rm -f conftest.c
66427 touch conftest.c
66428 if $CC -c conftest.c; then
66429 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66430 grep "Warning: gc-sections option ignored" > /dev/null; then
66431 ac_gcsections=no
66434 rm -f conftest.c conftest.o conftest
66436 if test "$ac_gcsections" = "yes"; then
66437 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66440 $as_echo "$ac_gcsections" >&6; }
66442 if test "$ac_test_CFLAGS" = set; then
66443 CFLAGS="$ac_save_CFLAGS"
66444 else
66445 # this is the suspicious part
66446 CFLAGS=''
66450 # Set -z,relro.
66451 # Note this is only for shared objects.
66452 ac_ld_relro=no
66453 if test x"$with_gnu_ld" = x"yes"; then
66454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66455 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66456 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66457 if test -n "$cxx_z_relo"; then
66458 OPT_LDFLAGS="-Wl,-z,relro"
66459 ac_ld_relro=yes
66461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66462 $as_echo "$ac_ld_relro" >&6; }
66465 # Set linker optimization flags.
66466 if test x"$with_gnu_ld" = x"yes"; then
66467 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66473 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66475 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66477 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66479 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66481 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66483 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66485 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66487 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66489 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66491 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66493 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66495 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66498 *-rtems*)
66500 # All these tests are for C++; save the language and the compiler flags.
66501 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66502 # found in GLIBCXX_CONFIGURE.
66504 ac_ext=cpp
66505 ac_cpp='$CXXCPP $CPPFLAGS'
66506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66511 ac_save_CXXFLAGS="$CXXFLAGS"
66513 # Check for maintainer-mode bits.
66514 if test x"$USE_MAINTAINER_MODE" = xno; then
66515 WERROR=''
66516 else
66517 WERROR='-Werror'
66520 # Check for -ffunction-sections -fdata-sections
66521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66522 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66523 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66525 /* end confdefs.h. */
66526 int foo; void bar() { };
66528 main ()
66532 return 0;
66534 _ACEOF
66535 if ac_fn_cxx_try_compile "$LINENO"; then :
66536 ac_fdsections=yes
66537 else
66538 ac_fdsections=no
66540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66541 if test "$ac_test_CXXFLAGS" = set; then
66542 CXXFLAGS="$ac_save_CXXFLAGS"
66543 else
66544 # this is the suspicious part
66545 CXXFLAGS=''
66547 if test x"$ac_fdsections" = x"yes"; then
66548 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66551 $as_echo "$ac_fdsections" >&6; }
66553 ac_ext=c
66554 ac_cpp='$CPP $CPPFLAGS'
66555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66563 # If we're not using GNU ld, then there's no point in even trying these
66564 # tests. Check for that first. We should have already tested for gld
66565 # by now (in libtool), but require it now just to be safe...
66566 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66567 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66571 # The name set by libtool depends on the version of libtool. Shame on us
66572 # for depending on an impl detail, but c'est la vie. Older versions used
66573 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66574 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66575 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66576 # set (hence we're using an older libtool), then set it.
66577 if test x${with_gnu_ld+set} != xset; then
66578 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66579 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66580 with_gnu_ld=no
66581 else
66582 with_gnu_ld=$ac_cv_prog_gnu_ld
66586 # Start by getting the version number. I think the libtool test already
66587 # does some of this, but throws away the result.
66588 glibcxx_ld_is_gold=no
66589 if test x"$with_gnu_ld" = x"yes"; then
66590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66591 $as_echo_n "checking for ld version... " >&6; }
66593 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66594 glibcxx_ld_is_gold=yes
66596 ldver=`$LD --version 2>/dev/null |
66597 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'`
66599 glibcxx_gnu_ld_version=`echo $ldver | \
66600 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66602 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66605 # Set --gc-sections.
66606 glibcxx_have_gc_sections=no
66607 if test "$glibcxx_ld_is_gold" = "yes"; then
66608 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66609 glibcxx_have_gc_sections=yes
66611 else
66612 glibcxx_gcsections_min_ld=21602
66613 if test x"$with_gnu_ld" = x"yes" &&
66614 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66615 glibcxx_have_gc_sections=yes
66618 if test "$glibcxx_have_gc_sections" = "yes"; then
66619 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66620 # NB: This flag only works reliably after 2.16.1. Configure tests
66621 # for this are difficult, so hard wire a value that should work.
66623 ac_test_CFLAGS="${CFLAGS+set}"
66624 ac_save_CFLAGS="$CFLAGS"
66625 CFLAGS='-Wl,--gc-sections'
66627 # Check for -Wl,--gc-sections
66628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66629 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66630 if test x$gcc_no_link = xyes; then
66631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66634 /* end confdefs.h. */
66635 int one(void) { return 1; }
66636 int two(void) { return 2; }
66639 main ()
66641 two();
66643 return 0;
66645 _ACEOF
66646 if ac_fn_c_try_link "$LINENO"; then :
66647 ac_gcsections=yes
66648 else
66649 ac_gcsections=no
66651 rm -f core conftest.err conftest.$ac_objext \
66652 conftest$ac_exeext conftest.$ac_ext
66653 if test "$ac_gcsections" = "yes"; then
66654 rm -f conftest.c
66655 touch conftest.c
66656 if $CC -c conftest.c; then
66657 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66658 grep "Warning: gc-sections option ignored" > /dev/null; then
66659 ac_gcsections=no
66662 rm -f conftest.c conftest.o conftest
66664 if test "$ac_gcsections" = "yes"; then
66665 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66668 $as_echo "$ac_gcsections" >&6; }
66670 if test "$ac_test_CFLAGS" = set; then
66671 CFLAGS="$ac_save_CFLAGS"
66672 else
66673 # this is the suspicious part
66674 CFLAGS=''
66678 # Set -z,relro.
66679 # Note this is only for shared objects.
66680 ac_ld_relro=no
66681 if test x"$with_gnu_ld" = x"yes"; then
66682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66683 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66684 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66685 if test -n "$cxx_z_relo"; then
66686 OPT_LDFLAGS="-Wl,-z,relro"
66687 ac_ld_relro=yes
66689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66690 $as_echo "$ac_ld_relro" >&6; }
66693 # Set linker optimization flags.
66694 if test x"$with_gnu_ld" = x"yes"; then
66695 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66702 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66703 ac_save_CXXFLAGS="$CXXFLAGS"
66704 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66707 $as_echo_n "checking for sin in -lm... " >&6; }
66708 if test "${ac_cv_lib_m_sin+set}" = set; then :
66709 $as_echo_n "(cached) " >&6
66710 else
66711 ac_check_lib_save_LIBS=$LIBS
66712 LIBS="-lm $LIBS"
66713 if test x$gcc_no_link = xyes; then
66714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66717 /* end confdefs.h. */
66719 /* Override any GCC internal prototype to avoid an error.
66720 Use char because int might match the return type of a GCC
66721 builtin and then its argument prototype would still apply. */
66722 #ifdef __cplusplus
66723 extern "C"
66724 #endif
66725 char sin ();
66727 main ()
66729 return sin ();
66731 return 0;
66733 _ACEOF
66734 if ac_fn_c_try_link "$LINENO"; then :
66735 ac_cv_lib_m_sin=yes
66736 else
66737 ac_cv_lib_m_sin=no
66739 rm -f core conftest.err conftest.$ac_objext \
66740 conftest$ac_exeext conftest.$ac_ext
66741 LIBS=$ac_check_lib_save_LIBS
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66744 $as_echo "$ac_cv_lib_m_sin" >&6; }
66745 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66746 libm="-lm"
66749 ac_save_LIBS="$LIBS"
66750 LIBS="$LIBS $libm"
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
66814 else
66816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66817 $as_echo_n "checking for _isinf declaration... " >&6; }
66818 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66819 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66820 $as_echo_n "(cached) " >&6
66821 else
66824 ac_ext=cpp
66825 ac_cpp='$CXXCPP $CPPFLAGS'
66826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66831 /* end confdefs.h. */
66832 #include <math.h>
66833 #ifdef HAVE_IEEEFP_H
66834 #include <ieeefp.h>
66835 #endif
66838 main ()
66840 _isinf(0);
66842 return 0;
66844 _ACEOF
66845 if ac_fn_cxx_try_compile "$LINENO"; then :
66846 glibcxx_cv_func__isinf_use=yes
66847 else
66848 glibcxx_cv_func__isinf_use=no
66850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66851 ac_ext=c
66852 ac_cpp='$CPP $CPPFLAGS'
66853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66862 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66864 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66865 for ac_func in _isinf
66866 do :
66867 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66868 if test "x$ac_cv_func__isinf" = x""yes; then :
66869 cat >>confdefs.h <<_ACEOF
66870 #define HAVE__ISINF 1
66871 _ACEOF
66874 done
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
66943 else
66945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66946 $as_echo_n "checking for _isnan declaration... " >&6; }
66947 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66948 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66949 $as_echo_n "(cached) " >&6
66950 else
66953 ac_ext=cpp
66954 ac_cpp='$CXXCPP $CPPFLAGS'
66955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66960 /* end confdefs.h. */
66961 #include <math.h>
66962 #ifdef HAVE_IEEEFP_H
66963 #include <ieeefp.h>
66964 #endif
66967 main ()
66969 _isnan(0);
66971 return 0;
66973 _ACEOF
66974 if ac_fn_cxx_try_compile "$LINENO"; then :
66975 glibcxx_cv_func__isnan_use=yes
66976 else
66977 glibcxx_cv_func__isnan_use=no
66979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66980 ac_ext=c
66981 ac_cpp='$CPP $CPPFLAGS'
66982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66991 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66993 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66994 for ac_func in _isnan
66995 do :
66996 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66997 if test "x$ac_cv_func__isnan" = x""yes; then :
66998 cat >>confdefs.h <<_ACEOF
66999 #define HAVE__ISNAN 1
67000 _ACEOF
67003 done
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
67072 else
67074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67075 $as_echo_n "checking for _finite declaration... " >&6; }
67076 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67077 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67078 $as_echo_n "(cached) " >&6
67079 else
67082 ac_ext=cpp
67083 ac_cpp='$CXXCPP $CPPFLAGS'
67084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67089 /* end confdefs.h. */
67090 #include <math.h>
67091 #ifdef HAVE_IEEEFP_H
67092 #include <ieeefp.h>
67093 #endif
67096 main ()
67098 _finite(0);
67100 return 0;
67102 _ACEOF
67103 if ac_fn_cxx_try_compile "$LINENO"; then :
67104 glibcxx_cv_func__finite_use=yes
67105 else
67106 glibcxx_cv_func__finite_use=no
67108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67109 ac_ext=c
67110 ac_cpp='$CPP $CPPFLAGS'
67111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67120 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67122 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67123 for ac_func in _finite
67124 do :
67125 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67126 if test "x$ac_cv_func__finite" = x""yes; then :
67127 cat >>confdefs.h <<_ACEOF
67128 #define HAVE__FINITE 1
67129 _ACEOF
67132 done
67141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67142 $as_echo_n "checking for sincos declaration... " >&6; }
67143 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67144 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67145 $as_echo_n "(cached) " >&6
67146 else
67149 ac_ext=cpp
67150 ac_cpp='$CXXCPP $CPPFLAGS'
67151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67156 /* end confdefs.h. */
67157 #include <math.h>
67159 main ()
67161 sincos(0, 0, 0);
67163 return 0;
67165 _ACEOF
67166 if ac_fn_cxx_try_compile "$LINENO"; then :
67167 glibcxx_cv_func_sincos_use=yes
67168 else
67169 glibcxx_cv_func_sincos_use=no
67171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67172 ac_ext=c
67173 ac_cpp='$CPP $CPPFLAGS'
67174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67183 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67185 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67186 for ac_func in sincos
67187 do :
67188 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67189 if test "x$ac_cv_func_sincos" = x""yes; then :
67190 cat >>confdefs.h <<_ACEOF
67191 #define HAVE_SINCOS 1
67192 _ACEOF
67195 done
67197 else
67199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67200 $as_echo_n "checking for _sincos declaration... " >&6; }
67201 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67202 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67203 $as_echo_n "(cached) " >&6
67204 else
67207 ac_ext=cpp
67208 ac_cpp='$CXXCPP $CPPFLAGS'
67209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67214 /* end confdefs.h. */
67215 #include <math.h>
67217 main ()
67219 _sincos(0, 0, 0);
67221 return 0;
67223 _ACEOF
67224 if ac_fn_cxx_try_compile "$LINENO"; then :
67225 glibcxx_cv_func__sincos_use=yes
67226 else
67227 glibcxx_cv_func__sincos_use=no
67229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67230 ac_ext=c
67231 ac_cpp='$CPP $CPPFLAGS'
67232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67241 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67243 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67244 for ac_func in _sincos
67245 do :
67246 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67247 if test "x$ac_cv_func__sincos" = x""yes; then :
67248 cat >>confdefs.h <<_ACEOF
67249 #define HAVE__SINCOS 1
67250 _ACEOF
67253 done
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
67322 else
67324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67325 $as_echo_n "checking for _fpclass declaration... " >&6; }
67326 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67327 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67328 $as_echo_n "(cached) " >&6
67329 else
67332 ac_ext=cpp
67333 ac_cpp='$CXXCPP $CPPFLAGS'
67334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67339 /* end confdefs.h. */
67340 #include <math.h>
67341 #ifdef HAVE_IEEEFP_H
67342 #include <ieeefp.h>
67343 #endif
67346 main ()
67348 _fpclass(0);
67350 return 0;
67352 _ACEOF
67353 if ac_fn_cxx_try_compile "$LINENO"; then :
67354 glibcxx_cv_func__fpclass_use=yes
67355 else
67356 glibcxx_cv_func__fpclass_use=no
67358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67359 ac_ext=c
67360 ac_cpp='$CPP $CPPFLAGS'
67361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67370 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67372 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67373 for ac_func in _fpclass
67374 do :
67375 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67376 if test "x$ac_cv_func__fpclass" = x""yes; then :
67377 cat >>confdefs.h <<_ACEOF
67378 #define HAVE__FPCLASS 1
67379 _ACEOF
67382 done
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
67451 else
67453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67454 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67455 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67456 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67457 $as_echo_n "(cached) " >&6
67458 else
67461 ac_ext=cpp
67462 ac_cpp='$CXXCPP $CPPFLAGS'
67463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67468 /* end confdefs.h. */
67469 #include <math.h>
67470 #ifdef HAVE_IEEEFP_H
67471 #include <ieeefp.h>
67472 #endif
67475 main ()
67477 _qfpclass(0);
67479 return 0;
67481 _ACEOF
67482 if ac_fn_cxx_try_compile "$LINENO"; then :
67483 glibcxx_cv_func__qfpclass_use=yes
67484 else
67485 glibcxx_cv_func__qfpclass_use=no
67487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67488 ac_ext=c
67489 ac_cpp='$CPP $CPPFLAGS'
67490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67499 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67501 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67502 for ac_func in _qfpclass
67503 do :
67504 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67505 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67506 cat >>confdefs.h <<_ACEOF
67507 #define HAVE__QFPCLASS 1
67508 _ACEOF
67511 done
67520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67521 $as_echo_n "checking for hypot declaration... " >&6; }
67522 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67523 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67524 $as_echo_n "(cached) " >&6
67525 else
67528 ac_ext=cpp
67529 ac_cpp='$CXXCPP $CPPFLAGS'
67530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67535 /* end confdefs.h. */
67536 #include <math.h>
67538 main ()
67540 hypot(0, 0);
67542 return 0;
67544 _ACEOF
67545 if ac_fn_cxx_try_compile "$LINENO"; then :
67546 glibcxx_cv_func_hypot_use=yes
67547 else
67548 glibcxx_cv_func_hypot_use=no
67550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67551 ac_ext=c
67552 ac_cpp='$CPP $CPPFLAGS'
67553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67562 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67564 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67565 for ac_func in hypot
67566 do :
67567 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67568 if test "x$ac_cv_func_hypot" = x""yes; then :
67569 cat >>confdefs.h <<_ACEOF
67570 #define HAVE_HYPOT 1
67571 _ACEOF
67574 done
67576 else
67578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67579 $as_echo_n "checking for _hypot declaration... " >&6; }
67580 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67581 if test "${glibcxx_cv_func__hypot_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 _hypot(0, 0);
67600 return 0;
67602 _ACEOF
67603 if ac_fn_cxx_try_compile "$LINENO"; then :
67604 glibcxx_cv_func__hypot_use=yes
67605 else
67606 glibcxx_cv_func__hypot_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
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67620 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67622 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67623 for ac_func in _hypot
67624 do :
67625 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67626 if test "x$ac_cv_func__hypot" = x""yes; then :
67627 cat >>confdefs.h <<_ACEOF
67628 #define HAVE__HYPOT 1
67629 _ACEOF
67632 done
67641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67642 $as_echo_n "checking for float trig functions... " >&6; }
67643 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67644 $as_echo_n "(cached) " >&6
67645 else
67648 ac_ext=cpp
67649 ac_cpp='$CXXCPP $CPPFLAGS'
67650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67655 /* end confdefs.h. */
67656 #include <math.h>
67658 main ()
67660 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67662 return 0;
67664 _ACEOF
67665 if ac_fn_cxx_try_compile "$LINENO"; then :
67666 glibcxx_cv_func_float_trig_use=yes
67667 else
67668 glibcxx_cv_func_float_trig_use=no
67670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67671 ac_ext=c
67672 ac_cpp='$CPP $CPPFLAGS'
67673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67680 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67681 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67682 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67683 do :
67684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67686 eval as_val=\$$as_ac_var
67687 if test "x$as_val" = x""yes; then :
67688 cat >>confdefs.h <<_ACEOF
67689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67690 _ACEOF
67693 done
67695 else
67696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67697 $as_echo_n "checking for _float trig functions... " >&6; }
67698 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67699 $as_echo_n "(cached) " >&6
67700 else
67703 ac_ext=cpp
67704 ac_cpp='$CXXCPP $CPPFLAGS'
67705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67710 /* end confdefs.h. */
67711 #include <math.h>
67713 main ()
67715 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67717 return 0;
67719 _ACEOF
67720 if ac_fn_cxx_try_compile "$LINENO"; then :
67721 glibcxx_cv_func__float_trig_use=yes
67722 else
67723 glibcxx_cv_func__float_trig_use=no
67725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67726 ac_ext=c
67727 ac_cpp='$CPP $CPPFLAGS'
67728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67735 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67736 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67737 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67738 do :
67739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67741 eval as_val=\$$as_ac_var
67742 if test "x$as_val" = x""yes; then :
67743 cat >>confdefs.h <<_ACEOF
67744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67745 _ACEOF
67748 done
67757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67758 $as_echo_n "checking for float round functions... " >&6; }
67759 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67760 $as_echo_n "(cached) " >&6
67761 else
67764 ac_ext=cpp
67765 ac_cpp='$CXXCPP $CPPFLAGS'
67766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67771 /* end confdefs.h. */
67772 #include <math.h>
67774 main ()
67776 ceilf (0); floorf (0);
67778 return 0;
67780 _ACEOF
67781 if ac_fn_cxx_try_compile "$LINENO"; then :
67782 glibcxx_cv_func_float_round_use=yes
67783 else
67784 glibcxx_cv_func_float_round_use=no
67786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67787 ac_ext=c
67788 ac_cpp='$CPP $CPPFLAGS'
67789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67796 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67797 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67798 for ac_func in ceilf floorf
67799 do :
67800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67802 eval as_val=\$$as_ac_var
67803 if test "x$as_val" = x""yes; then :
67804 cat >>confdefs.h <<_ACEOF
67805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67806 _ACEOF
67809 done
67811 else
67812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67813 $as_echo_n "checking for _float round functions... " >&6; }
67814 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67815 $as_echo_n "(cached) " >&6
67816 else
67819 ac_ext=cpp
67820 ac_cpp='$CXXCPP $CPPFLAGS'
67821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67826 /* end confdefs.h. */
67827 #include <math.h>
67829 main ()
67831 _ceilf (0); _floorf (0);
67833 return 0;
67835 _ACEOF
67836 if ac_fn_cxx_try_compile "$LINENO"; then :
67837 glibcxx_cv_func__float_round_use=yes
67838 else
67839 glibcxx_cv_func__float_round_use=no
67841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67842 ac_ext=c
67843 ac_cpp='$CPP $CPPFLAGS'
67844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67851 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67852 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67853 for ac_func in _ceilf _floorf
67854 do :
67855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67857 eval as_val=\$$as_ac_var
67858 if test "x$as_val" = x""yes; then :
67859 cat >>confdefs.h <<_ACEOF
67860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67861 _ACEOF
67864 done
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
67934 else
67936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67937 $as_echo_n "checking for _expf declaration... " >&6; }
67938 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67939 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67940 $as_echo_n "(cached) " >&6
67941 else
67944 ac_ext=cpp
67945 ac_cpp='$CXXCPP $CPPFLAGS'
67946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67951 /* end confdefs.h. */
67952 #include <math.h>
67953 #ifdef HAVE_IEEEFP_H
67954 #include <ieeefp.h>
67955 #endif
67958 main ()
67960 _expf(0);
67962 return 0;
67964 _ACEOF
67965 if ac_fn_cxx_try_compile "$LINENO"; then :
67966 glibcxx_cv_func__expf_use=yes
67967 else
67968 glibcxx_cv_func__expf_use=no
67970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67971 ac_ext=c
67972 ac_cpp='$CPP $CPPFLAGS'
67973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67982 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67984 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67985 for ac_func in _expf
67986 do :
67987 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67988 if test "x$ac_cv_func__expf" = x""yes; then :
67989 cat >>confdefs.h <<_ACEOF
67990 #define HAVE__EXPF 1
67991 _ACEOF
67994 done
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
68063 else
68065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68066 $as_echo_n "checking for _isnanf declaration... " >&6; }
68067 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68068 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68069 $as_echo_n "(cached) " >&6
68070 else
68073 ac_ext=cpp
68074 ac_cpp='$CXXCPP $CPPFLAGS'
68075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68080 /* end confdefs.h. */
68081 #include <math.h>
68082 #ifdef HAVE_IEEEFP_H
68083 #include <ieeefp.h>
68084 #endif
68087 main ()
68089 _isnanf(0);
68091 return 0;
68093 _ACEOF
68094 if ac_fn_cxx_try_compile "$LINENO"; then :
68095 glibcxx_cv_func__isnanf_use=yes
68096 else
68097 glibcxx_cv_func__isnanf_use=no
68099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68100 ac_ext=c
68101 ac_cpp='$CPP $CPPFLAGS'
68102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68111 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68113 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68114 for ac_func in _isnanf
68115 do :
68116 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68117 if test "x$ac_cv_func__isnanf" = x""yes; then :
68118 cat >>confdefs.h <<_ACEOF
68119 #define HAVE__ISNANF 1
68120 _ACEOF
68123 done
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
68192 else
68194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68195 $as_echo_n "checking for _isinff declaration... " >&6; }
68196 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68197 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68198 $as_echo_n "(cached) " >&6
68199 else
68202 ac_ext=cpp
68203 ac_cpp='$CXXCPP $CPPFLAGS'
68204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68209 /* end confdefs.h. */
68210 #include <math.h>
68211 #ifdef HAVE_IEEEFP_H
68212 #include <ieeefp.h>
68213 #endif
68216 main ()
68218 _isinff(0);
68220 return 0;
68222 _ACEOF
68223 if ac_fn_cxx_try_compile "$LINENO"; then :
68224 glibcxx_cv_func__isinff_use=yes
68225 else
68226 glibcxx_cv_func__isinff_use=no
68228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68229 ac_ext=c
68230 ac_cpp='$CPP $CPPFLAGS'
68231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68240 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68242 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68243 for ac_func in _isinff
68244 do :
68245 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68246 if test "x$ac_cv_func__isinff" = x""yes; then :
68247 cat >>confdefs.h <<_ACEOF
68248 #define HAVE__ISINFF 1
68249 _ACEOF
68252 done
68261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68262 $as_echo_n "checking for atan2f declaration... " >&6; }
68263 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68264 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68265 $as_echo_n "(cached) " >&6
68266 else
68269 ac_ext=cpp
68270 ac_cpp='$CXXCPP $CPPFLAGS'
68271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68276 /* end confdefs.h. */
68277 #include <math.h>
68279 main ()
68281 atan2f(0, 0);
68283 return 0;
68285 _ACEOF
68286 if ac_fn_cxx_try_compile "$LINENO"; then :
68287 glibcxx_cv_func_atan2f_use=yes
68288 else
68289 glibcxx_cv_func_atan2f_use=no
68291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68292 ac_ext=c
68293 ac_cpp='$CPP $CPPFLAGS'
68294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68303 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68305 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68306 for ac_func in atan2f
68307 do :
68308 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68309 if test "x$ac_cv_func_atan2f" = x""yes; then :
68310 cat >>confdefs.h <<_ACEOF
68311 #define HAVE_ATAN2F 1
68312 _ACEOF
68315 done
68317 else
68319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68320 $as_echo_n "checking for _atan2f declaration... " >&6; }
68321 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68322 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68323 $as_echo_n "(cached) " >&6
68324 else
68327 ac_ext=cpp
68328 ac_cpp='$CXXCPP $CPPFLAGS'
68329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68334 /* end confdefs.h. */
68335 #include <math.h>
68337 main ()
68339 _atan2f(0, 0);
68341 return 0;
68343 _ACEOF
68344 if ac_fn_cxx_try_compile "$LINENO"; then :
68345 glibcxx_cv_func__atan2f_use=yes
68346 else
68347 glibcxx_cv_func__atan2f_use=no
68349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68350 ac_ext=c
68351 ac_cpp='$CPP $CPPFLAGS'
68352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68361 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68363 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68364 for ac_func in _atan2f
68365 do :
68366 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68367 if test "x$ac_cv_func__atan2f" = x""yes; then :
68368 cat >>confdefs.h <<_ACEOF
68369 #define HAVE__ATAN2F 1
68370 _ACEOF
68373 done
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
68442 else
68444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68445 $as_echo_n "checking for _fabsf declaration... " >&6; }
68446 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68447 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68448 $as_echo_n "(cached) " >&6
68449 else
68452 ac_ext=cpp
68453 ac_cpp='$CXXCPP $CPPFLAGS'
68454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68459 /* end confdefs.h. */
68460 #include <math.h>
68461 #ifdef HAVE_IEEEFP_H
68462 #include <ieeefp.h>
68463 #endif
68466 main ()
68468 _fabsf(0);
68470 return 0;
68472 _ACEOF
68473 if ac_fn_cxx_try_compile "$LINENO"; then :
68474 glibcxx_cv_func__fabsf_use=yes
68475 else
68476 glibcxx_cv_func__fabsf_use=no
68478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68479 ac_ext=c
68480 ac_cpp='$CPP $CPPFLAGS'
68481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68490 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68492 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68493 for ac_func in _fabsf
68494 do :
68495 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68496 if test "x$ac_cv_func__fabsf" = x""yes; then :
68497 cat >>confdefs.h <<_ACEOF
68498 #define HAVE__FABSF 1
68499 _ACEOF
68502 done
68511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68512 $as_echo_n "checking for fmodf declaration... " >&6; }
68513 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68514 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68515 $as_echo_n "(cached) " >&6
68516 else
68519 ac_ext=cpp
68520 ac_cpp='$CXXCPP $CPPFLAGS'
68521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68526 /* end confdefs.h. */
68527 #include <math.h>
68529 main ()
68531 fmodf(0, 0);
68533 return 0;
68535 _ACEOF
68536 if ac_fn_cxx_try_compile "$LINENO"; then :
68537 glibcxx_cv_func_fmodf_use=yes
68538 else
68539 glibcxx_cv_func_fmodf_use=no
68541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68542 ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68553 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68555 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68556 for ac_func in fmodf
68557 do :
68558 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68559 if test "x$ac_cv_func_fmodf" = x""yes; then :
68560 cat >>confdefs.h <<_ACEOF
68561 #define HAVE_FMODF 1
68562 _ACEOF
68565 done
68567 else
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68570 $as_echo_n "checking for _fmodf declaration... " >&6; }
68571 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68572 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68573 $as_echo_n "(cached) " >&6
68574 else
68577 ac_ext=cpp
68578 ac_cpp='$CXXCPP $CPPFLAGS'
68579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68584 /* end confdefs.h. */
68585 #include <math.h>
68587 main ()
68589 _fmodf(0, 0);
68591 return 0;
68593 _ACEOF
68594 if ac_fn_cxx_try_compile "$LINENO"; then :
68595 glibcxx_cv_func__fmodf_use=yes
68596 else
68597 glibcxx_cv_func__fmodf_use=no
68599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68600 ac_ext=c
68601 ac_cpp='$CPP $CPPFLAGS'
68602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68611 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68613 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68614 for ac_func in _fmodf
68615 do :
68616 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68617 if test "x$ac_cv_func__fmodf" = x""yes; then :
68618 cat >>confdefs.h <<_ACEOF
68619 #define HAVE__FMODF 1
68620 _ACEOF
68623 done
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68633 $as_echo_n "checking for frexpf declaration... " >&6; }
68634 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68635 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68636 $as_echo_n "(cached) " >&6
68637 else
68640 ac_ext=cpp
68641 ac_cpp='$CXXCPP $CPPFLAGS'
68642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68647 /* end confdefs.h. */
68648 #include <math.h>
68650 main ()
68652 frexpf(0, 0);
68654 return 0;
68656 _ACEOF
68657 if ac_fn_cxx_try_compile "$LINENO"; then :
68658 glibcxx_cv_func_frexpf_use=yes
68659 else
68660 glibcxx_cv_func_frexpf_use=no
68662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68663 ac_ext=c
68664 ac_cpp='$CPP $CPPFLAGS'
68665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68674 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68676 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68677 for ac_func in frexpf
68678 do :
68679 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68680 if test "x$ac_cv_func_frexpf" = x""yes; then :
68681 cat >>confdefs.h <<_ACEOF
68682 #define HAVE_FREXPF 1
68683 _ACEOF
68686 done
68688 else
68690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68691 $as_echo_n "checking for _frexpf declaration... " >&6; }
68692 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68693 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68694 $as_echo_n "(cached) " >&6
68695 else
68698 ac_ext=cpp
68699 ac_cpp='$CXXCPP $CPPFLAGS'
68700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68705 /* end confdefs.h. */
68706 #include <math.h>
68708 main ()
68710 _frexpf(0, 0);
68712 return 0;
68714 _ACEOF
68715 if ac_fn_cxx_try_compile "$LINENO"; then :
68716 glibcxx_cv_func__frexpf_use=yes
68717 else
68718 glibcxx_cv_func__frexpf_use=no
68720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68721 ac_ext=c
68722 ac_cpp='$CPP $CPPFLAGS'
68723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68732 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68734 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68735 for ac_func in _frexpf
68736 do :
68737 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68738 if test "x$ac_cv_func__frexpf" = x""yes; then :
68739 cat >>confdefs.h <<_ACEOF
68740 #define HAVE__FREXPF 1
68741 _ACEOF
68744 done
68753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68754 $as_echo_n "checking for hypotf declaration... " >&6; }
68755 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68756 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68757 $as_echo_n "(cached) " >&6
68758 else
68761 ac_ext=cpp
68762 ac_cpp='$CXXCPP $CPPFLAGS'
68763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68768 /* end confdefs.h. */
68769 #include <math.h>
68771 main ()
68773 hypotf(0, 0);
68775 return 0;
68777 _ACEOF
68778 if ac_fn_cxx_try_compile "$LINENO"; then :
68779 glibcxx_cv_func_hypotf_use=yes
68780 else
68781 glibcxx_cv_func_hypotf_use=no
68783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68784 ac_ext=c
68785 ac_cpp='$CPP $CPPFLAGS'
68786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68795 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68797 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68798 for ac_func in hypotf
68799 do :
68800 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68801 if test "x$ac_cv_func_hypotf" = x""yes; then :
68802 cat >>confdefs.h <<_ACEOF
68803 #define HAVE_HYPOTF 1
68804 _ACEOF
68807 done
68809 else
68811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68812 $as_echo_n "checking for _hypotf declaration... " >&6; }
68813 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68814 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68815 $as_echo_n "(cached) " >&6
68816 else
68819 ac_ext=cpp
68820 ac_cpp='$CXXCPP $CPPFLAGS'
68821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68826 /* end confdefs.h. */
68827 #include <math.h>
68829 main ()
68831 _hypotf(0, 0);
68833 return 0;
68835 _ACEOF
68836 if ac_fn_cxx_try_compile "$LINENO"; then :
68837 glibcxx_cv_func__hypotf_use=yes
68838 else
68839 glibcxx_cv_func__hypotf_use=no
68841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68842 ac_ext=c
68843 ac_cpp='$CPP $CPPFLAGS'
68844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68853 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68855 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68856 for ac_func in _hypotf
68857 do :
68858 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68859 if test "x$ac_cv_func__hypotf" = x""yes; then :
68860 cat >>confdefs.h <<_ACEOF
68861 #define HAVE__HYPOTF 1
68862 _ACEOF
68865 done
68874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68875 $as_echo_n "checking for ldexpf declaration... " >&6; }
68876 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68877 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68878 $as_echo_n "(cached) " >&6
68879 else
68882 ac_ext=cpp
68883 ac_cpp='$CXXCPP $CPPFLAGS'
68884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68889 /* end confdefs.h. */
68890 #include <math.h>
68892 main ()
68894 ldexpf(0, 0);
68896 return 0;
68898 _ACEOF
68899 if ac_fn_cxx_try_compile "$LINENO"; then :
68900 glibcxx_cv_func_ldexpf_use=yes
68901 else
68902 glibcxx_cv_func_ldexpf_use=no
68904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68905 ac_ext=c
68906 ac_cpp='$CPP $CPPFLAGS'
68907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68916 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68918 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68919 for ac_func in ldexpf
68920 do :
68921 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68922 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68923 cat >>confdefs.h <<_ACEOF
68924 #define HAVE_LDEXPF 1
68925 _ACEOF
68928 done
68930 else
68932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68933 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68934 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68935 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68936 $as_echo_n "(cached) " >&6
68937 else
68940 ac_ext=cpp
68941 ac_cpp='$CXXCPP $CPPFLAGS'
68942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68947 /* end confdefs.h. */
68948 #include <math.h>
68950 main ()
68952 _ldexpf(0, 0);
68954 return 0;
68956 _ACEOF
68957 if ac_fn_cxx_try_compile "$LINENO"; then :
68958 glibcxx_cv_func__ldexpf_use=yes
68959 else
68960 glibcxx_cv_func__ldexpf_use=no
68962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68963 ac_ext=c
68964 ac_cpp='$CPP $CPPFLAGS'
68965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68974 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68976 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68977 for ac_func in _ldexpf
68978 do :
68979 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68980 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68981 cat >>confdefs.h <<_ACEOF
68982 #define HAVE__LDEXPF 1
68983 _ACEOF
68986 done
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
69055 else
69057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69058 $as_echo_n "checking for _logf declaration... " >&6; }
69059 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69060 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69061 $as_echo_n "(cached) " >&6
69062 else
69065 ac_ext=cpp
69066 ac_cpp='$CXXCPP $CPPFLAGS'
69067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69072 /* end confdefs.h. */
69073 #include <math.h>
69074 #ifdef HAVE_IEEEFP_H
69075 #include <ieeefp.h>
69076 #endif
69079 main ()
69081 _logf(0);
69083 return 0;
69085 _ACEOF
69086 if ac_fn_cxx_try_compile "$LINENO"; then :
69087 glibcxx_cv_func__logf_use=yes
69088 else
69089 glibcxx_cv_func__logf_use=no
69091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69092 ac_ext=c
69093 ac_cpp='$CPP $CPPFLAGS'
69094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69103 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69105 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69106 for ac_func in _logf
69107 do :
69108 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69109 if test "x$ac_cv_func__logf" = x""yes; then :
69110 cat >>confdefs.h <<_ACEOF
69111 #define HAVE__LOGF 1
69112 _ACEOF
69115 done
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
69184 else
69186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69187 $as_echo_n "checking for _log10f declaration... " >&6; }
69188 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69189 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69190 $as_echo_n "(cached) " >&6
69191 else
69194 ac_ext=cpp
69195 ac_cpp='$CXXCPP $CPPFLAGS'
69196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69201 /* end confdefs.h. */
69202 #include <math.h>
69203 #ifdef HAVE_IEEEFP_H
69204 #include <ieeefp.h>
69205 #endif
69208 main ()
69210 _log10f(0);
69212 return 0;
69214 _ACEOF
69215 if ac_fn_cxx_try_compile "$LINENO"; then :
69216 glibcxx_cv_func__log10f_use=yes
69217 else
69218 glibcxx_cv_func__log10f_use=no
69220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69221 ac_ext=c
69222 ac_cpp='$CPP $CPPFLAGS'
69223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69232 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69234 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69235 for ac_func in _log10f
69236 do :
69237 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69238 if test "x$ac_cv_func__log10f" = x""yes; then :
69239 cat >>confdefs.h <<_ACEOF
69240 #define HAVE__LOG10F 1
69241 _ACEOF
69244 done
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69254 $as_echo_n "checking for modff declaration... " >&6; }
69255 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69256 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69257 $as_echo_n "(cached) " >&6
69258 else
69261 ac_ext=cpp
69262 ac_cpp='$CXXCPP $CPPFLAGS'
69263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69268 /* end confdefs.h. */
69269 #include <math.h>
69271 main ()
69273 modff(0, 0);
69275 return 0;
69277 _ACEOF
69278 if ac_fn_cxx_try_compile "$LINENO"; then :
69279 glibcxx_cv_func_modff_use=yes
69280 else
69281 glibcxx_cv_func_modff_use=no
69283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69284 ac_ext=c
69285 ac_cpp='$CPP $CPPFLAGS'
69286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69295 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69297 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69298 for ac_func in modff
69299 do :
69300 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69301 if test "x$ac_cv_func_modff" = x""yes; then :
69302 cat >>confdefs.h <<_ACEOF
69303 #define HAVE_MODFF 1
69304 _ACEOF
69307 done
69309 else
69311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69312 $as_echo_n "checking for _modff declaration... " >&6; }
69313 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69314 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69315 $as_echo_n "(cached) " >&6
69316 else
69319 ac_ext=cpp
69320 ac_cpp='$CXXCPP $CPPFLAGS'
69321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69326 /* end confdefs.h. */
69327 #include <math.h>
69329 main ()
69331 _modff(0, 0);
69333 return 0;
69335 _ACEOF
69336 if ac_fn_cxx_try_compile "$LINENO"; then :
69337 glibcxx_cv_func__modff_use=yes
69338 else
69339 glibcxx_cv_func__modff_use=no
69341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69342 ac_ext=c
69343 ac_cpp='$CPP $CPPFLAGS'
69344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69353 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69355 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69356 for ac_func in _modff
69357 do :
69358 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69359 if test "x$ac_cv_func__modff" = x""yes; then :
69360 cat >>confdefs.h <<_ACEOF
69361 #define HAVE__MODFF 1
69362 _ACEOF
69365 done
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69375 $as_echo_n "checking for modf declaration... " >&6; }
69376 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69377 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69378 $as_echo_n "(cached) " >&6
69379 else
69382 ac_ext=cpp
69383 ac_cpp='$CXXCPP $CPPFLAGS'
69384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69389 /* end confdefs.h. */
69390 #include <math.h>
69392 main ()
69394 modf(0, 0);
69396 return 0;
69398 _ACEOF
69399 if ac_fn_cxx_try_compile "$LINENO"; then :
69400 glibcxx_cv_func_modf_use=yes
69401 else
69402 glibcxx_cv_func_modf_use=no
69404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69405 ac_ext=c
69406 ac_cpp='$CPP $CPPFLAGS'
69407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69416 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69418 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69419 for ac_func in modf
69420 do :
69421 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69422 if test "x$ac_cv_func_modf" = x""yes; then :
69423 cat >>confdefs.h <<_ACEOF
69424 #define HAVE_MODF 1
69425 _ACEOF
69428 done
69430 else
69432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69433 $as_echo_n "checking for _modf declaration... " >&6; }
69434 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69435 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69436 $as_echo_n "(cached) " >&6
69437 else
69440 ac_ext=cpp
69441 ac_cpp='$CXXCPP $CPPFLAGS'
69442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69447 /* end confdefs.h. */
69448 #include <math.h>
69450 main ()
69452 _modf(0, 0);
69454 return 0;
69456 _ACEOF
69457 if ac_fn_cxx_try_compile "$LINENO"; then :
69458 glibcxx_cv_func__modf_use=yes
69459 else
69460 glibcxx_cv_func__modf_use=no
69462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69463 ac_ext=c
69464 ac_cpp='$CPP $CPPFLAGS'
69465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69474 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69476 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69477 for ac_func in _modf
69478 do :
69479 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69480 if test "x$ac_cv_func__modf" = x""yes; then :
69481 cat >>confdefs.h <<_ACEOF
69482 #define HAVE__MODF 1
69483 _ACEOF
69486 done
69495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69496 $as_echo_n "checking for powf declaration... " >&6; }
69497 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69498 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69499 $as_echo_n "(cached) " >&6
69500 else
69503 ac_ext=cpp
69504 ac_cpp='$CXXCPP $CPPFLAGS'
69505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69510 /* end confdefs.h. */
69511 #include <math.h>
69513 main ()
69515 powf(0, 0);
69517 return 0;
69519 _ACEOF
69520 if ac_fn_cxx_try_compile "$LINENO"; then :
69521 glibcxx_cv_func_powf_use=yes
69522 else
69523 glibcxx_cv_func_powf_use=no
69525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69526 ac_ext=c
69527 ac_cpp='$CPP $CPPFLAGS'
69528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69537 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69539 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69540 for ac_func in powf
69541 do :
69542 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69543 if test "x$ac_cv_func_powf" = x""yes; then :
69544 cat >>confdefs.h <<_ACEOF
69545 #define HAVE_POWF 1
69546 _ACEOF
69549 done
69551 else
69553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69554 $as_echo_n "checking for _powf declaration... " >&6; }
69555 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69556 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69557 $as_echo_n "(cached) " >&6
69558 else
69561 ac_ext=cpp
69562 ac_cpp='$CXXCPP $CPPFLAGS'
69563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69568 /* end confdefs.h. */
69569 #include <math.h>
69571 main ()
69573 _powf(0, 0);
69575 return 0;
69577 _ACEOF
69578 if ac_fn_cxx_try_compile "$LINENO"; then :
69579 glibcxx_cv_func__powf_use=yes
69580 else
69581 glibcxx_cv_func__powf_use=no
69583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69584 ac_ext=c
69585 ac_cpp='$CPP $CPPFLAGS'
69586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69595 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69597 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69598 for ac_func in _powf
69599 do :
69600 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69601 if test "x$ac_cv_func__powf" = x""yes; then :
69602 cat >>confdefs.h <<_ACEOF
69603 #define HAVE__POWF 1
69604 _ACEOF
69607 done
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
69676 else
69678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69679 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69680 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69681 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69682 $as_echo_n "(cached) " >&6
69683 else
69686 ac_ext=cpp
69687 ac_cpp='$CXXCPP $CPPFLAGS'
69688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69693 /* end confdefs.h. */
69694 #include <math.h>
69695 #ifdef HAVE_IEEEFP_H
69696 #include <ieeefp.h>
69697 #endif
69700 main ()
69702 _sqrtf(0);
69704 return 0;
69706 _ACEOF
69707 if ac_fn_cxx_try_compile "$LINENO"; then :
69708 glibcxx_cv_func__sqrtf_use=yes
69709 else
69710 glibcxx_cv_func__sqrtf_use=no
69712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69713 ac_ext=c
69714 ac_cpp='$CPP $CPPFLAGS'
69715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69724 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69726 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69727 for ac_func in _sqrtf
69728 do :
69729 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69730 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69731 cat >>confdefs.h <<_ACEOF
69732 #define HAVE__SQRTF 1
69733 _ACEOF
69736 done
69745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69746 $as_echo_n "checking for sincosf declaration... " >&6; }
69747 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69748 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69749 $as_echo_n "(cached) " >&6
69750 else
69753 ac_ext=cpp
69754 ac_cpp='$CXXCPP $CPPFLAGS'
69755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69760 /* end confdefs.h. */
69761 #include <math.h>
69763 main ()
69765 sincosf(0, 0, 0);
69767 return 0;
69769 _ACEOF
69770 if ac_fn_cxx_try_compile "$LINENO"; then :
69771 glibcxx_cv_func_sincosf_use=yes
69772 else
69773 glibcxx_cv_func_sincosf_use=no
69775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69776 ac_ext=c
69777 ac_cpp='$CPP $CPPFLAGS'
69778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69787 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69789 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69790 for ac_func in sincosf
69791 do :
69792 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69793 if test "x$ac_cv_func_sincosf" = x""yes; then :
69794 cat >>confdefs.h <<_ACEOF
69795 #define HAVE_SINCOSF 1
69796 _ACEOF
69799 done
69801 else
69803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69804 $as_echo_n "checking for _sincosf declaration... " >&6; }
69805 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69806 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69807 $as_echo_n "(cached) " >&6
69808 else
69811 ac_ext=cpp
69812 ac_cpp='$CXXCPP $CPPFLAGS'
69813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69818 /* end confdefs.h. */
69819 #include <math.h>
69821 main ()
69823 _sincosf(0, 0, 0);
69825 return 0;
69827 _ACEOF
69828 if ac_fn_cxx_try_compile "$LINENO"; then :
69829 glibcxx_cv_func__sincosf_use=yes
69830 else
69831 glibcxx_cv_func__sincosf_use=no
69833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69834 ac_ext=c
69835 ac_cpp='$CPP $CPPFLAGS'
69836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69845 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69847 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69848 for ac_func in _sincosf
69849 do :
69850 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69851 if test "x$ac_cv_func__sincosf" = x""yes; then :
69852 cat >>confdefs.h <<_ACEOF
69853 #define HAVE__SINCOSF 1
69854 _ACEOF
69857 done
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
69926 else
69928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69929 $as_echo_n "checking for _finitef declaration... " >&6; }
69930 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69931 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69932 $as_echo_n "(cached) " >&6
69933 else
69936 ac_ext=cpp
69937 ac_cpp='$CXXCPP $CPPFLAGS'
69938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69943 /* end confdefs.h. */
69944 #include <math.h>
69945 #ifdef HAVE_IEEEFP_H
69946 #include <ieeefp.h>
69947 #endif
69950 main ()
69952 _finitef(0);
69954 return 0;
69956 _ACEOF
69957 if ac_fn_cxx_try_compile "$LINENO"; then :
69958 glibcxx_cv_func__finitef_use=yes
69959 else
69960 glibcxx_cv_func__finitef_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
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69974 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69976 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69977 for ac_func in _finitef
69978 do :
69979 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69980 if test "x$ac_cv_func__finitef" = x""yes; then :
69981 cat >>confdefs.h <<_ACEOF
69982 #define HAVE__FINITEF 1
69983 _ACEOF
69986 done
69995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69996 $as_echo_n "checking for long double trig functions... " >&6; }
69997 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69998 $as_echo_n "(cached) " >&6
69999 else
70002 ac_ext=cpp
70003 ac_cpp='$CXXCPP $CPPFLAGS'
70004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70009 /* end confdefs.h. */
70010 #include <math.h>
70012 main ()
70014 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70016 return 0;
70018 _ACEOF
70019 if ac_fn_cxx_try_compile "$LINENO"; then :
70020 glibcxx_cv_func_long_double_trig_use=yes
70021 else
70022 glibcxx_cv_func_long_double_trig_use=no
70024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70025 ac_ext=c
70026 ac_cpp='$CPP $CPPFLAGS'
70027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70034 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70035 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70036 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70037 do :
70038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70040 eval as_val=\$$as_ac_var
70041 if test "x$as_val" = x""yes; then :
70042 cat >>confdefs.h <<_ACEOF
70043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70044 _ACEOF
70047 done
70049 else
70050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70051 $as_echo_n "checking for _long double trig functions... " >&6; }
70052 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70053 $as_echo_n "(cached) " >&6
70054 else
70057 ac_ext=cpp
70058 ac_cpp='$CXXCPP $CPPFLAGS'
70059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70064 /* end confdefs.h. */
70065 #include <math.h>
70067 main ()
70069 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70071 return 0;
70073 _ACEOF
70074 if ac_fn_cxx_try_compile "$LINENO"; then :
70075 glibcxx_cv_func__long_double_trig_use=yes
70076 else
70077 glibcxx_cv_func__long_double_trig_use=no
70079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70080 ac_ext=c
70081 ac_cpp='$CPP $CPPFLAGS'
70082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70089 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70090 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70091 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70092 do :
70093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70095 eval as_val=\$$as_ac_var
70096 if test "x$as_val" = x""yes; then :
70097 cat >>confdefs.h <<_ACEOF
70098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70099 _ACEOF
70102 done
70111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70112 $as_echo_n "checking for long double round functions... " >&6; }
70113 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70114 $as_echo_n "(cached) " >&6
70115 else
70118 ac_ext=cpp
70119 ac_cpp='$CXXCPP $CPPFLAGS'
70120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70125 /* end confdefs.h. */
70126 #include <math.h>
70128 main ()
70130 ceill (0); floorl (0);
70132 return 0;
70134 _ACEOF
70135 if ac_fn_cxx_try_compile "$LINENO"; then :
70136 glibcxx_cv_func_long_double_round_use=yes
70137 else
70138 glibcxx_cv_func_long_double_round_use=no
70140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70141 ac_ext=c
70142 ac_cpp='$CPP $CPPFLAGS'
70143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70150 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70151 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70152 for ac_func in ceill floorl
70153 do :
70154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70156 eval as_val=\$$as_ac_var
70157 if test "x$as_val" = x""yes; then :
70158 cat >>confdefs.h <<_ACEOF
70159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70160 _ACEOF
70163 done
70165 else
70166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70167 $as_echo_n "checking for _long double round functions... " >&6; }
70168 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70169 $as_echo_n "(cached) " >&6
70170 else
70173 ac_ext=cpp
70174 ac_cpp='$CXXCPP $CPPFLAGS'
70175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70180 /* end confdefs.h. */
70181 #include <math.h>
70183 main ()
70185 _ceill (0); _floorl (0);
70187 return 0;
70189 _ACEOF
70190 if ac_fn_cxx_try_compile "$LINENO"; then :
70191 glibcxx_cv_func__long_double_round_use=yes
70192 else
70193 glibcxx_cv_func__long_double_round_use=no
70195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70196 ac_ext=c
70197 ac_cpp='$CPP $CPPFLAGS'
70198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70205 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70206 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70207 for ac_func in _ceill _floorl
70208 do :
70209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70211 eval as_val=\$$as_ac_var
70212 if test "x$as_val" = x""yes; then :
70213 cat >>confdefs.h <<_ACEOF
70214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70215 _ACEOF
70218 done
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
70288 else
70290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70291 $as_echo_n "checking for _isnanl declaration... " >&6; }
70292 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70293 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70294 $as_echo_n "(cached) " >&6
70295 else
70298 ac_ext=cpp
70299 ac_cpp='$CXXCPP $CPPFLAGS'
70300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70305 /* end confdefs.h. */
70306 #include <math.h>
70307 #ifdef HAVE_IEEEFP_H
70308 #include <ieeefp.h>
70309 #endif
70312 main ()
70314 _isnanl(0);
70316 return 0;
70318 _ACEOF
70319 if ac_fn_cxx_try_compile "$LINENO"; then :
70320 glibcxx_cv_func__isnanl_use=yes
70321 else
70322 glibcxx_cv_func__isnanl_use=no
70324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70325 ac_ext=c
70326 ac_cpp='$CPP $CPPFLAGS'
70327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70336 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70338 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70339 for ac_func in _isnanl
70340 do :
70341 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70342 if test "x$ac_cv_func__isnanl" = x""yes; then :
70343 cat >>confdefs.h <<_ACEOF
70344 #define HAVE__ISNANL 1
70345 _ACEOF
70348 done
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
70417 else
70419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70420 $as_echo_n "checking for _isinfl declaration... " >&6; }
70421 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70422 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70423 $as_echo_n "(cached) " >&6
70424 else
70427 ac_ext=cpp
70428 ac_cpp='$CXXCPP $CPPFLAGS'
70429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70434 /* end confdefs.h. */
70435 #include <math.h>
70436 #ifdef HAVE_IEEEFP_H
70437 #include <ieeefp.h>
70438 #endif
70441 main ()
70443 _isinfl(0);
70445 return 0;
70447 _ACEOF
70448 if ac_fn_cxx_try_compile "$LINENO"; then :
70449 glibcxx_cv_func__isinfl_use=yes
70450 else
70451 glibcxx_cv_func__isinfl_use=no
70453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70454 ac_ext=c
70455 ac_cpp='$CPP $CPPFLAGS'
70456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70465 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70467 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70468 for ac_func in _isinfl
70469 do :
70470 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70471 if test "x$ac_cv_func__isinfl" = x""yes; then :
70472 cat >>confdefs.h <<_ACEOF
70473 #define HAVE__ISINFL 1
70474 _ACEOF
70477 done
70486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70487 $as_echo_n "checking for atan2l declaration... " >&6; }
70488 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70489 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70490 $as_echo_n "(cached) " >&6
70491 else
70494 ac_ext=cpp
70495 ac_cpp='$CXXCPP $CPPFLAGS'
70496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70501 /* end confdefs.h. */
70502 #include <math.h>
70504 main ()
70506 atan2l(0, 0);
70508 return 0;
70510 _ACEOF
70511 if ac_fn_cxx_try_compile "$LINENO"; then :
70512 glibcxx_cv_func_atan2l_use=yes
70513 else
70514 glibcxx_cv_func_atan2l_use=no
70516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70517 ac_ext=c
70518 ac_cpp='$CPP $CPPFLAGS'
70519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70528 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70530 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70531 for ac_func in atan2l
70532 do :
70533 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70534 if test "x$ac_cv_func_atan2l" = x""yes; then :
70535 cat >>confdefs.h <<_ACEOF
70536 #define HAVE_ATAN2L 1
70537 _ACEOF
70540 done
70542 else
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70545 $as_echo_n "checking for _atan2l declaration... " >&6; }
70546 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70547 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70548 $as_echo_n "(cached) " >&6
70549 else
70552 ac_ext=cpp
70553 ac_cpp='$CXXCPP $CPPFLAGS'
70554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70559 /* end confdefs.h. */
70560 #include <math.h>
70562 main ()
70564 _atan2l(0, 0);
70566 return 0;
70568 _ACEOF
70569 if ac_fn_cxx_try_compile "$LINENO"; then :
70570 glibcxx_cv_func__atan2l_use=yes
70571 else
70572 glibcxx_cv_func__atan2l_use=no
70574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70575 ac_ext=c
70576 ac_cpp='$CPP $CPPFLAGS'
70577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70586 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70588 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70589 for ac_func in _atan2l
70590 do :
70591 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70592 if test "x$ac_cv_func__atan2l" = x""yes; then :
70593 cat >>confdefs.h <<_ACEOF
70594 #define HAVE__ATAN2L 1
70595 _ACEOF
70598 done
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
70667 else
70669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70670 $as_echo_n "checking for _expl declaration... " >&6; }
70671 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70672 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70673 $as_echo_n "(cached) " >&6
70674 else
70677 ac_ext=cpp
70678 ac_cpp='$CXXCPP $CPPFLAGS'
70679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70684 /* end confdefs.h. */
70685 #include <math.h>
70686 #ifdef HAVE_IEEEFP_H
70687 #include <ieeefp.h>
70688 #endif
70691 main ()
70693 _expl(0);
70695 return 0;
70697 _ACEOF
70698 if ac_fn_cxx_try_compile "$LINENO"; then :
70699 glibcxx_cv_func__expl_use=yes
70700 else
70701 glibcxx_cv_func__expl_use=no
70703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70704 ac_ext=c
70705 ac_cpp='$CPP $CPPFLAGS'
70706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70715 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70717 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70718 for ac_func in _expl
70719 do :
70720 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70721 if test "x$ac_cv_func__expl" = x""yes; then :
70722 cat >>confdefs.h <<_ACEOF
70723 #define HAVE__EXPL 1
70724 _ACEOF
70727 done
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
70796 else
70798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70799 $as_echo_n "checking for _fabsl declaration... " >&6; }
70800 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70801 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70802 $as_echo_n "(cached) " >&6
70803 else
70806 ac_ext=cpp
70807 ac_cpp='$CXXCPP $CPPFLAGS'
70808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70813 /* end confdefs.h. */
70814 #include <math.h>
70815 #ifdef HAVE_IEEEFP_H
70816 #include <ieeefp.h>
70817 #endif
70820 main ()
70822 _fabsl(0);
70824 return 0;
70826 _ACEOF
70827 if ac_fn_cxx_try_compile "$LINENO"; then :
70828 glibcxx_cv_func__fabsl_use=yes
70829 else
70830 glibcxx_cv_func__fabsl_use=no
70832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70833 ac_ext=c
70834 ac_cpp='$CPP $CPPFLAGS'
70835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70844 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70846 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70847 for ac_func in _fabsl
70848 do :
70849 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70850 if test "x$ac_cv_func__fabsl" = x""yes; then :
70851 cat >>confdefs.h <<_ACEOF
70852 #define HAVE__FABSL 1
70853 _ACEOF
70856 done
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70866 $as_echo_n "checking for fmodl declaration... " >&6; }
70867 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70868 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70869 $as_echo_n "(cached) " >&6
70870 else
70873 ac_ext=cpp
70874 ac_cpp='$CXXCPP $CPPFLAGS'
70875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70880 /* end confdefs.h. */
70881 #include <math.h>
70883 main ()
70885 fmodl(0, 0);
70887 return 0;
70889 _ACEOF
70890 if ac_fn_cxx_try_compile "$LINENO"; then :
70891 glibcxx_cv_func_fmodl_use=yes
70892 else
70893 glibcxx_cv_func_fmodl_use=no
70895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70896 ac_ext=c
70897 ac_cpp='$CPP $CPPFLAGS'
70898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70907 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70909 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70910 for ac_func in fmodl
70911 do :
70912 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70913 if test "x$ac_cv_func_fmodl" = x""yes; then :
70914 cat >>confdefs.h <<_ACEOF
70915 #define HAVE_FMODL 1
70916 _ACEOF
70919 done
70921 else
70923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70924 $as_echo_n "checking for _fmodl declaration... " >&6; }
70925 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70926 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70927 $as_echo_n "(cached) " >&6
70928 else
70931 ac_ext=cpp
70932 ac_cpp='$CXXCPP $CPPFLAGS'
70933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70938 /* end confdefs.h. */
70939 #include <math.h>
70941 main ()
70943 _fmodl(0, 0);
70945 return 0;
70947 _ACEOF
70948 if ac_fn_cxx_try_compile "$LINENO"; then :
70949 glibcxx_cv_func__fmodl_use=yes
70950 else
70951 glibcxx_cv_func__fmodl_use=no
70953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70954 ac_ext=c
70955 ac_cpp='$CPP $CPPFLAGS'
70956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70965 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70967 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70968 for ac_func in _fmodl
70969 do :
70970 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70971 if test "x$ac_cv_func__fmodl" = x""yes; then :
70972 cat >>confdefs.h <<_ACEOF
70973 #define HAVE__FMODL 1
70974 _ACEOF
70977 done
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70987 $as_echo_n "checking for frexpl declaration... " >&6; }
70988 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70989 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70990 $as_echo_n "(cached) " >&6
70991 else
70994 ac_ext=cpp
70995 ac_cpp='$CXXCPP $CPPFLAGS'
70996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71001 /* end confdefs.h. */
71002 #include <math.h>
71004 main ()
71006 frexpl(0, 0);
71008 return 0;
71010 _ACEOF
71011 if ac_fn_cxx_try_compile "$LINENO"; then :
71012 glibcxx_cv_func_frexpl_use=yes
71013 else
71014 glibcxx_cv_func_frexpl_use=no
71016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71017 ac_ext=c
71018 ac_cpp='$CPP $CPPFLAGS'
71019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71028 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71030 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71031 for ac_func in frexpl
71032 do :
71033 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71034 if test "x$ac_cv_func_frexpl" = x""yes; then :
71035 cat >>confdefs.h <<_ACEOF
71036 #define HAVE_FREXPL 1
71037 _ACEOF
71040 done
71042 else
71044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71045 $as_echo_n "checking for _frexpl declaration... " >&6; }
71046 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71047 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71048 $as_echo_n "(cached) " >&6
71049 else
71052 ac_ext=cpp
71053 ac_cpp='$CXXCPP $CPPFLAGS'
71054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71059 /* end confdefs.h. */
71060 #include <math.h>
71062 main ()
71064 _frexpl(0, 0);
71066 return 0;
71068 _ACEOF
71069 if ac_fn_cxx_try_compile "$LINENO"; then :
71070 glibcxx_cv_func__frexpl_use=yes
71071 else
71072 glibcxx_cv_func__frexpl_use=no
71074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71075 ac_ext=c
71076 ac_cpp='$CPP $CPPFLAGS'
71077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71086 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71088 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71089 for ac_func in _frexpl
71090 do :
71091 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71092 if test "x$ac_cv_func__frexpl" = x""yes; then :
71093 cat >>confdefs.h <<_ACEOF
71094 #define HAVE__FREXPL 1
71095 _ACEOF
71098 done
71107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71108 $as_echo_n "checking for hypotl declaration... " >&6; }
71109 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71110 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71111 $as_echo_n "(cached) " >&6
71112 else
71115 ac_ext=cpp
71116 ac_cpp='$CXXCPP $CPPFLAGS'
71117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71122 /* end confdefs.h. */
71123 #include <math.h>
71125 main ()
71127 hypotl(0, 0);
71129 return 0;
71131 _ACEOF
71132 if ac_fn_cxx_try_compile "$LINENO"; then :
71133 glibcxx_cv_func_hypotl_use=yes
71134 else
71135 glibcxx_cv_func_hypotl_use=no
71137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71138 ac_ext=c
71139 ac_cpp='$CPP $CPPFLAGS'
71140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71149 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71151 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71152 for ac_func in hypotl
71153 do :
71154 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71155 if test "x$ac_cv_func_hypotl" = x""yes; then :
71156 cat >>confdefs.h <<_ACEOF
71157 #define HAVE_HYPOTL 1
71158 _ACEOF
71161 done
71163 else
71165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71166 $as_echo_n "checking for _hypotl declaration... " >&6; }
71167 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71168 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71169 $as_echo_n "(cached) " >&6
71170 else
71173 ac_ext=cpp
71174 ac_cpp='$CXXCPP $CPPFLAGS'
71175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71180 /* end confdefs.h. */
71181 #include <math.h>
71183 main ()
71185 _hypotl(0, 0);
71187 return 0;
71189 _ACEOF
71190 if ac_fn_cxx_try_compile "$LINENO"; then :
71191 glibcxx_cv_func__hypotl_use=yes
71192 else
71193 glibcxx_cv_func__hypotl_use=no
71195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71196 ac_ext=c
71197 ac_cpp='$CPP $CPPFLAGS'
71198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71207 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71209 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71210 for ac_func in _hypotl
71211 do :
71212 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71213 if test "x$ac_cv_func__hypotl" = x""yes; then :
71214 cat >>confdefs.h <<_ACEOF
71215 #define HAVE__HYPOTL 1
71216 _ACEOF
71219 done
71228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71229 $as_echo_n "checking for ldexpl declaration... " >&6; }
71230 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71231 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71232 $as_echo_n "(cached) " >&6
71233 else
71236 ac_ext=cpp
71237 ac_cpp='$CXXCPP $CPPFLAGS'
71238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71243 /* end confdefs.h. */
71244 #include <math.h>
71246 main ()
71248 ldexpl(0, 0);
71250 return 0;
71252 _ACEOF
71253 if ac_fn_cxx_try_compile "$LINENO"; then :
71254 glibcxx_cv_func_ldexpl_use=yes
71255 else
71256 glibcxx_cv_func_ldexpl_use=no
71258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71259 ac_ext=c
71260 ac_cpp='$CPP $CPPFLAGS'
71261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71270 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71272 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71273 for ac_func in ldexpl
71274 do :
71275 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71276 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71277 cat >>confdefs.h <<_ACEOF
71278 #define HAVE_LDEXPL 1
71279 _ACEOF
71282 done
71284 else
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71287 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71288 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71289 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71290 $as_echo_n "(cached) " >&6
71291 else
71294 ac_ext=cpp
71295 ac_cpp='$CXXCPP $CPPFLAGS'
71296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71301 /* end confdefs.h. */
71302 #include <math.h>
71304 main ()
71306 _ldexpl(0, 0);
71308 return 0;
71310 _ACEOF
71311 if ac_fn_cxx_try_compile "$LINENO"; then :
71312 glibcxx_cv_func__ldexpl_use=yes
71313 else
71314 glibcxx_cv_func__ldexpl_use=no
71316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71317 ac_ext=c
71318 ac_cpp='$CPP $CPPFLAGS'
71319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71328 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71330 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71331 for ac_func in _ldexpl
71332 do :
71333 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71334 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71335 cat >>confdefs.h <<_ACEOF
71336 #define HAVE__LDEXPL 1
71337 _ACEOF
71340 done
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
71409 else
71411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71412 $as_echo_n "checking for _logl declaration... " >&6; }
71413 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71414 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71415 $as_echo_n "(cached) " >&6
71416 else
71419 ac_ext=cpp
71420 ac_cpp='$CXXCPP $CPPFLAGS'
71421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71426 /* end confdefs.h. */
71427 #include <math.h>
71428 #ifdef HAVE_IEEEFP_H
71429 #include <ieeefp.h>
71430 #endif
71433 main ()
71435 _logl(0);
71437 return 0;
71439 _ACEOF
71440 if ac_fn_cxx_try_compile "$LINENO"; then :
71441 glibcxx_cv_func__logl_use=yes
71442 else
71443 glibcxx_cv_func__logl_use=no
71445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71446 ac_ext=c
71447 ac_cpp='$CPP $CPPFLAGS'
71448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71457 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71459 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71460 for ac_func in _logl
71461 do :
71462 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71463 if test "x$ac_cv_func__logl" = x""yes; then :
71464 cat >>confdefs.h <<_ACEOF
71465 #define HAVE__LOGL 1
71466 _ACEOF
71469 done
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
71538 else
71540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71541 $as_echo_n "checking for _log10l declaration... " >&6; }
71542 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71543 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71544 $as_echo_n "(cached) " >&6
71545 else
71548 ac_ext=cpp
71549 ac_cpp='$CXXCPP $CPPFLAGS'
71550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71555 /* end confdefs.h. */
71556 #include <math.h>
71557 #ifdef HAVE_IEEEFP_H
71558 #include <ieeefp.h>
71559 #endif
71562 main ()
71564 _log10l(0);
71566 return 0;
71568 _ACEOF
71569 if ac_fn_cxx_try_compile "$LINENO"; then :
71570 glibcxx_cv_func__log10l_use=yes
71571 else
71572 glibcxx_cv_func__log10l_use=no
71574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71575 ac_ext=c
71576 ac_cpp='$CPP $CPPFLAGS'
71577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71586 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71588 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71589 for ac_func in _log10l
71590 do :
71591 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71592 if test "x$ac_cv_func__log10l" = x""yes; then :
71593 cat >>confdefs.h <<_ACEOF
71594 #define HAVE__LOG10L 1
71595 _ACEOF
71598 done
71607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71608 $as_echo_n "checking for modfl declaration... " >&6; }
71609 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71610 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71611 $as_echo_n "(cached) " >&6
71612 else
71615 ac_ext=cpp
71616 ac_cpp='$CXXCPP $CPPFLAGS'
71617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71622 /* end confdefs.h. */
71623 #include <math.h>
71625 main ()
71627 modfl(0, 0);
71629 return 0;
71631 _ACEOF
71632 if ac_fn_cxx_try_compile "$LINENO"; then :
71633 glibcxx_cv_func_modfl_use=yes
71634 else
71635 glibcxx_cv_func_modfl_use=no
71637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71638 ac_ext=c
71639 ac_cpp='$CPP $CPPFLAGS'
71640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71649 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71651 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71652 for ac_func in modfl
71653 do :
71654 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71655 if test "x$ac_cv_func_modfl" = x""yes; then :
71656 cat >>confdefs.h <<_ACEOF
71657 #define HAVE_MODFL 1
71658 _ACEOF
71661 done
71663 else
71665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71666 $as_echo_n "checking for _modfl declaration... " >&6; }
71667 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71668 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71669 $as_echo_n "(cached) " >&6
71670 else
71673 ac_ext=cpp
71674 ac_cpp='$CXXCPP $CPPFLAGS'
71675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71680 /* end confdefs.h. */
71681 #include <math.h>
71683 main ()
71685 _modfl(0, 0);
71687 return 0;
71689 _ACEOF
71690 if ac_fn_cxx_try_compile "$LINENO"; then :
71691 glibcxx_cv_func__modfl_use=yes
71692 else
71693 glibcxx_cv_func__modfl_use=no
71695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71696 ac_ext=c
71697 ac_cpp='$CPP $CPPFLAGS'
71698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71707 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71709 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71710 for ac_func in _modfl
71711 do :
71712 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71713 if test "x$ac_cv_func__modfl" = x""yes; then :
71714 cat >>confdefs.h <<_ACEOF
71715 #define HAVE__MODFL 1
71716 _ACEOF
71719 done
71728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71729 $as_echo_n "checking for powl declaration... " >&6; }
71730 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71731 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71732 $as_echo_n "(cached) " >&6
71733 else
71736 ac_ext=cpp
71737 ac_cpp='$CXXCPP $CPPFLAGS'
71738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71743 /* end confdefs.h. */
71744 #include <math.h>
71746 main ()
71748 powl(0, 0);
71750 return 0;
71752 _ACEOF
71753 if ac_fn_cxx_try_compile "$LINENO"; then :
71754 glibcxx_cv_func_powl_use=yes
71755 else
71756 glibcxx_cv_func_powl_use=no
71758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71759 ac_ext=c
71760 ac_cpp='$CPP $CPPFLAGS'
71761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71770 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71772 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71773 for ac_func in powl
71774 do :
71775 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71776 if test "x$ac_cv_func_powl" = x""yes; then :
71777 cat >>confdefs.h <<_ACEOF
71778 #define HAVE_POWL 1
71779 _ACEOF
71782 done
71784 else
71786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71787 $as_echo_n "checking for _powl declaration... " >&6; }
71788 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71789 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71790 $as_echo_n "(cached) " >&6
71791 else
71794 ac_ext=cpp
71795 ac_cpp='$CXXCPP $CPPFLAGS'
71796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71801 /* end confdefs.h. */
71802 #include <math.h>
71804 main ()
71806 _powl(0, 0);
71808 return 0;
71810 _ACEOF
71811 if ac_fn_cxx_try_compile "$LINENO"; then :
71812 glibcxx_cv_func__powl_use=yes
71813 else
71814 glibcxx_cv_func__powl_use=no
71816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71817 ac_ext=c
71818 ac_cpp='$CPP $CPPFLAGS'
71819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71828 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71830 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71831 for ac_func in _powl
71832 do :
71833 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71834 if test "x$ac_cv_func__powl" = x""yes; then :
71835 cat >>confdefs.h <<_ACEOF
71836 #define HAVE__POWL 1
71837 _ACEOF
71840 done
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
71909 else
71911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71912 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71913 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71914 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71915 $as_echo_n "(cached) " >&6
71916 else
71919 ac_ext=cpp
71920 ac_cpp='$CXXCPP $CPPFLAGS'
71921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71926 /* end confdefs.h. */
71927 #include <math.h>
71928 #ifdef HAVE_IEEEFP_H
71929 #include <ieeefp.h>
71930 #endif
71933 main ()
71935 _sqrtl(0);
71937 return 0;
71939 _ACEOF
71940 if ac_fn_cxx_try_compile "$LINENO"; then :
71941 glibcxx_cv_func__sqrtl_use=yes
71942 else
71943 glibcxx_cv_func__sqrtl_use=no
71945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71946 ac_ext=c
71947 ac_cpp='$CPP $CPPFLAGS'
71948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71957 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71959 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71960 for ac_func in _sqrtl
71961 do :
71962 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71963 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71964 cat >>confdefs.h <<_ACEOF
71965 #define HAVE__SQRTL 1
71966 _ACEOF
71969 done
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71979 $as_echo_n "checking for sincosl declaration... " >&6; }
71980 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71981 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71982 $as_echo_n "(cached) " >&6
71983 else
71986 ac_ext=cpp
71987 ac_cpp='$CXXCPP $CPPFLAGS'
71988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71993 /* end confdefs.h. */
71994 #include <math.h>
71996 main ()
71998 sincosl(0, 0, 0);
72000 return 0;
72002 _ACEOF
72003 if ac_fn_cxx_try_compile "$LINENO"; then :
72004 glibcxx_cv_func_sincosl_use=yes
72005 else
72006 glibcxx_cv_func_sincosl_use=no
72008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72009 ac_ext=c
72010 ac_cpp='$CPP $CPPFLAGS'
72011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72020 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72022 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72023 for ac_func in sincosl
72024 do :
72025 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72026 if test "x$ac_cv_func_sincosl" = x""yes; then :
72027 cat >>confdefs.h <<_ACEOF
72028 #define HAVE_SINCOSL 1
72029 _ACEOF
72032 done
72034 else
72036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72037 $as_echo_n "checking for _sincosl declaration... " >&6; }
72038 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72039 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72040 $as_echo_n "(cached) " >&6
72041 else
72044 ac_ext=cpp
72045 ac_cpp='$CXXCPP $CPPFLAGS'
72046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72051 /* end confdefs.h. */
72052 #include <math.h>
72054 main ()
72056 _sincosl(0, 0, 0);
72058 return 0;
72060 _ACEOF
72061 if ac_fn_cxx_try_compile "$LINENO"; then :
72062 glibcxx_cv_func__sincosl_use=yes
72063 else
72064 glibcxx_cv_func__sincosl_use=no
72066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72067 ac_ext=c
72068 ac_cpp='$CPP $CPPFLAGS'
72069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72078 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72080 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72081 for ac_func in _sincosl
72082 do :
72083 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72084 if test "x$ac_cv_func__sincosl" = x""yes; then :
72085 cat >>confdefs.h <<_ACEOF
72086 #define HAVE__SINCOSL 1
72087 _ACEOF
72090 done
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
72159 else
72161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72162 $as_echo_n "checking for _finitel declaration... " >&6; }
72163 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72164 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72165 $as_echo_n "(cached) " >&6
72166 else
72169 ac_ext=cpp
72170 ac_cpp='$CXXCPP $CPPFLAGS'
72171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72176 /* end confdefs.h. */
72177 #include <math.h>
72178 #ifdef HAVE_IEEEFP_H
72179 #include <ieeefp.h>
72180 #endif
72183 main ()
72185 _finitel(0);
72187 return 0;
72189 _ACEOF
72190 if ac_fn_cxx_try_compile "$LINENO"; then :
72191 glibcxx_cv_func__finitel_use=yes
72192 else
72193 glibcxx_cv_func__finitel_use=no
72195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72196 ac_ext=c
72197 ac_cpp='$CPP $CPPFLAGS'
72198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72207 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72210 for ac_func in _finitel
72211 do :
72212 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72213 if test "x$ac_cv_func__finitel" = x""yes; then :
72214 cat >>confdefs.h <<_ACEOF
72215 #define HAVE__FINITEL 1
72216 _ACEOF
72219 done
72227 LIBS="$ac_save_LIBS"
72228 CXXFLAGS="$ac_save_CXXFLAGS"
72231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72232 ac_save_CXXFLAGS="$CXXFLAGS"
72233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72237 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72238 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72239 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72240 $as_echo_n "(cached) " >&6
72241 else
72244 ac_ext=cpp
72245 ac_cpp='$CXXCPP $CPPFLAGS'
72246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72251 /* end confdefs.h. */
72252 #include <stdlib.h>
72254 main ()
72256 at_quick_exit(0);
72258 return 0;
72260 _ACEOF
72261 if ac_fn_cxx_try_compile "$LINENO"; then :
72262 glibcxx_cv_func_at_quick_exit_use=yes
72263 else
72264 glibcxx_cv_func_at_quick_exit_use=no
72266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72267 ac_ext=c
72268 ac_cpp='$CPP $CPPFLAGS'
72269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72278 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72279 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72280 for ac_func in at_quick_exit
72281 do :
72282 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72283 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72284 cat >>confdefs.h <<_ACEOF
72285 #define HAVE_AT_QUICK_EXIT 1
72286 _ACEOF
72289 done
72294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72295 $as_echo_n "checking for quick_exit declaration... " >&6; }
72296 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72297 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72298 $as_echo_n "(cached) " >&6
72299 else
72302 ac_ext=cpp
72303 ac_cpp='$CXXCPP $CPPFLAGS'
72304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72309 /* end confdefs.h. */
72310 #include <stdlib.h>
72312 main ()
72314 quick_exit(0);
72316 return 0;
72318 _ACEOF
72319 if ac_fn_cxx_try_compile "$LINENO"; then :
72320 glibcxx_cv_func_quick_exit_use=yes
72321 else
72322 glibcxx_cv_func_quick_exit_use=no
72324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72325 ac_ext=c
72326 ac_cpp='$CPP $CPPFLAGS'
72327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72336 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72337 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72338 for ac_func in quick_exit
72339 do :
72340 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72341 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72342 cat >>confdefs.h <<_ACEOF
72343 #define HAVE_QUICK_EXIT 1
72344 _ACEOF
72347 done
72352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72353 $as_echo_n "checking for strtold declaration... " >&6; }
72354 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72355 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72356 $as_echo_n "(cached) " >&6
72357 else
72360 ac_ext=cpp
72361 ac_cpp='$CXXCPP $CPPFLAGS'
72362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72367 /* end confdefs.h. */
72368 #include <stdlib.h>
72370 main ()
72372 strtold(0, 0);
72374 return 0;
72376 _ACEOF
72377 if ac_fn_cxx_try_compile "$LINENO"; then :
72378 glibcxx_cv_func_strtold_use=yes
72379 else
72380 glibcxx_cv_func_strtold_use=no
72382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72383 ac_ext=c
72384 ac_cpp='$CPP $CPPFLAGS'
72385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72394 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72395 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72396 for ac_func in strtold
72397 do :
72398 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72399 if test "x$ac_cv_func_strtold" = x""yes; then :
72400 cat >>confdefs.h <<_ACEOF
72401 #define HAVE_STRTOLD 1
72402 _ACEOF
72405 done
72412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72413 $as_echo_n "checking for strtof declaration... " >&6; }
72414 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72415 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72416 $as_echo_n "(cached) " >&6
72417 else
72420 ac_ext=cpp
72421 ac_cpp='$CXXCPP $CPPFLAGS'
72422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72427 /* end confdefs.h. */
72428 #include <stdlib.h>
72430 main ()
72432 strtof(0, 0);
72434 return 0;
72436 _ACEOF
72437 if ac_fn_cxx_try_compile "$LINENO"; then :
72438 glibcxx_cv_func_strtof_use=yes
72439 else
72440 glibcxx_cv_func_strtof_use=no
72442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72443 ac_ext=c
72444 ac_cpp='$CPP $CPPFLAGS'
72445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72454 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72455 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72456 for ac_func in strtof
72457 do :
72458 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72459 if test "x$ac_cv_func_strtof" = x""yes; then :
72460 cat >>confdefs.h <<_ACEOF
72461 #define HAVE_STRTOF 1
72462 _ACEOF
72465 done
72472 CXXFLAGS="$ac_save_CXXFLAGS"
72475 *-tpf)
72476 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72477 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72479 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72481 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72483 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72485 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72487 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72489 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72491 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72493 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72495 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72497 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72499 if test x"long_double_math_on_this_cpu" = x"yes"; then
72500 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72502 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72504 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72506 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72510 *-*vms*)
72511 # Check for available headers.
72512 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72514 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72515 ac_save_CXXFLAGS="$CXXFLAGS"
72516 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72519 $as_echo_n "checking for sin in -lm... " >&6; }
72520 if test "${ac_cv_lib_m_sin+set}" = set; then :
72521 $as_echo_n "(cached) " >&6
72522 else
72523 ac_check_lib_save_LIBS=$LIBS
72524 LIBS="-lm $LIBS"
72525 if test x$gcc_no_link = xyes; then
72526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72529 /* end confdefs.h. */
72531 /* Override any GCC internal prototype to avoid an error.
72532 Use char because int might match the return type of a GCC
72533 builtin and then its argument prototype would still apply. */
72534 #ifdef __cplusplus
72535 extern "C"
72536 #endif
72537 char sin ();
72539 main ()
72541 return sin ();
72543 return 0;
72545 _ACEOF
72546 if ac_fn_c_try_link "$LINENO"; then :
72547 ac_cv_lib_m_sin=yes
72548 else
72549 ac_cv_lib_m_sin=no
72551 rm -f core conftest.err conftest.$ac_objext \
72552 conftest$ac_exeext conftest.$ac_ext
72553 LIBS=$ac_check_lib_save_LIBS
72555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72556 $as_echo "$ac_cv_lib_m_sin" >&6; }
72557 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72558 libm="-lm"
72561 ac_save_LIBS="$LIBS"
72562 LIBS="$LIBS $libm"
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
72626 else
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72629 $as_echo_n "checking for _isinf declaration... " >&6; }
72630 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72631 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72632 $as_echo_n "(cached) " >&6
72633 else
72636 ac_ext=cpp
72637 ac_cpp='$CXXCPP $CPPFLAGS'
72638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72643 /* end confdefs.h. */
72644 #include <math.h>
72645 #ifdef HAVE_IEEEFP_H
72646 #include <ieeefp.h>
72647 #endif
72650 main ()
72652 _isinf(0);
72654 return 0;
72656 _ACEOF
72657 if ac_fn_cxx_try_compile "$LINENO"; then :
72658 glibcxx_cv_func__isinf_use=yes
72659 else
72660 glibcxx_cv_func__isinf_use=no
72662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72663 ac_ext=c
72664 ac_cpp='$CPP $CPPFLAGS'
72665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72674 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72676 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72677 for ac_func in _isinf
72678 do :
72679 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72680 if test "x$ac_cv_func__isinf" = x""yes; then :
72681 cat >>confdefs.h <<_ACEOF
72682 #define HAVE__ISINF 1
72683 _ACEOF
72686 done
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
72755 else
72757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72758 $as_echo_n "checking for _isnan declaration... " >&6; }
72759 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72760 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72761 $as_echo_n "(cached) " >&6
72762 else
72765 ac_ext=cpp
72766 ac_cpp='$CXXCPP $CPPFLAGS'
72767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72772 /* end confdefs.h. */
72773 #include <math.h>
72774 #ifdef HAVE_IEEEFP_H
72775 #include <ieeefp.h>
72776 #endif
72779 main ()
72781 _isnan(0);
72783 return 0;
72785 _ACEOF
72786 if ac_fn_cxx_try_compile "$LINENO"; then :
72787 glibcxx_cv_func__isnan_use=yes
72788 else
72789 glibcxx_cv_func__isnan_use=no
72791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72792 ac_ext=c
72793 ac_cpp='$CPP $CPPFLAGS'
72794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72803 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72805 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72806 for ac_func in _isnan
72807 do :
72808 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72809 if test "x$ac_cv_func__isnan" = x""yes; then :
72810 cat >>confdefs.h <<_ACEOF
72811 #define HAVE__ISNAN 1
72812 _ACEOF
72815 done
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
72884 else
72886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72887 $as_echo_n "checking for _finite declaration... " >&6; }
72888 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72889 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72890 $as_echo_n "(cached) " >&6
72891 else
72894 ac_ext=cpp
72895 ac_cpp='$CXXCPP $CPPFLAGS'
72896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72901 /* end confdefs.h. */
72902 #include <math.h>
72903 #ifdef HAVE_IEEEFP_H
72904 #include <ieeefp.h>
72905 #endif
72908 main ()
72910 _finite(0);
72912 return 0;
72914 _ACEOF
72915 if ac_fn_cxx_try_compile "$LINENO"; then :
72916 glibcxx_cv_func__finite_use=yes
72917 else
72918 glibcxx_cv_func__finite_use=no
72920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72921 ac_ext=c
72922 ac_cpp='$CPP $CPPFLAGS'
72923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72932 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72934 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72935 for ac_func in _finite
72936 do :
72937 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72938 if test "x$ac_cv_func__finite" = x""yes; then :
72939 cat >>confdefs.h <<_ACEOF
72940 #define HAVE__FINITE 1
72941 _ACEOF
72944 done
72953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72954 $as_echo_n "checking for sincos declaration... " >&6; }
72955 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72956 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72957 $as_echo_n "(cached) " >&6
72958 else
72961 ac_ext=cpp
72962 ac_cpp='$CXXCPP $CPPFLAGS'
72963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72968 /* end confdefs.h. */
72969 #include <math.h>
72971 main ()
72973 sincos(0, 0, 0);
72975 return 0;
72977 _ACEOF
72978 if ac_fn_cxx_try_compile "$LINENO"; then :
72979 glibcxx_cv_func_sincos_use=yes
72980 else
72981 glibcxx_cv_func_sincos_use=no
72983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72984 ac_ext=c
72985 ac_cpp='$CPP $CPPFLAGS'
72986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72995 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72997 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72998 for ac_func in sincos
72999 do :
73000 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73001 if test "x$ac_cv_func_sincos" = x""yes; then :
73002 cat >>confdefs.h <<_ACEOF
73003 #define HAVE_SINCOS 1
73004 _ACEOF
73007 done
73009 else
73011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73012 $as_echo_n "checking for _sincos declaration... " >&6; }
73013 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73014 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
73015 $as_echo_n "(cached) " >&6
73016 else
73019 ac_ext=cpp
73020 ac_cpp='$CXXCPP $CPPFLAGS'
73021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73026 /* end confdefs.h. */
73027 #include <math.h>
73029 main ()
73031 _sincos(0, 0, 0);
73033 return 0;
73035 _ACEOF
73036 if ac_fn_cxx_try_compile "$LINENO"; then :
73037 glibcxx_cv_func__sincos_use=yes
73038 else
73039 glibcxx_cv_func__sincos_use=no
73041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73042 ac_ext=c
73043 ac_cpp='$CPP $CPPFLAGS'
73044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73053 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73055 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73056 for ac_func in _sincos
73057 do :
73058 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73059 if test "x$ac_cv_func__sincos" = x""yes; then :
73060 cat >>confdefs.h <<_ACEOF
73061 #define HAVE__SINCOS 1
73062 _ACEOF
73065 done
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
73134 else
73136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73137 $as_echo_n "checking for _fpclass declaration... " >&6; }
73138 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73139 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73140 $as_echo_n "(cached) " >&6
73141 else
73144 ac_ext=cpp
73145 ac_cpp='$CXXCPP $CPPFLAGS'
73146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73151 /* end confdefs.h. */
73152 #include <math.h>
73153 #ifdef HAVE_IEEEFP_H
73154 #include <ieeefp.h>
73155 #endif
73158 main ()
73160 _fpclass(0);
73162 return 0;
73164 _ACEOF
73165 if ac_fn_cxx_try_compile "$LINENO"; then :
73166 glibcxx_cv_func__fpclass_use=yes
73167 else
73168 glibcxx_cv_func__fpclass_use=no
73170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73171 ac_ext=c
73172 ac_cpp='$CPP $CPPFLAGS'
73173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73182 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73184 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73185 for ac_func in _fpclass
73186 do :
73187 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73188 if test "x$ac_cv_func__fpclass" = x""yes; then :
73189 cat >>confdefs.h <<_ACEOF
73190 #define HAVE__FPCLASS 1
73191 _ACEOF
73194 done
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
73263 else
73265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73266 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73267 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73268 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73269 $as_echo_n "(cached) " >&6
73270 else
73273 ac_ext=cpp
73274 ac_cpp='$CXXCPP $CPPFLAGS'
73275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73280 /* end confdefs.h. */
73281 #include <math.h>
73282 #ifdef HAVE_IEEEFP_H
73283 #include <ieeefp.h>
73284 #endif
73287 main ()
73289 _qfpclass(0);
73291 return 0;
73293 _ACEOF
73294 if ac_fn_cxx_try_compile "$LINENO"; then :
73295 glibcxx_cv_func__qfpclass_use=yes
73296 else
73297 glibcxx_cv_func__qfpclass_use=no
73299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73300 ac_ext=c
73301 ac_cpp='$CPP $CPPFLAGS'
73302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73311 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73313 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73314 for ac_func in _qfpclass
73315 do :
73316 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73317 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73318 cat >>confdefs.h <<_ACEOF
73319 #define HAVE__QFPCLASS 1
73320 _ACEOF
73323 done
73332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73333 $as_echo_n "checking for hypot declaration... " >&6; }
73334 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73335 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73336 $as_echo_n "(cached) " >&6
73337 else
73340 ac_ext=cpp
73341 ac_cpp='$CXXCPP $CPPFLAGS'
73342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73347 /* end confdefs.h. */
73348 #include <math.h>
73350 main ()
73352 hypot(0, 0);
73354 return 0;
73356 _ACEOF
73357 if ac_fn_cxx_try_compile "$LINENO"; then :
73358 glibcxx_cv_func_hypot_use=yes
73359 else
73360 glibcxx_cv_func_hypot_use=no
73362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73363 ac_ext=c
73364 ac_cpp='$CPP $CPPFLAGS'
73365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73374 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73376 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73377 for ac_func in hypot
73378 do :
73379 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73380 if test "x$ac_cv_func_hypot" = x""yes; then :
73381 cat >>confdefs.h <<_ACEOF
73382 #define HAVE_HYPOT 1
73383 _ACEOF
73386 done
73388 else
73390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73391 $as_echo_n "checking for _hypot declaration... " >&6; }
73392 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73393 if test "${glibcxx_cv_func__hypot_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 _hypot(0, 0);
73412 return 0;
73414 _ACEOF
73415 if ac_fn_cxx_try_compile "$LINENO"; then :
73416 glibcxx_cv_func__hypot_use=yes
73417 else
73418 glibcxx_cv_func__hypot_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
73431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73432 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73434 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73435 for ac_func in _hypot
73436 do :
73437 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73438 if test "x$ac_cv_func__hypot" = x""yes; then :
73439 cat >>confdefs.h <<_ACEOF
73440 #define HAVE__HYPOT 1
73441 _ACEOF
73444 done
73453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73454 $as_echo_n "checking for float trig functions... " >&6; }
73455 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73456 $as_echo_n "(cached) " >&6
73457 else
73460 ac_ext=cpp
73461 ac_cpp='$CXXCPP $CPPFLAGS'
73462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73467 /* end confdefs.h. */
73468 #include <math.h>
73470 main ()
73472 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73474 return 0;
73476 _ACEOF
73477 if ac_fn_cxx_try_compile "$LINENO"; then :
73478 glibcxx_cv_func_float_trig_use=yes
73479 else
73480 glibcxx_cv_func_float_trig_use=no
73482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73483 ac_ext=c
73484 ac_cpp='$CPP $CPPFLAGS'
73485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73492 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73493 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73494 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73495 do :
73496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73498 eval as_val=\$$as_ac_var
73499 if test "x$as_val" = x""yes; then :
73500 cat >>confdefs.h <<_ACEOF
73501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73502 _ACEOF
73505 done
73507 else
73508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73509 $as_echo_n "checking for _float trig functions... " >&6; }
73510 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73511 $as_echo_n "(cached) " >&6
73512 else
73515 ac_ext=cpp
73516 ac_cpp='$CXXCPP $CPPFLAGS'
73517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73522 /* end confdefs.h. */
73523 #include <math.h>
73525 main ()
73527 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73529 return 0;
73531 _ACEOF
73532 if ac_fn_cxx_try_compile "$LINENO"; then :
73533 glibcxx_cv_func__float_trig_use=yes
73534 else
73535 glibcxx_cv_func__float_trig_use=no
73537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73538 ac_ext=c
73539 ac_cpp='$CPP $CPPFLAGS'
73540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73547 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73548 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73549 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73550 do :
73551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73553 eval as_val=\$$as_ac_var
73554 if test "x$as_val" = x""yes; then :
73555 cat >>confdefs.h <<_ACEOF
73556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73557 _ACEOF
73560 done
73569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73570 $as_echo_n "checking for float round functions... " >&6; }
73571 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73572 $as_echo_n "(cached) " >&6
73573 else
73576 ac_ext=cpp
73577 ac_cpp='$CXXCPP $CPPFLAGS'
73578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73583 /* end confdefs.h. */
73584 #include <math.h>
73586 main ()
73588 ceilf (0); floorf (0);
73590 return 0;
73592 _ACEOF
73593 if ac_fn_cxx_try_compile "$LINENO"; then :
73594 glibcxx_cv_func_float_round_use=yes
73595 else
73596 glibcxx_cv_func_float_round_use=no
73598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73599 ac_ext=c
73600 ac_cpp='$CPP $CPPFLAGS'
73601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73608 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73609 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73610 for ac_func in ceilf floorf
73611 do :
73612 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73613 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73614 eval as_val=\$$as_ac_var
73615 if test "x$as_val" = x""yes; then :
73616 cat >>confdefs.h <<_ACEOF
73617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73618 _ACEOF
73621 done
73623 else
73624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73625 $as_echo_n "checking for _float round functions... " >&6; }
73626 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73627 $as_echo_n "(cached) " >&6
73628 else
73631 ac_ext=cpp
73632 ac_cpp='$CXXCPP $CPPFLAGS'
73633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73638 /* end confdefs.h. */
73639 #include <math.h>
73641 main ()
73643 _ceilf (0); _floorf (0);
73645 return 0;
73647 _ACEOF
73648 if ac_fn_cxx_try_compile "$LINENO"; then :
73649 glibcxx_cv_func__float_round_use=yes
73650 else
73651 glibcxx_cv_func__float_round_use=no
73653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73654 ac_ext=c
73655 ac_cpp='$CPP $CPPFLAGS'
73656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73663 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73664 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73665 for ac_func in _ceilf _floorf
73666 do :
73667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73669 eval as_val=\$$as_ac_var
73670 if test "x$as_val" = x""yes; then :
73671 cat >>confdefs.h <<_ACEOF
73672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73673 _ACEOF
73676 done
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
73746 else
73748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73749 $as_echo_n "checking for _expf declaration... " >&6; }
73750 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73751 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73752 $as_echo_n "(cached) " >&6
73753 else
73756 ac_ext=cpp
73757 ac_cpp='$CXXCPP $CPPFLAGS'
73758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73763 /* end confdefs.h. */
73764 #include <math.h>
73765 #ifdef HAVE_IEEEFP_H
73766 #include <ieeefp.h>
73767 #endif
73770 main ()
73772 _expf(0);
73774 return 0;
73776 _ACEOF
73777 if ac_fn_cxx_try_compile "$LINENO"; then :
73778 glibcxx_cv_func__expf_use=yes
73779 else
73780 glibcxx_cv_func__expf_use=no
73782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73783 ac_ext=c
73784 ac_cpp='$CPP $CPPFLAGS'
73785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73794 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73796 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73797 for ac_func in _expf
73798 do :
73799 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73800 if test "x$ac_cv_func__expf" = x""yes; then :
73801 cat >>confdefs.h <<_ACEOF
73802 #define HAVE__EXPF 1
73803 _ACEOF
73806 done
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
73875 else
73877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73878 $as_echo_n "checking for _isnanf declaration... " >&6; }
73879 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73880 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73881 $as_echo_n "(cached) " >&6
73882 else
73885 ac_ext=cpp
73886 ac_cpp='$CXXCPP $CPPFLAGS'
73887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73892 /* end confdefs.h. */
73893 #include <math.h>
73894 #ifdef HAVE_IEEEFP_H
73895 #include <ieeefp.h>
73896 #endif
73899 main ()
73901 _isnanf(0);
73903 return 0;
73905 _ACEOF
73906 if ac_fn_cxx_try_compile "$LINENO"; then :
73907 glibcxx_cv_func__isnanf_use=yes
73908 else
73909 glibcxx_cv_func__isnanf_use=no
73911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73912 ac_ext=c
73913 ac_cpp='$CPP $CPPFLAGS'
73914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73923 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73925 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73926 for ac_func in _isnanf
73927 do :
73928 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73929 if test "x$ac_cv_func__isnanf" = x""yes; then :
73930 cat >>confdefs.h <<_ACEOF
73931 #define HAVE__ISNANF 1
73932 _ACEOF
73935 done
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
74004 else
74006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74007 $as_echo_n "checking for _isinff declaration... " >&6; }
74008 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74009 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
74010 $as_echo_n "(cached) " >&6
74011 else
74014 ac_ext=cpp
74015 ac_cpp='$CXXCPP $CPPFLAGS'
74016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74021 /* end confdefs.h. */
74022 #include <math.h>
74023 #ifdef HAVE_IEEEFP_H
74024 #include <ieeefp.h>
74025 #endif
74028 main ()
74030 _isinff(0);
74032 return 0;
74034 _ACEOF
74035 if ac_fn_cxx_try_compile "$LINENO"; then :
74036 glibcxx_cv_func__isinff_use=yes
74037 else
74038 glibcxx_cv_func__isinff_use=no
74040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74041 ac_ext=c
74042 ac_cpp='$CPP $CPPFLAGS'
74043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74052 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74054 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74055 for ac_func in _isinff
74056 do :
74057 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74058 if test "x$ac_cv_func__isinff" = x""yes; then :
74059 cat >>confdefs.h <<_ACEOF
74060 #define HAVE__ISINFF 1
74061 _ACEOF
74064 done
74073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74074 $as_echo_n "checking for atan2f declaration... " >&6; }
74075 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74076 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74077 $as_echo_n "(cached) " >&6
74078 else
74081 ac_ext=cpp
74082 ac_cpp='$CXXCPP $CPPFLAGS'
74083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74088 /* end confdefs.h. */
74089 #include <math.h>
74091 main ()
74093 atan2f(0, 0);
74095 return 0;
74097 _ACEOF
74098 if ac_fn_cxx_try_compile "$LINENO"; then :
74099 glibcxx_cv_func_atan2f_use=yes
74100 else
74101 glibcxx_cv_func_atan2f_use=no
74103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74104 ac_ext=c
74105 ac_cpp='$CPP $CPPFLAGS'
74106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74115 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74117 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74118 for ac_func in atan2f
74119 do :
74120 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74121 if test "x$ac_cv_func_atan2f" = x""yes; then :
74122 cat >>confdefs.h <<_ACEOF
74123 #define HAVE_ATAN2F 1
74124 _ACEOF
74127 done
74129 else
74131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74132 $as_echo_n "checking for _atan2f declaration... " >&6; }
74133 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74134 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74135 $as_echo_n "(cached) " >&6
74136 else
74139 ac_ext=cpp
74140 ac_cpp='$CXXCPP $CPPFLAGS'
74141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74146 /* end confdefs.h. */
74147 #include <math.h>
74149 main ()
74151 _atan2f(0, 0);
74153 return 0;
74155 _ACEOF
74156 if ac_fn_cxx_try_compile "$LINENO"; then :
74157 glibcxx_cv_func__atan2f_use=yes
74158 else
74159 glibcxx_cv_func__atan2f_use=no
74161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74162 ac_ext=c
74163 ac_cpp='$CPP $CPPFLAGS'
74164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74173 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74175 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74176 for ac_func in _atan2f
74177 do :
74178 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74179 if test "x$ac_cv_func__atan2f" = x""yes; then :
74180 cat >>confdefs.h <<_ACEOF
74181 #define HAVE__ATAN2F 1
74182 _ACEOF
74185 done
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
74254 else
74256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74257 $as_echo_n "checking for _fabsf declaration... " >&6; }
74258 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74259 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74260 $as_echo_n "(cached) " >&6
74261 else
74264 ac_ext=cpp
74265 ac_cpp='$CXXCPP $CPPFLAGS'
74266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74271 /* end confdefs.h. */
74272 #include <math.h>
74273 #ifdef HAVE_IEEEFP_H
74274 #include <ieeefp.h>
74275 #endif
74278 main ()
74280 _fabsf(0);
74282 return 0;
74284 _ACEOF
74285 if ac_fn_cxx_try_compile "$LINENO"; then :
74286 glibcxx_cv_func__fabsf_use=yes
74287 else
74288 glibcxx_cv_func__fabsf_use=no
74290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74291 ac_ext=c
74292 ac_cpp='$CPP $CPPFLAGS'
74293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74302 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74304 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74305 for ac_func in _fabsf
74306 do :
74307 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74308 if test "x$ac_cv_func__fabsf" = x""yes; then :
74309 cat >>confdefs.h <<_ACEOF
74310 #define HAVE__FABSF 1
74311 _ACEOF
74314 done
74323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74324 $as_echo_n "checking for fmodf declaration... " >&6; }
74325 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74326 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74327 $as_echo_n "(cached) " >&6
74328 else
74331 ac_ext=cpp
74332 ac_cpp='$CXXCPP $CPPFLAGS'
74333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74338 /* end confdefs.h. */
74339 #include <math.h>
74341 main ()
74343 fmodf(0, 0);
74345 return 0;
74347 _ACEOF
74348 if ac_fn_cxx_try_compile "$LINENO"; then :
74349 glibcxx_cv_func_fmodf_use=yes
74350 else
74351 glibcxx_cv_func_fmodf_use=no
74353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74354 ac_ext=c
74355 ac_cpp='$CPP $CPPFLAGS'
74356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74365 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74367 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74368 for ac_func in fmodf
74369 do :
74370 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74371 if test "x$ac_cv_func_fmodf" = x""yes; then :
74372 cat >>confdefs.h <<_ACEOF
74373 #define HAVE_FMODF 1
74374 _ACEOF
74377 done
74379 else
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74382 $as_echo_n "checking for _fmodf declaration... " >&6; }
74383 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74384 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74385 $as_echo_n "(cached) " >&6
74386 else
74389 ac_ext=cpp
74390 ac_cpp='$CXXCPP $CPPFLAGS'
74391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74396 /* end confdefs.h. */
74397 #include <math.h>
74399 main ()
74401 _fmodf(0, 0);
74403 return 0;
74405 _ACEOF
74406 if ac_fn_cxx_try_compile "$LINENO"; then :
74407 glibcxx_cv_func__fmodf_use=yes
74408 else
74409 glibcxx_cv_func__fmodf_use=no
74411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74412 ac_ext=c
74413 ac_cpp='$CPP $CPPFLAGS'
74414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74423 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74425 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74426 for ac_func in _fmodf
74427 do :
74428 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74429 if test "x$ac_cv_func__fmodf" = x""yes; then :
74430 cat >>confdefs.h <<_ACEOF
74431 #define HAVE__FMODF 1
74432 _ACEOF
74435 done
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74445 $as_echo_n "checking for frexpf declaration... " >&6; }
74446 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74447 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74448 $as_echo_n "(cached) " >&6
74449 else
74452 ac_ext=cpp
74453 ac_cpp='$CXXCPP $CPPFLAGS'
74454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74459 /* end confdefs.h. */
74460 #include <math.h>
74462 main ()
74464 frexpf(0, 0);
74466 return 0;
74468 _ACEOF
74469 if ac_fn_cxx_try_compile "$LINENO"; then :
74470 glibcxx_cv_func_frexpf_use=yes
74471 else
74472 glibcxx_cv_func_frexpf_use=no
74474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74475 ac_ext=c
74476 ac_cpp='$CPP $CPPFLAGS'
74477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74486 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74488 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74489 for ac_func in frexpf
74490 do :
74491 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74492 if test "x$ac_cv_func_frexpf" = x""yes; then :
74493 cat >>confdefs.h <<_ACEOF
74494 #define HAVE_FREXPF 1
74495 _ACEOF
74498 done
74500 else
74502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74503 $as_echo_n "checking for _frexpf declaration... " >&6; }
74504 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74505 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74506 $as_echo_n "(cached) " >&6
74507 else
74510 ac_ext=cpp
74511 ac_cpp='$CXXCPP $CPPFLAGS'
74512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74517 /* end confdefs.h. */
74518 #include <math.h>
74520 main ()
74522 _frexpf(0, 0);
74524 return 0;
74526 _ACEOF
74527 if ac_fn_cxx_try_compile "$LINENO"; then :
74528 glibcxx_cv_func__frexpf_use=yes
74529 else
74530 glibcxx_cv_func__frexpf_use=no
74532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74533 ac_ext=c
74534 ac_cpp='$CPP $CPPFLAGS'
74535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74544 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74546 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74547 for ac_func in _frexpf
74548 do :
74549 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74550 if test "x$ac_cv_func__frexpf" = x""yes; then :
74551 cat >>confdefs.h <<_ACEOF
74552 #define HAVE__FREXPF 1
74553 _ACEOF
74556 done
74565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74566 $as_echo_n "checking for hypotf declaration... " >&6; }
74567 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74568 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74569 $as_echo_n "(cached) " >&6
74570 else
74573 ac_ext=cpp
74574 ac_cpp='$CXXCPP $CPPFLAGS'
74575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74580 /* end confdefs.h. */
74581 #include <math.h>
74583 main ()
74585 hypotf(0, 0);
74587 return 0;
74589 _ACEOF
74590 if ac_fn_cxx_try_compile "$LINENO"; then :
74591 glibcxx_cv_func_hypotf_use=yes
74592 else
74593 glibcxx_cv_func_hypotf_use=no
74595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74596 ac_ext=c
74597 ac_cpp='$CPP $CPPFLAGS'
74598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74607 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74609 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74610 for ac_func in hypotf
74611 do :
74612 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74613 if test "x$ac_cv_func_hypotf" = x""yes; then :
74614 cat >>confdefs.h <<_ACEOF
74615 #define HAVE_HYPOTF 1
74616 _ACEOF
74619 done
74621 else
74623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74624 $as_echo_n "checking for _hypotf declaration... " >&6; }
74625 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74626 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74627 $as_echo_n "(cached) " >&6
74628 else
74631 ac_ext=cpp
74632 ac_cpp='$CXXCPP $CPPFLAGS'
74633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74638 /* end confdefs.h. */
74639 #include <math.h>
74641 main ()
74643 _hypotf(0, 0);
74645 return 0;
74647 _ACEOF
74648 if ac_fn_cxx_try_compile "$LINENO"; then :
74649 glibcxx_cv_func__hypotf_use=yes
74650 else
74651 glibcxx_cv_func__hypotf_use=no
74653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74654 ac_ext=c
74655 ac_cpp='$CPP $CPPFLAGS'
74656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74665 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74667 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74668 for ac_func in _hypotf
74669 do :
74670 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74671 if test "x$ac_cv_func__hypotf" = x""yes; then :
74672 cat >>confdefs.h <<_ACEOF
74673 #define HAVE__HYPOTF 1
74674 _ACEOF
74677 done
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74687 $as_echo_n "checking for ldexpf declaration... " >&6; }
74688 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74689 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74690 $as_echo_n "(cached) " >&6
74691 else
74694 ac_ext=cpp
74695 ac_cpp='$CXXCPP $CPPFLAGS'
74696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74701 /* end confdefs.h. */
74702 #include <math.h>
74704 main ()
74706 ldexpf(0, 0);
74708 return 0;
74710 _ACEOF
74711 if ac_fn_cxx_try_compile "$LINENO"; then :
74712 glibcxx_cv_func_ldexpf_use=yes
74713 else
74714 glibcxx_cv_func_ldexpf_use=no
74716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74717 ac_ext=c
74718 ac_cpp='$CPP $CPPFLAGS'
74719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74728 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74730 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74731 for ac_func in ldexpf
74732 do :
74733 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74734 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74735 cat >>confdefs.h <<_ACEOF
74736 #define HAVE_LDEXPF 1
74737 _ACEOF
74740 done
74742 else
74744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74745 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74746 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74747 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74748 $as_echo_n "(cached) " >&6
74749 else
74752 ac_ext=cpp
74753 ac_cpp='$CXXCPP $CPPFLAGS'
74754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74759 /* end confdefs.h. */
74760 #include <math.h>
74762 main ()
74764 _ldexpf(0, 0);
74766 return 0;
74768 _ACEOF
74769 if ac_fn_cxx_try_compile "$LINENO"; then :
74770 glibcxx_cv_func__ldexpf_use=yes
74771 else
74772 glibcxx_cv_func__ldexpf_use=no
74774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74775 ac_ext=c
74776 ac_cpp='$CPP $CPPFLAGS'
74777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74786 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74788 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74789 for ac_func in _ldexpf
74790 do :
74791 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74792 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74793 cat >>confdefs.h <<_ACEOF
74794 #define HAVE__LDEXPF 1
74795 _ACEOF
74798 done
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
74867 else
74869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74870 $as_echo_n "checking for _logf declaration... " >&6; }
74871 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74872 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74873 $as_echo_n "(cached) " >&6
74874 else
74877 ac_ext=cpp
74878 ac_cpp='$CXXCPP $CPPFLAGS'
74879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74884 /* end confdefs.h. */
74885 #include <math.h>
74886 #ifdef HAVE_IEEEFP_H
74887 #include <ieeefp.h>
74888 #endif
74891 main ()
74893 _logf(0);
74895 return 0;
74897 _ACEOF
74898 if ac_fn_cxx_try_compile "$LINENO"; then :
74899 glibcxx_cv_func__logf_use=yes
74900 else
74901 glibcxx_cv_func__logf_use=no
74903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74904 ac_ext=c
74905 ac_cpp='$CPP $CPPFLAGS'
74906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74915 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74917 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74918 for ac_func in _logf
74919 do :
74920 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74921 if test "x$ac_cv_func__logf" = x""yes; then :
74922 cat >>confdefs.h <<_ACEOF
74923 #define HAVE__LOGF 1
74924 _ACEOF
74927 done
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
74996 else
74998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74999 $as_echo_n "checking for _log10f declaration... " >&6; }
75000 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75001 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
75002 $as_echo_n "(cached) " >&6
75003 else
75006 ac_ext=cpp
75007 ac_cpp='$CXXCPP $CPPFLAGS'
75008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75013 /* end confdefs.h. */
75014 #include <math.h>
75015 #ifdef HAVE_IEEEFP_H
75016 #include <ieeefp.h>
75017 #endif
75020 main ()
75022 _log10f(0);
75024 return 0;
75026 _ACEOF
75027 if ac_fn_cxx_try_compile "$LINENO"; then :
75028 glibcxx_cv_func__log10f_use=yes
75029 else
75030 glibcxx_cv_func__log10f_use=no
75032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75033 ac_ext=c
75034 ac_cpp='$CPP $CPPFLAGS'
75035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75044 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75046 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75047 for ac_func in _log10f
75048 do :
75049 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75050 if test "x$ac_cv_func__log10f" = x""yes; then :
75051 cat >>confdefs.h <<_ACEOF
75052 #define HAVE__LOG10F 1
75053 _ACEOF
75056 done
75065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75066 $as_echo_n "checking for modff declaration... " >&6; }
75067 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75068 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75069 $as_echo_n "(cached) " >&6
75070 else
75073 ac_ext=cpp
75074 ac_cpp='$CXXCPP $CPPFLAGS'
75075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75080 /* end confdefs.h. */
75081 #include <math.h>
75083 main ()
75085 modff(0, 0);
75087 return 0;
75089 _ACEOF
75090 if ac_fn_cxx_try_compile "$LINENO"; then :
75091 glibcxx_cv_func_modff_use=yes
75092 else
75093 glibcxx_cv_func_modff_use=no
75095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75096 ac_ext=c
75097 ac_cpp='$CPP $CPPFLAGS'
75098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75107 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75109 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75110 for ac_func in modff
75111 do :
75112 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75113 if test "x$ac_cv_func_modff" = x""yes; then :
75114 cat >>confdefs.h <<_ACEOF
75115 #define HAVE_MODFF 1
75116 _ACEOF
75119 done
75121 else
75123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75124 $as_echo_n "checking for _modff declaration... " >&6; }
75125 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75126 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75127 $as_echo_n "(cached) " >&6
75128 else
75131 ac_ext=cpp
75132 ac_cpp='$CXXCPP $CPPFLAGS'
75133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75138 /* end confdefs.h. */
75139 #include <math.h>
75141 main ()
75143 _modff(0, 0);
75145 return 0;
75147 _ACEOF
75148 if ac_fn_cxx_try_compile "$LINENO"; then :
75149 glibcxx_cv_func__modff_use=yes
75150 else
75151 glibcxx_cv_func__modff_use=no
75153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75154 ac_ext=c
75155 ac_cpp='$CPP $CPPFLAGS'
75156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75165 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75167 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75168 for ac_func in _modff
75169 do :
75170 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75171 if test "x$ac_cv_func__modff" = x""yes; then :
75172 cat >>confdefs.h <<_ACEOF
75173 #define HAVE__MODFF 1
75174 _ACEOF
75177 done
75186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75187 $as_echo_n "checking for modf declaration... " >&6; }
75188 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75189 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75190 $as_echo_n "(cached) " >&6
75191 else
75194 ac_ext=cpp
75195 ac_cpp='$CXXCPP $CPPFLAGS'
75196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75201 /* end confdefs.h. */
75202 #include <math.h>
75204 main ()
75206 modf(0, 0);
75208 return 0;
75210 _ACEOF
75211 if ac_fn_cxx_try_compile "$LINENO"; then :
75212 glibcxx_cv_func_modf_use=yes
75213 else
75214 glibcxx_cv_func_modf_use=no
75216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75217 ac_ext=c
75218 ac_cpp='$CPP $CPPFLAGS'
75219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75228 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75230 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75231 for ac_func in modf
75232 do :
75233 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75234 if test "x$ac_cv_func_modf" = x""yes; then :
75235 cat >>confdefs.h <<_ACEOF
75236 #define HAVE_MODF 1
75237 _ACEOF
75240 done
75242 else
75244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75245 $as_echo_n "checking for _modf declaration... " >&6; }
75246 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75247 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75248 $as_echo_n "(cached) " >&6
75249 else
75252 ac_ext=cpp
75253 ac_cpp='$CXXCPP $CPPFLAGS'
75254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75259 /* end confdefs.h. */
75260 #include <math.h>
75262 main ()
75264 _modf(0, 0);
75266 return 0;
75268 _ACEOF
75269 if ac_fn_cxx_try_compile "$LINENO"; then :
75270 glibcxx_cv_func__modf_use=yes
75271 else
75272 glibcxx_cv_func__modf_use=no
75274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75275 ac_ext=c
75276 ac_cpp='$CPP $CPPFLAGS'
75277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75286 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75288 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75289 for ac_func in _modf
75290 do :
75291 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75292 if test "x$ac_cv_func__modf" = x""yes; then :
75293 cat >>confdefs.h <<_ACEOF
75294 #define HAVE__MODF 1
75295 _ACEOF
75298 done
75307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75308 $as_echo_n "checking for powf declaration... " >&6; }
75309 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75310 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75311 $as_echo_n "(cached) " >&6
75312 else
75315 ac_ext=cpp
75316 ac_cpp='$CXXCPP $CPPFLAGS'
75317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75322 /* end confdefs.h. */
75323 #include <math.h>
75325 main ()
75327 powf(0, 0);
75329 return 0;
75331 _ACEOF
75332 if ac_fn_cxx_try_compile "$LINENO"; then :
75333 glibcxx_cv_func_powf_use=yes
75334 else
75335 glibcxx_cv_func_powf_use=no
75337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75338 ac_ext=c
75339 ac_cpp='$CPP $CPPFLAGS'
75340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75349 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75351 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75352 for ac_func in powf
75353 do :
75354 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75355 if test "x$ac_cv_func_powf" = x""yes; then :
75356 cat >>confdefs.h <<_ACEOF
75357 #define HAVE_POWF 1
75358 _ACEOF
75361 done
75363 else
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75366 $as_echo_n "checking for _powf declaration... " >&6; }
75367 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75368 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75369 $as_echo_n "(cached) " >&6
75370 else
75373 ac_ext=cpp
75374 ac_cpp='$CXXCPP $CPPFLAGS'
75375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75380 /* end confdefs.h. */
75381 #include <math.h>
75383 main ()
75385 _powf(0, 0);
75387 return 0;
75389 _ACEOF
75390 if ac_fn_cxx_try_compile "$LINENO"; then :
75391 glibcxx_cv_func__powf_use=yes
75392 else
75393 glibcxx_cv_func__powf_use=no
75395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75396 ac_ext=c
75397 ac_cpp='$CPP $CPPFLAGS'
75398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75407 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75409 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75410 for ac_func in _powf
75411 do :
75412 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75413 if test "x$ac_cv_func__powf" = x""yes; then :
75414 cat >>confdefs.h <<_ACEOF
75415 #define HAVE__POWF 1
75416 _ACEOF
75419 done
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
75488 else
75490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75491 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75492 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75493 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75494 $as_echo_n "(cached) " >&6
75495 else
75498 ac_ext=cpp
75499 ac_cpp='$CXXCPP $CPPFLAGS'
75500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75505 /* end confdefs.h. */
75506 #include <math.h>
75507 #ifdef HAVE_IEEEFP_H
75508 #include <ieeefp.h>
75509 #endif
75512 main ()
75514 _sqrtf(0);
75516 return 0;
75518 _ACEOF
75519 if ac_fn_cxx_try_compile "$LINENO"; then :
75520 glibcxx_cv_func__sqrtf_use=yes
75521 else
75522 glibcxx_cv_func__sqrtf_use=no
75524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75525 ac_ext=c
75526 ac_cpp='$CPP $CPPFLAGS'
75527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75536 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75538 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75539 for ac_func in _sqrtf
75540 do :
75541 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75542 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75543 cat >>confdefs.h <<_ACEOF
75544 #define HAVE__SQRTF 1
75545 _ACEOF
75548 done
75557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75558 $as_echo_n "checking for sincosf declaration... " >&6; }
75559 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75560 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75561 $as_echo_n "(cached) " >&6
75562 else
75565 ac_ext=cpp
75566 ac_cpp='$CXXCPP $CPPFLAGS'
75567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75572 /* end confdefs.h. */
75573 #include <math.h>
75575 main ()
75577 sincosf(0, 0, 0);
75579 return 0;
75581 _ACEOF
75582 if ac_fn_cxx_try_compile "$LINENO"; then :
75583 glibcxx_cv_func_sincosf_use=yes
75584 else
75585 glibcxx_cv_func_sincosf_use=no
75587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75588 ac_ext=c
75589 ac_cpp='$CPP $CPPFLAGS'
75590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75599 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75601 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75602 for ac_func in sincosf
75603 do :
75604 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75605 if test "x$ac_cv_func_sincosf" = x""yes; then :
75606 cat >>confdefs.h <<_ACEOF
75607 #define HAVE_SINCOSF 1
75608 _ACEOF
75611 done
75613 else
75615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75616 $as_echo_n "checking for _sincosf declaration... " >&6; }
75617 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75618 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75619 $as_echo_n "(cached) " >&6
75620 else
75623 ac_ext=cpp
75624 ac_cpp='$CXXCPP $CPPFLAGS'
75625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75630 /* end confdefs.h. */
75631 #include <math.h>
75633 main ()
75635 _sincosf(0, 0, 0);
75637 return 0;
75639 _ACEOF
75640 if ac_fn_cxx_try_compile "$LINENO"; then :
75641 glibcxx_cv_func__sincosf_use=yes
75642 else
75643 glibcxx_cv_func__sincosf_use=no
75645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75646 ac_ext=c
75647 ac_cpp='$CPP $CPPFLAGS'
75648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75657 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75659 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75660 for ac_func in _sincosf
75661 do :
75662 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75663 if test "x$ac_cv_func__sincosf" = x""yes; then :
75664 cat >>confdefs.h <<_ACEOF
75665 #define HAVE__SINCOSF 1
75666 _ACEOF
75669 done
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
75738 else
75740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75741 $as_echo_n "checking for _finitef declaration... " >&6; }
75742 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75743 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75744 $as_echo_n "(cached) " >&6
75745 else
75748 ac_ext=cpp
75749 ac_cpp='$CXXCPP $CPPFLAGS'
75750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75755 /* end confdefs.h. */
75756 #include <math.h>
75757 #ifdef HAVE_IEEEFP_H
75758 #include <ieeefp.h>
75759 #endif
75762 main ()
75764 _finitef(0);
75766 return 0;
75768 _ACEOF
75769 if ac_fn_cxx_try_compile "$LINENO"; then :
75770 glibcxx_cv_func__finitef_use=yes
75771 else
75772 glibcxx_cv_func__finitef_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
75785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75786 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75788 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75789 for ac_func in _finitef
75790 do :
75791 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75792 if test "x$ac_cv_func__finitef" = x""yes; then :
75793 cat >>confdefs.h <<_ACEOF
75794 #define HAVE__FINITEF 1
75795 _ACEOF
75798 done
75807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75808 $as_echo_n "checking for long double trig functions... " >&6; }
75809 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75810 $as_echo_n "(cached) " >&6
75811 else
75814 ac_ext=cpp
75815 ac_cpp='$CXXCPP $CPPFLAGS'
75816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75821 /* end confdefs.h. */
75822 #include <math.h>
75824 main ()
75826 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75828 return 0;
75830 _ACEOF
75831 if ac_fn_cxx_try_compile "$LINENO"; then :
75832 glibcxx_cv_func_long_double_trig_use=yes
75833 else
75834 glibcxx_cv_func_long_double_trig_use=no
75836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75837 ac_ext=c
75838 ac_cpp='$CPP $CPPFLAGS'
75839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75846 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75847 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75848 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75849 do :
75850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75852 eval as_val=\$$as_ac_var
75853 if test "x$as_val" = x""yes; then :
75854 cat >>confdefs.h <<_ACEOF
75855 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75856 _ACEOF
75859 done
75861 else
75862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75863 $as_echo_n "checking for _long double trig functions... " >&6; }
75864 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75865 $as_echo_n "(cached) " >&6
75866 else
75869 ac_ext=cpp
75870 ac_cpp='$CXXCPP $CPPFLAGS'
75871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75876 /* end confdefs.h. */
75877 #include <math.h>
75879 main ()
75881 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75883 return 0;
75885 _ACEOF
75886 if ac_fn_cxx_try_compile "$LINENO"; then :
75887 glibcxx_cv_func__long_double_trig_use=yes
75888 else
75889 glibcxx_cv_func__long_double_trig_use=no
75891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75892 ac_ext=c
75893 ac_cpp='$CPP $CPPFLAGS'
75894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75901 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75902 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75903 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75904 do :
75905 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75906 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75907 eval as_val=\$$as_ac_var
75908 if test "x$as_val" = x""yes; then :
75909 cat >>confdefs.h <<_ACEOF
75910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75911 _ACEOF
75914 done
75923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75924 $as_echo_n "checking for long double round functions... " >&6; }
75925 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75926 $as_echo_n "(cached) " >&6
75927 else
75930 ac_ext=cpp
75931 ac_cpp='$CXXCPP $CPPFLAGS'
75932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75937 /* end confdefs.h. */
75938 #include <math.h>
75940 main ()
75942 ceill (0); floorl (0);
75944 return 0;
75946 _ACEOF
75947 if ac_fn_cxx_try_compile "$LINENO"; then :
75948 glibcxx_cv_func_long_double_round_use=yes
75949 else
75950 glibcxx_cv_func_long_double_round_use=no
75952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75953 ac_ext=c
75954 ac_cpp='$CPP $CPPFLAGS'
75955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75962 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75963 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75964 for ac_func in ceill floorl
75965 do :
75966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75968 eval as_val=\$$as_ac_var
75969 if test "x$as_val" = x""yes; then :
75970 cat >>confdefs.h <<_ACEOF
75971 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75972 _ACEOF
75975 done
75977 else
75978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75979 $as_echo_n "checking for _long double round functions... " >&6; }
75980 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75981 $as_echo_n "(cached) " >&6
75982 else
75985 ac_ext=cpp
75986 ac_cpp='$CXXCPP $CPPFLAGS'
75987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75992 /* end confdefs.h. */
75993 #include <math.h>
75995 main ()
75997 _ceill (0); _floorl (0);
75999 return 0;
76001 _ACEOF
76002 if ac_fn_cxx_try_compile "$LINENO"; then :
76003 glibcxx_cv_func__long_double_round_use=yes
76004 else
76005 glibcxx_cv_func__long_double_round_use=no
76007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76008 ac_ext=c
76009 ac_cpp='$CPP $CPPFLAGS'
76010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76017 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76018 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76019 for ac_func in _ceill _floorl
76020 do :
76021 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76023 eval as_val=\$$as_ac_var
76024 if test "x$as_val" = x""yes; then :
76025 cat >>confdefs.h <<_ACEOF
76026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76027 _ACEOF
76030 done
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
76100 else
76102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76103 $as_echo_n "checking for _isnanl declaration... " >&6; }
76104 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76105 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76106 $as_echo_n "(cached) " >&6
76107 else
76110 ac_ext=cpp
76111 ac_cpp='$CXXCPP $CPPFLAGS'
76112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76117 /* end confdefs.h. */
76118 #include <math.h>
76119 #ifdef HAVE_IEEEFP_H
76120 #include <ieeefp.h>
76121 #endif
76124 main ()
76126 _isnanl(0);
76128 return 0;
76130 _ACEOF
76131 if ac_fn_cxx_try_compile "$LINENO"; then :
76132 glibcxx_cv_func__isnanl_use=yes
76133 else
76134 glibcxx_cv_func__isnanl_use=no
76136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76137 ac_ext=c
76138 ac_cpp='$CPP $CPPFLAGS'
76139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76148 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76150 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76151 for ac_func in _isnanl
76152 do :
76153 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76154 if test "x$ac_cv_func__isnanl" = x""yes; then :
76155 cat >>confdefs.h <<_ACEOF
76156 #define HAVE__ISNANL 1
76157 _ACEOF
76160 done
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
76229 else
76231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76232 $as_echo_n "checking for _isinfl declaration... " >&6; }
76233 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76234 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76235 $as_echo_n "(cached) " >&6
76236 else
76239 ac_ext=cpp
76240 ac_cpp='$CXXCPP $CPPFLAGS'
76241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76246 /* end confdefs.h. */
76247 #include <math.h>
76248 #ifdef HAVE_IEEEFP_H
76249 #include <ieeefp.h>
76250 #endif
76253 main ()
76255 _isinfl(0);
76257 return 0;
76259 _ACEOF
76260 if ac_fn_cxx_try_compile "$LINENO"; then :
76261 glibcxx_cv_func__isinfl_use=yes
76262 else
76263 glibcxx_cv_func__isinfl_use=no
76265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76266 ac_ext=c
76267 ac_cpp='$CPP $CPPFLAGS'
76268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76277 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76279 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76280 for ac_func in _isinfl
76281 do :
76282 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76283 if test "x$ac_cv_func__isinfl" = x""yes; then :
76284 cat >>confdefs.h <<_ACEOF
76285 #define HAVE__ISINFL 1
76286 _ACEOF
76289 done
76298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76299 $as_echo_n "checking for atan2l declaration... " >&6; }
76300 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76301 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76302 $as_echo_n "(cached) " >&6
76303 else
76306 ac_ext=cpp
76307 ac_cpp='$CXXCPP $CPPFLAGS'
76308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76313 /* end confdefs.h. */
76314 #include <math.h>
76316 main ()
76318 atan2l(0, 0);
76320 return 0;
76322 _ACEOF
76323 if ac_fn_cxx_try_compile "$LINENO"; then :
76324 glibcxx_cv_func_atan2l_use=yes
76325 else
76326 glibcxx_cv_func_atan2l_use=no
76328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76329 ac_ext=c
76330 ac_cpp='$CPP $CPPFLAGS'
76331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76340 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76342 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76343 for ac_func in atan2l
76344 do :
76345 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76346 if test "x$ac_cv_func_atan2l" = x""yes; then :
76347 cat >>confdefs.h <<_ACEOF
76348 #define HAVE_ATAN2L 1
76349 _ACEOF
76352 done
76354 else
76356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76357 $as_echo_n "checking for _atan2l declaration... " >&6; }
76358 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76359 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76360 $as_echo_n "(cached) " >&6
76361 else
76364 ac_ext=cpp
76365 ac_cpp='$CXXCPP $CPPFLAGS'
76366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76371 /* end confdefs.h. */
76372 #include <math.h>
76374 main ()
76376 _atan2l(0, 0);
76378 return 0;
76380 _ACEOF
76381 if ac_fn_cxx_try_compile "$LINENO"; then :
76382 glibcxx_cv_func__atan2l_use=yes
76383 else
76384 glibcxx_cv_func__atan2l_use=no
76386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76387 ac_ext=c
76388 ac_cpp='$CPP $CPPFLAGS'
76389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76398 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76400 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76401 for ac_func in _atan2l
76402 do :
76403 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76404 if test "x$ac_cv_func__atan2l" = x""yes; then :
76405 cat >>confdefs.h <<_ACEOF
76406 #define HAVE__ATAN2L 1
76407 _ACEOF
76410 done
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
76479 else
76481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76482 $as_echo_n "checking for _expl declaration... " >&6; }
76483 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76484 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76485 $as_echo_n "(cached) " >&6
76486 else
76489 ac_ext=cpp
76490 ac_cpp='$CXXCPP $CPPFLAGS'
76491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76496 /* end confdefs.h. */
76497 #include <math.h>
76498 #ifdef HAVE_IEEEFP_H
76499 #include <ieeefp.h>
76500 #endif
76503 main ()
76505 _expl(0);
76507 return 0;
76509 _ACEOF
76510 if ac_fn_cxx_try_compile "$LINENO"; then :
76511 glibcxx_cv_func__expl_use=yes
76512 else
76513 glibcxx_cv_func__expl_use=no
76515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76516 ac_ext=c
76517 ac_cpp='$CPP $CPPFLAGS'
76518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76527 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76529 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76530 for ac_func in _expl
76531 do :
76532 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76533 if test "x$ac_cv_func__expl" = x""yes; then :
76534 cat >>confdefs.h <<_ACEOF
76535 #define HAVE__EXPL 1
76536 _ACEOF
76539 done
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
76608 else
76610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76611 $as_echo_n "checking for _fabsl declaration... " >&6; }
76612 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76613 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76614 $as_echo_n "(cached) " >&6
76615 else
76618 ac_ext=cpp
76619 ac_cpp='$CXXCPP $CPPFLAGS'
76620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76625 /* end confdefs.h. */
76626 #include <math.h>
76627 #ifdef HAVE_IEEEFP_H
76628 #include <ieeefp.h>
76629 #endif
76632 main ()
76634 _fabsl(0);
76636 return 0;
76638 _ACEOF
76639 if ac_fn_cxx_try_compile "$LINENO"; then :
76640 glibcxx_cv_func__fabsl_use=yes
76641 else
76642 glibcxx_cv_func__fabsl_use=no
76644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76645 ac_ext=c
76646 ac_cpp='$CPP $CPPFLAGS'
76647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76656 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76658 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76659 for ac_func in _fabsl
76660 do :
76661 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76662 if test "x$ac_cv_func__fabsl" = x""yes; then :
76663 cat >>confdefs.h <<_ACEOF
76664 #define HAVE__FABSL 1
76665 _ACEOF
76668 done
76677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76678 $as_echo_n "checking for fmodl declaration... " >&6; }
76679 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76680 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76681 $as_echo_n "(cached) " >&6
76682 else
76685 ac_ext=cpp
76686 ac_cpp='$CXXCPP $CPPFLAGS'
76687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76692 /* end confdefs.h. */
76693 #include <math.h>
76695 main ()
76697 fmodl(0, 0);
76699 return 0;
76701 _ACEOF
76702 if ac_fn_cxx_try_compile "$LINENO"; then :
76703 glibcxx_cv_func_fmodl_use=yes
76704 else
76705 glibcxx_cv_func_fmodl_use=no
76707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76708 ac_ext=c
76709 ac_cpp='$CPP $CPPFLAGS'
76710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76719 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76721 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76722 for ac_func in fmodl
76723 do :
76724 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76725 if test "x$ac_cv_func_fmodl" = x""yes; then :
76726 cat >>confdefs.h <<_ACEOF
76727 #define HAVE_FMODL 1
76728 _ACEOF
76731 done
76733 else
76735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76736 $as_echo_n "checking for _fmodl declaration... " >&6; }
76737 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76738 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76739 $as_echo_n "(cached) " >&6
76740 else
76743 ac_ext=cpp
76744 ac_cpp='$CXXCPP $CPPFLAGS'
76745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76750 /* end confdefs.h. */
76751 #include <math.h>
76753 main ()
76755 _fmodl(0, 0);
76757 return 0;
76759 _ACEOF
76760 if ac_fn_cxx_try_compile "$LINENO"; then :
76761 glibcxx_cv_func__fmodl_use=yes
76762 else
76763 glibcxx_cv_func__fmodl_use=no
76765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76766 ac_ext=c
76767 ac_cpp='$CPP $CPPFLAGS'
76768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76777 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76779 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76780 for ac_func in _fmodl
76781 do :
76782 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76783 if test "x$ac_cv_func__fmodl" = x""yes; then :
76784 cat >>confdefs.h <<_ACEOF
76785 #define HAVE__FMODL 1
76786 _ACEOF
76789 done
76798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76799 $as_echo_n "checking for frexpl declaration... " >&6; }
76800 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76801 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76802 $as_echo_n "(cached) " >&6
76803 else
76806 ac_ext=cpp
76807 ac_cpp='$CXXCPP $CPPFLAGS'
76808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76813 /* end confdefs.h. */
76814 #include <math.h>
76816 main ()
76818 frexpl(0, 0);
76820 return 0;
76822 _ACEOF
76823 if ac_fn_cxx_try_compile "$LINENO"; then :
76824 glibcxx_cv_func_frexpl_use=yes
76825 else
76826 glibcxx_cv_func_frexpl_use=no
76828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76829 ac_ext=c
76830 ac_cpp='$CPP $CPPFLAGS'
76831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76840 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76842 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76843 for ac_func in frexpl
76844 do :
76845 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76846 if test "x$ac_cv_func_frexpl" = x""yes; then :
76847 cat >>confdefs.h <<_ACEOF
76848 #define HAVE_FREXPL 1
76849 _ACEOF
76852 done
76854 else
76856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76857 $as_echo_n "checking for _frexpl declaration... " >&6; }
76858 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76859 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76860 $as_echo_n "(cached) " >&6
76861 else
76864 ac_ext=cpp
76865 ac_cpp='$CXXCPP $CPPFLAGS'
76866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76871 /* end confdefs.h. */
76872 #include <math.h>
76874 main ()
76876 _frexpl(0, 0);
76878 return 0;
76880 _ACEOF
76881 if ac_fn_cxx_try_compile "$LINENO"; then :
76882 glibcxx_cv_func__frexpl_use=yes
76883 else
76884 glibcxx_cv_func__frexpl_use=no
76886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76887 ac_ext=c
76888 ac_cpp='$CPP $CPPFLAGS'
76889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76898 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76900 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76901 for ac_func in _frexpl
76902 do :
76903 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76904 if test "x$ac_cv_func__frexpl" = x""yes; then :
76905 cat >>confdefs.h <<_ACEOF
76906 #define HAVE__FREXPL 1
76907 _ACEOF
76910 done
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76920 $as_echo_n "checking for hypotl declaration... " >&6; }
76921 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76922 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76923 $as_echo_n "(cached) " >&6
76924 else
76927 ac_ext=cpp
76928 ac_cpp='$CXXCPP $CPPFLAGS'
76929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76934 /* end confdefs.h. */
76935 #include <math.h>
76937 main ()
76939 hypotl(0, 0);
76941 return 0;
76943 _ACEOF
76944 if ac_fn_cxx_try_compile "$LINENO"; then :
76945 glibcxx_cv_func_hypotl_use=yes
76946 else
76947 glibcxx_cv_func_hypotl_use=no
76949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76950 ac_ext=c
76951 ac_cpp='$CPP $CPPFLAGS'
76952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76961 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76963 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76964 for ac_func in hypotl
76965 do :
76966 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76967 if test "x$ac_cv_func_hypotl" = x""yes; then :
76968 cat >>confdefs.h <<_ACEOF
76969 #define HAVE_HYPOTL 1
76970 _ACEOF
76973 done
76975 else
76977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76978 $as_echo_n "checking for _hypotl declaration... " >&6; }
76979 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76980 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76981 $as_echo_n "(cached) " >&6
76982 else
76985 ac_ext=cpp
76986 ac_cpp='$CXXCPP $CPPFLAGS'
76987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76992 /* end confdefs.h. */
76993 #include <math.h>
76995 main ()
76997 _hypotl(0, 0);
76999 return 0;
77001 _ACEOF
77002 if ac_fn_cxx_try_compile "$LINENO"; then :
77003 glibcxx_cv_func__hypotl_use=yes
77004 else
77005 glibcxx_cv_func__hypotl_use=no
77007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77008 ac_ext=c
77009 ac_cpp='$CPP $CPPFLAGS'
77010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77019 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77021 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77022 for ac_func in _hypotl
77023 do :
77024 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77025 if test "x$ac_cv_func__hypotl" = x""yes; then :
77026 cat >>confdefs.h <<_ACEOF
77027 #define HAVE__HYPOTL 1
77028 _ACEOF
77031 done
77040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77041 $as_echo_n "checking for ldexpl declaration... " >&6; }
77042 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77043 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77044 $as_echo_n "(cached) " >&6
77045 else
77048 ac_ext=cpp
77049 ac_cpp='$CXXCPP $CPPFLAGS'
77050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77055 /* end confdefs.h. */
77056 #include <math.h>
77058 main ()
77060 ldexpl(0, 0);
77062 return 0;
77064 _ACEOF
77065 if ac_fn_cxx_try_compile "$LINENO"; then :
77066 glibcxx_cv_func_ldexpl_use=yes
77067 else
77068 glibcxx_cv_func_ldexpl_use=no
77070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77071 ac_ext=c
77072 ac_cpp='$CPP $CPPFLAGS'
77073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77082 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77084 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77085 for ac_func in ldexpl
77086 do :
77087 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77088 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77089 cat >>confdefs.h <<_ACEOF
77090 #define HAVE_LDEXPL 1
77091 _ACEOF
77094 done
77096 else
77098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77099 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77100 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77101 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77102 $as_echo_n "(cached) " >&6
77103 else
77106 ac_ext=cpp
77107 ac_cpp='$CXXCPP $CPPFLAGS'
77108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77113 /* end confdefs.h. */
77114 #include <math.h>
77116 main ()
77118 _ldexpl(0, 0);
77120 return 0;
77122 _ACEOF
77123 if ac_fn_cxx_try_compile "$LINENO"; then :
77124 glibcxx_cv_func__ldexpl_use=yes
77125 else
77126 glibcxx_cv_func__ldexpl_use=no
77128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77129 ac_ext=c
77130 ac_cpp='$CPP $CPPFLAGS'
77131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77140 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77142 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77143 for ac_func in _ldexpl
77144 do :
77145 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77146 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77147 cat >>confdefs.h <<_ACEOF
77148 #define HAVE__LDEXPL 1
77149 _ACEOF
77152 done
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
77221 else
77223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77224 $as_echo_n "checking for _logl declaration... " >&6; }
77225 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77226 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77227 $as_echo_n "(cached) " >&6
77228 else
77231 ac_ext=cpp
77232 ac_cpp='$CXXCPP $CPPFLAGS'
77233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77238 /* end confdefs.h. */
77239 #include <math.h>
77240 #ifdef HAVE_IEEEFP_H
77241 #include <ieeefp.h>
77242 #endif
77245 main ()
77247 _logl(0);
77249 return 0;
77251 _ACEOF
77252 if ac_fn_cxx_try_compile "$LINENO"; then :
77253 glibcxx_cv_func__logl_use=yes
77254 else
77255 glibcxx_cv_func__logl_use=no
77257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77258 ac_ext=c
77259 ac_cpp='$CPP $CPPFLAGS'
77260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77269 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77271 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77272 for ac_func in _logl
77273 do :
77274 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77275 if test "x$ac_cv_func__logl" = x""yes; then :
77276 cat >>confdefs.h <<_ACEOF
77277 #define HAVE__LOGL 1
77278 _ACEOF
77281 done
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
77350 else
77352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77353 $as_echo_n "checking for _log10l declaration... " >&6; }
77354 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77355 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77356 $as_echo_n "(cached) " >&6
77357 else
77360 ac_ext=cpp
77361 ac_cpp='$CXXCPP $CPPFLAGS'
77362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77367 /* end confdefs.h. */
77368 #include <math.h>
77369 #ifdef HAVE_IEEEFP_H
77370 #include <ieeefp.h>
77371 #endif
77374 main ()
77376 _log10l(0);
77378 return 0;
77380 _ACEOF
77381 if ac_fn_cxx_try_compile "$LINENO"; then :
77382 glibcxx_cv_func__log10l_use=yes
77383 else
77384 glibcxx_cv_func__log10l_use=no
77386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77387 ac_ext=c
77388 ac_cpp='$CPP $CPPFLAGS'
77389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77398 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77400 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77401 for ac_func in _log10l
77402 do :
77403 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77404 if test "x$ac_cv_func__log10l" = x""yes; then :
77405 cat >>confdefs.h <<_ACEOF
77406 #define HAVE__LOG10L 1
77407 _ACEOF
77410 done
77419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77420 $as_echo_n "checking for modfl declaration... " >&6; }
77421 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77422 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77423 $as_echo_n "(cached) " >&6
77424 else
77427 ac_ext=cpp
77428 ac_cpp='$CXXCPP $CPPFLAGS'
77429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77434 /* end confdefs.h. */
77435 #include <math.h>
77437 main ()
77439 modfl(0, 0);
77441 return 0;
77443 _ACEOF
77444 if ac_fn_cxx_try_compile "$LINENO"; then :
77445 glibcxx_cv_func_modfl_use=yes
77446 else
77447 glibcxx_cv_func_modfl_use=no
77449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77450 ac_ext=c
77451 ac_cpp='$CPP $CPPFLAGS'
77452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77461 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77463 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77464 for ac_func in modfl
77465 do :
77466 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77467 if test "x$ac_cv_func_modfl" = x""yes; then :
77468 cat >>confdefs.h <<_ACEOF
77469 #define HAVE_MODFL 1
77470 _ACEOF
77473 done
77475 else
77477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77478 $as_echo_n "checking for _modfl declaration... " >&6; }
77479 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77480 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77481 $as_echo_n "(cached) " >&6
77482 else
77485 ac_ext=cpp
77486 ac_cpp='$CXXCPP $CPPFLAGS'
77487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77492 /* end confdefs.h. */
77493 #include <math.h>
77495 main ()
77497 _modfl(0, 0);
77499 return 0;
77501 _ACEOF
77502 if ac_fn_cxx_try_compile "$LINENO"; then :
77503 glibcxx_cv_func__modfl_use=yes
77504 else
77505 glibcxx_cv_func__modfl_use=no
77507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77508 ac_ext=c
77509 ac_cpp='$CPP $CPPFLAGS'
77510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77519 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77521 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77522 for ac_func in _modfl
77523 do :
77524 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77525 if test "x$ac_cv_func__modfl" = x""yes; then :
77526 cat >>confdefs.h <<_ACEOF
77527 #define HAVE__MODFL 1
77528 _ACEOF
77531 done
77540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77541 $as_echo_n "checking for powl declaration... " >&6; }
77542 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77543 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77544 $as_echo_n "(cached) " >&6
77545 else
77548 ac_ext=cpp
77549 ac_cpp='$CXXCPP $CPPFLAGS'
77550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77555 /* end confdefs.h. */
77556 #include <math.h>
77558 main ()
77560 powl(0, 0);
77562 return 0;
77564 _ACEOF
77565 if ac_fn_cxx_try_compile "$LINENO"; then :
77566 glibcxx_cv_func_powl_use=yes
77567 else
77568 glibcxx_cv_func_powl_use=no
77570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77571 ac_ext=c
77572 ac_cpp='$CPP $CPPFLAGS'
77573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77582 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77584 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77585 for ac_func in powl
77586 do :
77587 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77588 if test "x$ac_cv_func_powl" = x""yes; then :
77589 cat >>confdefs.h <<_ACEOF
77590 #define HAVE_POWL 1
77591 _ACEOF
77594 done
77596 else
77598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77599 $as_echo_n "checking for _powl declaration... " >&6; }
77600 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77601 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77602 $as_echo_n "(cached) " >&6
77603 else
77606 ac_ext=cpp
77607 ac_cpp='$CXXCPP $CPPFLAGS'
77608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77613 /* end confdefs.h. */
77614 #include <math.h>
77616 main ()
77618 _powl(0, 0);
77620 return 0;
77622 _ACEOF
77623 if ac_fn_cxx_try_compile "$LINENO"; then :
77624 glibcxx_cv_func__powl_use=yes
77625 else
77626 glibcxx_cv_func__powl_use=no
77628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77629 ac_ext=c
77630 ac_cpp='$CPP $CPPFLAGS'
77631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77640 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77642 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77643 for ac_func in _powl
77644 do :
77645 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77646 if test "x$ac_cv_func__powl" = x""yes; then :
77647 cat >>confdefs.h <<_ACEOF
77648 #define HAVE__POWL 1
77649 _ACEOF
77652 done
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
77721 else
77723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77724 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77725 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77726 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77727 $as_echo_n "(cached) " >&6
77728 else
77731 ac_ext=cpp
77732 ac_cpp='$CXXCPP $CPPFLAGS'
77733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77738 /* end confdefs.h. */
77739 #include <math.h>
77740 #ifdef HAVE_IEEEFP_H
77741 #include <ieeefp.h>
77742 #endif
77745 main ()
77747 _sqrtl(0);
77749 return 0;
77751 _ACEOF
77752 if ac_fn_cxx_try_compile "$LINENO"; then :
77753 glibcxx_cv_func__sqrtl_use=yes
77754 else
77755 glibcxx_cv_func__sqrtl_use=no
77757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77758 ac_ext=c
77759 ac_cpp='$CPP $CPPFLAGS'
77760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77769 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77771 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77772 for ac_func in _sqrtl
77773 do :
77774 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77775 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77776 cat >>confdefs.h <<_ACEOF
77777 #define HAVE__SQRTL 1
77778 _ACEOF
77781 done
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77791 $as_echo_n "checking for sincosl declaration... " >&6; }
77792 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77793 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77794 $as_echo_n "(cached) " >&6
77795 else
77798 ac_ext=cpp
77799 ac_cpp='$CXXCPP $CPPFLAGS'
77800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77805 /* end confdefs.h. */
77806 #include <math.h>
77808 main ()
77810 sincosl(0, 0, 0);
77812 return 0;
77814 _ACEOF
77815 if ac_fn_cxx_try_compile "$LINENO"; then :
77816 glibcxx_cv_func_sincosl_use=yes
77817 else
77818 glibcxx_cv_func_sincosl_use=no
77820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77821 ac_ext=c
77822 ac_cpp='$CPP $CPPFLAGS'
77823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77832 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77834 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77835 for ac_func in sincosl
77836 do :
77837 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77838 if test "x$ac_cv_func_sincosl" = x""yes; then :
77839 cat >>confdefs.h <<_ACEOF
77840 #define HAVE_SINCOSL 1
77841 _ACEOF
77844 done
77846 else
77848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77849 $as_echo_n "checking for _sincosl declaration... " >&6; }
77850 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77851 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77852 $as_echo_n "(cached) " >&6
77853 else
77856 ac_ext=cpp
77857 ac_cpp='$CXXCPP $CPPFLAGS'
77858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77863 /* end confdefs.h. */
77864 #include <math.h>
77866 main ()
77868 _sincosl(0, 0, 0);
77870 return 0;
77872 _ACEOF
77873 if ac_fn_cxx_try_compile "$LINENO"; then :
77874 glibcxx_cv_func__sincosl_use=yes
77875 else
77876 glibcxx_cv_func__sincosl_use=no
77878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77879 ac_ext=c
77880 ac_cpp='$CPP $CPPFLAGS'
77881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77890 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77892 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77893 for ac_func in _sincosl
77894 do :
77895 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77896 if test "x$ac_cv_func__sincosl" = x""yes; then :
77897 cat >>confdefs.h <<_ACEOF
77898 #define HAVE__SINCOSL 1
77899 _ACEOF
77902 done
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
77971 else
77973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77974 $as_echo_n "checking for _finitel declaration... " >&6; }
77975 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77976 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77977 $as_echo_n "(cached) " >&6
77978 else
77981 ac_ext=cpp
77982 ac_cpp='$CXXCPP $CPPFLAGS'
77983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77988 /* end confdefs.h. */
77989 #include <math.h>
77990 #ifdef HAVE_IEEEFP_H
77991 #include <ieeefp.h>
77992 #endif
77995 main ()
77997 _finitel(0);
77999 return 0;
78001 _ACEOF
78002 if ac_fn_cxx_try_compile "$LINENO"; then :
78003 glibcxx_cv_func__finitel_use=yes
78004 else
78005 glibcxx_cv_func__finitel_use=no
78007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78008 ac_ext=c
78009 ac_cpp='$CPP $CPPFLAGS'
78010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78019 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78021 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78022 for ac_func in _finitel
78023 do :
78024 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78025 if test "x$ac_cv_func__finitel" = x""yes; then :
78026 cat >>confdefs.h <<_ACEOF
78027 #define HAVE__FINITEL 1
78028 _ACEOF
78031 done
78039 LIBS="$ac_save_LIBS"
78040 CXXFLAGS="$ac_save_CXXFLAGS"
78043 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78044 ac_save_CXXFLAGS="$CXXFLAGS"
78045 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78049 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78050 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78051 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78052 $as_echo_n "(cached) " >&6
78053 else
78056 ac_ext=cpp
78057 ac_cpp='$CXXCPP $CPPFLAGS'
78058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78063 /* end confdefs.h. */
78064 #include <stdlib.h>
78066 main ()
78068 at_quick_exit(0);
78070 return 0;
78072 _ACEOF
78073 if ac_fn_cxx_try_compile "$LINENO"; then :
78074 glibcxx_cv_func_at_quick_exit_use=yes
78075 else
78076 glibcxx_cv_func_at_quick_exit_use=no
78078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78079 ac_ext=c
78080 ac_cpp='$CPP $CPPFLAGS'
78081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78090 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78091 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78092 for ac_func in at_quick_exit
78093 do :
78094 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78095 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78096 cat >>confdefs.h <<_ACEOF
78097 #define HAVE_AT_QUICK_EXIT 1
78098 _ACEOF
78101 done
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78107 $as_echo_n "checking for quick_exit declaration... " >&6; }
78108 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78109 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78110 $as_echo_n "(cached) " >&6
78111 else
78114 ac_ext=cpp
78115 ac_cpp='$CXXCPP $CPPFLAGS'
78116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78121 /* end confdefs.h. */
78122 #include <stdlib.h>
78124 main ()
78126 quick_exit(0);
78128 return 0;
78130 _ACEOF
78131 if ac_fn_cxx_try_compile "$LINENO"; then :
78132 glibcxx_cv_func_quick_exit_use=yes
78133 else
78134 glibcxx_cv_func_quick_exit_use=no
78136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78137 ac_ext=c
78138 ac_cpp='$CPP $CPPFLAGS'
78139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78148 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78149 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78150 for ac_func in quick_exit
78151 do :
78152 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78153 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78154 cat >>confdefs.h <<_ACEOF
78155 #define HAVE_QUICK_EXIT 1
78156 _ACEOF
78159 done
78164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78165 $as_echo_n "checking for strtold declaration... " >&6; }
78166 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78167 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78168 $as_echo_n "(cached) " >&6
78169 else
78172 ac_ext=cpp
78173 ac_cpp='$CXXCPP $CPPFLAGS'
78174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78179 /* end confdefs.h. */
78180 #include <stdlib.h>
78182 main ()
78184 strtold(0, 0);
78186 return 0;
78188 _ACEOF
78189 if ac_fn_cxx_try_compile "$LINENO"; then :
78190 glibcxx_cv_func_strtold_use=yes
78191 else
78192 glibcxx_cv_func_strtold_use=no
78194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78195 ac_ext=c
78196 ac_cpp='$CPP $CPPFLAGS'
78197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78206 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78207 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78208 for ac_func in strtold
78209 do :
78210 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78211 if test "x$ac_cv_func_strtold" = x""yes; then :
78212 cat >>confdefs.h <<_ACEOF
78213 #define HAVE_STRTOLD 1
78214 _ACEOF
78217 done
78224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78225 $as_echo_n "checking for strtof declaration... " >&6; }
78226 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78227 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78228 $as_echo_n "(cached) " >&6
78229 else
78232 ac_ext=cpp
78233 ac_cpp='$CXXCPP $CPPFLAGS'
78234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78239 /* end confdefs.h. */
78240 #include <stdlib.h>
78242 main ()
78244 strtof(0, 0);
78246 return 0;
78248 _ACEOF
78249 if ac_fn_cxx_try_compile "$LINENO"; then :
78250 glibcxx_cv_func_strtof_use=yes
78251 else
78252 glibcxx_cv_func_strtof_use=no
78254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78255 ac_ext=c
78256 ac_cpp='$CPP $CPPFLAGS'
78257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78266 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78267 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78268 for ac_func in strtof
78269 do :
78270 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78271 if test "x$ac_cv_func_strtof" = x""yes; then :
78272 cat >>confdefs.h <<_ACEOF
78273 #define HAVE_STRTOF 1
78274 _ACEOF
78277 done
78284 CXXFLAGS="$ac_save_CXXFLAGS"
78287 *-vxworks)
78288 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78290 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78292 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78294 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78296 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78298 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78300 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78302 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78304 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78306 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78308 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78310 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78312 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78314 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78316 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78318 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78320 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78322 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78324 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78326 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78330 as_fn_error "No support for this host/target combination." "$LINENO" 5
78332 esac
78336 # At some point, we should differentiate between architectures
78337 # like x86, which have long double versions, and alpha/powerpc/etc.,
78338 # which don't. For the time being, punt.
78339 if test x"long_double_math_on_this_cpu" = x"yes"; then
78340 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78342 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78344 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78346 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78348 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78350 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78352 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78354 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78356 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78358 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78360 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78362 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78364 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78366 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78368 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78370 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78372 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78374 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78376 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78378 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78380 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78382 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78384 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78389 # Check for _Unwind_GetIPInfo.
78392 # Check whether --with-system-libunwind was given.
78393 if test "${with_system_libunwind+set}" = set; then :
78394 withval=$with_system_libunwind;
78397 # If system-libunwind was not specifically set, pick a default setting.
78398 if test x$with_system_libunwind = x; then
78399 case ${target} in
78400 ia64-*-hpux*) with_system_libunwind=yes ;;
78401 *) with_system_libunwind=no ;;
78402 esac
78404 # Based on system-libunwind and target, do we have ipinfo?
78405 if test x$with_system_libunwind = xyes; then
78406 case ${target} in
78407 ia64-*-*) have_unwind_getipinfo=no ;;
78408 *) have_unwind_getipinfo=yes ;;
78409 esac
78410 else
78411 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78413 case ${target} in
78414 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78415 *) have_unwind_getipinfo=yes ;;
78416 esac
78420 if test x$have_unwind_getipinfo = xyes; then
78422 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78427 # Check whether --enable-linux-futex was given.
78428 if test "${enable_linux_futex+set}" = set; then :
78429 enableval=$enable_linux_futex;
78430 case "$enableval" in
78431 yes|no|default) ;;
78432 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78433 esac
78435 else
78436 enable_linux_futex=default
78440 case "$target" in
78441 *-linux*)
78442 case "$enable_linux_futex" in
78443 default)
78444 # If headers don't have gettid/futex syscalls definition, then
78445 # default to no, otherwise there will be compile time failures.
78446 # Otherwise, default to yes. If we don't detect we are
78447 # compiled/linked against NPTL and not cross-compiling, check
78448 # if programs are run by default against NPTL and if not, issue
78449 # a warning.
78450 enable_linux_futex=no
78451 if test x$gcc_no_link = xyes; then
78452 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78455 /* end confdefs.h. */
78456 #include <sys/syscall.h>
78457 int lk;
78459 main ()
78461 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78463 return 0;
78465 _ACEOF
78466 if ac_fn_c_try_link "$LINENO"; then :
78467 save_LIBS="$LIBS"
78468 LIBS="-lpthread $LIBS"
78469 if test x$gcc_no_link = xyes; then
78470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78473 /* end confdefs.h. */
78474 #ifndef _GNU_SOURCE
78475 #define _GNU_SOURCE 1
78476 #endif
78477 #include <pthread.h>
78478 pthread_t th; void *status;
78480 main ()
78482 pthread_tryjoin_np (th, &status);
78484 return 0;
78486 _ACEOF
78487 if ac_fn_c_try_link "$LINENO"; then :
78488 enable_linux_futex=yes
78489 else
78490 if test x$cross_compiling = xno; then
78491 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78492 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78494 If so, please configure with --disable-linux-futex" >&5
78495 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78496 If so, please configure with --disable-linux-futex" >&2;}
78499 enable_linux_futex=yes
78501 rm -f core conftest.err conftest.$ac_objext \
78502 conftest$ac_exeext conftest.$ac_ext
78503 LIBS="$save_LIBS"
78505 rm -f core conftest.err conftest.$ac_objext \
78506 conftest$ac_exeext conftest.$ac_ext
78508 yes)
78509 if test x$gcc_no_link = xyes; then
78510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78513 /* end confdefs.h. */
78514 #include <sys/syscall.h>
78515 int lk;
78517 main ()
78519 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78521 return 0;
78523 _ACEOF
78524 if ac_fn_c_try_link "$LINENO"; then :
78526 else
78527 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78529 rm -f core conftest.err conftest.$ac_objext \
78530 conftest$ac_exeext conftest.$ac_ext
78532 esac
78535 enable_linux_futex=no
78537 esac
78538 if test x$enable_linux_futex = xyes; then
78540 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78547 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78549 acx_cv_header_stdint=stddef.h
78550 acx_cv_header_stdint_kind="(already complete)"
78551 for i in stdint.h $inttype_headers; do
78552 unset ac_cv_type_uintptr_t
78553 unset ac_cv_type_uintmax_t
78554 unset ac_cv_type_int_least32_t
78555 unset ac_cv_type_int_fast32_t
78556 unset ac_cv_type_uint64_t
78557 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78558 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78559 #include <$i>
78561 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78562 acx_cv_header_stdint=$i
78563 else
78564 continue
78567 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78568 #include <$i>
78570 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78572 else
78573 acx_cv_header_stdint_kind="(mostly complete)"
78576 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78577 #include <$i>
78579 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78581 else
78582 acx_cv_header_stdint_kind="(mostly complete)"
78585 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78586 #include <$i>
78588 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78590 else
78591 acx_cv_header_stdint_kind="(mostly complete)"
78594 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78595 #include <$i>
78597 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78599 else
78600 acx_cv_header_stdint_kind="(lacks uint64_t)"
78603 break
78604 done
78605 if test "$acx_cv_header_stdint" = stddef.h; then
78606 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78607 for i in stdint.h $inttype_headers; do
78608 unset ac_cv_type_uintptr_t
78609 unset ac_cv_type_uint32_t
78610 unset ac_cv_type_uint64_t
78611 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78612 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78613 #include <$i>
78615 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78616 acx_cv_header_stdint=$i
78617 else
78618 continue
78621 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78622 #include <$i>
78624 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78628 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78629 #include <$i>
78631 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78635 break
78636 done
78638 if test "$acx_cv_header_stdint" = stddef.h; then
78639 acx_cv_header_stdint_kind="(u_intXX_t style)"
78640 for i in sys/types.h $inttype_headers; do
78641 unset ac_cv_type_u_int32_t
78642 unset ac_cv_type_u_int64_t
78643 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78644 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78645 #include <$i>
78647 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78648 acx_cv_header_stdint=$i
78649 else
78650 continue
78653 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78654 #include <$i>
78656 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78660 break
78661 done
78663 if test "$acx_cv_header_stdint" = stddef.h; then
78664 acx_cv_header_stdint_kind="(using manual detection)"
78667 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78668 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78669 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78670 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78671 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78673 # ----------------- Summarize what we found so far
78675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78676 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78678 case `$as_basename -- include/gstdint.h ||
78679 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78680 Xinclude/gstdint.h : 'X\(//\)$' \| \
78681 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78682 $as_echo X/include/gstdint.h |
78683 sed '/^.*\/\([^/][^/]*\)\/*$/{
78684 s//\1/
78687 /^X\/\(\/\/\)$/{
78688 s//\1/
78691 /^X\/\(\/\).*/{
78692 s//\1/
78695 s/.*/./; q'` in
78696 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78697 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78698 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78699 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78700 *) ;;
78701 esac
78703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78704 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78706 # ----------------- done included file, check C basic types --------
78708 # Lacking an uintptr_t? Test size of void *
78709 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78710 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78713 # This bug is HP SR number 8606223364.
78714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78715 $as_echo_n "checking size of void *... " >&6; }
78716 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78717 $as_echo_n "(cached) " >&6
78718 else
78719 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78721 else
78722 if test "$ac_cv_type_void_p" = yes; then
78723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78725 { as_fn_set_status 77
78726 as_fn_error "cannot compute sizeof (void *)
78727 See \`config.log' for more details." "$LINENO" 5; }; }
78728 else
78729 ac_cv_sizeof_void_p=0
78734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78735 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78739 cat >>confdefs.h <<_ACEOF
78740 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78741 _ACEOF
78744 esac
78746 # Lacking an uint64_t? Test size of long
78747 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78748 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78749 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78750 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78751 # This bug is HP SR number 8606223364.
78752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78753 $as_echo_n "checking size of long... " >&6; }
78754 if test "${ac_cv_sizeof_long+set}" = set; then :
78755 $as_echo_n "(cached) " >&6
78756 else
78757 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78759 else
78760 if test "$ac_cv_type_long" = yes; then
78761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78763 { as_fn_set_status 77
78764 as_fn_error "cannot compute sizeof (long)
78765 See \`config.log' for more details." "$LINENO" 5; }; }
78766 else
78767 ac_cv_sizeof_long=0
78772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78773 $as_echo "$ac_cv_sizeof_long" >&6; }
78777 cat >>confdefs.h <<_ACEOF
78778 #define SIZEOF_LONG $ac_cv_sizeof_long
78779 _ACEOF
78782 esac
78784 if test $acx_cv_header_stdint = stddef.h; then
78785 # Lacking a good header? Test size of everything and deduce all types.
78786 # The cast to long int works around a bug in the HP C Compiler
78787 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78788 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78789 # This bug is HP SR number 8606223364.
78790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78791 $as_echo_n "checking size of int... " >&6; }
78792 if test "${ac_cv_sizeof_int+set}" = set; then :
78793 $as_echo_n "(cached) " >&6
78794 else
78795 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78797 else
78798 if test "$ac_cv_type_int" = yes; then
78799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78801 { as_fn_set_status 77
78802 as_fn_error "cannot compute sizeof (int)
78803 See \`config.log' for more details." "$LINENO" 5; }; }
78804 else
78805 ac_cv_sizeof_int=0
78810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78811 $as_echo "$ac_cv_sizeof_int" >&6; }
78815 cat >>confdefs.h <<_ACEOF
78816 #define SIZEOF_INT $ac_cv_sizeof_int
78817 _ACEOF
78820 # The cast to long int works around a bug in the HP C Compiler
78821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78823 # This bug is HP SR number 8606223364.
78824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78825 $as_echo_n "checking size of short... " >&6; }
78826 if test "${ac_cv_sizeof_short+set}" = set; then :
78827 $as_echo_n "(cached) " >&6
78828 else
78829 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78831 else
78832 if test "$ac_cv_type_short" = yes; then
78833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78835 { as_fn_set_status 77
78836 as_fn_error "cannot compute sizeof (short)
78837 See \`config.log' for more details." "$LINENO" 5; }; }
78838 else
78839 ac_cv_sizeof_short=0
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78845 $as_echo "$ac_cv_sizeof_short" >&6; }
78849 cat >>confdefs.h <<_ACEOF
78850 #define SIZEOF_SHORT $ac_cv_sizeof_short
78851 _ACEOF
78854 # The cast to long int works around a bug in the HP C Compiler
78855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78857 # This bug is HP SR number 8606223364.
78858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78859 $as_echo_n "checking size of char... " >&6; }
78860 if test "${ac_cv_sizeof_char+set}" = set; then :
78861 $as_echo_n "(cached) " >&6
78862 else
78863 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78865 else
78866 if test "$ac_cv_type_char" = yes; then
78867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78869 { as_fn_set_status 77
78870 as_fn_error "cannot compute sizeof (char)
78871 See \`config.log' for more details." "$LINENO" 5; }; }
78872 else
78873 ac_cv_sizeof_char=0
78878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78879 $as_echo "$ac_cv_sizeof_char" >&6; }
78883 cat >>confdefs.h <<_ACEOF
78884 #define SIZEOF_CHAR $ac_cv_sizeof_char
78885 _ACEOF
78889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78890 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78891 case "$ac_cv_sizeof_char" in
78892 1) acx_cv_type_int8_t=char ;;
78893 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78894 esac
78895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78896 $as_echo "$acx_cv_type_int8_t" >&6; }
78898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78899 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78900 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78901 2:*) acx_cv_type_int16_t=int ;;
78902 *:2) acx_cv_type_int16_t=short ;;
78903 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78904 esac
78905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78906 $as_echo "$acx_cv_type_int16_t" >&6; }
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78909 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78910 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78911 4:*) acx_cv_type_int32_t=int ;;
78912 *:4) acx_cv_type_int32_t=long ;;
78913 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78914 esac
78915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78916 $as_echo "$acx_cv_type_int32_t" >&6; }
78919 # These tests are here to make the output prettier
78921 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78922 case "$ac_cv_sizeof_long" in
78923 8) acx_cv_type_int64_t=long ;;
78924 esac
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78926 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78928 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78931 # Now we can use the above types
78933 if test "$ac_cv_type_uintptr_t" != yes; then
78934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78935 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78936 case $ac_cv_sizeof_void_p in
78937 2) acx_cv_type_intptr_t=int16_t ;;
78938 4) acx_cv_type_intptr_t=int32_t ;;
78939 8) acx_cv_type_intptr_t=int64_t ;;
78940 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78941 esac
78942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78943 $as_echo "$acx_cv_type_intptr_t" >&6; }
78946 # ----------------- done all checks, emit header -------------
78947 ac_config_commands="$ac_config_commands include/gstdint.h"
78953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78954 $as_echo_n "checking for GNU c++filt... " >&6; }
78955 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78956 $as_echo_n "(cached) " >&6
78957 else
78958 if test -z "$CXXFILT"; then
78959 ac_path_CXXFILT_found=false
78960 # Loop through the user's path and test for each of PROGNAME-LIST
78961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78962 for as_dir in $PATH
78964 IFS=$as_save_IFS
78965 test -z "$as_dir" && as_dir=.
78966 for ac_prog in c++filt gc++filt; do
78967 for ac_exec_ext in '' $ac_executable_extensions; do
78968 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78969 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78970 # Check for GNU $ac_path_CXXFILT
78971 case `"$ac_path_CXXFILT" --version 2>&1` in
78972 *GNU*)
78973 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78974 esac
78976 $ac_path_CXXFILT_found && break 3
78977 done
78978 done
78979 done
78980 IFS=$as_save_IFS
78981 if test -z "$ac_cv_path_CXXFILT"; then
78984 else
78985 ac_cv_path_CXXFILT=$CXXFILT
78989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78990 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78991 CXXFILT=$ac_cv_path_CXXFILT
78995 # Check whether --enable-symvers was given.
78996 if test "${enable_symvers+set}" = set; then :
78997 enableval=$enable_symvers;
78998 case "$enableval" in
78999 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79000 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79001 esac
79003 else
79004 enable_symvers=yes
79009 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79010 # don't know enough about $LD to do tricks...
79012 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79013 # with extern "C++" in version scripts.
79016 # Turn a 'yes' into a suitable default.
79017 if test x$enable_symvers = xyes ; then
79018 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79019 enable_symvers=no
79020 else
79021 if test $with_gnu_ld = yes ; then
79022 case ${target_os} in
79023 hpux*)
79024 enable_symvers=no ;;
79026 enable_symvers=gnu ;;
79027 esac
79028 else
79029 case ${target_os} in
79030 darwin*)
79031 enable_symvers=darwin ;;
79032 # Sun symbol versioning exists since Solaris 2.5.
79033 solaris2.[5-9]* | solaris2.1[0-9]*)
79034 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79035 # version scripts, so disable symbol versioning if none can be
79036 # found.
79037 if test -z "$ac_cv_path_CXXFILT"; then
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79039 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79041 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79043 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79044 enable_symvers=no
79045 else
79046 enable_symvers=sun
79050 enable_symvers=no ;;
79051 esac
79056 # Check to see if 'darwin' or 'darwin-export' can win.
79057 if test x$enable_symvers = xdarwin-export ; then
79058 enable_symvers=darwin
79061 # Check if 'sun' was requested on non-Solaris 2 platforms.
79062 if test x$enable_symvers = xsun ; then
79063 case ${target_os} in
79064 solaris2*)
79065 # All fine.
79068 # Unlikely to work.
79069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79070 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79072 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79074 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79075 enable_symvers=no
79077 esac
79080 # Check to see if 'gnu' can win.
79081 if test $enable_symvers = gnu ||
79082 test $enable_symvers = gnu-versioned-namespace ||
79083 test $enable_symvers = sun; then
79084 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79086 $as_echo_n "checking for shared libgcc... " >&6; }
79087 ac_save_CFLAGS="$CFLAGS"
79088 CFLAGS=' -lgcc_s'
79089 if test x$gcc_no_link = xyes; then
79090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79093 /* end confdefs.h. */
79096 main ()
79098 return 0;
79100 return 0;
79102 _ACEOF
79103 if ac_fn_c_try_link "$LINENO"; then :
79104 glibcxx_shared_libgcc=yes
79105 else
79106 glibcxx_shared_libgcc=no
79108 rm -f core conftest.err conftest.$ac_objext \
79109 conftest$ac_exeext conftest.$ac_ext
79110 CFLAGS="$ac_save_CFLAGS"
79111 if test $glibcxx_shared_libgcc = no; then
79112 cat > conftest.c <<EOF
79113 int main (void) { return 0; }
79115 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79116 -shared -shared-libgcc -o conftest.so \
79117 conftest.c -v 2>&1 >/dev/null \
79118 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79119 rm -f conftest.c conftest.so
79120 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79121 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79122 if test x$gcc_no_link = xyes; then
79123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79126 /* end confdefs.h. */
79129 main ()
79131 return 0;
79133 return 0;
79135 _ACEOF
79136 if ac_fn_c_try_link "$LINENO"; then :
79137 glibcxx_shared_libgcc=yes
79139 rm -f core conftest.err conftest.$ac_objext \
79140 conftest$ac_exeext conftest.$ac_ext
79141 CFLAGS="$ac_save_CFLAGS"
79144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79145 $as_echo "$glibcxx_shared_libgcc" >&6; }
79147 # For GNU ld, we need at least this version. The format is described in
79148 # GLIBCXX_CHECK_LINKER_FEATURES above.
79149 glibcxx_min_gnu_ld_version=21400
79151 # If no shared libgcc, can't win.
79152 if test $glibcxx_shared_libgcc != yes; then
79153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79154 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79156 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79158 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79159 enable_symvers=no
79160 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79161 : All interesting versions of Sun ld support sun style symbol versioning.
79162 elif test $with_gnu_ld != yes ; then
79163 # just fail for now
79164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79165 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79167 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79169 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79170 enable_symvers=no
79171 elif test $glibcxx_ld_is_gold = yes ; then
79172 : All versions of gold support symbol versioning.
79173 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79174 # The right tools, the right setup, but too old. Fallbacks?
79175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79176 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79178 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79180 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79182 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79184 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79185 enable_symvers=no
79189 # For libtool versioning info, format is CURRENT:REVISION:AGE
79190 libtool_VERSION=6:26:0
79192 # Everything parsed; figure out what files and settings to use.
79193 case $enable_symvers in
79195 SYMVER_FILE=config/abi/pre/none.ver
79197 gnu)
79198 SYMVER_FILE=config/abi/pre/gnu.ver
79200 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79203 gnu-versioned-namespace)
79204 libtool_VERSION=8:0:0
79205 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79207 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79210 darwin)
79211 SYMVER_FILE=config/abi/pre/gnu.ver
79213 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79216 sun)
79217 SYMVER_FILE=config/abi/pre/gnu.ver
79219 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79222 esac
79224 if test x$enable_symvers != xno ; then
79226 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79231 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79232 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79233 $as_echo_n "(cached) " >&6
79234 else
79236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79237 /* end confdefs.h. */
79238 void foo (void); __asm (".symver foo, bar@SYMVER");
79240 main ()
79244 return 0;
79246 _ACEOF
79247 if ac_fn_c_try_compile "$LINENO"; then :
79248 glibcxx_cv_have_as_symver_directive=yes
79249 else
79250 glibcxx_cv_have_as_symver_directive=no
79252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79255 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79256 if test $glibcxx_cv_have_as_symver_directive = yes; then
79258 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79269 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79270 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79272 if test $enable_symvers != no ; then
79273 case ${target_os} in
79274 # The Solaris 2 runtime linker doesn't support the GNU extension of
79275 # binding the same symbol to different versions
79276 solaris2*)
79278 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79281 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79284 esac
79287 # Now, set up compatibility support, if any.
79288 # In addition, need this to deal with std::size_t mangling in
79289 # src/compatibility.cc. In a perfect world, could use
79290 # typeid(std::size_t).name()[0] to do direct substitution.
79291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79292 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79293 ac_save_CFLAGS="$CFLAGS"
79294 CFLAGS="-Werror"
79295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79296 /* end confdefs.h. */
79299 main ()
79301 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79303 return 0;
79305 _ACEOF
79306 if ac_fn_c_try_compile "$LINENO"; then :
79307 glibcxx_size_t_is_i=yes
79308 else
79309 glibcxx_size_t_is_i=no
79311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79312 CFLAGS=$ac_save_CFLAGS
79313 if test "$glibcxx_size_t_is_i" = yes; then
79315 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79319 $as_echo "$glibcxx_size_t_is_i" >&6; }
79321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79322 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79323 ac_save_CFLAGS="$CFLAGS"
79324 CFLAGS="-Werror"
79325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79326 /* end confdefs.h. */
79329 main ()
79331 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79333 return 0;
79335 _ACEOF
79336 if ac_fn_c_try_compile "$LINENO"; then :
79337 glibcxx_ptrdiff_t_is_i=yes
79338 else
79339 glibcxx_ptrdiff_t_is_i=no
79341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79342 CFLAGS=$ac_save_CFLAGS
79343 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79345 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79349 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79354 # Check whether --enable-libstdcxx-visibility was given.
79355 if test "${enable_libstdcxx_visibility+set}" = set; then :
79356 enableval=$enable_libstdcxx_visibility;
79357 case "$enableval" in
79358 yes|no) ;;
79359 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79360 esac
79362 else
79363 enable_libstdcxx_visibility=yes
79368 if test x$enable_libstdcxx_visibility = xyes ; then
79369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79370 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79371 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79372 $as_echo_n "(cached) " >&6
79373 else
79375 save_CFLAGS="$CFLAGS"
79376 CFLAGS="$CFLAGS -Werror"
79377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79378 /* end confdefs.h. */
79379 void __attribute__((visibility("hidden"))) foo(void) { }
79381 main ()
79385 return 0;
79387 _ACEOF
79388 if ac_fn_c_try_compile "$LINENO"; then :
79389 glibcxx_cv_have_attribute_visibility=yes
79390 else
79391 glibcxx_cv_have_attribute_visibility=no
79393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79394 CFLAGS="$save_CFLAGS"
79396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79397 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79398 if test $glibcxx_cv_have_attribute_visibility = no; then
79399 enable_libstdcxx_visibility=no
79404 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79405 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79409 # Check whether --enable-libstdcxx-dual-abi was given.
79410 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79411 enableval=$enable_libstdcxx_dual_abi;
79412 case "$enableval" in
79413 yes|no) ;;
79414 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79415 esac
79417 else
79418 enable_libstdcxx_dual_abi=yes
79422 if test x$enable_symvers = xgnu-versioned-namespace; then
79423 # gnu-versioned-namespace is incompatible with the dual ABI.
79424 enable_libstdcxx_dual_abi="no"
79426 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79427 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79428 $as_echo "$as_me: dual ABI is disabled" >&6;}
79429 default_libstdcxx_abi="gcc4-compatible"
79434 if test x$enable_libstdcxx_dual_abi = xyes; then
79435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79436 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79438 # Check whether --with-default-libstdcxx-abi was given.
79439 if test "${with_default_libstdcxx_abi+set}" = set; then :
79440 withval=$with_default_libstdcxx_abi; case "$withval" in
79441 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79442 new|cxx11) default_libstdcxx_abi="new" ;;
79443 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79444 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79445 esac
79447 else
79448 default_libstdcxx_abi="new"
79451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79452 $as_echo "${default_libstdcxx_abi}" >&6; }
79454 if test $default_libstdcxx_abi = "new"; then
79455 glibcxx_cxx11_abi=1
79456 glibcxx_cxx98_abi=0
79457 else
79458 glibcxx_cxx11_abi=0
79459 glibcxx_cxx98_abi=1
79465 ac_ldbl_compat=no
79466 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79467 case "$target" in
79468 powerpc*-*-linux* | \
79469 sparc*-*-linux* | \
79470 s390*-*-linux* | \
79471 alpha*-*-linux*)
79472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79473 /* end confdefs.h. */
79476 main ()
79479 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79480 #error no need for long double compatibility
79481 #endif
79484 return 0;
79486 _ACEOF
79487 if ac_fn_c_try_compile "$LINENO"; then :
79488 ac_ldbl_compat=yes
79489 else
79490 ac_ldbl_compat=no
79492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79493 if test "$ac_ldbl_compat" = yes; then
79495 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79497 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79498 case "$target" in
79499 powerpc*-*-linux*)
79500 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79501 esac
79503 esac
79507 # Check if assembler supports disabling hardware capability support.
79509 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79511 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79512 # with a different meaning.
79513 case ${target_os} in
79514 solaris2*)
79515 ac_save_CFLAGS="$CFLAGS"
79516 CFLAGS="$CFLAGS -Wa,-nH"
79518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79519 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79521 /* end confdefs.h. */
79524 main ()
79526 return 0;
79528 return 0;
79530 _ACEOF
79531 if ac_fn_c_try_compile "$LINENO"; then :
79532 ac_hwcap_flags=yes
79533 else
79534 ac_hwcap_flags=no
79536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79537 if test "$ac_hwcap_flags" = "yes"; then
79538 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79541 $as_echo "$ac_hwcap_flags" >&6; }
79543 CFLAGS="$ac_save_CFLAGS"
79545 esac
79550 # Check if assembler supports rdrand opcode.
79552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79553 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79554 if test "${ac_cv_x86_rdrand+set}" = set; then :
79555 $as_echo_n "(cached) " >&6
79556 else
79558 ac_cv_x86_rdrand=no
79559 case "$target" in
79560 i?86-*-* | \
79561 x86_64-*-*)
79562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79563 /* end confdefs.h. */
79566 main ()
79568 asm("rdrand %eax");
79570 return 0;
79572 _ACEOF
79573 if ac_fn_c_try_compile "$LINENO"; then :
79574 ac_cv_x86_rdrand=yes
79575 else
79576 ac_cv_x86_rdrand=no
79578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79579 esac
79583 if test $ac_cv_x86_rdrand = yes; then
79585 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79589 $as_echo "$ac_cv_x86_rdrand" >&6; }
79592 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79594 # Do checks for resource limit functions.
79596 setrlimit_have_headers=yes
79597 for ac_header in unistd.h sys/time.h sys/resource.h
79598 do :
79599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79600 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79601 eval as_val=\$$as_ac_Header
79602 if test "x$as_val" = x""yes; then :
79603 cat >>confdefs.h <<_ACEOF
79604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79605 _ACEOF
79607 else
79608 setrlimit_have_headers=no
79611 done
79613 # If don't have the headers, then we can't run the tests now, and we
79614 # won't be seeing any of these during testsuite compilation.
79615 if test $setrlimit_have_headers = yes; then
79616 # Can't do these in a loop, else the resulting syntax is wrong.
79618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79619 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79621 /* end confdefs.h. */
79622 #include <unistd.h>
79623 #include <sys/time.h>
79624 #include <sys/resource.h>
79627 main ()
79629 int f = RLIMIT_DATA ;
79631 return 0;
79633 _ACEOF
79634 if ac_fn_c_try_compile "$LINENO"; then :
79635 glibcxx_mresult=1
79636 else
79637 glibcxx_mresult=0
79639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79641 cat >>confdefs.h <<_ACEOF
79642 #define HAVE_LIMIT_DATA $glibcxx_mresult
79643 _ACEOF
79645 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79647 $as_echo "$res" >&6; }
79650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79651 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79653 /* end confdefs.h. */
79654 #include <unistd.h>
79655 #include <sys/time.h>
79656 #include <sys/resource.h>
79659 main ()
79661 int f = RLIMIT_RSS ;
79663 return 0;
79665 _ACEOF
79666 if ac_fn_c_try_compile "$LINENO"; then :
79667 glibcxx_mresult=1
79668 else
79669 glibcxx_mresult=0
79671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79673 cat >>confdefs.h <<_ACEOF
79674 #define HAVE_LIMIT_RSS $glibcxx_mresult
79675 _ACEOF
79677 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79679 $as_echo "$res" >&6; }
79682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79683 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79685 /* end confdefs.h. */
79686 #include <unistd.h>
79687 #include <sys/time.h>
79688 #include <sys/resource.h>
79691 main ()
79693 int f = RLIMIT_VMEM ;
79695 return 0;
79697 _ACEOF
79698 if ac_fn_c_try_compile "$LINENO"; then :
79699 glibcxx_mresult=1
79700 else
79701 glibcxx_mresult=0
79703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79705 cat >>confdefs.h <<_ACEOF
79706 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79707 _ACEOF
79709 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79711 $as_echo "$res" >&6; }
79714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79715 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79717 /* end confdefs.h. */
79718 #include <unistd.h>
79719 #include <sys/time.h>
79720 #include <sys/resource.h>
79723 main ()
79725 int f = RLIMIT_AS ;
79727 return 0;
79729 _ACEOF
79730 if ac_fn_c_try_compile "$LINENO"; then :
79731 glibcxx_mresult=1
79732 else
79733 glibcxx_mresult=0
79735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79737 cat >>confdefs.h <<_ACEOF
79738 #define HAVE_LIMIT_AS $glibcxx_mresult
79739 _ACEOF
79741 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79743 $as_echo "$res" >&6; }
79746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79747 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79749 /* end confdefs.h. */
79750 #include <unistd.h>
79751 #include <sys/time.h>
79752 #include <sys/resource.h>
79755 main ()
79757 int f = RLIMIT_FSIZE ;
79759 return 0;
79761 _ACEOF
79762 if ac_fn_c_try_compile "$LINENO"; then :
79763 glibcxx_mresult=1
79764 else
79765 glibcxx_mresult=0
79767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79769 cat >>confdefs.h <<_ACEOF
79770 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79771 _ACEOF
79773 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79775 $as_echo "$res" >&6; }
79778 # Check for rlimit, setrlimit.
79779 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79780 $as_echo_n "(cached) " >&6
79781 else
79783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79784 /* end confdefs.h. */
79785 #include <unistd.h>
79786 #include <sys/time.h>
79787 #include <sys/resource.h>
79790 main ()
79792 struct rlimit r;
79793 setrlimit(0, &r);
79795 return 0;
79797 _ACEOF
79798 if ac_fn_c_try_compile "$LINENO"; then :
79799 glibcxx_cv_setrlimit=yes
79800 else
79801 glibcxx_cv_setrlimit=no
79803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79810 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79811 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79812 ac_res_limits=yes
79814 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79816 else
79817 ac_res_limits=no
79819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79820 $as_echo "$ac_res_limits" >&6; }
79823 if $GLIBCXX_IS_NATIVE ; then
79824 # Look for setenv, so that extended locale tests can be performed.
79826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79827 $as_echo_n "checking for setenv declaration... " >&6; }
79828 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79829 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79830 $as_echo_n "(cached) " >&6
79831 else
79834 ac_ext=cpp
79835 ac_cpp='$CXXCPP $CPPFLAGS'
79836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79841 /* end confdefs.h. */
79842 #include <stdlib.h>
79844 main ()
79846 setenv(0, 0, 0);
79848 return 0;
79850 _ACEOF
79851 if ac_fn_cxx_try_compile "$LINENO"; then :
79852 glibcxx_cv_func_setenv_use=yes
79853 else
79854 glibcxx_cv_func_setenv_use=no
79856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79857 ac_ext=c
79858 ac_cpp='$CPP $CPPFLAGS'
79859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79868 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79869 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79870 for ac_func in setenv
79871 do :
79872 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79873 if test "x$ac_cv_func_setenv" = x""yes; then :
79874 cat >>confdefs.h <<_ACEOF
79875 #define HAVE_SETENV 1
79876 _ACEOF
79879 done
79885 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79886 test $enable_symvers != no; then
79887 case "$host" in
79888 *-*-cygwin*)
79889 enable_abi_check=no ;;
79891 enable_abi_check=yes ;;
79892 esac
79893 else
79894 # Only build this as native, since automake does not understand
79895 # CXX_FOR_BUILD.
79896 enable_abi_check=no
79899 # Export file names for ABI checking.
79900 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79902 baseline_subdir_switch="$abi_baseline_subdir_switch"
79906 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79908 # Check whether --enable-libstdcxx-threads was given.
79909 if test "${enable_libstdcxx_threads+set}" = set; then :
79910 enableval=$enable_libstdcxx_threads;
79911 case "$enableval" in
79912 yes|no) ;;
79913 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79914 esac
79916 else
79917 enable_libstdcxx_threads=auto
79922 if test x$enable_libstdcxx_threads = xauto ||
79923 test x$enable_libstdcxx_threads = xyes; then
79926 ac_ext=cpp
79927 ac_cpp='$CXXCPP $CPPFLAGS'
79928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79933 ac_save_CXXFLAGS="$CXXFLAGS"
79934 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79935 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79937 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79938 case $target_thread_file in
79939 posix)
79940 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79941 esac
79943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79944 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79947 /* end confdefs.h. */
79948 #include <unistd.h>
79950 main ()
79953 // In case of POSIX threads check _POSIX_TIMEOUTS.
79954 #if (defined(_PTHREADS) \
79955 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79956 #error
79957 #endif
79960 return 0;
79962 _ACEOF
79963 if ac_fn_cxx_try_compile "$LINENO"; then :
79964 ac_gthread_use_mutex_timedlock=1
79965 else
79966 ac_gthread_use_mutex_timedlock=0
79968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79971 cat >>confdefs.h <<_ACEOF
79972 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79973 _ACEOF
79976 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79977 else res_mutex_timedlock=no ; fi
79978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79979 $as_echo "$res_mutex_timedlock" >&6; }
79981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79982 $as_echo_n "checking for gthreads library... " >&6; }
79984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79985 /* end confdefs.h. */
79986 #include "gthr.h"
79988 main ()
79991 #ifndef __GTHREADS_CXX0X
79992 #error
79993 #endif
79996 return 0;
79998 _ACEOF
79999 if ac_fn_cxx_try_compile "$LINENO"; then :
80000 ac_has_gthreads=yes
80001 else
80002 ac_has_gthreads=no
80004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80005 else
80006 ac_has_gthreads=no
80009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80010 $as_echo "$ac_has_gthreads" >&6; }
80012 if test x"$ac_has_gthreads" = x"yes"; then
80014 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80017 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80018 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80020 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
80022 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80028 CXXFLAGS="$ac_save_CXXFLAGS"
80029 ac_ext=c
80030 ac_cpp='$CPP $CPPFLAGS'
80031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80037 # For Filesystem TS.
80038 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80039 do :
80040 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80041 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80042 eval as_val=\$$as_ac_Header
80043 if test "x$as_val" = x""yes; then :
80044 cat >>confdefs.h <<_ACEOF
80045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80046 _ACEOF
80050 done
80053 # Check whether --enable-libstdcxx-filesystem-ts was given.
80054 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80055 enableval=$enable_libstdcxx_filesystem_ts;
80056 case "$enableval" in
80057 yes|no|auto) ;;
80058 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80059 esac
80061 else
80062 enable_libstdcxx_filesystem_ts=auto
80067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80068 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80069 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80070 enable_libstdcxx_filesystem_ts=no
80072 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80073 case "${target_os}" in
80074 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80075 enable_libstdcxx_filesystem_ts=yes
80077 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80078 enable_libstdcxx_filesystem_ts=yes
80080 rtems*)
80081 enable_libstdcxx_filesystem_ts=yes
80083 solaris*)
80084 enable_libstdcxx_filesystem_ts=yes
80087 enable_libstdcxx_filesystem_ts=no
80089 esac
80091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80092 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80095 if test $enable_libstdcxx_filesystem_ts = yes; then
80097 ac_ext=cpp
80098 ac_cpp='$CXXCPP $CPPFLAGS'
80099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80103 ac_save_CXXFLAGS="$CXXFLAGS"
80104 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80106 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80107 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80108 $as_echo_n "(cached) " >&6
80109 else
80110 if test x$gcc_no_link = xyes; then
80111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80112 /* end confdefs.h. */
80113 #include <dirent.h>
80115 main ()
80118 struct dirent d;
80119 if (sizeof d.d_type) return 0;
80122 return 0;
80124 _ACEOF
80125 if ac_fn_cxx_try_compile "$LINENO"; then :
80126 glibcxx_cv_dirent_d_type=yes
80127 else
80128 glibcxx_cv_dirent_d_type=no
80130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80131 else
80132 if test x$gcc_no_link = xyes; then
80133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80136 /* end confdefs.h. */
80137 #include <dirent.h>
80139 main ()
80142 struct dirent d;
80143 if (sizeof d.d_type) return 0;
80146 return 0;
80148 _ACEOF
80149 if ac_fn_cxx_try_link "$LINENO"; then :
80150 glibcxx_cv_dirent_d_type=yes
80151 else
80152 glibcxx_cv_dirent_d_type=no
80154 rm -f core conftest.err conftest.$ac_objext \
80155 conftest$ac_exeext conftest.$ac_ext
80160 if test $glibcxx_cv_dirent_d_type = yes; then
80162 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80166 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80168 $as_echo_n "checking for realpath... " >&6; }
80169 if test "${glibcxx_cv_realpath+set}" = set; then :
80170 $as_echo_n "(cached) " >&6
80171 else
80172 if test x$gcc_no_link = xyes; then
80173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80174 /* end confdefs.h. */
80176 #include <limits.h>
80177 #include <stdlib.h>
80178 #include <unistd.h>
80181 main ()
80184 #if _XOPEN_VERSION < 500
80185 #error
80186 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80187 char *tmp = realpath((const char*)NULL, (char*)NULL);
80188 #else
80189 #error
80190 #endif
80193 return 0;
80195 _ACEOF
80196 if ac_fn_cxx_try_compile "$LINENO"; then :
80197 glibcxx_cv_realpath=yes
80198 else
80199 glibcxx_cv_realpath=no
80201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80202 else
80203 if test x$gcc_no_link = xyes; then
80204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80207 /* end confdefs.h. */
80209 #include <limits.h>
80210 #include <stdlib.h>
80211 #include <unistd.h>
80214 main ()
80217 #if _XOPEN_VERSION < 500
80218 #error
80219 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80220 char *tmp = realpath((const char*)NULL, (char*)NULL);
80221 #else
80222 #error
80223 #endif
80226 return 0;
80228 _ACEOF
80229 if ac_fn_cxx_try_link "$LINENO"; then :
80230 glibcxx_cv_realpath=yes
80231 else
80232 glibcxx_cv_realpath=no
80234 rm -f core conftest.err conftest.$ac_objext \
80235 conftest$ac_exeext conftest.$ac_ext
80240 if test $glibcxx_cv_realpath = yes; then
80242 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80246 $as_echo "$glibcxx_cv_realpath" >&6; }
80247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80248 $as_echo_n "checking for utimensat... " >&6; }
80249 if test "${glibcxx_cv_utimensat+set}" = set; then :
80250 $as_echo_n "(cached) " >&6
80251 else
80252 if test x$gcc_no_link = xyes; then
80253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80254 /* end confdefs.h. */
80256 #include <fcntl.h>
80257 #include <sys/stat.h>
80260 main ()
80263 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80264 int i = utimensat(AT_FDCWD, "path", ts, 0);
80267 return 0;
80269 _ACEOF
80270 if ac_fn_cxx_try_compile "$LINENO"; then :
80271 glibcxx_cv_utimensat=yes
80272 else
80273 glibcxx_cv_utimensat=no
80275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80276 else
80277 if test x$gcc_no_link = xyes; then
80278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80281 /* end confdefs.h. */
80283 #include <fcntl.h>
80284 #include <sys/stat.h>
80287 main ()
80290 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80291 int i = utimensat(AT_FDCWD, "path", ts, 0);
80294 return 0;
80296 _ACEOF
80297 if ac_fn_cxx_try_link "$LINENO"; then :
80298 glibcxx_cv_utimensat=yes
80299 else
80300 glibcxx_cv_utimensat=no
80302 rm -f core conftest.err conftest.$ac_objext \
80303 conftest$ac_exeext conftest.$ac_ext
80308 if test $glibcxx_cv_utimensat = yes; then
80310 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80314 $as_echo "$glibcxx_cv_utimensat" >&6; }
80315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80316 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80317 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80318 $as_echo_n "(cached) " >&6
80319 else
80320 if test x$gcc_no_link = xyes; then
80321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80322 /* end confdefs.h. */
80323 #include <sys/stat.h>
80325 main ()
80328 struct stat st;
80329 return st.st_mtim.tv_nsec;
80332 return 0;
80334 _ACEOF
80335 if ac_fn_cxx_try_compile "$LINENO"; then :
80336 glibcxx_cv_st_mtim=yes
80337 else
80338 glibcxx_cv_st_mtim=no
80340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80341 else
80342 if test x$gcc_no_link = xyes; then
80343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80346 /* end confdefs.h. */
80347 #include <sys/stat.h>
80349 main ()
80352 struct stat st;
80353 return st.st_mtim.tv_nsec;
80356 return 0;
80358 _ACEOF
80359 if ac_fn_cxx_try_link "$LINENO"; then :
80360 glibcxx_cv_st_mtim=yes
80361 else
80362 glibcxx_cv_st_mtim=no
80364 rm -f core conftest.err conftest.$ac_objext \
80365 conftest$ac_exeext conftest.$ac_ext
80370 if test $glibcxx_cv_st_mtim = yes; then
80372 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80376 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80378 $as_echo_n "checking for fchmod... " >&6; }
80379 if test "${glibcxx_cv_fchmod+set}" = set; then :
80380 $as_echo_n "(cached) " >&6
80381 else
80382 if test x$gcc_no_link = xyes; then
80383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80384 /* end confdefs.h. */
80385 #include <sys/stat.h>
80387 main ()
80389 fchmod(1, S_IWUSR);
80391 return 0;
80393 _ACEOF
80394 if ac_fn_cxx_try_compile "$LINENO"; then :
80395 glibcxx_cv_fchmod=yes
80396 else
80397 glibcxx_cv_fchmod=no
80399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80400 else
80401 if test x$gcc_no_link = xyes; then
80402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80405 /* end confdefs.h. */
80406 #include <sys/stat.h>
80408 main ()
80410 fchmod(1, S_IWUSR);
80412 return 0;
80414 _ACEOF
80415 if ac_fn_cxx_try_link "$LINENO"; then :
80416 glibcxx_cv_fchmod=yes
80417 else
80418 glibcxx_cv_fchmod=no
80420 rm -f core conftest.err conftest.$ac_objext \
80421 conftest$ac_exeext conftest.$ac_ext
80426 if test $glibcxx_cv_fchmod = yes; then
80428 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80432 $as_echo "$glibcxx_cv_fchmod" >&6; }
80433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80434 $as_echo_n "checking for fchmodat... " >&6; }
80435 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80436 $as_echo_n "(cached) " >&6
80437 else
80438 if test x$gcc_no_link = xyes; then
80439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80440 /* end confdefs.h. */
80442 #include <fcntl.h>
80443 #include <sys/stat.h>
80446 main ()
80448 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80450 return 0;
80452 _ACEOF
80453 if ac_fn_cxx_try_compile "$LINENO"; then :
80454 glibcxx_cv_fchmodat=yes
80455 else
80456 glibcxx_cv_fchmodat=no
80458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80459 else
80460 if test x$gcc_no_link = xyes; then
80461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80464 /* end confdefs.h. */
80466 #include <fcntl.h>
80467 #include <sys/stat.h>
80470 main ()
80472 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80474 return 0;
80476 _ACEOF
80477 if ac_fn_cxx_try_link "$LINENO"; then :
80478 glibcxx_cv_fchmodat=yes
80479 else
80480 glibcxx_cv_fchmodat=no
80482 rm -f core conftest.err conftest.$ac_objext \
80483 conftest$ac_exeext conftest.$ac_ext
80488 if test $glibcxx_cv_fchmodat = yes; then
80490 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80494 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80496 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80497 if test "${glibcxx_cv_sendfile+set}" = set; then :
80498 $as_echo_n "(cached) " >&6
80499 else
80500 case "${target_os}" in
80501 gnu* | linux* | solaris*)
80502 if test x$gcc_no_link = xyes; then
80503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80504 /* end confdefs.h. */
80505 #include <sys/sendfile.h>
80507 main ()
80509 sendfile(1, 2, (off_t*)0, sizeof 1);
80511 return 0;
80513 _ACEOF
80514 if ac_fn_cxx_try_compile "$LINENO"; then :
80515 glibcxx_cv_sendfile=yes
80516 else
80517 glibcxx_cv_sendfile=no
80519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80520 else
80521 if test x$gcc_no_link = xyes; then
80522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80525 /* end confdefs.h. */
80526 #include <sys/sendfile.h>
80528 main ()
80530 sendfile(1, 2, (off_t*)0, sizeof 1);
80532 return 0;
80534 _ACEOF
80535 if ac_fn_cxx_try_link "$LINENO"; then :
80536 glibcxx_cv_sendfile=yes
80537 else
80538 glibcxx_cv_sendfile=no
80540 rm -f core conftest.err conftest.$ac_objext \
80541 conftest$ac_exeext conftest.$ac_ext
80545 glibcxx_cv_sendfile=no
80547 esac
80551 if test $glibcxx_cv_sendfile = yes; then
80553 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80557 $as_echo "$glibcxx_cv_sendfile" >&6; }
80558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80559 $as_echo_n "checking for link... " >&6; }
80560 if test "${glibcxx_cv_link+set}" = set; then :
80561 $as_echo_n "(cached) " >&6
80562 else
80563 if test x$gcc_no_link = xyes; then
80564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80565 /* end confdefs.h. */
80566 #include <unistd.h>
80568 main ()
80570 link("", "");
80572 return 0;
80574 _ACEOF
80575 if ac_fn_cxx_try_compile "$LINENO"; then :
80576 glibcxx_cv_link=yes
80577 else
80578 glibcxx_cv_link=no
80580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80581 else
80582 if test x$gcc_no_link = xyes; then
80583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80586 /* end confdefs.h. */
80587 #include <unistd.h>
80589 main ()
80591 link("", "");
80593 return 0;
80595 _ACEOF
80596 if ac_fn_cxx_try_link "$LINENO"; then :
80597 glibcxx_cv_link=yes
80598 else
80599 glibcxx_cv_link=no
80601 rm -f core conftest.err conftest.$ac_objext \
80602 conftest$ac_exeext conftest.$ac_ext
80607 if test $glibcxx_cv_link = yes; then
80609 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80613 $as_echo "$glibcxx_cv_link" >&6; }
80614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80615 $as_echo_n "checking for readlink... " >&6; }
80616 if test "${glibcxx_cv_readlink+set}" = set; then :
80617 $as_echo_n "(cached) " >&6
80618 else
80619 if test x$gcc_no_link = xyes; then
80620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80621 /* end confdefs.h. */
80622 #include <unistd.h>
80624 main ()
80626 char buf[32]; readlink("", buf, sizeof(buf));
80628 return 0;
80630 _ACEOF
80631 if ac_fn_cxx_try_compile "$LINENO"; then :
80632 glibcxx_cv_readlink=yes
80633 else
80634 glibcxx_cv_readlink=no
80636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80637 else
80638 if test x$gcc_no_link = xyes; then
80639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80642 /* end confdefs.h. */
80643 #include <unistd.h>
80645 main ()
80647 char buf[32]; readlink("", buf, sizeof(buf));
80649 return 0;
80651 _ACEOF
80652 if ac_fn_cxx_try_link "$LINENO"; then :
80653 glibcxx_cv_readlink=yes
80654 else
80655 glibcxx_cv_readlink=no
80657 rm -f core conftest.err conftest.$ac_objext \
80658 conftest$ac_exeext conftest.$ac_ext
80663 if test $glibcxx_cv_readlink = yes; then
80665 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80669 $as_echo "$glibcxx_cv_readlink" >&6; }
80670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80671 $as_echo_n "checking for symlink... " >&6; }
80672 if test "${glibcxx_cv_symlink+set}" = set; then :
80673 $as_echo_n "(cached) " >&6
80674 else
80675 if test x$gcc_no_link = xyes; then
80676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80677 /* end confdefs.h. */
80678 #include <unistd.h>
80680 main ()
80682 symlink("", "");
80684 return 0;
80686 _ACEOF
80687 if ac_fn_cxx_try_compile "$LINENO"; then :
80688 glibcxx_cv_symlink=yes
80689 else
80690 glibcxx_cv_symlink=no
80692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80693 else
80694 if test x$gcc_no_link = xyes; then
80695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80698 /* end confdefs.h. */
80699 #include <unistd.h>
80701 main ()
80703 symlink("", "");
80705 return 0;
80707 _ACEOF
80708 if ac_fn_cxx_try_link "$LINENO"; then :
80709 glibcxx_cv_symlink=yes
80710 else
80711 glibcxx_cv_symlink=no
80713 rm -f core conftest.err conftest.$ac_objext \
80714 conftest$ac_exeext conftest.$ac_ext
80719 if test $glibcxx_cv_symlink = yes; then
80721 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80725 $as_echo "$glibcxx_cv_symlink" >&6; }
80726 CXXFLAGS="$ac_save_CXXFLAGS"
80727 ac_ext=c
80728 ac_cpp='$CPP $CPPFLAGS'
80729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80736 # For Transactional Memory TS
80738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80739 $as_echo_n "checking how size_t is mangled... " >&6; }
80740 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80741 $as_echo_n "(cached) " >&6
80742 else
80744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80745 /* end confdefs.h. */
80748 main ()
80750 extern __SIZE_TYPE__ x; extern unsigned long x;
80752 return 0;
80754 _ACEOF
80755 if ac_fn_c_try_compile "$LINENO"; then :
80756 glibcxx_cv_size_t_mangling=m
80757 else
80759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80760 /* end confdefs.h. */
80763 main ()
80765 extern __SIZE_TYPE__ x; extern unsigned int x;
80767 return 0;
80769 _ACEOF
80770 if ac_fn_c_try_compile "$LINENO"; then :
80771 glibcxx_cv_size_t_mangling=j
80772 else
80774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80775 /* end confdefs.h. */
80778 main ()
80780 extern __SIZE_TYPE__ x; extern unsigned long long x;
80782 return 0;
80784 _ACEOF
80785 if ac_fn_c_try_compile "$LINENO"; then :
80786 glibcxx_cv_size_t_mangling=y
80787 else
80789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80790 /* end confdefs.h. */
80793 main ()
80795 extern __SIZE_TYPE__ x; extern unsigned short x;
80797 return 0;
80799 _ACEOF
80800 if ac_fn_c_try_compile "$LINENO"; then :
80801 glibcxx_cv_size_t_mangling=t
80802 else
80804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80805 /* end confdefs.h. */
80808 main ()
80810 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80812 return 0;
80814 _ACEOF
80815 if ac_fn_c_try_compile "$LINENO"; then :
80816 glibcxx_cv_size_t_mangling=u6uint20
80817 else
80818 glibcxx_cv_size_t_mangling=x
80820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80836 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80837 if test $glibcxx_cv_size_t_mangling = x; then
80838 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80841 cat >>confdefs.h <<_ACEOF
80842 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80843 _ACEOF
80847 # Check which release added std::exception_ptr for the target
80849 if test $enable_symvers != no; then
80850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80851 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80852 case ${target} in
80853 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80854 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80855 ac_exception_ptr_since_gcc46=yes
80858 # If the value of this macro changes then we will need to hardcode
80859 # yes/no here for additional targets based on the original value.
80860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80861 /* end confdefs.h. */
80864 main ()
80867 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80868 # error atomic int not always lock free
80869 #endif
80872 return 0;
80874 _ACEOF
80875 if ac_fn_c_try_compile "$LINENO"; then :
80876 ac_exception_ptr_since_gcc46=yes
80877 else
80878 ac_exception_ptr_since_gcc46=no
80880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80882 esac
80883 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80885 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80888 $as_echo "4.6.0" >&6; }
80889 else
80890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80891 $as_echo "7.1.0" >&6; }
80896 # Define documentation rules conditionally.
80898 # See if makeinfo has been installed and is modern enough
80899 # that we can use it.
80901 # Extract the first word of "makeinfo", so it can be a program name with args.
80902 set dummy makeinfo; ac_word=$2
80903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80904 $as_echo_n "checking for $ac_word... " >&6; }
80905 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80906 $as_echo_n "(cached) " >&6
80907 else
80908 if test -n "$MAKEINFO"; then
80909 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80910 else
80911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80912 for as_dir in $PATH
80914 IFS=$as_save_IFS
80915 test -z "$as_dir" && as_dir=.
80916 for ac_exec_ext in '' $ac_executable_extensions; do
80917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80918 ac_cv_prog_MAKEINFO="makeinfo"
80919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80920 break 2
80922 done
80923 done
80924 IFS=$as_save_IFS
80928 MAKEINFO=$ac_cv_prog_MAKEINFO
80929 if test -n "$MAKEINFO"; then
80930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80931 $as_echo "$MAKEINFO" >&6; }
80932 else
80933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80934 $as_echo "no" >&6; }
80938 if test -n "$MAKEINFO"; then
80939 # Found it, now check the version.
80940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80941 $as_echo_n "checking for modern makeinfo... " >&6; }
80942 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80943 $as_echo_n "(cached) " >&6
80944 else
80945 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80946 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80948 case $ac_prog_version in
80949 '') gcc_cv_prog_makeinfo_modern=no;;
80950 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80951 *) gcc_cv_prog_makeinfo_modern=no;;
80952 esac
80955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80956 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80957 else
80958 gcc_cv_prog_makeinfo_modern=no
80960 if test $gcc_cv_prog_makeinfo_modern = no; then
80961 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80964 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80965 BUILD_INFO_TRUE=
80966 BUILD_INFO_FALSE='#'
80967 else
80968 BUILD_INFO_TRUE='#'
80969 BUILD_INFO_FALSE=
80973 # Check for doxygen
80974 # Extract the first word of "doxygen", so it can be a program name with args.
80975 set dummy doxygen; ac_word=$2
80976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80977 $as_echo_n "checking for $ac_word... " >&6; }
80978 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80979 $as_echo_n "(cached) " >&6
80980 else
80981 if test -n "$DOXYGEN"; then
80982 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80983 else
80984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80985 for as_dir in $PATH
80987 IFS=$as_save_IFS
80988 test -z "$as_dir" && as_dir=.
80989 for ac_exec_ext in '' $ac_executable_extensions; do
80990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80991 ac_cv_prog_DOXYGEN="yes"
80992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80993 break 2
80995 done
80996 done
80997 IFS=$as_save_IFS
80999 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81002 DOXYGEN=$ac_cv_prog_DOXYGEN
81003 if test -n "$DOXYGEN"; then
81004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81005 $as_echo "$DOXYGEN" >&6; }
81006 else
81007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81008 $as_echo "no" >&6; }
81012 # Extract the first word of "dot", so it can be a program name with args.
81013 set dummy dot; ac_word=$2
81014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81015 $as_echo_n "checking for $ac_word... " >&6; }
81016 if test "${ac_cv_prog_DOT+set}" = set; then :
81017 $as_echo_n "(cached) " >&6
81018 else
81019 if test -n "$DOT"; then
81020 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81021 else
81022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81023 for as_dir in $PATH
81025 IFS=$as_save_IFS
81026 test -z "$as_dir" && as_dir=.
81027 for ac_exec_ext in '' $ac_executable_extensions; do
81028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81029 ac_cv_prog_DOT="yes"
81030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81031 break 2
81033 done
81034 done
81035 IFS=$as_save_IFS
81037 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81040 DOT=$ac_cv_prog_DOT
81041 if test -n "$DOT"; then
81042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81043 $as_echo "$DOT" >&6; }
81044 else
81045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81046 $as_echo "no" >&6; }
81051 # Check for docbook
81052 # Extract the first word of "xsltproc", so it can be a program name with args.
81053 set dummy xsltproc; ac_word=$2
81054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81055 $as_echo_n "checking for $ac_word... " >&6; }
81056 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
81057 $as_echo_n "(cached) " >&6
81058 else
81059 if test -n "$XSLTPROC"; then
81060 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81061 else
81062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81063 for as_dir in $PATH
81065 IFS=$as_save_IFS
81066 test -z "$as_dir" && as_dir=.
81067 for ac_exec_ext in '' $ac_executable_extensions; do
81068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81069 ac_cv_prog_XSLTPROC="yes"
81070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81071 break 2
81073 done
81074 done
81075 IFS=$as_save_IFS
81077 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81080 XSLTPROC=$ac_cv_prog_XSLTPROC
81081 if test -n "$XSLTPROC"; then
81082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81083 $as_echo "$XSLTPROC" >&6; }
81084 else
81085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81086 $as_echo "no" >&6; }
81090 # Extract the first word of "xmllint", so it can be a program name with args.
81091 set dummy xmllint; ac_word=$2
81092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81093 $as_echo_n "checking for $ac_word... " >&6; }
81094 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81095 $as_echo_n "(cached) " >&6
81096 else
81097 if test -n "$XMLLINT"; then
81098 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81099 else
81100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81101 for as_dir in $PATH
81103 IFS=$as_save_IFS
81104 test -z "$as_dir" && as_dir=.
81105 for ac_exec_ext in '' $ac_executable_extensions; do
81106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81107 ac_cv_prog_XMLLINT="yes"
81108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81109 break 2
81111 done
81112 done
81113 IFS=$as_save_IFS
81115 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81118 XMLLINT=$ac_cv_prog_XMLLINT
81119 if test -n "$XMLLINT"; then
81120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81121 $as_echo "$XMLLINT" >&6; }
81122 else
81123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81124 $as_echo "no" >&6; }
81130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81131 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81132 glibcxx_stylesheets=no
81133 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
81134 glibcxx_stylesheets=yes
81136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81137 $as_echo "$glibcxx_stylesheets" >&6; }
81139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81140 $as_echo_n "checking for local stylesheet directory... " >&6; }
81141 glibcxx_local_stylesheets=no
81142 if test x"$glibcxx_stylesheets" = x"yes"; then
81143 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81144 glibcxx_local_stylesheets=yes
81145 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81147 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81148 glibcxx_local_stylesheets=yes
81149 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81151 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81152 glibcxx_local_stylesheets=yes
81153 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81157 $as_echo "$glibcxx_local_stylesheets" >&6; }
81159 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81161 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81162 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81163 else
81164 glibcxx_stylesheets=no
81167 # Check for epub3 dependencies.
81168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81169 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81170 glibcxx_epub_stylesheets=no
81171 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81172 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81173 glibcxx_epub_stylesheets=yes
81176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81177 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81178 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81179 BUILD_EPUB_TRUE=
81180 BUILD_EPUB_FALSE='#'
81181 else
81182 BUILD_EPUB_TRUE='#'
81183 BUILD_EPUB_FALSE=
81189 # Check for xml/html dependencies.
81190 if test $ac_cv_prog_DOXYGEN = "yes" &&
81191 test $ac_cv_prog_DOT = "yes" &&
81192 test $ac_cv_prog_XSLTPROC = "yes" &&
81193 test $ac_cv_prog_XMLLINT = "yes" &&
81194 test $glibcxx_stylesheets = "yes"; then
81195 BUILD_XML_TRUE=
81196 BUILD_XML_FALSE='#'
81197 else
81198 BUILD_XML_TRUE='#'
81199 BUILD_XML_FALSE=
81203 if test $ac_cv_prog_DOXYGEN = "yes" &&
81204 test $ac_cv_prog_DOT = "yes" &&
81205 test $ac_cv_prog_XSLTPROC = "yes" &&
81206 test $ac_cv_prog_XMLLINT = "yes" &&
81207 test $glibcxx_stylesheets = "yes"; then
81208 BUILD_HTML_TRUE=
81209 BUILD_HTML_FALSE='#'
81210 else
81211 BUILD_HTML_TRUE='#'
81212 BUILD_HTML_FALSE=
81216 # Check for man dependencies.
81217 if test $ac_cv_prog_DOXYGEN = "yes" &&
81218 test $ac_cv_prog_DOT = "yes"; then
81219 BUILD_MAN_TRUE=
81220 BUILD_MAN_FALSE='#'
81221 else
81222 BUILD_MAN_TRUE='#'
81223 BUILD_MAN_FALSE=
81227 # Check for pdf dependencies.
81228 # Extract the first word of "dblatex", so it can be a program name with args.
81229 set dummy dblatex; ac_word=$2
81230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81231 $as_echo_n "checking for $ac_word... " >&6; }
81232 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81233 $as_echo_n "(cached) " >&6
81234 else
81235 if test -n "$DBLATEX"; then
81236 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81237 else
81238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81239 for as_dir in $PATH
81241 IFS=$as_save_IFS
81242 test -z "$as_dir" && as_dir=.
81243 for ac_exec_ext in '' $ac_executable_extensions; do
81244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81245 ac_cv_prog_DBLATEX="yes"
81246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81247 break 2
81249 done
81250 done
81251 IFS=$as_save_IFS
81253 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81256 DBLATEX=$ac_cv_prog_DBLATEX
81257 if test -n "$DBLATEX"; then
81258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81259 $as_echo "$DBLATEX" >&6; }
81260 else
81261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81262 $as_echo "no" >&6; }
81266 # Extract the first word of "pdflatex", so it can be a program name with args.
81267 set dummy pdflatex; ac_word=$2
81268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81269 $as_echo_n "checking for $ac_word... " >&6; }
81270 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81271 $as_echo_n "(cached) " >&6
81272 else
81273 if test -n "$PDFLATEX"; then
81274 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81275 else
81276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81277 for as_dir in $PATH
81279 IFS=$as_save_IFS
81280 test -z "$as_dir" && as_dir=.
81281 for ac_exec_ext in '' $ac_executable_extensions; do
81282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81283 ac_cv_prog_PDFLATEX="yes"
81284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81285 break 2
81287 done
81288 done
81289 IFS=$as_save_IFS
81291 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81294 PDFLATEX=$ac_cv_prog_PDFLATEX
81295 if test -n "$PDFLATEX"; then
81296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81297 $as_echo "$PDFLATEX" >&6; }
81298 else
81299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81300 $as_echo "no" >&6; }
81304 if test $ac_cv_prog_DBLATEX = "yes" &&
81305 test $ac_cv_prog_PDFLATEX = "yes"; then
81306 BUILD_PDF_TRUE=
81307 BUILD_PDF_FALSE='#'
81308 else
81309 BUILD_PDF_TRUE='#'
81310 BUILD_PDF_FALSE=
81314 case "$build" in
81315 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81316 * ) glibcxx_include_dir_notparallel=no ;;
81317 esac
81318 if test $glibcxx_include_dir_notparallel = "yes"; then
81319 INCLUDE_DIR_NOTPARALLEL_TRUE=
81320 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81321 else
81322 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81323 INCLUDE_DIR_NOTPARALLEL_FALSE=
81327 # Propagate the target-specific source directories through the build chain.
81328 ATOMICITY_SRCDIR=config/${atomicity_dir}
81329 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81330 ATOMIC_FLAGS=${atomic_flags}
81331 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81332 OS_INC_SRCDIR=config/${os_include_dir}
81333 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81334 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81335 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81336 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81348 # Add CET specific flags if Intel CET is enabled.
81349 # Check whether --enable-cet was given.
81350 if test "${enable_cet+set}" = set; then :
81351 enableval=$enable_cet;
81352 case "$enableval" in
81353 yes|no|auto) ;;
81354 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81355 esac
81357 else
81358 enable_cet=no
81362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81363 $as_echo_n "checking for CET support... " >&6; }
81365 case "$host" in
81366 i[34567]86-*-linux* | x86_64-*-linux*)
81367 case "$enable_cet" in
81368 auto)
81369 # Check if target supports multi-byte NOPs
81370 # and if assembler supports CET insn.
81371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81372 /* end confdefs.h. */
81375 main ()
81378 #if !defined(__SSE2__)
81379 #error target does not support multi-byte NOPs
81380 #else
81381 asm ("setssbsy");
81382 #endif
81385 return 0;
81387 _ACEOF
81388 if ac_fn_c_try_compile "$LINENO"; then :
81389 enable_cet=yes
81390 else
81391 enable_cet=no
81393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81395 yes)
81396 # Check if assembler supports CET.
81397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81398 /* end confdefs.h. */
81401 main ()
81403 asm ("setssbsy");
81405 return 0;
81407 _ACEOF
81408 if ac_fn_c_try_compile "$LINENO"; then :
81410 else
81411 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81415 esac
81418 enable_cet=no
81420 esac
81421 if test x$enable_cet = xyes; then
81422 CET_FLAGS="-fcf-protection -mshstk"
81423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81424 $as_echo "yes" >&6; }
81425 else
81426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81427 $as_echo "no" >&6; }
81430 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81431 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81435 # Determine cross-compile flags and AM_CONDITIONALs.
81436 #AC_SUBST(GLIBCXX_IS_NATIVE)
81437 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81438 if test $is_hosted = yes; then
81439 GLIBCXX_HOSTED_TRUE=
81440 GLIBCXX_HOSTED_FALSE='#'
81441 else
81442 GLIBCXX_HOSTED_TRUE='#'
81443 GLIBCXX_HOSTED_FALSE=
81447 if test $enable_libstdcxx_pch = yes; then
81448 GLIBCXX_BUILD_PCH_TRUE=
81449 GLIBCXX_BUILD_PCH_FALSE='#'
81450 else
81451 GLIBCXX_BUILD_PCH_TRUE='#'
81452 GLIBCXX_BUILD_PCH_FALSE=
81456 if test $enable_float128 = yes; then
81457 ENABLE_FLOAT128_TRUE=
81458 ENABLE_FLOAT128_FALSE='#'
81459 else
81460 ENABLE_FLOAT128_TRUE='#'
81461 ENABLE_FLOAT128_FALSE=
81465 if test $enable_libstdcxx_allocator_flag = new; then
81466 ENABLE_ALLOCATOR_NEW_TRUE=
81467 ENABLE_ALLOCATOR_NEW_FALSE='#'
81468 else
81469 ENABLE_ALLOCATOR_NEW_TRUE='#'
81470 ENABLE_ALLOCATOR_NEW_FALSE=
81474 if test $enable_cheaders = c; then
81475 GLIBCXX_C_HEADERS_C_TRUE=
81476 GLIBCXX_C_HEADERS_C_FALSE='#'
81477 else
81478 GLIBCXX_C_HEADERS_C_TRUE='#'
81479 GLIBCXX_C_HEADERS_C_FALSE=
81483 if test $enable_cheaders = c_std; then
81484 GLIBCXX_C_HEADERS_C_STD_TRUE=
81485 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81486 else
81487 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81488 GLIBCXX_C_HEADERS_C_STD_FALSE=
81492 if test $enable_cheaders = c_global; then
81493 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81494 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81495 else
81496 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81497 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81501 if test $c_compatibility = yes; then
81502 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81503 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81504 else
81505 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81506 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81510 if test $enable_libstdcxx_debug = yes; then
81511 GLIBCXX_BUILD_DEBUG_TRUE=
81512 GLIBCXX_BUILD_DEBUG_FALSE='#'
81513 else
81514 GLIBCXX_BUILD_DEBUG_TRUE='#'
81515 GLIBCXX_BUILD_DEBUG_FALSE=
81519 if test $enable_extern_template = yes; then
81520 ENABLE_EXTERN_TEMPLATE_TRUE=
81521 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81522 else
81523 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81524 ENABLE_EXTERN_TEMPLATE_FALSE=
81528 if test $python_mod_dir != no; then
81529 ENABLE_PYTHONDIR_TRUE=
81530 ENABLE_PYTHONDIR_FALSE='#'
81531 else
81532 ENABLE_PYTHONDIR_TRUE='#'
81533 ENABLE_PYTHONDIR_FALSE=
81537 if test $enable_werror = yes; then
81538 ENABLE_WERROR_TRUE=
81539 ENABLE_WERROR_FALSE='#'
81540 else
81541 ENABLE_WERROR_TRUE='#'
81542 ENABLE_WERROR_FALSE=
81546 if test $enable_vtable_verify = yes; then
81547 ENABLE_VTABLE_VERIFY_TRUE=
81548 ENABLE_VTABLE_VERIFY_FALSE='#'
81549 else
81550 ENABLE_VTABLE_VERIFY_TRUE='#'
81551 ENABLE_VTABLE_VERIFY_FALSE=
81555 if test $enable_symvers != no; then
81556 ENABLE_SYMVERS_TRUE=
81557 ENABLE_SYMVERS_FALSE='#'
81558 else
81559 ENABLE_SYMVERS_TRUE='#'
81560 ENABLE_SYMVERS_FALSE=
81564 if test $enable_symvers = gnu; then
81565 ENABLE_SYMVERS_GNU_TRUE=
81566 ENABLE_SYMVERS_GNU_FALSE='#'
81567 else
81568 ENABLE_SYMVERS_GNU_TRUE='#'
81569 ENABLE_SYMVERS_GNU_FALSE=
81573 if test $enable_symvers = gnu-versioned-namespace; then
81574 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81575 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81576 else
81577 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81578 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81582 if test $enable_symvers = darwin; then
81583 ENABLE_SYMVERS_DARWIN_TRUE=
81584 ENABLE_SYMVERS_DARWIN_FALSE='#'
81585 else
81586 ENABLE_SYMVERS_DARWIN_TRUE='#'
81587 ENABLE_SYMVERS_DARWIN_FALSE=
81591 if test $enable_symvers = sun; then
81592 ENABLE_SYMVERS_SUN_TRUE=
81593 ENABLE_SYMVERS_SUN_FALSE='#'
81594 else
81595 ENABLE_SYMVERS_SUN_TRUE='#'
81596 ENABLE_SYMVERS_SUN_FALSE=
81600 if test $enable_libstdcxx_visibility = yes; then
81601 ENABLE_VISIBILITY_TRUE=
81602 ENABLE_VISIBILITY_FALSE='#'
81603 else
81604 ENABLE_VISIBILITY_TRUE='#'
81605 ENABLE_VISIBILITY_FALSE=
81609 if test $enable_libstdcxx_dual_abi = yes; then
81610 ENABLE_DUAL_ABI_TRUE=
81611 ENABLE_DUAL_ABI_FALSE='#'
81612 else
81613 ENABLE_DUAL_ABI_TRUE='#'
81614 ENABLE_DUAL_ABI_FALSE=
81618 if test $glibcxx_cxx11_abi = 1; then
81619 ENABLE_CXX11_ABI_TRUE=
81620 ENABLE_CXX11_ABI_FALSE='#'
81621 else
81622 ENABLE_CXX11_ABI_TRUE='#'
81623 ENABLE_CXX11_ABI_FALSE=
81627 if test $ac_ldbl_compat = yes; then
81628 GLIBCXX_LDBL_COMPAT_TRUE=
81629 GLIBCXX_LDBL_COMPAT_FALSE='#'
81630 else
81631 GLIBCXX_LDBL_COMPAT_TRUE='#'
81632 GLIBCXX_LDBL_COMPAT_FALSE=
81636 if test $enable_libstdcxx_filesystem_ts = yes; then
81637 ENABLE_FILESYSTEM_TS_TRUE=
81638 ENABLE_FILESYSTEM_TS_FALSE='#'
81639 else
81640 ENABLE_FILESYSTEM_TS_TRUE='#'
81641 ENABLE_FILESYSTEM_TS_FALSE=
81647 cat >confcache <<\_ACEOF
81648 # This file is a shell script that caches the results of configure
81649 # tests run on this system so they can be shared between configure
81650 # scripts and configure runs, see configure's option --config-cache.
81651 # It is not useful on other systems. If it contains results you don't
81652 # want to keep, you may remove or edit it.
81654 # config.status only pays attention to the cache file if you give it
81655 # the --recheck option to rerun configure.
81657 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81658 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81659 # following values.
81661 _ACEOF
81663 # The following way of writing the cache mishandles newlines in values,
81664 # but we know of no workaround that is simple, portable, and efficient.
81665 # So, we kill variables containing newlines.
81666 # Ultrix sh set writes to stderr and can't be redirected directly,
81667 # and sets the high bit in the cache file unless we assign to the vars.
81669 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81670 eval ac_val=\$$ac_var
81671 case $ac_val in #(
81672 *${as_nl}*)
81673 case $ac_var in #(
81674 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81675 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81676 esac
81677 case $ac_var in #(
81678 _ | IFS | as_nl) ;; #(
81679 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81680 *) { eval $ac_var=; unset $ac_var;} ;;
81681 esac ;;
81682 esac
81683 done
81685 (set) 2>&1 |
81686 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81687 *${as_nl}ac_space=\ *)
81688 # `set' does not quote correctly, so add quotes: double-quote
81689 # substitution turns \\\\ into \\, and sed turns \\ into \.
81690 sed -n \
81691 "s/'/'\\\\''/g;
81692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81693 ;; #(
81695 # `set' quotes correctly as required by POSIX, so do not add quotes.
81696 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81698 esac |
81699 sort
81701 sed '
81702 /^ac_cv_env_/b end
81703 t clear
81704 :clear
81705 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81706 t end
81707 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81708 :end' >>confcache
81709 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81710 if test -w "$cache_file"; then
81711 test "x$cache_file" != "x/dev/null" &&
81712 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81713 $as_echo "$as_me: updating cache $cache_file" >&6;}
81714 cat confcache >$cache_file
81715 else
81716 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81717 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81720 rm -f confcache
81722 if test ${multilib} = yes; then
81723 multilib_arg="--enable-multilib"
81724 else
81725 multilib_arg=
81728 # Export all the install information.
81730 glibcxx_toolexecdir=no
81731 glibcxx_toolexeclibdir=no
81732 glibcxx_prefixdir=$prefix
81734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81735 $as_echo_n "checking for gxx-include-dir... " >&6; }
81737 # Check whether --with-gxx-include-dir was given.
81738 if test "${with_gxx_include_dir+set}" = set; then :
81739 withval=$with_gxx_include_dir; case "$withval" in
81740 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81741 no) gxx_include_dir=no ;;
81742 *) gxx_include_dir=$withval ;;
81743 esac
81744 else
81745 gxx_include_dir=no
81748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81749 $as_echo "$gxx_include_dir" >&6; }
81751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81752 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81753 # Check whether --enable-version-specific-runtime-libs was given.
81754 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81755 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81756 yes) version_specific_libs=yes ;;
81757 no) version_specific_libs=no ;;
81758 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81759 esac
81760 else
81761 version_specific_libs=no
81764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81765 $as_echo "$version_specific_libs" >&6; }
81767 # Default case for install directory for include files.
81768 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81769 gxx_include_dir='include/c++/${gcc_version}'
81770 if test -n "$with_cross_host" &&
81771 test x"$with_cross_host" != x"no"; then
81772 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81773 else
81774 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81778 # Version-specific runtime libs processing.
81779 if test $version_specific_libs = yes; then
81780 # Need the gcc compiler version to know where to install libraries
81781 # and header files if --enable-version-specific-runtime-libs option
81782 # is selected. FIXME: these variables are misnamed, there are
81783 # no executables installed in _toolexecdir or _toolexeclibdir.
81784 if test x"$gxx_include_dir" = x"no"; then
81785 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81787 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81788 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81791 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81792 # Install a library built with a cross compiler in tooldir, not libdir.
81793 if test x"$glibcxx_toolexecdir" = x"no"; then
81794 if test -n "$with_cross_host" &&
81795 test x"$with_cross_host" != x"no"; then
81796 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81797 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81798 else
81799 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81800 glibcxx_toolexeclibdir='${libdir}'
81802 multi_os_directory=`$CXX -print-multi-os-directory`
81803 case $multi_os_directory in
81804 .) ;; # Avoid trailing /.
81805 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81806 esac
81809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81810 $as_echo_n "checking for install location... " >&6; }
81811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81812 $as_echo "$gxx_include_dir" >&6; }
81820 # Export all the include and flag information to Makefiles.
81822 # Used for every C++ compile we perform.
81823 GLIBCXX_INCLUDES="\
81824 -I$glibcxx_builddir/include/$host_alias \
81825 -I$glibcxx_builddir/include \
81826 -I$glibcxx_srcdir/libsupc++"
81828 # For Canadian crosses, pick this up too.
81829 if test $CANADIAN = yes; then
81830 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81833 # Stuff in the actual top level. Currently only used by libsupc++ to
81834 # get unwind* headers from the libgcc dir.
81835 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81836 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81838 # Now, export this to all the little Makefiles....
81843 # Optimization flags that are probably a good idea for thrill-seekers. Just
81844 # uncomment the lines below and make, everything else is ready to go...
81845 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81846 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81849 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81853 # Determine what GCC version number to use in filesystem paths.
81855 get_gcc_base_ver="cat"
81857 # Check whether --with-gcc-major-version-only was given.
81858 if test "${with_gcc_major_version_only+set}" = set; then :
81859 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81860 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81868 ac_config_files="$ac_config_files Makefile"
81870 ac_config_files="$ac_config_files scripts/testsuite_flags"
81872 ac_config_files="$ac_config_files scripts/extract_symvers"
81874 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81877 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81878 # that multilib installs will end up installed in the correct place.
81879 # The testsuite needs it for multilib-aware ABI baseline files.
81880 # To work around this not being passed down from config-ml.in ->
81881 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81882 # append it here. Only modify Makefiles that have just been created.
81884 # Also, get rid of this simulated-VPATH thing that automake does.
81885 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"
81888 ac_config_commands="$ac_config_commands generate-headers"
81891 cat >confcache <<\_ACEOF
81892 # This file is a shell script that caches the results of configure
81893 # tests run on this system so they can be shared between configure
81894 # scripts and configure runs, see configure's option --config-cache.
81895 # It is not useful on other systems. If it contains results you don't
81896 # want to keep, you may remove or edit it.
81898 # config.status only pays attention to the cache file if you give it
81899 # the --recheck option to rerun configure.
81901 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81902 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81903 # following values.
81905 _ACEOF
81907 # The following way of writing the cache mishandles newlines in values,
81908 # but we know of no workaround that is simple, portable, and efficient.
81909 # So, we kill variables containing newlines.
81910 # Ultrix sh set writes to stderr and can't be redirected directly,
81911 # and sets the high bit in the cache file unless we assign to the vars.
81913 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81914 eval ac_val=\$$ac_var
81915 case $ac_val in #(
81916 *${as_nl}*)
81917 case $ac_var in #(
81918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81920 esac
81921 case $ac_var in #(
81922 _ | IFS | as_nl) ;; #(
81923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81924 *) { eval $ac_var=; unset $ac_var;} ;;
81925 esac ;;
81926 esac
81927 done
81929 (set) 2>&1 |
81930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81931 *${as_nl}ac_space=\ *)
81932 # `set' does not quote correctly, so add quotes: double-quote
81933 # substitution turns \\\\ into \\, and sed turns \\ into \.
81934 sed -n \
81935 "s/'/'\\\\''/g;
81936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81937 ;; #(
81939 # `set' quotes correctly as required by POSIX, so do not add quotes.
81940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81942 esac |
81943 sort
81945 sed '
81946 /^ac_cv_env_/b end
81947 t clear
81948 :clear
81949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81950 t end
81951 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81952 :end' >>confcache
81953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81954 if test -w "$cache_file"; then
81955 test "x$cache_file" != "x/dev/null" &&
81956 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81957 $as_echo "$as_me: updating cache $cache_file" >&6;}
81958 cat confcache >$cache_file
81959 else
81960 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81961 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81964 rm -f confcache
81966 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81967 # Let make expand exec_prefix.
81968 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81970 DEFS=-DHAVE_CONFIG_H
81972 ac_libobjs=
81973 ac_ltlibobjs=
81974 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81975 # 1. Remove the extension, and $U if already installed.
81976 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81977 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81979 # will be set to the directory where LIBOBJS objects are built.
81980 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81981 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81982 done
81983 LIBOBJS=$ac_libobjs
81985 LTLIBOBJS=$ac_ltlibobjs
81988 if test -n "$EXEEXT"; then
81989 am__EXEEXT_TRUE=
81990 am__EXEEXT_FALSE='#'
81991 else
81992 am__EXEEXT_TRUE='#'
81993 am__EXEEXT_FALSE=
81996 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81997 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82000 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82001 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
82002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82004 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82005 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82008 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82009 as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
82010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82012 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82013 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82016 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82017 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82020 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82021 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82024 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82025 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82028 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82029 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82032 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82033 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82036 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82037 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82040 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82041 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
82042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82044 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82045 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
82046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82048 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82049 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
82050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82052 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82053 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82056 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82057 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
82058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82060 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82061 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82064 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82065 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82068 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82069 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82072 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82073 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82076 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82077 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
82078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82080 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82081 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
82082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82084 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82085 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
82086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82088 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82089 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82092 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82093 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82096 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82097 as_fn_error "conditional \"BUILD_INFO\" was never defined.
82098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82100 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82101 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
82102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82104 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82105 as_fn_error "conditional \"BUILD_XML\" was never defined.
82106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82108 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82109 as_fn_error "conditional \"BUILD_HTML\" was never defined.
82110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82112 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82113 as_fn_error "conditional \"BUILD_MAN\" was never defined.
82114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82116 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82117 as_fn_error "conditional \"BUILD_PDF\" was never defined.
82118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82120 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82121 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82125 : ${CONFIG_STATUS=./config.status}
82126 ac_write_fail=0
82127 ac_clean_files_save=$ac_clean_files
82128 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82130 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82131 as_write_fail=0
82132 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82133 #! $SHELL
82134 # Generated by $as_me.
82135 # Run this file to recreate the current configuration.
82136 # Compiler output produced by configure, useful for debugging
82137 # configure, is in config.log if it exists.
82139 debug=false
82140 ac_cs_recheck=false
82141 ac_cs_silent=false
82143 SHELL=\${CONFIG_SHELL-$SHELL}
82144 export SHELL
82145 _ASEOF
82146 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82147 ## -------------------- ##
82148 ## M4sh Initialization. ##
82149 ## -------------------- ##
82151 # Be more Bourne compatible
82152 DUALCASE=1; export DUALCASE # for MKS sh
82153 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82154 emulate sh
82155 NULLCMD=:
82156 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82157 # is contrary to our usage. Disable this feature.
82158 alias -g '${1+"$@"}'='"$@"'
82159 setopt NO_GLOB_SUBST
82160 else
82161 case `(set -o) 2>/dev/null` in #(
82162 *posix*) :
82163 set -o posix ;; #(
82164 *) :
82166 esac
82170 as_nl='
82172 export as_nl
82173 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82174 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82175 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82176 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82177 # Prefer a ksh shell builtin over an external printf program on Solaris,
82178 # but without wasting forks for bash or zsh.
82179 if test -z "$BASH_VERSION$ZSH_VERSION" \
82180 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82181 as_echo='print -r --'
82182 as_echo_n='print -rn --'
82183 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82184 as_echo='printf %s\n'
82185 as_echo_n='printf %s'
82186 else
82187 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82188 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82189 as_echo_n='/usr/ucb/echo -n'
82190 else
82191 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82192 as_echo_n_body='eval
82193 arg=$1;
82194 case $arg in #(
82195 *"$as_nl"*)
82196 expr "X$arg" : "X\\(.*\\)$as_nl";
82197 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82198 esac;
82199 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82201 export as_echo_n_body
82202 as_echo_n='sh -c $as_echo_n_body as_echo'
82204 export as_echo_body
82205 as_echo='sh -c $as_echo_body as_echo'
82208 # The user is always right.
82209 if test "${PATH_SEPARATOR+set}" != set; then
82210 PATH_SEPARATOR=:
82211 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82212 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82213 PATH_SEPARATOR=';'
82218 # IFS
82219 # We need space, tab and new line, in precisely that order. Quoting is
82220 # there to prevent editors from complaining about space-tab.
82221 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82222 # splitting by setting IFS to empty value.)
82223 IFS=" "" $as_nl"
82225 # Find who we are. Look in the path if we contain no directory separator.
82226 case $0 in #((
82227 *[\\/]* ) as_myself=$0 ;;
82228 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82229 for as_dir in $PATH
82231 IFS=$as_save_IFS
82232 test -z "$as_dir" && as_dir=.
82233 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82234 done
82235 IFS=$as_save_IFS
82238 esac
82239 # We did not find ourselves, most probably we were run as `sh COMMAND'
82240 # in which case we are not to be found in the path.
82241 if test "x$as_myself" = x; then
82242 as_myself=$0
82244 if test ! -f "$as_myself"; then
82245 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82246 exit 1
82249 # Unset variables that we do not need and which cause bugs (e.g. in
82250 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82251 # suppresses any "Segmentation fault" message there. '((' could
82252 # trigger a bug in pdksh 5.2.14.
82253 for as_var in BASH_ENV ENV MAIL MAILPATH
82254 do eval test x\${$as_var+set} = xset \
82255 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82256 done
82257 PS1='$ '
82258 PS2='> '
82259 PS4='+ '
82261 # NLS nuisances.
82262 LC_ALL=C
82263 export LC_ALL
82264 LANGUAGE=C
82265 export LANGUAGE
82267 # CDPATH.
82268 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82271 # as_fn_error ERROR [LINENO LOG_FD]
82272 # ---------------------------------
82273 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82274 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82275 # script with status $?, using 1 if that was 0.
82276 as_fn_error ()
82278 as_status=$?; test $as_status -eq 0 && as_status=1
82279 if test "$3"; then
82280 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82281 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82283 $as_echo "$as_me: error: $1" >&2
82284 as_fn_exit $as_status
82285 } # as_fn_error
82288 # as_fn_set_status STATUS
82289 # -----------------------
82290 # Set $? to STATUS, without forking.
82291 as_fn_set_status ()
82293 return $1
82294 } # as_fn_set_status
82296 # as_fn_exit STATUS
82297 # -----------------
82298 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82299 as_fn_exit ()
82301 set +e
82302 as_fn_set_status $1
82303 exit $1
82304 } # as_fn_exit
82306 # as_fn_unset VAR
82307 # ---------------
82308 # Portably unset VAR.
82309 as_fn_unset ()
82311 { eval $1=; unset $1;}
82313 as_unset=as_fn_unset
82314 # as_fn_append VAR VALUE
82315 # ----------------------
82316 # Append the text in VALUE to the end of the definition contained in VAR. Take
82317 # advantage of any shell optimizations that allow amortized linear growth over
82318 # repeated appends, instead of the typical quadratic growth present in naive
82319 # implementations.
82320 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82321 eval 'as_fn_append ()
82323 eval $1+=\$2
82325 else
82326 as_fn_append ()
82328 eval $1=\$$1\$2
82330 fi # as_fn_append
82332 # as_fn_arith ARG...
82333 # ------------------
82334 # Perform arithmetic evaluation on the ARGs, and store the result in the
82335 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82336 # must be portable across $(()) and expr.
82337 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82338 eval 'as_fn_arith ()
82340 as_val=$(( $* ))
82342 else
82343 as_fn_arith ()
82345 as_val=`expr "$@" || test $? -eq 1`
82347 fi # as_fn_arith
82350 if expr a : '\(a\)' >/dev/null 2>&1 &&
82351 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82352 as_expr=expr
82353 else
82354 as_expr=false
82357 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82358 as_basename=basename
82359 else
82360 as_basename=false
82363 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82364 as_dirname=dirname
82365 else
82366 as_dirname=false
82369 as_me=`$as_basename -- "$0" ||
82370 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82371 X"$0" : 'X\(//\)$' \| \
82372 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82373 $as_echo X/"$0" |
82374 sed '/^.*\/\([^/][^/]*\)\/*$/{
82375 s//\1/
82378 /^X\/\(\/\/\)$/{
82379 s//\1/
82382 /^X\/\(\/\).*/{
82383 s//\1/
82386 s/.*/./; q'`
82388 # Avoid depending upon Character Ranges.
82389 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82390 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82391 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82392 as_cr_digits='0123456789'
82393 as_cr_alnum=$as_cr_Letters$as_cr_digits
82395 ECHO_C= ECHO_N= ECHO_T=
82396 case `echo -n x` in #(((((
82397 -n*)
82398 case `echo 'xy\c'` in
82399 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82400 xy) ECHO_C='\c';;
82401 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82402 ECHO_T=' ';;
82403 esac;;
82405 ECHO_N='-n';;
82406 esac
82408 rm -f conf$$ conf$$.exe conf$$.file
82409 if test -d conf$$.dir; then
82410 rm -f conf$$.dir/conf$$.file
82411 else
82412 rm -f conf$$.dir
82413 mkdir conf$$.dir 2>/dev/null
82415 if (echo >conf$$.file) 2>/dev/null; then
82416 if ln -s conf$$.file conf$$ 2>/dev/null; then
82417 as_ln_s='ln -s'
82418 # ... but there are two gotchas:
82419 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82420 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82421 # In both cases, we have to default to `cp -p'.
82422 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82423 as_ln_s='cp -p'
82424 elif ln conf$$.file conf$$ 2>/dev/null; then
82425 as_ln_s=ln
82426 else
82427 as_ln_s='cp -p'
82429 else
82430 as_ln_s='cp -p'
82432 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82433 rmdir conf$$.dir 2>/dev/null
82436 # as_fn_mkdir_p
82437 # -------------
82438 # Create "$as_dir" as a directory, including parents if necessary.
82439 as_fn_mkdir_p ()
82442 case $as_dir in #(
82443 -*) as_dir=./$as_dir;;
82444 esac
82445 test -d "$as_dir" || eval $as_mkdir_p || {
82446 as_dirs=
82447 while :; do
82448 case $as_dir in #(
82449 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82450 *) as_qdir=$as_dir;;
82451 esac
82452 as_dirs="'$as_qdir' $as_dirs"
82453 as_dir=`$as_dirname -- "$as_dir" ||
82454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82455 X"$as_dir" : 'X\(//\)[^/]' \| \
82456 X"$as_dir" : 'X\(//\)$' \| \
82457 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82458 $as_echo X"$as_dir" |
82459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82460 s//\1/
82463 /^X\(\/\/\)[^/].*/{
82464 s//\1/
82467 /^X\(\/\/\)$/{
82468 s//\1/
82471 /^X\(\/\).*/{
82472 s//\1/
82475 s/.*/./; q'`
82476 test -d "$as_dir" && break
82477 done
82478 test -z "$as_dirs" || eval "mkdir $as_dirs"
82479 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82482 } # as_fn_mkdir_p
82483 if mkdir -p . 2>/dev/null; then
82484 as_mkdir_p='mkdir -p "$as_dir"'
82485 else
82486 test -d ./-p && rmdir ./-p
82487 as_mkdir_p=false
82490 if test -x / >/dev/null 2>&1; then
82491 as_test_x='test -x'
82492 else
82493 if ls -dL / >/dev/null 2>&1; then
82494 as_ls_L_option=L
82495 else
82496 as_ls_L_option=
82498 as_test_x='
82499 eval sh -c '\''
82500 if test -d "$1"; then
82501 test -d "$1/.";
82502 else
82503 case $1 in #(
82504 -*)set "./$1";;
82505 esac;
82506 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82507 ???[sx]*):;;*)false;;esac;fi
82508 '\'' sh
82511 as_executable_p=$as_test_x
82513 # Sed expression to map a string onto a valid CPP name.
82514 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82516 # Sed expression to map a string onto a valid variable name.
82517 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82520 exec 6>&1
82521 ## ----------------------------------- ##
82522 ## Main body of $CONFIG_STATUS script. ##
82523 ## ----------------------------------- ##
82524 _ASEOF
82525 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82528 # Save the log message, to keep $0 and so on meaningful, and to
82529 # report actual input values of CONFIG_FILES etc. instead of their
82530 # values after options handling.
82531 ac_log="
82532 This file was extended by package-unused $as_me version-unused, which was
82533 generated by GNU Autoconf 2.64. Invocation command line was
82535 CONFIG_FILES = $CONFIG_FILES
82536 CONFIG_HEADERS = $CONFIG_HEADERS
82537 CONFIG_LINKS = $CONFIG_LINKS
82538 CONFIG_COMMANDS = $CONFIG_COMMANDS
82539 $ $0 $@
82541 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82544 _ACEOF
82546 case $ac_config_files in *"
82547 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82548 esac
82550 case $ac_config_headers in *"
82551 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82552 esac
82555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82556 # Files that config.status was made for.
82557 config_files="$ac_config_files"
82558 config_headers="$ac_config_headers"
82559 config_commands="$ac_config_commands"
82561 _ACEOF
82563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82564 ac_cs_usage="\
82565 \`$as_me' instantiates files and other configuration actions
82566 from templates according to the current configuration. Unless the files
82567 and actions are specified as TAGs, all are instantiated by default.
82569 Usage: $0 [OPTION]... [TAG]...
82571 -h, --help print this help, then exit
82572 -V, --version print version number and configuration settings, then exit
82573 -q, --quiet, --silent
82574 do not print progress messages
82575 -d, --debug don't remove temporary files
82576 --recheck update $as_me by reconfiguring in the same conditions
82577 --file=FILE[:TEMPLATE]
82578 instantiate the configuration file FILE
82579 --header=FILE[:TEMPLATE]
82580 instantiate the configuration header FILE
82582 Configuration files:
82583 $config_files
82585 Configuration headers:
82586 $config_headers
82588 Configuration commands:
82589 $config_commands
82591 Report bugs to the package provider."
82593 _ACEOF
82594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82595 ac_cs_version="\\
82596 package-unused config.status version-unused
82597 configured by $0, generated by GNU Autoconf 2.64,
82598 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82600 Copyright (C) 2009 Free Software Foundation, Inc.
82601 This config.status script is free software; the Free Software Foundation
82602 gives unlimited permission to copy, distribute and modify it."
82604 ac_pwd='$ac_pwd'
82605 srcdir='$srcdir'
82606 INSTALL='$INSTALL'
82607 MKDIR_P='$MKDIR_P'
82608 AWK='$AWK'
82609 test -n "\$AWK" || AWK=awk
82610 _ACEOF
82612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82613 # The default lists apply if the user does not specify any file.
82614 ac_need_defaults=:
82615 while test $# != 0
82617 case $1 in
82618 --*=*)
82619 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82620 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82621 ac_shift=:
82624 ac_option=$1
82625 ac_optarg=$2
82626 ac_shift=shift
82628 esac
82630 case $ac_option in
82631 # Handling of the options.
82632 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82633 ac_cs_recheck=: ;;
82634 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82635 $as_echo "$ac_cs_version"; exit ;;
82636 --debug | --debu | --deb | --de | --d | -d )
82637 debug=: ;;
82638 --file | --fil | --fi | --f )
82639 $ac_shift
82640 case $ac_optarg in
82641 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82642 esac
82643 as_fn_append CONFIG_FILES " '$ac_optarg'"
82644 ac_need_defaults=false;;
82645 --header | --heade | --head | --hea )
82646 $ac_shift
82647 case $ac_optarg in
82648 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82649 esac
82650 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82651 ac_need_defaults=false;;
82652 --he | --h)
82653 # Conflict between --help and --header
82654 as_fn_error "ambiguous option: \`$1'
82655 Try \`$0 --help' for more information.";;
82656 --help | --hel | -h )
82657 $as_echo "$ac_cs_usage"; exit ;;
82658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82659 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82660 ac_cs_silent=: ;;
82662 # This is an error.
82663 -*) as_fn_error "unrecognized option: \`$1'
82664 Try \`$0 --help' for more information." ;;
82666 *) as_fn_append ac_config_targets " $1"
82667 ac_need_defaults=false ;;
82669 esac
82670 shift
82671 done
82673 ac_configure_extra_args=
82675 if $ac_cs_silent; then
82676 exec 6>/dev/null
82677 ac_configure_extra_args="$ac_configure_extra_args --silent"
82680 _ACEOF
82681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82682 if \$ac_cs_recheck; then
82683 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82684 shift
82685 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82686 CONFIG_SHELL='$SHELL'
82687 export CONFIG_SHELL
82688 exec "\$@"
82691 _ACEOF
82692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82693 exec 5>>config.log
82695 echo
82696 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82697 ## Running $as_me. ##
82698 _ASBOX
82699 $as_echo "$ac_log"
82700 } >&5
82702 _ACEOF
82703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82705 # INIT-COMMANDS
82708 srcdir="$srcdir"
82709 host="$host"
82710 target="$target"
82711 with_multisubdir="$with_multisubdir"
82712 with_multisrctop="$with_multisrctop"
82713 with_target_subdir="$with_target_subdir"
82714 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82715 multi_basedir="$multi_basedir"
82716 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82717 CC="$CC"
82718 CXX="$CXX"
82719 GFORTRAN="$GFORTRAN"
82722 # The HP-UX ksh and POSIX shell print the target directory to stdout
82723 # if CDPATH is set.
82724 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82726 sed_quote_subst='$sed_quote_subst'
82727 double_quote_subst='$double_quote_subst'
82728 delay_variable_subst='$delay_variable_subst'
82729 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82730 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82731 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82732 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82733 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82734 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82735 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82736 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82737 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82738 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82739 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82740 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82741 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82742 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82743 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82744 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82745 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82746 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82747 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82748 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82749 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82750 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82751 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82752 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82753 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82754 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82755 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82756 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82757 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82758 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82759 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82760 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82761 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82762 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82763 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82764 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82765 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82766 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82767 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82768 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82769 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82770 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82771 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82772 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82773 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82774 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82775 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82776 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82777 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"`'
82778 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82779 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82780 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82781 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82782 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82783 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82784 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82785 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82786 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82787 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82788 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82789 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82790 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82791 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82792 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82793 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82794 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82795 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82796 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82797 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82798 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82799 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82800 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82801 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82802 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82803 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82804 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82805 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82806 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82807 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82808 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82809 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82810 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82811 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82812 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82813 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82814 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82815 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82816 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82817 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82818 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82819 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82820 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82821 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82822 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82823 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82824 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82825 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82826 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82827 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82828 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82829 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82830 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82831 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82832 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82833 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82834 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82835 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82836 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82837 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82838 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82839 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82840 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82841 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82842 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82843 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82844 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82845 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82846 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82847 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82848 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82849 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82850 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82851 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82852 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82853 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82854 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82855 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82856 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82857 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82858 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82859 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82860 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82861 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82862 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82863 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82864 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82865 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82866 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82867 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82868 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82869 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82870 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82871 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82872 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82873 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82874 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82875 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82876 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82877 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82878 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82879 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82880 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82881 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82882 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82883 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82884 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82885 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82886 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82887 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82888 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82889 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82890 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82891 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82892 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82893 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82894 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82895 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82896 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82897 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82898 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82899 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82900 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82901 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82902 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82903 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82905 LTCC='$LTCC'
82906 LTCFLAGS='$LTCFLAGS'
82907 compiler='$compiler_DEFAULT'
82909 # A function that is used when there is no print builtin or printf.
82910 func_fallback_echo ()
82912 eval 'cat <<_LTECHO_EOF
82914 _LTECHO_EOF'
82917 # Quote evaled strings.
82918 for var in SHELL \
82919 ECHO \
82920 SED \
82921 GREP \
82922 EGREP \
82923 FGREP \
82924 LD \
82925 NM \
82926 LN_S \
82927 lt_SP2NL \
82928 lt_NL2SP \
82929 reload_flag \
82930 OBJDUMP \
82931 deplibs_check_method \
82932 file_magic_cmd \
82933 AR \
82934 AR_FLAGS \
82935 STRIP \
82936 RANLIB \
82937 CC \
82938 CFLAGS \
82939 compiler \
82940 lt_cv_sys_global_symbol_pipe \
82941 lt_cv_sys_global_symbol_to_cdecl \
82942 lt_cv_sys_global_symbol_to_c_name_address \
82943 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82944 lt_prog_compiler_no_builtin_flag \
82945 lt_prog_compiler_wl \
82946 lt_prog_compiler_pic \
82947 lt_prog_compiler_static \
82948 lt_cv_prog_compiler_c_o \
82949 need_locks \
82950 DSYMUTIL \
82951 NMEDIT \
82952 LIPO \
82953 OTOOL \
82954 OTOOL64 \
82955 shrext_cmds \
82956 export_dynamic_flag_spec \
82957 whole_archive_flag_spec \
82958 compiler_needs_object \
82959 with_gnu_ld \
82960 allow_undefined_flag \
82961 no_undefined_flag \
82962 hardcode_libdir_flag_spec \
82963 hardcode_libdir_flag_spec_ld \
82964 hardcode_libdir_separator \
82965 fix_srcfile_path \
82966 exclude_expsyms \
82967 include_expsyms \
82968 file_list_spec \
82969 variables_saved_for_relink \
82970 libname_spec \
82971 library_names_spec \
82972 soname_spec \
82973 install_override_mode \
82974 finish_eval \
82975 old_striplib \
82976 striplib \
82977 compiler_lib_search_dirs \
82978 predep_objects \
82979 postdep_objects \
82980 predeps \
82981 postdeps \
82982 compiler_lib_search_path \
82983 LD_CXX \
82984 reload_flag_CXX \
82985 compiler_CXX \
82986 lt_prog_compiler_no_builtin_flag_CXX \
82987 lt_prog_compiler_wl_CXX \
82988 lt_prog_compiler_pic_CXX \
82989 lt_prog_compiler_static_CXX \
82990 lt_cv_prog_compiler_c_o_CXX \
82991 export_dynamic_flag_spec_CXX \
82992 whole_archive_flag_spec_CXX \
82993 compiler_needs_object_CXX \
82994 with_gnu_ld_CXX \
82995 allow_undefined_flag_CXX \
82996 no_undefined_flag_CXX \
82997 hardcode_libdir_flag_spec_CXX \
82998 hardcode_libdir_flag_spec_ld_CXX \
82999 hardcode_libdir_separator_CXX \
83000 fix_srcfile_path_CXX \
83001 exclude_expsyms_CXX \
83002 include_expsyms_CXX \
83003 file_list_spec_CXX \
83004 compiler_lib_search_dirs_CXX \
83005 predep_objects_CXX \
83006 postdep_objects_CXX \
83007 predeps_CXX \
83008 postdeps_CXX \
83009 compiler_lib_search_path_CXX; do
83010 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83011 *[\\\\\\\`\\"\\\$]*)
83012 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83015 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83017 esac
83018 done
83020 # Double-quote double-evaled strings.
83021 for var in reload_cmds \
83022 old_postinstall_cmds \
83023 old_postuninstall_cmds \
83024 old_archive_cmds \
83025 extract_expsyms_cmds \
83026 old_archive_from_new_cmds \
83027 old_archive_from_expsyms_cmds \
83028 archive_cmds \
83029 archive_expsym_cmds \
83030 module_cmds \
83031 module_expsym_cmds \
83032 export_symbols_cmds \
83033 prelink_cmds \
83034 postinstall_cmds \
83035 postuninstall_cmds \
83036 finish_cmds \
83037 sys_lib_search_path_spec \
83038 sys_lib_dlsearch_path_spec \
83039 reload_cmds_CXX \
83040 old_archive_cmds_CXX \
83041 old_archive_from_new_cmds_CXX \
83042 old_archive_from_expsyms_cmds_CXX \
83043 archive_cmds_CXX \
83044 archive_expsym_cmds_CXX \
83045 module_cmds_CXX \
83046 module_expsym_cmds_CXX \
83047 export_symbols_cmds_CXX \
83048 prelink_cmds_CXX; do
83049 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83050 *[\\\\\\\`\\"\\\$]*)
83051 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83054 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83056 esac
83057 done
83059 ac_aux_dir='$ac_aux_dir'
83060 xsi_shell='$xsi_shell'
83061 lt_shell_append='$lt_shell_append'
83063 # See if we are running on zsh, and set the options which allow our
83064 # commands through without removal of \ escapes INIT.
83065 if test -n "\${ZSH_VERSION+set}" ; then
83066 setopt NO_GLOB_SUBST
83070 PACKAGE='$PACKAGE'
83071 VERSION='$VERSION'
83072 TIMESTAMP='$TIMESTAMP'
83073 RM='$RM'
83074 ofile='$ofile'
83081 GCC="$GCC"
83082 CC="$CC"
83083 acx_cv_header_stdint="$acx_cv_header_stdint"
83084 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83085 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83086 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83087 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83088 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83089 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83090 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83091 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83092 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83093 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83094 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83095 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83096 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83099 _ACEOF
83101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83103 # Handling of arguments.
83104 for ac_config_target in $ac_config_targets
83106 case $ac_config_target in
83107 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83108 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83109 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83110 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83111 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83112 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83113 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83114 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83115 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83116 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83117 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83118 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83119 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83120 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83121 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83122 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83123 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83124 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83125 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83127 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83128 esac
83129 done
83132 # If the user did not use the arguments to specify the items to instantiate,
83133 # then the envvar interface is used. Set only those that are not.
83134 # We use the long form for the default assignment because of an extremely
83135 # bizarre bug on SunOS 4.1.3.
83136 if $ac_need_defaults; then
83137 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83138 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83139 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83142 # Have a temporary directory for convenience. Make it in the build tree
83143 # simply because there is no reason against having it here, and in addition,
83144 # creating and moving files from /tmp can sometimes cause problems.
83145 # Hook for its removal unless debugging.
83146 # Note that there is a small window in which the directory will not be cleaned:
83147 # after its creation but before its name has been assigned to `$tmp'.
83148 $debug ||
83150 tmp=
83151 trap 'exit_status=$?
83152 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
83154 trap 'as_fn_exit 1' 1 2 13 15
83156 # Create a (secure) tmp directory for tmp files.
83159 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83160 test -n "$tmp" && test -d "$tmp"
83161 } ||
83163 tmp=./conf$$-$RANDOM
83164 (umask 077 && mkdir "$tmp")
83165 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
83167 # Set up the scripts for CONFIG_FILES section.
83168 # No need to generate them if there are no CONFIG_FILES.
83169 # This happens for instance with `./config.status config.h'.
83170 if test -n "$CONFIG_FILES"; then
83173 ac_cr=`echo X | tr X '\015'`
83174 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83175 # But we know of no other shell where ac_cr would be empty at this
83176 # point, so we can use a bashism as a fallback.
83177 if test "x$ac_cr" = x; then
83178 eval ac_cr=\$\'\\r\'
83180 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83181 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83182 ac_cs_awk_cr='\r'
83183 else
83184 ac_cs_awk_cr=$ac_cr
83187 echo 'BEGIN {' >"$tmp/subs1.awk" &&
83188 _ACEOF
83192 echo "cat >conf$$subs.awk <<_ACEOF" &&
83193 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83194 echo "_ACEOF"
83195 } >conf$$subs.sh ||
83196 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
83198 ac_delim='%!_!# '
83199 for ac_last_try in false false false false false :; do
83200 . ./conf$$subs.sh ||
83201 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83203 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83204 if test $ac_delim_n = $ac_delim_num; then
83205 break
83206 elif $ac_last_try; then
83207 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83208 else
83209 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83211 done
83212 rm -f conf$$subs.sh
83214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83215 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83216 _ACEOF
83217 sed -n '
83219 s/^/S["/; s/!.*/"]=/
83222 s/^[^!]*!//
83223 :repl
83224 t repl
83225 s/'"$ac_delim"'$//
83226 t delim
83229 s/\(.\{148\}\).*/\1/
83230 t more1
83231 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83234 b repl
83235 :more1
83236 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83239 s/.\{148\}//
83240 t nl
83241 :delim
83243 s/\(.\{148\}\).*/\1/
83244 t more2
83245 s/["\\]/\\&/g; s/^/"/; s/$/"/
83248 :more2
83249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83252 s/.\{148\}//
83253 t delim
83254 ' <conf$$subs.awk | sed '
83255 /^[^""]/{
83257 s/\n//
83259 ' >>$CONFIG_STATUS || ac_write_fail=1
83260 rm -f conf$$subs.awk
83261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83262 _ACAWK
83263 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83264 for (key in S) S_is_set[key] = 1
83265 FS = "\a"
83269 line = $ 0
83270 nfields = split(line, field, "@")
83271 substed = 0
83272 len = length(field[1])
83273 for (i = 2; i < nfields; i++) {
83274 key = field[i]
83275 keylen = length(key)
83276 if (S_is_set[key]) {
83277 value = S[key]
83278 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83279 len += length(value) + length(field[++i])
83280 substed = 1
83281 } else
83282 len += 1 + keylen
83285 print line
83288 _ACAWK
83289 _ACEOF
83290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83291 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83292 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83293 else
83295 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83296 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83297 _ACEOF
83299 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83300 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83301 # trailing colons and then remove the whole line if VPATH becomes empty
83302 # (actually we leave an empty line to preserve line numbers).
83303 if test "x$srcdir" = x.; then
83304 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83305 s/:*\$(srcdir):*/:/
83306 s/:*\${srcdir}:*/:/
83307 s/:*@srcdir@:*/:/
83308 s/^\([^=]*=[ ]*\):*/\1/
83309 s/:*$//
83310 s/^[^=]*=[ ]*$//
83314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83315 fi # test -n "$CONFIG_FILES"
83317 # Set up the scripts for CONFIG_HEADERS section.
83318 # No need to generate them if there are no CONFIG_HEADERS.
83319 # This happens for instance with `./config.status Makefile'.
83320 if test -n "$CONFIG_HEADERS"; then
83321 cat >"$tmp/defines.awk" <<\_ACAWK ||
83322 BEGIN {
83323 _ACEOF
83325 # Transform confdefs.h into an awk script `defines.awk', embedded as
83326 # here-document in config.status, that substitutes the proper values into
83327 # config.h.in to produce config.h.
83329 # Create a delimiter string that does not exist in confdefs.h, to ease
83330 # handling of long lines.
83331 ac_delim='%!_!# '
83332 for ac_last_try in false false :; do
83333 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83334 if test -z "$ac_t"; then
83335 break
83336 elif $ac_last_try; then
83337 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83338 else
83339 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83341 done
83343 # For the awk script, D is an array of macro values keyed by name,
83344 # likewise P contains macro parameters if any. Preserve backslash
83345 # newline sequences.
83347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83348 sed -n '
83349 s/.\{148\}/&'"$ac_delim"'/g
83350 t rset
83351 :rset
83352 s/^[ ]*#[ ]*define[ ][ ]*/ /
83353 t def
83355 :def
83356 s/\\$//
83357 t bsnl
83358 s/["\\]/\\&/g
83359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83360 D["\1"]=" \3"/p
83361 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83363 :bsnl
83364 s/["\\]/\\&/g
83365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83366 D["\1"]=" \3\\\\\\n"\\/p
83367 t cont
83368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83369 t cont
83371 :cont
83373 s/.\{148\}/&'"$ac_delim"'/g
83374 t clear
83375 :clear
83376 s/\\$//
83377 t bsnlc
83378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83380 :bsnlc
83381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83382 b cont
83383 ' <confdefs.h | sed '
83384 s/'"$ac_delim"'/"\\\
83385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83388 for (key in D) D_is_set[key] = 1
83389 FS = "\a"
83391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83392 line = \$ 0
83393 split(line, arg, " ")
83394 if (arg[1] == "#") {
83395 defundef = arg[2]
83396 mac1 = arg[3]
83397 } else {
83398 defundef = substr(arg[1], 2)
83399 mac1 = arg[2]
83401 split(mac1, mac2, "(") #)
83402 macro = mac2[1]
83403 prefix = substr(line, 1, index(line, defundef) - 1)
83404 if (D_is_set[macro]) {
83405 # Preserve the white space surrounding the "#".
83406 print prefix "define", macro P[macro] D[macro]
83407 next
83408 } else {
83409 # Replace #undef with comments. This is necessary, for example,
83410 # in the case of _POSIX_SOURCE, which is predefined and required
83411 # on some systems where configure will not decide to define it.
83412 if (defundef == "undef") {
83413 print "/*", prefix defundef, macro, "*/"
83414 next
83418 { print }
83419 _ACAWK
83420 _ACEOF
83421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83422 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83423 fi # test -n "$CONFIG_HEADERS"
83426 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83427 shift
83428 for ac_tag
83430 case $ac_tag in
83431 :[FHLC]) ac_mode=$ac_tag; continue;;
83432 esac
83433 case $ac_mode$ac_tag in
83434 :[FHL]*:*);;
83435 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83436 :[FH]-) ac_tag=-:-;;
83437 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83438 esac
83439 ac_save_IFS=$IFS
83440 IFS=:
83441 set x $ac_tag
83442 IFS=$ac_save_IFS
83443 shift
83444 ac_file=$1
83445 shift
83447 case $ac_mode in
83448 :L) ac_source=$1;;
83449 :[FH])
83450 ac_file_inputs=
83451 for ac_f
83453 case $ac_f in
83454 -) ac_f="$tmp/stdin";;
83455 *) # Look for the file first in the build tree, then in the source tree
83456 # (if the path is not absolute). The absolute path cannot be DOS-style,
83457 # because $ac_f cannot contain `:'.
83458 test -f "$ac_f" ||
83459 case $ac_f in
83460 [\\/$]*) false;;
83461 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83462 esac ||
83463 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83464 esac
83465 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83466 as_fn_append ac_file_inputs " '$ac_f'"
83467 done
83469 # Let's still pretend it is `configure' which instantiates (i.e., don't
83470 # use $as_me), people would be surprised to read:
83471 # /* config.h. Generated by config.status. */
83472 configure_input='Generated from '`
83473 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83474 `' by configure.'
83475 if test x"$ac_file" != x-; then
83476 configure_input="$ac_file. $configure_input"
83477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83478 $as_echo "$as_me: creating $ac_file" >&6;}
83480 # Neutralize special characters interpreted by sed in replacement strings.
83481 case $configure_input in #(
83482 *\&* | *\|* | *\\* )
83483 ac_sed_conf_input=`$as_echo "$configure_input" |
83484 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83485 *) ac_sed_conf_input=$configure_input;;
83486 esac
83488 case $ac_tag in
83489 *:-:* | *:-) cat >"$tmp/stdin" \
83490 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83491 esac
83493 esac
83495 ac_dir=`$as_dirname -- "$ac_file" ||
83496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83497 X"$ac_file" : 'X\(//\)[^/]' \| \
83498 X"$ac_file" : 'X\(//\)$' \| \
83499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83500 $as_echo X"$ac_file" |
83501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83502 s//\1/
83505 /^X\(\/\/\)[^/].*/{
83506 s//\1/
83509 /^X\(\/\/\)$/{
83510 s//\1/
83513 /^X\(\/\).*/{
83514 s//\1/
83517 s/.*/./; q'`
83518 as_dir="$ac_dir"; as_fn_mkdir_p
83519 ac_builddir=.
83521 case "$ac_dir" in
83522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83524 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83525 # A ".." for each directory in $ac_dir_suffix.
83526 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83527 case $ac_top_builddir_sub in
83528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83530 esac ;;
83531 esac
83532 ac_abs_top_builddir=$ac_pwd
83533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83534 # for backward compatibility:
83535 ac_top_builddir=$ac_top_build_prefix
83537 case $srcdir in
83538 .) # We are building in place.
83539 ac_srcdir=.
83540 ac_top_srcdir=$ac_top_builddir_sub
83541 ac_abs_top_srcdir=$ac_pwd ;;
83542 [\\/]* | ?:[\\/]* ) # Absolute name.
83543 ac_srcdir=$srcdir$ac_dir_suffix;
83544 ac_top_srcdir=$srcdir
83545 ac_abs_top_srcdir=$srcdir ;;
83546 *) # Relative name.
83547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83548 ac_top_srcdir=$ac_top_build_prefix$srcdir
83549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83550 esac
83551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83554 case $ac_mode in
83557 # CONFIG_FILE
83560 case $INSTALL in
83561 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83562 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83563 esac
83564 ac_MKDIR_P=$MKDIR_P
83565 case $MKDIR_P in
83566 [\\/$]* | ?:[\\/]* ) ;;
83567 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83568 esac
83569 _ACEOF
83571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83572 # If the template does not know about datarootdir, expand it.
83573 # FIXME: This hack should be removed a few years after 2.60.
83574 ac_datarootdir_hack=; ac_datarootdir_seen=
83575 ac_sed_dataroot='
83576 /datarootdir/ {
83580 /@datadir@/p
83581 /@docdir@/p
83582 /@infodir@/p
83583 /@localedir@/p
83584 /@mandir@/p'
83585 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83586 *datarootdir*) ac_datarootdir_seen=yes;;
83587 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83589 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83590 _ACEOF
83591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83592 ac_datarootdir_hack='
83593 s&@datadir@&$datadir&g
83594 s&@docdir@&$docdir&g
83595 s&@infodir@&$infodir&g
83596 s&@localedir@&$localedir&g
83597 s&@mandir@&$mandir&g
83598 s&\\\${datarootdir}&$datarootdir&g' ;;
83599 esac
83600 _ACEOF
83602 # Neutralize VPATH when `$srcdir' = `.'.
83603 # Shell code in configure.ac might set extrasub.
83604 # FIXME: do we really want to maintain this feature?
83605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83606 ac_sed_extra="$ac_vpsub
83607 $extrasub
83608 _ACEOF
83609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83611 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83612 s|@configure_input@|$ac_sed_conf_input|;t t
83613 s&@top_builddir@&$ac_top_builddir_sub&;t t
83614 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83615 s&@srcdir@&$ac_srcdir&;t t
83616 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83617 s&@top_srcdir@&$ac_top_srcdir&;t t
83618 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83619 s&@builddir@&$ac_builddir&;t t
83620 s&@abs_builddir@&$ac_abs_builddir&;t t
83621 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83622 s&@INSTALL@&$ac_INSTALL&;t t
83623 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83624 $ac_datarootdir_hack
83626 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83627 || as_fn_error "could not create $ac_file" "$LINENO" 5
83629 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83630 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83631 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83633 which seems to be undefined. Please make sure it is defined." >&5
83634 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83635 which seems to be undefined. Please make sure it is defined." >&2;}
83637 rm -f "$tmp/stdin"
83638 case $ac_file in
83639 -) cat "$tmp/out" && rm -f "$tmp/out";;
83640 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83641 esac \
83642 || as_fn_error "could not create $ac_file" "$LINENO" 5
83646 # CONFIG_HEADER
83648 if test x"$ac_file" != x-; then
83650 $as_echo "/* $configure_input */" \
83651 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83652 } >"$tmp/config.h" \
83653 || as_fn_error "could not create $ac_file" "$LINENO" 5
83654 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83655 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83656 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83657 else
83658 rm -f "$ac_file"
83659 mv "$tmp/config.h" "$ac_file" \
83660 || as_fn_error "could not create $ac_file" "$LINENO" 5
83662 else
83663 $as_echo "/* $configure_input */" \
83664 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83665 || as_fn_error "could not create -" "$LINENO" 5
83667 # Compute "$ac_file"'s index in $config_headers.
83668 _am_arg="$ac_file"
83669 _am_stamp_count=1
83670 for _am_header in $config_headers :; do
83671 case $_am_header in
83672 $_am_arg | $_am_arg:* )
83673 break ;;
83675 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83676 esac
83677 done
83678 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83679 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83680 X"$_am_arg" : 'X\(//\)[^/]' \| \
83681 X"$_am_arg" : 'X\(//\)$' \| \
83682 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83683 $as_echo X"$_am_arg" |
83684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83685 s//\1/
83688 /^X\(\/\/\)[^/].*/{
83689 s//\1/
83692 /^X\(\/\/\)$/{
83693 s//\1/
83696 /^X\(\/\).*/{
83697 s//\1/
83700 s/.*/./; q'`/stamp-h$_am_stamp_count
83703 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83704 $as_echo "$as_me: executing $ac_file commands" >&6;}
83706 esac
83709 case $ac_file$ac_mode in
83710 "default-1":C)
83711 # Only add multilib support code if we just rebuilt the top-level
83712 # Makefile.
83713 case " $CONFIG_FILES " in
83714 *" Makefile "*)
83715 ac_file=Makefile . ${multi_basedir}/config-ml.in
83717 esac ;;
83718 "libtool":C)
83720 # See if we are running on zsh, and set the options which allow our
83721 # commands through without removal of \ escapes.
83722 if test -n "${ZSH_VERSION+set}" ; then
83723 setopt NO_GLOB_SUBST
83726 cfgfile="${ofile}T"
83727 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83728 $RM "$cfgfile"
83730 cat <<_LT_EOF >> "$cfgfile"
83731 #! $SHELL
83733 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83734 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83735 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83736 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83738 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83739 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83740 # Written by Gordon Matzigkeit, 1996
83742 # This file is part of GNU Libtool.
83744 # GNU Libtool is free software; you can redistribute it and/or
83745 # modify it under the terms of the GNU General Public License as
83746 # published by the Free Software Foundation; either version 2 of
83747 # the License, or (at your option) any later version.
83749 # As a special exception to the GNU General Public License,
83750 # if you distribute this file as part of a program or library that
83751 # is built using GNU Libtool, you may include this file under the
83752 # same distribution terms that you use for the rest of that program.
83754 # GNU Libtool is distributed in the hope that it will be useful,
83755 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83756 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83757 # GNU General Public License for more details.
83759 # You should have received a copy of the GNU General Public License
83760 # along with GNU Libtool; see the file COPYING. If not, a copy
83761 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83762 # obtained by writing to the Free Software Foundation, Inc.,
83763 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83766 # The names of the tagged configurations supported by this script.
83767 available_tags="CXX "
83769 # ### BEGIN LIBTOOL CONFIG
83771 # Which release of libtool.m4 was used?
83772 macro_version=$macro_version
83773 macro_revision=$macro_revision
83775 # Whether or not to build shared libraries.
83776 build_libtool_libs=$enable_shared
83778 # Whether or not to build static libraries.
83779 build_old_libs=$enable_static
83781 # What type of objects to build.
83782 pic_mode=$pic_mode
83784 # Whether or not to optimize for fast installation.
83785 fast_install=$enable_fast_install
83787 # Shell to use when invoking shell scripts.
83788 SHELL=$lt_SHELL
83790 # An echo program that protects backslashes.
83791 ECHO=$lt_ECHO
83793 # The host system.
83794 host_alias=$host_alias
83795 host=$host
83796 host_os=$host_os
83798 # The build system.
83799 build_alias=$build_alias
83800 build=$build
83801 build_os=$build_os
83803 # A sed program that does not truncate output.
83804 SED=$lt_SED
83806 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83807 Xsed="\$SED -e 1s/^X//"
83809 # A grep program that handles long lines.
83810 GREP=$lt_GREP
83812 # An ERE matcher.
83813 EGREP=$lt_EGREP
83815 # A literal string matcher.
83816 FGREP=$lt_FGREP
83818 # A BSD- or MS-compatible name lister.
83819 NM=$lt_NM
83821 # Whether we need soft or hard links.
83822 LN_S=$lt_LN_S
83824 # What is the maximum length of a command?
83825 max_cmd_len=$max_cmd_len
83827 # Object file suffix (normally "o").
83828 objext=$ac_objext
83830 # Executable file suffix (normally "").
83831 exeext=$exeext
83833 # whether the shell understands "unset".
83834 lt_unset=$lt_unset
83836 # turn spaces into newlines.
83837 SP2NL=$lt_lt_SP2NL
83839 # turn newlines into spaces.
83840 NL2SP=$lt_lt_NL2SP
83842 # An object symbol dumper.
83843 OBJDUMP=$lt_OBJDUMP
83845 # Method to check whether dependent libraries are shared objects.
83846 deplibs_check_method=$lt_deplibs_check_method
83848 # Command to use when deplibs_check_method == "file_magic".
83849 file_magic_cmd=$lt_file_magic_cmd
83851 # The archiver.
83852 AR=$lt_AR
83853 AR_FLAGS=$lt_AR_FLAGS
83855 # A symbol stripping program.
83856 STRIP=$lt_STRIP
83858 # Commands used to install an old-style archive.
83859 RANLIB=$lt_RANLIB
83860 old_postinstall_cmds=$lt_old_postinstall_cmds
83861 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83863 # Whether to use a lock for old archive extraction.
83864 lock_old_archive_extraction=$lock_old_archive_extraction
83866 # A C compiler.
83867 LTCC=$lt_CC
83869 # LTCC compiler flags.
83870 LTCFLAGS=$lt_CFLAGS
83872 # Take the output of nm and produce a listing of raw symbols and C names.
83873 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83875 # Transform the output of nm in a proper C declaration.
83876 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83878 # Transform the output of nm in a C name address pair.
83879 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83881 # Transform the output of nm in a C name address pair when lib prefix is needed.
83882 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83884 # The name of the directory that contains temporary libtool files.
83885 objdir=$objdir
83887 # Used to examine libraries when file_magic_cmd begins with "file".
83888 MAGIC_CMD=$MAGIC_CMD
83890 # Must we lock files when doing compilation?
83891 need_locks=$lt_need_locks
83893 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83894 DSYMUTIL=$lt_DSYMUTIL
83896 # Tool to change global to local symbols on Mac OS X.
83897 NMEDIT=$lt_NMEDIT
83899 # Tool to manipulate fat objects and archives on Mac OS X.
83900 LIPO=$lt_LIPO
83902 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83903 OTOOL=$lt_OTOOL
83905 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83906 OTOOL64=$lt_OTOOL64
83908 # Old archive suffix (normally "a").
83909 libext=$libext
83911 # Shared library suffix (normally ".so").
83912 shrext_cmds=$lt_shrext_cmds
83914 # The commands to extract the exported symbol list from a shared archive.
83915 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83917 # Variables whose values should be saved in libtool wrapper scripts and
83918 # restored at link time.
83919 variables_saved_for_relink=$lt_variables_saved_for_relink
83921 # Do we need the "lib" prefix for modules?
83922 need_lib_prefix=$need_lib_prefix
83924 # Do we need a version for libraries?
83925 need_version=$need_version
83927 # Library versioning type.
83928 version_type=$version_type
83930 # Shared library runtime path variable.
83931 runpath_var=$runpath_var
83933 # Shared library path variable.
83934 shlibpath_var=$shlibpath_var
83936 # Is shlibpath searched before the hard-coded library search path?
83937 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83939 # Format of library name prefix.
83940 libname_spec=$lt_libname_spec
83942 # List of archive names. First name is the real one, the rest are links.
83943 # The last name is the one that the linker finds with -lNAME
83944 library_names_spec=$lt_library_names_spec
83946 # The coded name of the library, if different from the real name.
83947 soname_spec=$lt_soname_spec
83949 # Permission mode override for installation of shared libraries.
83950 install_override_mode=$lt_install_override_mode
83952 # Command to use after installation of a shared archive.
83953 postinstall_cmds=$lt_postinstall_cmds
83955 # Command to use after uninstallation of a shared archive.
83956 postuninstall_cmds=$lt_postuninstall_cmds
83958 # Commands used to finish a libtool library installation in a directory.
83959 finish_cmds=$lt_finish_cmds
83961 # As "finish_cmds", except a single script fragment to be evaled but
83962 # not shown.
83963 finish_eval=$lt_finish_eval
83965 # Whether we should hardcode library paths into libraries.
83966 hardcode_into_libs=$hardcode_into_libs
83968 # Compile-time system search path for libraries.
83969 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83971 # Run-time system search path for libraries.
83972 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83974 # Whether dlopen is supported.
83975 dlopen_support=$enable_dlopen
83977 # Whether dlopen of programs is supported.
83978 dlopen_self=$enable_dlopen_self
83980 # Whether dlopen of statically linked programs is supported.
83981 dlopen_self_static=$enable_dlopen_self_static
83983 # Commands to strip libraries.
83984 old_striplib=$lt_old_striplib
83985 striplib=$lt_striplib
83988 # The linker used to build libraries.
83989 LD=$lt_LD
83991 # How to create reloadable object files.
83992 reload_flag=$lt_reload_flag
83993 reload_cmds=$lt_reload_cmds
83995 # Commands used to build an old-style archive.
83996 old_archive_cmds=$lt_old_archive_cmds
83998 # A language specific compiler.
83999 CC=$lt_compiler
84001 # Is the compiler the GNU compiler?
84002 with_gcc=$GCC
84004 # Compiler flag to turn off builtin functions.
84005 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84007 # How to pass a linker flag through the compiler.
84008 wl=$lt_lt_prog_compiler_wl
84010 # Additional compiler flags for building library objects.
84011 pic_flag=$lt_lt_prog_compiler_pic
84013 # Compiler flag to prevent dynamic linking.
84014 link_static_flag=$lt_lt_prog_compiler_static
84016 # Does compiler simultaneously support -c and -o options?
84017 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84019 # Whether or not to add -lc for building shared libraries.
84020 build_libtool_need_lc=$archive_cmds_need_lc
84022 # Whether or not to disallow shared libs when runtime libs are static.
84023 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84025 # Compiler flag to allow reflexive dlopens.
84026 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84028 # Compiler flag to generate shared objects directly from archives.
84029 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84031 # Whether the compiler copes with passing no objects directly.
84032 compiler_needs_object=$lt_compiler_needs_object
84034 # Create an old-style archive from a shared archive.
84035 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84037 # Create a temporary old-style archive to link instead of a shared archive.
84038 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84040 # Commands used to build a shared archive.
84041 archive_cmds=$lt_archive_cmds
84042 archive_expsym_cmds=$lt_archive_expsym_cmds
84044 # Commands used to build a loadable module if different from building
84045 # a shared archive.
84046 module_cmds=$lt_module_cmds
84047 module_expsym_cmds=$lt_module_expsym_cmds
84049 # Whether we are building with GNU ld or not.
84050 with_gnu_ld=$lt_with_gnu_ld
84052 # Flag that allows shared libraries with undefined symbols to be built.
84053 allow_undefined_flag=$lt_allow_undefined_flag
84055 # Flag that enforces no undefined symbols.
84056 no_undefined_flag=$lt_no_undefined_flag
84058 # Flag to hardcode \$libdir into a binary during linking.
84059 # This must work even if \$libdir does not exist
84060 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84062 # If ld is used when linking, flag to hardcode \$libdir into a binary
84063 # during linking. This must work even if \$libdir does not exist.
84064 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84066 # Whether we need a single "-rpath" flag with a separated argument.
84067 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84069 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84070 # DIR into the resulting binary.
84071 hardcode_direct=$hardcode_direct
84073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84074 # DIR into the resulting binary and the resulting library dependency is
84075 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84076 # library is relocated.
84077 hardcode_direct_absolute=$hardcode_direct_absolute
84079 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84080 # into the resulting binary.
84081 hardcode_minus_L=$hardcode_minus_L
84083 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84084 # into the resulting binary.
84085 hardcode_shlibpath_var=$hardcode_shlibpath_var
84087 # Set to "yes" if building a shared library automatically hardcodes DIR
84088 # into the library and all subsequent libraries and executables linked
84089 # against it.
84090 hardcode_automatic=$hardcode_automatic
84092 # Set to yes if linker adds runtime paths of dependent libraries
84093 # to runtime path list.
84094 inherit_rpath=$inherit_rpath
84096 # Whether libtool must link a program against all its dependency libraries.
84097 link_all_deplibs=$link_all_deplibs
84099 # Fix the shell variable \$srcfile for the compiler.
84100 fix_srcfile_path=$lt_fix_srcfile_path
84102 # Set to "yes" if exported symbols are required.
84103 always_export_symbols=$always_export_symbols
84105 # The commands to list exported symbols.
84106 export_symbols_cmds=$lt_export_symbols_cmds
84108 # Symbols that should not be listed in the preloaded symbols.
84109 exclude_expsyms=$lt_exclude_expsyms
84111 # Symbols that must always be exported.
84112 include_expsyms=$lt_include_expsyms
84114 # Commands necessary for linking programs (against libraries) with templates.
84115 prelink_cmds=$lt_prelink_cmds
84117 # Specify filename containing input files.
84118 file_list_spec=$lt_file_list_spec
84120 # How to hardcode a shared library path into an executable.
84121 hardcode_action=$hardcode_action
84123 # The directories searched by this compiler when creating a shared library.
84124 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84126 # Dependencies to place before and after the objects being linked to
84127 # create a shared library.
84128 predep_objects=$lt_predep_objects
84129 postdep_objects=$lt_postdep_objects
84130 predeps=$lt_predeps
84131 postdeps=$lt_postdeps
84133 # The library search path used internally by the compiler when linking
84134 # a shared library.
84135 compiler_lib_search_path=$lt_compiler_lib_search_path
84137 # ### END LIBTOOL CONFIG
84139 _LT_EOF
84141 case $host_os in
84142 aix3*)
84143 cat <<\_LT_EOF >> "$cfgfile"
84144 # AIX sometimes has problems with the GCC collect2 program. For some
84145 # reason, if we set the COLLECT_NAMES environment variable, the problems
84146 # vanish in a puff of smoke.
84147 if test "X${COLLECT_NAMES+set}" != Xset; then
84148 COLLECT_NAMES=
84149 export COLLECT_NAMES
84151 _LT_EOF
84153 esac
84156 ltmain="$ac_aux_dir/ltmain.sh"
84159 # We use sed instead of cat because bash on DJGPP gets confused if
84160 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84161 # text mode, it properly converts lines to CR/LF. This bash problem
84162 # is reportedly fixed, but why not run on old versions too?
84163 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84164 || (rm -f "$cfgfile"; exit 1)
84166 case $xsi_shell in
84167 yes)
84168 cat << \_LT_EOF >> "$cfgfile"
84170 # func_dirname file append nondir_replacement
84171 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84172 # otherwise set result to NONDIR_REPLACEMENT.
84173 func_dirname ()
84175 case ${1} in
84176 */*) func_dirname_result="${1%/*}${2}" ;;
84177 * ) func_dirname_result="${3}" ;;
84178 esac
84181 # func_basename file
84182 func_basename ()
84184 func_basename_result="${1##*/}"
84187 # func_dirname_and_basename file append nondir_replacement
84188 # perform func_basename and func_dirname in a single function
84189 # call:
84190 # dirname: Compute the dirname of FILE. If nonempty,
84191 # add APPEND to the result, otherwise set result
84192 # to NONDIR_REPLACEMENT.
84193 # value returned in "$func_dirname_result"
84194 # basename: Compute filename of FILE.
84195 # value retuned in "$func_basename_result"
84196 # Implementation must be kept synchronized with func_dirname
84197 # and func_basename. For efficiency, we do not delegate to
84198 # those functions but instead duplicate the functionality here.
84199 func_dirname_and_basename ()
84201 case ${1} in
84202 */*) func_dirname_result="${1%/*}${2}" ;;
84203 * ) func_dirname_result="${3}" ;;
84204 esac
84205 func_basename_result="${1##*/}"
84208 # func_stripname prefix suffix name
84209 # strip PREFIX and SUFFIX off of NAME.
84210 # PREFIX and SUFFIX must not contain globbing or regex special
84211 # characters, hashes, percent signs, but SUFFIX may contain a leading
84212 # dot (in which case that matches only a dot).
84213 func_stripname ()
84215 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84216 # positional parameters, so assign one to ordinary parameter first.
84217 func_stripname_result=${3}
84218 func_stripname_result=${func_stripname_result#"${1}"}
84219 func_stripname_result=${func_stripname_result%"${2}"}
84222 # func_opt_split
84223 func_opt_split ()
84225 func_opt_split_opt=${1%%=*}
84226 func_opt_split_arg=${1#*=}
84229 # func_lo2o object
84230 func_lo2o ()
84232 case ${1} in
84233 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84234 *) func_lo2o_result=${1} ;;
84235 esac
84238 # func_xform libobj-or-source
84239 func_xform ()
84241 func_xform_result=${1%.*}.lo
84244 # func_arith arithmetic-term...
84245 func_arith ()
84247 func_arith_result=$(( $* ))
84250 # func_len string
84251 # STRING may not start with a hyphen.
84252 func_len ()
84254 func_len_result=${#1}
84257 _LT_EOF
84259 *) # Bourne compatible functions.
84260 cat << \_LT_EOF >> "$cfgfile"
84262 # func_dirname file append nondir_replacement
84263 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84264 # otherwise set result to NONDIR_REPLACEMENT.
84265 func_dirname ()
84267 # Extract subdirectory from the argument.
84268 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84269 if test "X$func_dirname_result" = "X${1}"; then
84270 func_dirname_result="${3}"
84271 else
84272 func_dirname_result="$func_dirname_result${2}"
84276 # func_basename file
84277 func_basename ()
84279 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84283 # func_stripname prefix suffix name
84284 # strip PREFIX and SUFFIX off of NAME.
84285 # PREFIX and SUFFIX must not contain globbing or regex special
84286 # characters, hashes, percent signs, but SUFFIX may contain a leading
84287 # dot (in which case that matches only a dot).
84288 # func_strip_suffix prefix name
84289 func_stripname ()
84291 case ${2} in
84292 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84293 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84294 esac
84297 # sed scripts:
84298 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84299 my_sed_long_arg='1s/^-[^=]*=//'
84301 # func_opt_split
84302 func_opt_split ()
84304 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84305 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84308 # func_lo2o object
84309 func_lo2o ()
84311 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84314 # func_xform libobj-or-source
84315 func_xform ()
84317 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84320 # func_arith arithmetic-term...
84321 func_arith ()
84323 func_arith_result=`expr "$@"`
84326 # func_len string
84327 # STRING may not start with a hyphen.
84328 func_len ()
84330 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84333 _LT_EOF
84334 esac
84336 case $lt_shell_append in
84337 yes)
84338 cat << \_LT_EOF >> "$cfgfile"
84340 # func_append var value
84341 # Append VALUE to the end of shell variable VAR.
84342 func_append ()
84344 eval "$1+=\$2"
84346 _LT_EOF
84349 cat << \_LT_EOF >> "$cfgfile"
84351 # func_append var value
84352 # Append VALUE to the end of shell variable VAR.
84353 func_append ()
84355 eval "$1=\$$1\$2"
84358 _LT_EOF
84360 esac
84363 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84364 || (rm -f "$cfgfile"; exit 1)
84366 mv -f "$cfgfile" "$ofile" ||
84367 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84368 chmod +x "$ofile"
84371 cat <<_LT_EOF >> "$ofile"
84373 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84375 # The linker used to build libraries.
84376 LD=$lt_LD_CXX
84378 # How to create reloadable object files.
84379 reload_flag=$lt_reload_flag_CXX
84380 reload_cmds=$lt_reload_cmds_CXX
84382 # Commands used to build an old-style archive.
84383 old_archive_cmds=$lt_old_archive_cmds_CXX
84385 # A language specific compiler.
84386 CC=$lt_compiler_CXX
84388 # Is the compiler the GNU compiler?
84389 with_gcc=$GCC_CXX
84391 # Compiler flag to turn off builtin functions.
84392 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84394 # How to pass a linker flag through the compiler.
84395 wl=$lt_lt_prog_compiler_wl_CXX
84397 # Additional compiler flags for building library objects.
84398 pic_flag=$lt_lt_prog_compiler_pic_CXX
84400 # Compiler flag to prevent dynamic linking.
84401 link_static_flag=$lt_lt_prog_compiler_static_CXX
84403 # Does compiler simultaneously support -c and -o options?
84404 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84406 # Whether or not to add -lc for building shared libraries.
84407 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84409 # Whether or not to disallow shared libs when runtime libs are static.
84410 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84412 # Compiler flag to allow reflexive dlopens.
84413 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84415 # Compiler flag to generate shared objects directly from archives.
84416 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84418 # Whether the compiler copes with passing no objects directly.
84419 compiler_needs_object=$lt_compiler_needs_object_CXX
84421 # Create an old-style archive from a shared archive.
84422 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84424 # Create a temporary old-style archive to link instead of a shared archive.
84425 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84427 # Commands used to build a shared archive.
84428 archive_cmds=$lt_archive_cmds_CXX
84429 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84431 # Commands used to build a loadable module if different from building
84432 # a shared archive.
84433 module_cmds=$lt_module_cmds_CXX
84434 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84436 # Whether we are building with GNU ld or not.
84437 with_gnu_ld=$lt_with_gnu_ld_CXX
84439 # Flag that allows shared libraries with undefined symbols to be built.
84440 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84442 # Flag that enforces no undefined symbols.
84443 no_undefined_flag=$lt_no_undefined_flag_CXX
84445 # Flag to hardcode \$libdir into a binary during linking.
84446 # This must work even if \$libdir does not exist
84447 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84449 # If ld is used when linking, flag to hardcode \$libdir into a binary
84450 # during linking. This must work even if \$libdir does not exist.
84451 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84453 # Whether we need a single "-rpath" flag with a separated argument.
84454 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84456 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84457 # DIR into the resulting binary.
84458 hardcode_direct=$hardcode_direct_CXX
84460 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84461 # DIR into the resulting binary and the resulting library dependency is
84462 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84463 # library is relocated.
84464 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84466 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84467 # into the resulting binary.
84468 hardcode_minus_L=$hardcode_minus_L_CXX
84470 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84471 # into the resulting binary.
84472 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84474 # Set to "yes" if building a shared library automatically hardcodes DIR
84475 # into the library and all subsequent libraries and executables linked
84476 # against it.
84477 hardcode_automatic=$hardcode_automatic_CXX
84479 # Set to yes if linker adds runtime paths of dependent libraries
84480 # to runtime path list.
84481 inherit_rpath=$inherit_rpath_CXX
84483 # Whether libtool must link a program against all its dependency libraries.
84484 link_all_deplibs=$link_all_deplibs_CXX
84486 # Fix the shell variable \$srcfile for the compiler.
84487 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84489 # Set to "yes" if exported symbols are required.
84490 always_export_symbols=$always_export_symbols_CXX
84492 # The commands to list exported symbols.
84493 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84495 # Symbols that should not be listed in the preloaded symbols.
84496 exclude_expsyms=$lt_exclude_expsyms_CXX
84498 # Symbols that must always be exported.
84499 include_expsyms=$lt_include_expsyms_CXX
84501 # Commands necessary for linking programs (against libraries) with templates.
84502 prelink_cmds=$lt_prelink_cmds_CXX
84504 # Specify filename containing input files.
84505 file_list_spec=$lt_file_list_spec_CXX
84507 # How to hardcode a shared library path into an executable.
84508 hardcode_action=$hardcode_action_CXX
84510 # The directories searched by this compiler when creating a shared library.
84511 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84513 # Dependencies to place before and after the objects being linked to
84514 # create a shared library.
84515 predep_objects=$lt_predep_objects_CXX
84516 postdep_objects=$lt_postdep_objects_CXX
84517 predeps=$lt_predeps_CXX
84518 postdeps=$lt_postdeps_CXX
84520 # The library search path used internally by the compiler when linking
84521 # a shared library.
84522 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84524 # ### END LIBTOOL TAG CONFIG: CXX
84525 _LT_EOF
84528 "include/gstdint.h":C)
84529 if test "$GCC" = yes; then
84530 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84531 else
84532 echo "/* generated for $CC */" > tmp-stdint.h
84535 sed 's/^ *//' >> tmp-stdint.h <<EOF
84537 #ifndef GCC_GENERATED_STDINT_H
84538 #define GCC_GENERATED_STDINT_H 1
84540 #include <sys/types.h>
84543 if test "$acx_cv_header_stdint" != stdint.h; then
84544 echo "#include <stddef.h>" >> tmp-stdint.h
84546 if test "$acx_cv_header_stdint" != stddef.h; then
84547 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84550 sed 's/^ *//' >> tmp-stdint.h <<EOF
84551 /* glibc uses these symbols as guards to prevent redefinitions. */
84552 #ifdef __int8_t_defined
84553 #define _INT8_T
84554 #define _INT16_T
84555 #define _INT32_T
84556 #endif
84557 #ifdef __uint32_t_defined
84558 #define _UINT32_T
84559 #endif
84563 # ----------------- done header, emit basic int types -------------
84564 if test "$acx_cv_header_stdint" = stddef.h; then
84565 sed 's/^ *//' >> tmp-stdint.h <<EOF
84567 #ifndef _UINT8_T
84568 #define _UINT8_T
84569 #ifndef __uint8_t_defined
84570 #define __uint8_t_defined
84571 #ifndef uint8_t
84572 typedef unsigned $acx_cv_type_int8_t uint8_t;
84573 #endif
84574 #endif
84575 #endif
84577 #ifndef _UINT16_T
84578 #define _UINT16_T
84579 #ifndef __uint16_t_defined
84580 #define __uint16_t_defined
84581 #ifndef uint16_t
84582 typedef unsigned $acx_cv_type_int16_t uint16_t;
84583 #endif
84584 #endif
84585 #endif
84587 #ifndef _UINT32_T
84588 #define _UINT32_T
84589 #ifndef __uint32_t_defined
84590 #define __uint32_t_defined
84591 #ifndef uint32_t
84592 typedef unsigned $acx_cv_type_int32_t uint32_t;
84593 #endif
84594 #endif
84595 #endif
84597 #ifndef _INT8_T
84598 #define _INT8_T
84599 #ifndef __int8_t_defined
84600 #define __int8_t_defined
84601 #ifndef int8_t
84602 typedef $acx_cv_type_int8_t int8_t;
84603 #endif
84604 #endif
84605 #endif
84607 #ifndef _INT16_T
84608 #define _INT16_T
84609 #ifndef __int16_t_defined
84610 #define __int16_t_defined
84611 #ifndef int16_t
84612 typedef $acx_cv_type_int16_t int16_t;
84613 #endif
84614 #endif
84615 #endif
84617 #ifndef _INT32_T
84618 #define _INT32_T
84619 #ifndef __int32_t_defined
84620 #define __int32_t_defined
84621 #ifndef int32_t
84622 typedef $acx_cv_type_int32_t int32_t;
84623 #endif
84624 #endif
84625 #endif
84627 elif test "$ac_cv_type_u_int32_t" = yes; then
84628 sed 's/^ *//' >> tmp-stdint.h <<EOF
84630 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84631 #ifndef _INT8_T
84632 #define _INT8_T
84633 #endif
84634 #ifndef _INT16_T
84635 #define _INT16_T
84636 #endif
84637 #ifndef _INT32_T
84638 #define _INT32_T
84639 #endif
84641 #ifndef _UINT8_T
84642 #define _UINT8_T
84643 #ifndef __uint8_t_defined
84644 #define __uint8_t_defined
84645 #ifndef uint8_t
84646 typedef u_int8_t uint8_t;
84647 #endif
84648 #endif
84649 #endif
84651 #ifndef _UINT16_T
84652 #define _UINT16_T
84653 #ifndef __uint16_t_defined
84654 #define __uint16_t_defined
84655 #ifndef uint16_t
84656 typedef u_int16_t uint16_t;
84657 #endif
84658 #endif
84659 #endif
84661 #ifndef _UINT32_T
84662 #define _UINT32_T
84663 #ifndef __uint32_t_defined
84664 #define __uint32_t_defined
84665 #ifndef uint32_t
84666 typedef u_int32_t uint32_t;
84667 #endif
84668 #endif
84669 #endif
84671 else
84672 sed 's/^ *//' >> tmp-stdint.h <<EOF
84674 /* Some systems have guard macros to prevent redefinitions, define them. */
84675 #ifndef _INT8_T
84676 #define _INT8_T
84677 #endif
84678 #ifndef _INT16_T
84679 #define _INT16_T
84680 #endif
84681 #ifndef _INT32_T
84682 #define _INT32_T
84683 #endif
84684 #ifndef _UINT8_T
84685 #define _UINT8_T
84686 #endif
84687 #ifndef _UINT16_T
84688 #define _UINT16_T
84689 #endif
84690 #ifndef _UINT32_T
84691 #define _UINT32_T
84692 #endif
84696 # ------------- done basic int types, emit int64_t types ------------
84697 if test "$ac_cv_type_uint64_t" = yes; then
84698 sed 's/^ *//' >> tmp-stdint.h <<EOF
84700 /* system headers have good uint64_t and int64_t */
84701 #ifndef _INT64_T
84702 #define _INT64_T
84703 #endif
84704 #ifndef _UINT64_T
84705 #define _UINT64_T
84706 #endif
84708 elif test "$ac_cv_type_u_int64_t" = yes; then
84709 sed 's/^ *//' >> tmp-stdint.h <<EOF
84711 /* system headers have an u_int64_t (and int64_t) */
84712 #ifndef _INT64_T
84713 #define _INT64_T
84714 #endif
84715 #ifndef _UINT64_T
84716 #define _UINT64_T
84717 #ifndef __uint64_t_defined
84718 #define __uint64_t_defined
84719 #ifndef uint64_t
84720 typedef u_int64_t uint64_t;
84721 #endif
84722 #endif
84723 #endif
84725 elif test -n "$acx_cv_type_int64_t"; then
84726 sed 's/^ *//' >> tmp-stdint.h <<EOF
84728 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84729 #ifndef _INT64_T
84730 #define _INT64_T
84731 #ifndef int64_t
84732 typedef $acx_cv_type_int64_t int64_t;
84733 #endif
84734 #endif
84735 #ifndef _UINT64_T
84736 #define _UINT64_T
84737 #ifndef __uint64_t_defined
84738 #define __uint64_t_defined
84739 #ifndef uint64_t
84740 typedef unsigned $acx_cv_type_int64_t uint64_t;
84741 #endif
84742 #endif
84743 #endif
84745 else
84746 sed 's/^ *//' >> tmp-stdint.h <<EOF
84748 /* some common heuristics for int64_t, using compiler-specific tests */
84749 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84750 #ifndef _INT64_T
84751 #define _INT64_T
84752 #ifndef __int64_t_defined
84753 #ifndef int64_t
84754 typedef long long int64_t;
84755 #endif
84756 #endif
84757 #endif
84758 #ifndef _UINT64_T
84759 #define _UINT64_T
84760 #ifndef uint64_t
84761 typedef unsigned long long uint64_t;
84762 #endif
84763 #endif
84765 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84766 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84767 does not implement __extension__. But that compiler doesn't define
84768 __GNUC_MINOR__. */
84769 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84770 # define __extension__
84771 # endif
84773 # ifndef _INT64_T
84774 # define _INT64_T
84775 # ifndef int64_t
84776 __extension__ typedef long long int64_t;
84777 # endif
84778 # endif
84779 # ifndef _UINT64_T
84780 # define _UINT64_T
84781 # ifndef uint64_t
84782 __extension__ typedef unsigned long long uint64_t;
84783 # endif
84784 # endif
84786 #elif !defined __STRICT_ANSI__
84787 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84789 # ifndef _INT64_T
84790 # define _INT64_T
84791 # ifndef int64_t
84792 typedef __int64 int64_t;
84793 # endif
84794 # endif
84795 # ifndef _UINT64_T
84796 # define _UINT64_T
84797 # ifndef uint64_t
84798 typedef unsigned __int64 uint64_t;
84799 # endif
84800 # endif
84801 # endif /* compiler */
84803 #endif /* ANSI version */
84807 # ------------- done int64_t types, emit intptr types ------------
84808 if test "$ac_cv_type_uintptr_t" != yes; then
84809 sed 's/^ *//' >> tmp-stdint.h <<EOF
84811 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84812 #ifndef __uintptr_t_defined
84813 #ifndef uintptr_t
84814 typedef u$acx_cv_type_intptr_t uintptr_t;
84815 #endif
84816 #endif
84817 #ifndef __intptr_t_defined
84818 #ifndef intptr_t
84819 typedef $acx_cv_type_intptr_t intptr_t;
84820 #endif
84821 #endif
84825 # ------------- done intptr types, emit int_least types ------------
84826 if test "$ac_cv_type_int_least32_t" != yes; then
84827 sed 's/^ *//' >> tmp-stdint.h <<EOF
84829 /* Define int_least types */
84830 typedef int8_t int_least8_t;
84831 typedef int16_t int_least16_t;
84832 typedef int32_t int_least32_t;
84833 #ifdef _INT64_T
84834 typedef int64_t int_least64_t;
84835 #endif
84837 typedef uint8_t uint_least8_t;
84838 typedef uint16_t uint_least16_t;
84839 typedef uint32_t uint_least32_t;
84840 #ifdef _UINT64_T
84841 typedef uint64_t uint_least64_t;
84842 #endif
84846 # ------------- done intptr types, emit int_fast types ------------
84847 if test "$ac_cv_type_int_fast32_t" != yes; then
84848 sed 's/^ *//' >> tmp-stdint.h <<EOF
84850 /* Define int_fast types. short is often slow */
84851 typedef int8_t int_fast8_t;
84852 typedef int int_fast16_t;
84853 typedef int32_t int_fast32_t;
84854 #ifdef _INT64_T
84855 typedef int64_t int_fast64_t;
84856 #endif
84858 typedef uint8_t uint_fast8_t;
84859 typedef unsigned int uint_fast16_t;
84860 typedef uint32_t uint_fast32_t;
84861 #ifdef _UINT64_T
84862 typedef uint64_t uint_fast64_t;
84863 #endif
84867 if test "$ac_cv_type_uintmax_t" != yes; then
84868 sed 's/^ *//' >> tmp-stdint.h <<EOF
84870 /* Define intmax based on what we found */
84871 #ifndef intmax_t
84872 #ifdef _INT64_T
84873 typedef int64_t intmax_t;
84874 #else
84875 typedef long intmax_t;
84876 #endif
84877 #endif
84878 #ifndef uintmax_t
84879 #ifdef _UINT64_T
84880 typedef uint64_t uintmax_t;
84881 #else
84882 typedef unsigned long uintmax_t;
84883 #endif
84884 #endif
84888 sed 's/^ *//' >> tmp-stdint.h <<EOF
84890 #endif /* GCC_GENERATED_STDINT_H */
84893 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84894 rm -f tmp-stdint.h
84895 else
84896 mv -f tmp-stdint.h include/gstdint.h
84900 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84901 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84902 "include/Makefile":F) cat > vpsed$$ << \_EOF
84903 s!`test -f '$<' || echo '$(srcdir)/'`!!
84904 _EOF
84905 sed -f vpsed$$ $ac_file > tmp$$
84906 mv tmp$$ $ac_file
84907 rm vpsed$$
84908 echo 'MULTISUBDIR =' >> $ac_file
84909 ml_norecursion=yes
84910 . ${multi_basedir}/config-ml.in
84911 { ml_norecursion=; unset ml_norecursion;}
84913 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84914 s!`test -f '$<' || echo '$(srcdir)/'`!!
84915 _EOF
84916 sed -f vpsed$$ $ac_file > tmp$$
84917 mv tmp$$ $ac_file
84918 rm vpsed$$
84919 echo 'MULTISUBDIR =' >> $ac_file
84920 ml_norecursion=yes
84921 . ${multi_basedir}/config-ml.in
84922 { ml_norecursion=; unset ml_norecursion;}
84924 "src/Makefile":F) cat > vpsed$$ << \_EOF
84925 s!`test -f '$<' || echo '$(srcdir)/'`!!
84926 _EOF
84927 sed -f vpsed$$ $ac_file > tmp$$
84928 mv tmp$$ $ac_file
84929 rm vpsed$$
84930 echo 'MULTISUBDIR =' >> $ac_file
84931 ml_norecursion=yes
84932 . ${multi_basedir}/config-ml.in
84933 { ml_norecursion=; unset ml_norecursion;}
84935 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84936 s!`test -f '$<' || echo '$(srcdir)/'`!!
84937 _EOF
84938 sed -f vpsed$$ $ac_file > tmp$$
84939 mv tmp$$ $ac_file
84940 rm vpsed$$
84941 echo 'MULTISUBDIR =' >> $ac_file
84942 ml_norecursion=yes
84943 . ${multi_basedir}/config-ml.in
84944 { ml_norecursion=; unset ml_norecursion;}
84946 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84947 s!`test -f '$<' || echo '$(srcdir)/'`!!
84948 _EOF
84949 sed -f vpsed$$ $ac_file > tmp$$
84950 mv tmp$$ $ac_file
84951 rm vpsed$$
84952 echo 'MULTISUBDIR =' >> $ac_file
84953 ml_norecursion=yes
84954 . ${multi_basedir}/config-ml.in
84955 { ml_norecursion=; unset ml_norecursion;}
84957 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84958 s!`test -f '$<' || echo '$(srcdir)/'`!!
84959 _EOF
84960 sed -f vpsed$$ $ac_file > tmp$$
84961 mv tmp$$ $ac_file
84962 rm vpsed$$
84963 echo 'MULTISUBDIR =' >> $ac_file
84964 ml_norecursion=yes
84965 . ${multi_basedir}/config-ml.in
84966 { ml_norecursion=; unset ml_norecursion;}
84968 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84969 s!`test -f '$<' || echo '$(srcdir)/'`!!
84970 _EOF
84971 sed -f vpsed$$ $ac_file > tmp$$
84972 mv tmp$$ $ac_file
84973 rm vpsed$$
84974 echo 'MULTISUBDIR =' >> $ac_file
84975 ml_norecursion=yes
84976 . ${multi_basedir}/config-ml.in
84977 { ml_norecursion=; unset ml_norecursion;}
84979 "po/Makefile":F) cat > vpsed$$ << \_EOF
84980 s!`test -f '$<' || echo '$(srcdir)/'`!!
84981 _EOF
84982 sed -f vpsed$$ $ac_file > tmp$$
84983 mv tmp$$ $ac_file
84984 rm vpsed$$
84985 echo 'MULTISUBDIR =' >> $ac_file
84986 ml_norecursion=yes
84987 . ${multi_basedir}/config-ml.in
84988 { ml_norecursion=; unset ml_norecursion;}
84990 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84991 s!`test -f '$<' || echo '$(srcdir)/'`!!
84992 _EOF
84993 sed -f vpsed$$ $ac_file > tmp$$
84994 mv tmp$$ $ac_file
84995 rm vpsed$$
84996 echo 'MULTISUBDIR =' >> $ac_file
84997 ml_norecursion=yes
84998 . ${multi_basedir}/config-ml.in
84999 { ml_norecursion=; unset ml_norecursion;}
85001 "python/Makefile":F) cat > vpsed$$ << \_EOF
85002 s!`test -f '$<' || echo '$(srcdir)/'`!!
85003 _EOF
85004 sed -f vpsed$$ $ac_file > tmp$$
85005 mv tmp$$ $ac_file
85006 rm vpsed$$
85007 echo 'MULTISUBDIR =' >> $ac_file
85008 ml_norecursion=yes
85009 . ${multi_basedir}/config-ml.in
85010 { ml_norecursion=; unset ml_norecursion;}
85012 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85014 esac
85015 done # for ac_tag
85018 as_fn_exit 0
85019 _ACEOF
85020 ac_clean_files=$ac_clean_files_save
85022 test $ac_write_fail = 0 ||
85023 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
85026 # configure is writing to config.log, and then calls config.status.
85027 # config.status does its own redirection, appending to config.log.
85028 # Unfortunately, on DOS this fails, as config.log is still kept open
85029 # by configure, so config.status won't be able to write to it; its
85030 # output is simply discarded. So we exec the FD to /dev/null,
85031 # effectively closing config.log, so it can be properly (re)opened and
85032 # appended to by config.status. When coming back to configure, we
85033 # need to make the FD available again.
85034 if test "$no_create" != yes; then
85035 ac_cs_success=:
85036 ac_config_status_args=
85037 test "$silent" = yes &&
85038 ac_config_status_args="$ac_config_status_args --quiet"
85039 exec 5>/dev/null
85040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85041 exec 5>>config.log
85042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85043 # would make configure fail if this is the last instruction.
85044 $ac_cs_success || as_fn_exit $?
85046 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85048 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}