Fix testsuite failures due to extra errors in strict dialects
[official-gcc.git] / libstdc++-v3 / configure
blob12a6d4cf0efbaf6f1e0e49330630f47fc5336d35
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 ENABLE_FLOAT128_FALSE
732 ENABLE_FLOAT128_TRUE
733 thread_header
734 glibcxx_PCHFLAGS
735 GLIBCXX_BUILD_PCH_FALSE
736 GLIBCXX_BUILD_PCH_TRUE
737 GLIBCXX_HOSTED_FALSE
738 GLIBCXX_HOSTED_TRUE
739 glibcxx_compiler_shared_flag
740 glibcxx_compiler_pic_flag
741 glibcxx_lt_pic_flag
742 enable_static
743 enable_shared
744 lt_host_flags
745 CXXCPP
746 OTOOL64
747 OTOOL
748 LIPO
749 NMEDIT
750 DSYMUTIL
751 OBJDUMP
753 ac_ct_DUMPBIN
754 DUMPBIN
756 FGREP
758 LIBTOOL
759 EGREP
760 GREP
762 MAINT
763 MAINTAINER_MODE_FALSE
764 MAINTAINER_MODE_TRUE
765 RANLIB
768 LN_S
769 toplevel_srcdir
770 toplevel_builddir
771 glibcxx_srcdir
772 glibcxx_builddir
773 ac_ct_CXX
774 CXXFLAGS
776 OBJEXT
777 EXEEXT
778 ac_ct_CC
779 CPPFLAGS
780 LDFLAGS
781 CFLAGS
783 am__untar
784 am__tar
785 AMTAR
786 am__leading_dot
787 SET_MAKE
789 mkdir_p
790 MKDIR_P
791 INSTALL_STRIP_PROGRAM
792 STRIP
793 install_sh
794 MAKEINFO
795 AUTOHEADER
796 AUTOMAKE
797 AUTOCONF
798 ACLOCAL
799 VERSION
800 PACKAGE
801 CYGPATH_W
802 am__isrc
803 INSTALL_DATA
804 INSTALL_SCRIPT
805 INSTALL_PROGRAM
806 target_os
807 target_vendor
808 target_cpu
809 target
810 host_os
811 host_vendor
812 host_cpu
813 host
814 build_os
815 build_vendor
816 build_cpu
817 build
818 multi_basedir
819 target_alias
820 host_alias
821 build_alias
822 LIBS
823 ECHO_T
824 ECHO_N
825 ECHO_C
826 DEFS
827 mandir
828 localedir
829 libdir
830 psdir
831 pdfdir
832 dvidir
833 htmldir
834 infodir
835 docdir
836 oldincludedir
837 includedir
838 localstatedir
839 sharedstatedir
840 sysconfdir
841 datadir
842 datarootdir
843 libexecdir
844 sbindir
845 bindir
846 program_transform_name
847 prefix
848 exec_prefix
849 PACKAGE_URL
850 PACKAGE_BUGREPORT
851 PACKAGE_STRING
852 PACKAGE_VERSION
853 PACKAGE_TARNAME
854 PACKAGE_NAME
855 PATH_SEPARATOR
856 SHELL'
857 ac_subst_files=''
858 ac_user_opts='
859 enable_option_checking
860 enable_multilib
861 with_target_subdir
862 with_cross_host
863 with_newlib
864 enable_maintainer_mode
865 enable_shared
866 enable_static
867 with_pic
868 enable_fast_install
869 with_gnu_ld
870 enable_libtool_lock
871 enable_hosted_libstdcxx
872 enable_libstdcxx_verbose
873 enable_libstdcxx_pch
874 enable_cstdio
875 enable_clocale
876 enable_nls
877 enable_libstdcxx_allocator
878 enable_cheaders
879 enable_long_long
880 enable_wchar_t
881 enable_c99
882 enable_concept_checks
883 enable_libstdcxx_debug_flags
884 enable_libstdcxx_debug
885 enable_cxx_flags
886 enable_fully_dynamic_string
887 enable_extern_template
888 with_python_dir
889 enable_werror
890 enable_vtable_verify
891 enable_libstdcxx_time
892 enable_tls
893 enable_rpath
894 with_libiconv_prefix
895 with_system_libunwind
896 enable_linux_futex
897 enable_symvers
898 enable_libstdcxx_visibility
899 enable_libstdcxx_dual_abi
900 with_default_libstdcxx_abi
901 enable_libstdcxx_threads
902 enable_libstdcxx_filesystem_ts
903 enable_cet
904 with_gxx_include_dir
905 enable_version_specific_runtime_libs
906 with_gcc_major_version_only
908 ac_precious_vars='build_alias
909 host_alias
910 target_alias
912 CFLAGS
913 LDFLAGS
914 LIBS
915 CPPFLAGS
917 CXXFLAGS
920 CXXCPP
921 CXXFILT'
924 # Initialize some variables set by options.
925 ac_init_help=
926 ac_init_version=false
927 ac_unrecognized_opts=
928 ac_unrecognized_sep=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
931 cache_file=/dev/null
932 exec_prefix=NONE
933 no_create=
934 no_recursion=
935 prefix=NONE
936 program_prefix=NONE
937 program_suffix=NONE
938 program_transform_name=s,x,x,
939 silent=
940 site=
941 srcdir=
942 verbose=
943 x_includes=NONE
944 x_libraries=NONE
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir='${exec_prefix}/bin'
953 sbindir='${exec_prefix}/sbin'
954 libexecdir='${exec_prefix}/libexec'
955 datarootdir='${prefix}/share'
956 datadir='${datarootdir}'
957 sysconfdir='${prefix}/etc'
958 sharedstatedir='${prefix}/com'
959 localstatedir='${prefix}/var'
960 includedir='${prefix}/include'
961 oldincludedir='/usr/include'
962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
963 infodir='${datarootdir}/info'
964 htmldir='${docdir}'
965 dvidir='${docdir}'
966 pdfdir='${docdir}'
967 psdir='${docdir}'
968 libdir='${exec_prefix}/lib'
969 localedir='${datarootdir}/locale'
970 mandir='${datarootdir}/man'
972 ac_prev=
973 ac_dashdash=
974 for ac_option
976 # If the previous option needs an argument, assign it.
977 if test -n "$ac_prev"; then
978 eval $ac_prev=\$ac_option
979 ac_prev=
980 continue
983 case $ac_option in
984 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
985 *) ac_optarg=yes ;;
986 esac
988 # Accept the important Cygnus configure options, so we can diagnose typos.
990 case $ac_dashdash$ac_option in
992 ac_dashdash=yes ;;
994 -bindir | --bindir | --bindi | --bind | --bin | --bi)
995 ac_prev=bindir ;;
996 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 bindir=$ac_optarg ;;
999 -build | --build | --buil | --bui | --bu)
1000 ac_prev=build_alias ;;
1001 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002 build_alias=$ac_optarg ;;
1004 -cache-file | --cache-file | --cache-fil | --cache-fi \
1005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1006 ac_prev=cache_file ;;
1007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1009 cache_file=$ac_optarg ;;
1011 --config-cache | -C)
1012 cache_file=config.cache ;;
1014 -datadir | --datadir | --datadi | --datad)
1015 ac_prev=datadir ;;
1016 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1017 datadir=$ac_optarg ;;
1019 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1020 | --dataroo | --dataro | --datar)
1021 ac_prev=datarootdir ;;
1022 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1023 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1024 datarootdir=$ac_optarg ;;
1026 -disable-* | --disable-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error "invalid feature name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_$ac_useropt"
1036 "*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval enable_$ac_useropt=no ;;
1042 -docdir | --docdir | --docdi | --doc | --do)
1043 ac_prev=docdir ;;
1044 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045 docdir=$ac_optarg ;;
1047 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 ac_prev=dvidir ;;
1049 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050 dvidir=$ac_optarg ;;
1052 -enable-* | --enable-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error "invalid feature name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval enable_$ac_useropt=\$ac_optarg ;;
1068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070 | --exec | --exe | --ex)
1071 ac_prev=exec_prefix ;;
1072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074 | --exec=* | --exe=* | --ex=*)
1075 exec_prefix=$ac_optarg ;;
1077 -gas | --gas | --ga | --g)
1078 # Obsolete; use --with-gas.
1079 with_gas=yes ;;
1081 -help | --help | --hel | --he | -h)
1082 ac_init_help=long ;;
1083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084 ac_init_help=recursive ;;
1085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086 ac_init_help=short ;;
1088 -host | --host | --hos | --ho)
1089 ac_prev=host_alias ;;
1090 -host=* | --host=* | --hos=* | --ho=*)
1091 host_alias=$ac_optarg ;;
1093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1094 ac_prev=htmldir ;;
1095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1096 | --ht=*)
1097 htmldir=$ac_optarg ;;
1099 -includedir | --includedir | --includedi | --included | --include \
1100 | --includ | --inclu | --incl | --inc)
1101 ac_prev=includedir ;;
1102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103 | --includ=* | --inclu=* | --incl=* | --inc=*)
1104 includedir=$ac_optarg ;;
1106 -infodir | --infodir | --infodi | --infod | --info | --inf)
1107 ac_prev=infodir ;;
1108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109 infodir=$ac_optarg ;;
1111 -libdir | --libdir | --libdi | --libd)
1112 ac_prev=libdir ;;
1113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114 libdir=$ac_optarg ;;
1116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117 | --libexe | --libex | --libe)
1118 ac_prev=libexecdir ;;
1119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120 | --libexe=* | --libex=* | --libe=*)
1121 libexecdir=$ac_optarg ;;
1123 -localedir | --localedir | --localedi | --localed | --locale)
1124 ac_prev=localedir ;;
1125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126 localedir=$ac_optarg ;;
1128 -localstatedir | --localstatedir | --localstatedi | --localstated \
1129 | --localstate | --localstat | --localsta | --localst | --locals)
1130 ac_prev=localstatedir ;;
1131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133 localstatedir=$ac_optarg ;;
1135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1136 ac_prev=mandir ;;
1137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138 mandir=$ac_optarg ;;
1140 -nfp | --nfp | --nf)
1141 # Obsolete; use --without-fp.
1142 with_fp=no ;;
1144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145 | --no-cr | --no-c | -n)
1146 no_create=yes ;;
1148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150 no_recursion=yes ;;
1152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154 | --oldin | --oldi | --old | --ol | --o)
1155 ac_prev=oldincludedir ;;
1156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159 oldincludedir=$ac_optarg ;;
1161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1162 ac_prev=prefix ;;
1163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164 prefix=$ac_optarg ;;
1166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1167 | --program-pre | --program-pr | --program-p)
1168 ac_prev=program_prefix ;;
1169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171 program_prefix=$ac_optarg ;;
1173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1174 | --program-suf | --program-su | --program-s)
1175 ac_prev=program_suffix ;;
1176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178 program_suffix=$ac_optarg ;;
1180 -program-transform-name | --program-transform-name \
1181 | --program-transform-nam | --program-transform-na \
1182 | --program-transform-n | --program-transform- \
1183 | --program-transform | --program-transfor \
1184 | --program-transfo | --program-transf \
1185 | --program-trans | --program-tran \
1186 | --progr-tra | --program-tr | --program-t)
1187 ac_prev=program_transform_name ;;
1188 -program-transform-name=* | --program-transform-name=* \
1189 | --program-transform-nam=* | --program-transform-na=* \
1190 | --program-transform-n=* | --program-transform-=* \
1191 | --program-transform=* | --program-transfor=* \
1192 | --program-transfo=* | --program-transf=* \
1193 | --program-trans=* | --program-tran=* \
1194 | --progr-tra=* | --program-tr=* | --program-t=*)
1195 program_transform_name=$ac_optarg ;;
1197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1198 ac_prev=pdfdir ;;
1199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200 pdfdir=$ac_optarg ;;
1202 -psdir | --psdir | --psdi | --psd | --ps)
1203 ac_prev=psdir ;;
1204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205 psdir=$ac_optarg ;;
1207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208 | -silent | --silent | --silen | --sile | --sil)
1209 silent=yes ;;
1211 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1212 ac_prev=sbindir ;;
1213 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1214 | --sbi=* | --sb=*)
1215 sbindir=$ac_optarg ;;
1217 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1218 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219 | --sharedst | --shareds | --shared | --share | --shar \
1220 | --sha | --sh)
1221 ac_prev=sharedstatedir ;;
1222 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1225 | --sha=* | --sh=*)
1226 sharedstatedir=$ac_optarg ;;
1228 -site | --site | --sit)
1229 ac_prev=site ;;
1230 -site=* | --site=* | --sit=*)
1231 site=$ac_optarg ;;
1233 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1234 ac_prev=srcdir ;;
1235 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236 srcdir=$ac_optarg ;;
1238 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1239 | --syscon | --sysco | --sysc | --sys | --sy)
1240 ac_prev=sysconfdir ;;
1241 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1242 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1243 sysconfdir=$ac_optarg ;;
1245 -target | --target | --targe | --targ | --tar | --ta | --t)
1246 ac_prev=target_alias ;;
1247 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1248 target_alias=$ac_optarg ;;
1250 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1251 verbose=yes ;;
1253 -version | --version | --versio | --versi | --vers | -V)
1254 ac_init_version=: ;;
1256 -with-* | --with-*)
1257 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260 as_fn_error "invalid package name: $ac_useropt"
1261 ac_useropt_orig=$ac_useropt
1262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263 case $ac_user_opts in
1265 "with_$ac_useropt"
1266 "*) ;;
1267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268 ac_unrecognized_sep=', ';;
1269 esac
1270 eval with_$ac_useropt=\$ac_optarg ;;
1272 -without-* | --without-*)
1273 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276 as_fn_error "invalid package name: $ac_useropt"
1277 ac_useropt_orig=$ac_useropt
1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1281 "with_$ac_useropt"
1282 "*) ;;
1283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284 ac_unrecognized_sep=', ';;
1285 esac
1286 eval with_$ac_useropt=no ;;
1288 --x)
1289 # Obsolete; use --with-x.
1290 with_x=yes ;;
1292 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1293 | --x-incl | --x-inc | --x-in | --x-i)
1294 ac_prev=x_includes ;;
1295 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1296 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1297 x_includes=$ac_optarg ;;
1299 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1300 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1301 ac_prev=x_libraries ;;
1302 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1303 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1304 x_libraries=$ac_optarg ;;
1306 -*) as_fn_error "unrecognized option: \`$ac_option'
1307 Try \`$0 --help' for more information."
1310 *=*)
1311 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1312 # Reject names that are not valid shell variable names.
1313 case $ac_envvar in #(
1314 '' | [0-9]* | *[!_$as_cr_alnum]* )
1315 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1316 esac
1317 eval $ac_envvar=\$ac_optarg
1318 export $ac_envvar ;;
1321 # FIXME: should be removed in autoconf 3.0.
1322 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1324 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1328 esac
1329 done
1331 if test -n "$ac_prev"; then
1332 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1333 as_fn_error "missing argument to $ac_option"
1336 if test -n "$ac_unrecognized_opts"; then
1337 case $enable_option_checking in
1338 no) ;;
1339 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1340 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1341 esac
1344 # Check all directory arguments for consistency.
1345 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1350 eval ac_val=\$$ac_var
1351 # Remove trailing slashes.
1352 case $ac_val in
1353 */ )
1354 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355 eval $ac_var=\$ac_val;;
1356 esac
1357 # Be sure to have absolute directory names.
1358 case $ac_val in
1359 [\\/$]* | ?:[\\/]* ) continue;;
1360 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1361 esac
1362 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1363 done
1365 # There might be people who depend on the old broken behavior: `$host'
1366 # used to hold the argument of --host etc.
1367 # FIXME: To remove some day.
1368 build=$build_alias
1369 host=$host_alias
1370 target=$target_alias
1372 # FIXME: To remove some day.
1373 if test "x$host_alias" != x; then
1374 if test "x$build_alias" = x; then
1375 cross_compiling=maybe
1376 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1377 If a cross compiler is detected then cross compile mode will be used." >&2
1378 elif test "x$build_alias" != "x$host_alias"; then
1379 cross_compiling=yes
1383 ac_tool_prefix=
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1386 test "$silent" = yes && exec 6>/dev/null
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error "pwd does not report name of working directory"
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 s//\1/
1411 /^X\(\/\/\)[^/].*/{
1412 s//\1/
1415 /^X\(\/\/\)$/{
1416 s//\1/
1419 /^X\(\/\).*/{
1420 s//\1/
1423 s/.*/./; q'`
1424 srcdir=$ac_confdir
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 srcdir=..
1428 else
1429 ac_srcdir_defaulted=no
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 ac_abs_confdir=`(
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1438 pwd)`
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 srcdir=.
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1446 case $srcdir in
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1448 esac
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1454 done
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1462 cat <<_ACEOF
1463 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1472 Configuration:
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 [PREFIX]
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1516 _ACEOF
1518 cat <<\_ACEOF
1520 Program names:
1521 --program-prefix=PREFIX prepend PREFIX to installed program names
1522 --program-suffix=SUFFIX append SUFFIX to installed program names
1523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1525 System types:
1526 --build=BUILD configure for building on BUILD [guessed]
1527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1528 --target=TARGET configure for building compilers for TARGET [HOST]
1529 _ACEOF
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive ) echo "Configuration of package-unused version-unused:";;
1535 esac
1536 cat <<\_ACEOF
1538 Optional Features:
1539 --disable-option-checking ignore unrecognized --enable/--with options
1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542 --enable-multilib build many library versions (default)
1543 --enable-maintainer-mode enable make rules and dependencies not useful
1544 (and sometimes confusing) to the casual installer
1545 --enable-shared[=PKGS] build shared libraries [default=yes]
1546 --enable-static[=PKGS] build static libraries [default=yes]
1547 --enable-fast-install[=PKGS]
1548 optimize for fast installation [default=yes]
1549 --disable-libtool-lock avoid locking (might break parallel builds)
1550 --disable-hosted-libstdcxx
1551 only build freestanding C++ runtime support
1552 --disable-libstdcxx-verbose
1553 disable termination messages to standard error
1554 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1555 [default=$is_hosted]
1556 --enable-cstdio[=PACKAGE]
1557 use target-specific I/O package [default=stdio]
1558 --enable-clocale[=MODEL]
1559 use MODEL for target locale package [default=auto]
1560 --enable-nls use Native Language Support (default)
1561 --enable-libstdcxx-allocator[=KIND]
1562 use KIND for target std::allocator base
1563 [default=auto]
1564 --enable-cheaders[=KIND]
1565 construct "C" headers for g++ [default=$c_model]
1566 --enable-long-long enable template specializations for 'long long'
1567 [default=yes]
1568 --enable-wchar_t enable template specializations for 'wchar_t'
1569 [default=yes]
1570 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1571 --enable-concept-checks use Boost-derived template checks [default=no]
1572 --enable-libstdcxx-debug-flags=FLAGS
1573 pass compiler FLAGS when building debug library
1574 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1575 --enable-libstdcxx-debug
1576 build extra debug library [default=no]
1577 --enable-cxx-flags=FLAGS
1578 pass compiler FLAGS when building library [default=]
1579 --enable-fully-dynamic-string
1580 do not put empty strings in per-process static
1581 memory [default=no]
1582 --enable-extern-template
1583 enable extern template [default=yes]
1584 --enable-werror turns on -Werror [default=no]
1585 --enable-vtable-verify enable vtable verify [default=no]
1586 --enable-libstdcxx-time[=KIND]
1587 use KIND for check type [default=auto]
1588 --enable-tls Use thread-local storage [default=yes]
1589 --disable-rpath do not hardcode runtime library paths
1590 --enable-linux-futex use the Linux futex system call [default=default]
1591 --enable-symvers[=STYLE]
1592 enables symbol versioning of the shared library
1593 [default=yes]
1594 --enable-libstdcxx-visibility
1595 enables visibility safe usage [default=yes]
1596 --enable-libstdcxx-dual-abi
1597 support two versions of std::string [default=yes]
1598 --enable-libstdcxx-threads
1599 enable C++11 threads support [default=auto]
1600 --enable-libstdcxx-filesystem-ts
1601 turns on ISO/IEC TS 18822 support [default=auto]
1602 --enable-cet enable Intel CET in target libraries [default=no]
1603 --enable-version-specific-runtime-libs
1604 Specify that runtime libraries should be installed
1605 in a compiler-specific directory
1607 Optional Packages:
1608 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1609 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1610 --with-target-subdir=SUBDIR
1611 configuring in a subdirectory
1612 --with-cross-host=HOST configuring with a cross compiler
1613 --with-newlib assume newlib as a system C library
1614 --with-pic try to use only PIC/non-PIC objects [default=use
1615 both]
1616 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1617 --with-python-dir the location to install Python modules. This path is
1618 relative starting from the prefix.
1619 --with-gnu-ld assume the C compiler uses GNU ld default=no
1620 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1621 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1622 --with-system-libunwind use installed libunwind
1623 --with-default-libstdcxx-abi
1624 set the std::string ABI to use by default
1625 --with-gxx-include-dir=DIR
1626 installation directory for include files
1627 --with-gcc-major-version-only
1628 use only GCC major number in filesystem paths
1630 Some influential environment variables:
1631 CC C compiler command
1632 CFLAGS C compiler flags
1633 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1634 nonstandard directory <lib dir>
1635 LIBS libraries to pass to the linker, e.g. -l<library>
1636 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1637 you have headers in a nonstandard directory <include dir>
1638 CXX C++ compiler command
1639 CXXFLAGS C++ compiler flags
1640 CPP C preprocessor
1641 CXXCPP C++ preprocessor
1642 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1643 `c++filt', `gc++filt' on PATH.
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1648 Report bugs to the package provider.
1649 _ACEOF
1650 ac_status=$?
1653 if test "$ac_init_help" = "recursive"; then
1654 # If there are subdirs, report their specific --help.
1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656 test -d "$ac_dir" ||
1657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658 continue
1659 ac_builddir=.
1661 case "$ac_dir" in
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1665 # A ".." for each directory in $ac_dir_suffix.
1666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1667 case $ac_top_builddir_sub in
1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670 esac ;;
1671 esac
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1677 case $srcdir in
1678 .) # We are building in place.
1679 ac_srcdir=.
1680 ac_top_srcdir=$ac_top_builddir_sub
1681 ac_abs_top_srcdir=$ac_pwd ;;
1682 [\\/]* | ?:[\\/]* ) # Absolute name.
1683 ac_srcdir=$srcdir$ac_dir_suffix;
1684 ac_top_srcdir=$srcdir
1685 ac_abs_top_srcdir=$srcdir ;;
1686 *) # Relative name.
1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688 ac_top_srcdir=$ac_top_build_prefix$srcdir
1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 esac
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1693 cd "$ac_dir" || { ac_status=$?; continue; }
1694 # Check for guested configure.
1695 if test -f "$ac_srcdir/configure.gnu"; then
1696 echo &&
1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698 elif test -f "$ac_srcdir/configure"; then
1699 echo &&
1700 $SHELL "$ac_srcdir/configure" --help=recursive
1701 else
1702 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 fi || ac_status=$?
1704 cd "$ac_pwd" || { ac_status=$?; break; }
1705 done
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1710 cat <<\_ACEOF
1711 package-unused configure version-unused
1712 generated by GNU Autoconf 2.64
1714 Copyright (C) 2009 Free Software Foundation, Inc.
1715 This configure script is free software; the Free Software Foundation
1716 gives unlimited permission to copy, distribute and modify it.
1717 _ACEOF
1718 exit
1721 ## ------------------------ ##
1722 ## Autoconf initialization. ##
1723 ## ------------------------ ##
1725 # ac_fn_c_try_compile LINENO
1726 # --------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1756 ac_retval=1
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 return $ac_retval
1761 } # ac_fn_c_try_compile
1763 # ac_fn_cxx_try_compile LINENO
1764 # ----------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_compile ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_cxx_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1794 ac_retval=1
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 return $ac_retval
1799 } # ac_fn_cxx_try_compile
1801 # ac_fn_c_try_cpp LINENO
1802 # ----------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_cpp ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } >/dev/null && {
1823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 ac_retval=1
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 return $ac_retval
1836 } # ac_fn_c_try_cpp
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_link ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest$ac_exeext
1866 }; then :
1867 ac_retval=0
1868 else
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1872 ac_retval=1
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 return $ac_retval
1882 } # ac_fn_c_try_link
1884 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists and can be compiled using the include files in
1887 # INCLUDES, setting the cache variable VAR accordingly.
1888 ac_fn_c_check_header_compile ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1895 else
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 eval "$3=yes"
1903 else
1904 eval "$3=no"
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 } # ac_fn_c_check_header_compile
1915 # ac_fn_c_try_run LINENO
1916 # ----------------------
1917 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1918 # that executables *can* be run.
1919 ac_fn_c_try_run ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 if { { ac_try="$ac_link"
1923 case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_link") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1933 { { case "(($ac_try" in
1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1936 esac
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_try") 2>&5
1940 ac_status=$?
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; }; }; then :
1943 ac_retval=0
1944 else
1945 $as_echo "$as_me: program exited with status $ac_status" >&5
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1949 ac_retval=$ac_status
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 return $ac_retval
1955 } # ac_fn_c_try_run
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1966 $as_echo_n "(cached) " >&6
1967 else
1968 if test x$gcc_no_link = xyes; then
1969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1975 #define $2 innocuous_$2
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char $2 (); below.
1979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980 <limits.h> exists even on freestanding compilers. */
1982 #ifdef __STDC__
1983 # include <limits.h>
1984 #else
1985 # include <assert.h>
1986 #endif
1988 #undef $2
1990 /* Override any GCC internal prototype to avoid an error.
1991 Use char because int might match the return type of a GCC
1992 builtin and then its argument prototype would still apply. */
1993 #ifdef __cplusplus
1994 extern "C"
1995 #endif
1996 char $2 ();
1997 /* The GNU C library defines this for functions which it implements
1998 to always fail with ENOSYS. Some functions are actually named
1999 something starting with __ and the normal name is an alias. */
2000 #if defined __stub_$2 || defined __stub___$2
2001 choke me
2002 #endif
2005 main ()
2007 return $2 ();
2009 return 0;
2011 _ACEOF
2012 if ac_fn_c_try_link "$LINENO"; then :
2013 eval "$3=yes"
2014 else
2015 eval "$3=no"
2017 rm -f core conftest.err conftest.$ac_objext \
2018 conftest$ac_exeext conftest.$ac_ext
2020 eval ac_res=\$$3
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 } # ac_fn_c_check_func
2027 # ac_fn_cxx_try_cpp LINENO
2028 # ------------------------
2029 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_cpp ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 if { { ac_try="$ac_cpp conftest.$ac_ext"
2034 case "(($ac_try" in
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2037 esac
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2041 ac_status=$?
2042 if test -s conftest.err; then
2043 grep -v '^ *+' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 mv -f conftest.er1 conftest.err
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; } >/dev/null && {
2049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2050 test ! -s conftest.err
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2057 ac_retval=1
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 return $ac_retval
2062 } # ac_fn_cxx_try_cpp
2064 # ac_fn_cxx_try_link LINENO
2065 # -------------------------
2066 # Try to link conftest.$ac_ext, and return whether this succeeded.
2067 ac_fn_cxx_try_link ()
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 rm -f conftest.$ac_objext conftest$ac_exeext
2071 if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && {
2087 test -z "$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 } && test -s conftest$ac_exeext && {
2090 test "$cross_compiling" = yes ||
2091 $as_test_x conftest$ac_exeext
2092 }; then :
2093 ac_retval=0
2094 else
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2098 ac_retval=1
2100 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2101 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2102 # interfere with the next link command; also delete a directory that is
2103 # left behind by Apple's compiler. We do this before executing the actions.
2104 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106 return $ac_retval
2108 } # ac_fn_cxx_try_link
2110 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2111 # -------------------------------------------------------
2112 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2113 # the include files in INCLUDES and setting the cache variable VAR
2114 # accordingly.
2115 ac_fn_c_check_header_mongrel ()
2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2122 $as_echo_n "(cached) " >&6
2124 eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 else
2128 # Is the header compilable?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2130 $as_echo_n "checking $2 usability... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_header_compiler=yes
2138 else
2139 ac_header_compiler=no
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2143 $as_echo "$ac_header_compiler" >&6; }
2145 # Is the header present?
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2147 $as_echo_n "checking $2 presence... " >&6; }
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2150 #include <$2>
2151 _ACEOF
2152 if ac_fn_c_try_cpp "$LINENO"; then :
2153 ac_header_preproc=yes
2154 else
2155 ac_header_preproc=no
2157 rm -f conftest.err conftest.$ac_ext
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2159 $as_echo "$ac_header_preproc" >&6; }
2161 # So? What about this header?
2162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2163 yes:no: )
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2165 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2167 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 no:yes:* )
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2171 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2173 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2175 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2177 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2179 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 esac
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 $as_echo_n "(cached) " >&6
2186 else
2187 eval "$3=\$ac_header_compiler"
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2195 } # ac_fn_c_check_header_mongrel
2197 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2198 # ---------------------------------------------------------
2199 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2200 # the include files in INCLUDES and setting the cache variable VAR
2201 # accordingly.
2202 ac_fn_cxx_check_header_mongrel ()
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207 $as_echo_n "checking for $2... " >&6; }
2208 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2211 eval ac_res=\$$3
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2213 $as_echo "$ac_res" >&6; }
2214 else
2215 # Is the header compilable?
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2217 $as_echo_n "checking $2 usability... " >&6; }
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224 ac_header_compiler=yes
2225 else
2226 ac_header_compiler=no
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2230 $as_echo "$ac_header_compiler" >&6; }
2232 # Is the header present?
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2234 $as_echo_n "checking $2 presence... " >&6; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2237 #include <$2>
2238 _ACEOF
2239 if ac_fn_cxx_try_cpp "$LINENO"; then :
2240 ac_header_preproc=yes
2241 else
2242 ac_header_preproc=no
2244 rm -f conftest.err conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2246 $as_echo "$ac_header_preproc" >&6; }
2248 # So? What about this header?
2249 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2250 yes:no: )
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2252 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2254 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2256 no:yes:* )
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2258 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2260 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2262 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2264 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2266 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2268 esac
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2270 $as_echo_n "checking for $2... " >&6; }
2271 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2272 $as_echo_n "(cached) " >&6
2273 else
2274 eval "$3=\$ac_header_compiler"
2276 eval ac_res=\$$3
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2282 } # ac_fn_cxx_check_header_mongrel
2284 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2285 # --------------------------------------------
2286 # Tries to find the compile-time value of EXPR in a program that includes
2287 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2288 # computed
2289 ac_fn_c_compute_int ()
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292 if test "$cross_compiling" = yes; then
2293 # Depending upon the size, compute the lo and hi bounds.
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2298 main ()
2300 static int test_array [1 - 2 * !(($2) >= 0)];
2301 test_array [0] = 0
2304 return 0;
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=0 ac_mid=0
2309 while :; do
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2314 main ()
2316 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2317 test_array [0] = 0
2320 return 0;
2322 _ACEOF
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324 ac_hi=$ac_mid; break
2325 else
2326 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2327 if test $ac_lo -le $ac_mid; then
2328 ac_lo= ac_hi=
2329 break
2331 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 done
2335 else
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 main ()
2342 static int test_array [1 - 2 * !(($2) < 0)];
2343 test_array [0] = 0
2346 return 0;
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=-1 ac_mid=-1
2351 while :; do
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_lo=$ac_mid; break
2367 else
2368 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2369 if test $ac_mid -le $ac_hi; then
2370 ac_lo= ac_hi=
2371 break
2373 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376 done
2377 else
2378 ac_lo= ac_hi=
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 # Binary search between lo and hi bounds.
2384 while test "x$ac_lo" != "x$ac_hi"; do
2385 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2390 main ()
2392 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2393 test_array [0] = 0
2396 return 0;
2398 _ACEOF
2399 if ac_fn_c_try_compile "$LINENO"; then :
2400 ac_hi=$ac_mid
2401 else
2402 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 done
2406 case $ac_lo in #((
2407 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2408 '') ac_retval=1 ;;
2409 esac
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2414 static long int longval () { return $2; }
2415 static unsigned long int ulongval () { return $2; }
2416 #include <stdio.h>
2417 #include <stdlib.h>
2419 main ()
2422 FILE *f = fopen ("conftest.val", "w");
2423 if (! f)
2424 return 1;
2425 if (($2) < 0)
2427 long int i = longval ();
2428 if (i != ($2))
2429 return 1;
2430 fprintf (f, "%ld", i);
2432 else
2434 unsigned long int i = ulongval ();
2435 if (i != ($2))
2436 return 1;
2437 fprintf (f, "%lu", i);
2439 /* Do not output a trailing newline, as this causes \r\n confusion
2440 on some platforms. */
2441 return ferror (f) || fclose (f) != 0;
2444 return 0;
2446 _ACEOF
2447 if ac_fn_c_try_run "$LINENO"; then :
2448 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2449 else
2450 ac_retval=1
2452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2453 conftest.$ac_objext conftest.beam conftest.$ac_ext
2454 rm -f conftest.val
2457 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2458 return $ac_retval
2460 } # ac_fn_c_compute_int
2462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2463 # -------------------------------------------
2464 # Tests whether TYPE exists after having included INCLUDES, setting cache
2465 # variable VAR accordingly.
2466 ac_fn_c_check_type ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2470 $as_echo_n "checking for $2... " >&6; }
2471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2472 $as_echo_n "(cached) " >&6
2473 else
2474 eval "$3=no"
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2479 main ()
2481 if (sizeof ($2))
2482 return 0;
2484 return 0;
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2492 main ()
2494 if (sizeof (($2)))
2495 return 0;
2497 return 0;
2499 _ACEOF
2500 if ac_fn_c_try_compile "$LINENO"; then :
2502 else
2503 eval "$3=yes"
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 eval ac_res=\$$3
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2514 } # ac_fn_c_check_type
2516 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2517 # ---------------------------------------------
2518 # Tests whether TYPE exists after having included INCLUDES, setting cache
2519 # variable VAR accordingly.
2520 ac_fn_cxx_check_type ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 eval "$3=no"
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2533 main ()
2535 if (sizeof ($2))
2536 return 0;
2538 return 0;
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2546 main ()
2548 if (sizeof (($2)))
2549 return 0;
2551 return 0;
2553 _ACEOF
2554 if ac_fn_cxx_try_compile "$LINENO"; then :
2556 else
2557 eval "$3=yes"
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2568 } # ac_fn_cxx_check_type
2569 cat >config.log <<_ACEOF
2570 This file contains any messages produced by compilers while
2571 running configure, to aid debugging if configure makes a mistake.
2573 It was created by package-unused $as_me version-unused, which was
2574 generated by GNU Autoconf 2.64. Invocation command line was
2576 $ $0 $@
2578 _ACEOF
2579 exec 5>>config.log
2581 cat <<_ASUNAME
2582 ## --------- ##
2583 ## Platform. ##
2584 ## --------- ##
2586 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2587 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2588 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2589 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2590 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2592 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2593 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2595 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2596 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2597 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2598 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2599 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2600 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2601 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2603 _ASUNAME
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 $as_echo "PATH: $as_dir"
2611 done
2612 IFS=$as_save_IFS
2614 } >&5
2616 cat >&5 <<_ACEOF
2619 ## ----------- ##
2620 ## Core tests. ##
2621 ## ----------- ##
2623 _ACEOF
2626 # Keep a trace of the command line.
2627 # Strip out --no-create and --no-recursion so they do not pile up.
2628 # Strip out --silent because we don't want to record it for future runs.
2629 # Also quote any args containing shell meta-characters.
2630 # Make two passes to allow for proper duplicate-argument suppression.
2631 ac_configure_args=
2632 ac_configure_args0=
2633 ac_configure_args1=
2634 ac_must_keep_next=false
2635 for ac_pass in 1 2
2637 for ac_arg
2639 case $ac_arg in
2640 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2642 | -silent | --silent | --silen | --sile | --sil)
2643 continue ;;
2644 *\'*)
2645 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2646 esac
2647 case $ac_pass in
2648 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2650 as_fn_append ac_configure_args1 " '$ac_arg'"
2651 if test $ac_must_keep_next = true; then
2652 ac_must_keep_next=false # Got value, back to normal.
2653 else
2654 case $ac_arg in
2655 *=* | --config-cache | -C | -disable-* | --disable-* \
2656 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2657 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2658 | -with-* | --with-* | -without-* | --without-* | --x)
2659 case "$ac_configure_args0 " in
2660 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2661 esac
2663 -* ) ac_must_keep_next=true ;;
2664 esac
2666 as_fn_append ac_configure_args " '$ac_arg'"
2668 esac
2669 done
2670 done
2671 { ac_configure_args0=; unset ac_configure_args0;}
2672 { ac_configure_args1=; unset ac_configure_args1;}
2674 # When interrupted or exit'd, cleanup temporary files, and complete
2675 # config.log. We remove comments because anyway the quotes in there
2676 # would cause problems or look ugly.
2677 # WARNING: Use '\'' to represent an apostrophe within the trap.
2678 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2679 trap 'exit_status=$?
2680 # Save into config.log some information that might help in debugging.
2682 echo
2684 cat <<\_ASBOX
2685 ## ---------------- ##
2686 ## Cache variables. ##
2687 ## ---------------- ##
2688 _ASBOX
2689 echo
2690 # The following way of writing the cache mishandles newlines in values,
2692 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2693 eval ac_val=\$$ac_var
2694 case $ac_val in #(
2695 *${as_nl}*)
2696 case $ac_var in #(
2697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2699 esac
2700 case $ac_var in #(
2701 _ | IFS | as_nl) ;; #(
2702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2703 *) { eval $ac_var=; unset $ac_var;} ;;
2704 esac ;;
2705 esac
2706 done
2707 (set) 2>&1 |
2708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2709 *${as_nl}ac_space=\ *)
2710 sed -n \
2711 "s/'\''/'\''\\\\'\'''\''/g;
2712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2713 ;; #(
2715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2717 esac |
2718 sort
2720 echo
2722 cat <<\_ASBOX
2723 ## ----------------- ##
2724 ## Output variables. ##
2725 ## ----------------- ##
2726 _ASBOX
2727 echo
2728 for ac_var in $ac_subst_vars
2730 eval ac_val=\$$ac_var
2731 case $ac_val in
2732 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2733 esac
2734 $as_echo "$ac_var='\''$ac_val'\''"
2735 done | sort
2736 echo
2738 if test -n "$ac_subst_files"; then
2739 cat <<\_ASBOX
2740 ## ------------------- ##
2741 ## File substitutions. ##
2742 ## ------------------- ##
2743 _ASBOX
2744 echo
2745 for ac_var in $ac_subst_files
2747 eval ac_val=\$$ac_var
2748 case $ac_val in
2749 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750 esac
2751 $as_echo "$ac_var='\''$ac_val'\''"
2752 done | sort
2753 echo
2756 if test -s confdefs.h; then
2757 cat <<\_ASBOX
2758 ## ----------- ##
2759 ## confdefs.h. ##
2760 ## ----------- ##
2761 _ASBOX
2762 echo
2763 cat confdefs.h
2764 echo
2766 test "$ac_signal" != 0 &&
2767 $as_echo "$as_me: caught signal $ac_signal"
2768 $as_echo "$as_me: exit $exit_status"
2769 } >&5
2770 rm -f core *.core core.conftest.* &&
2771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2772 exit $exit_status
2774 for ac_signal in 1 2 13 15; do
2775 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2776 done
2777 ac_signal=0
2779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2780 rm -f -r conftest* confdefs.h
2782 $as_echo "/* confdefs.h */" > confdefs.h
2784 # Predefined preprocessor variables.
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_NAME "$PACKAGE_NAME"
2788 _ACEOF
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2792 _ACEOF
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2796 _ACEOF
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_STRING "$PACKAGE_STRING"
2800 _ACEOF
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2804 _ACEOF
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_URL "$PACKAGE_URL"
2808 _ACEOF
2811 # Let the site file select an alternate cache file if it wants to.
2812 # Prefer an explicitly selected file to automatically selected ones.
2813 ac_site_file1=NONE
2814 ac_site_file2=NONE
2815 if test -n "$CONFIG_SITE"; then
2816 ac_site_file1=$CONFIG_SITE
2817 elif test "x$prefix" != xNONE; then
2818 ac_site_file1=$prefix/share/config.site
2819 ac_site_file2=$prefix/etc/config.site
2820 else
2821 ac_site_file1=$ac_default_prefix/share/config.site
2822 ac_site_file2=$ac_default_prefix/etc/config.site
2824 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2826 test "x$ac_site_file" = xNONE && continue
2827 if test -r "$ac_site_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2829 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2830 sed 's/^/| /' "$ac_site_file" >&5
2831 . "$ac_site_file"
2833 done
2835 if test -r "$cache_file"; then
2836 # Some versions of bash will fail to source /dev/null (special
2837 # files actually), so we avoid doing that.
2838 if test -f "$cache_file"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2840 $as_echo "$as_me: loading cache $cache_file" >&6;}
2841 case $cache_file in
2842 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2843 *) . "./$cache_file";;
2844 esac
2846 else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2848 $as_echo "$as_me: creating cache $cache_file" >&6;}
2849 >$cache_file
2852 # Check that the precious variables saved in the cache have kept the same
2853 # value.
2854 ac_cache_corrupted=false
2855 for ac_var in $ac_precious_vars; do
2856 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2857 eval ac_new_set=\$ac_env_${ac_var}_set
2858 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2859 eval ac_new_val=\$ac_env_${ac_var}_value
2860 case $ac_old_set,$ac_new_set in
2861 set,)
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2864 ac_cache_corrupted=: ;;
2865 ,set)
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2867 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2868 ac_cache_corrupted=: ;;
2869 ,);;
2871 if test "x$ac_old_val" != "x$ac_new_val"; then
2872 # differences in whitespace do not lead to failure.
2873 ac_old_val_w=`echo x $ac_old_val`
2874 ac_new_val_w=`echo x $ac_new_val`
2875 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2877 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2878 ac_cache_corrupted=:
2879 else
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2881 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2882 eval $ac_var=\$ac_old_val
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2885 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2887 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2888 fi;;
2889 esac
2890 # Pass precious variables to config.status.
2891 if test "$ac_new_set" = set; then
2892 case $ac_new_val in
2893 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2894 *) ac_arg=$ac_var=$ac_new_val ;;
2895 esac
2896 case " $ac_configure_args " in
2897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2898 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2899 esac
2901 done
2902 if $ac_cache_corrupted; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2906 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2907 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2909 ## -------------------- ##
2910 ## Main body of script. ##
2911 ## -------------------- ##
2913 ac_ext=c
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2924 ac_config_headers="$ac_config_headers config.h"
2927 # This works around the fact that libtool configuration may change LD
2928 # for this particular configuration, but some shells, instead of
2929 # keeping the changes in LD private, export them just because LD is
2930 # exported. Only used at the end of this file.
2931 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937 enableval=$enable_multilib; case "$enableval" in
2938 yes) multilib=yes ;;
2939 no) multilib=no ;;
2940 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941 esac
2942 else
2943 multilib=yes
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2951 if test "$srcdir" = "."; then
2952 if test "$with_target_subdir" != "."; then
2953 multi_basedir="$srcdir/$with_multisrctop../.."
2954 else
2955 multi_basedir="$srcdir/$with_multisrctop.."
2957 else
2958 multi_basedir="$srcdir/.."
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965 && test "x${with_multisubdir}" != x ; then
2966 cross_compiling=maybe
2969 ac_config_commands="$ac_config_commands default-1"
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2974 # You will slowly go insane if you do not grok the following fact: when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/. configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf. Therefore, 'target' and
2978 # 'host' will always be the same. This makes sense both for native and
2979 # cross compilers, just think about it for a little while. :-)
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2984 # Do not delete or change the following two lines. For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988 for ac_t in install-sh install.sh shtool; do
2989 if test -f "$ac_dir/$ac_t"; then
2990 ac_aux_dir=$ac_dir
2991 ac_install_sh="$ac_aux_dir/$ac_t -c"
2992 break 2
2994 done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 if test "x$host_alias" = x; then
3053 ac_cv_host=$ac_cv_build
3054 else
3055 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 if test "x$target_alias" = x; then
3086 ac_cv_target=$ac_cv_host
3087 else
3088 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116 test "$program_prefix$program_suffix$program_transform_name" = \
3117 NONENONEs,x,x, &&
3118 program_prefix=${target_alias}-
3120 target_alias=${target_alias-$host_alias}
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3125 if test "$build" != "$host"; then
3126 # We are being configured with some form of cross compiler.
3127 GLIBCXX_IS_NATIVE=false
3128 case "$host","$target" in
3129 # Darwin crosses can use the host system's libraries and headers,
3130 # because of the fat library support. Of course, it must be the
3131 # same version of Darwin on both sides. Allow the user to
3132 # just say --target=foo-darwin without a version number to mean
3133 # "the version on this system".
3134 *-*-darwin*,*-*-darwin*)
3135 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137 if test $hostos = $targetos -o $targetos = darwin ; then
3138 GLIBCXX_IS_NATIVE=true
3145 esac
3146 else
3147 GLIBCXX_IS_NATIVE=true
3150 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 # 1.x: minimum required version
3153 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 # of other PACKAGE_* variables will, however, and there's nothing
3155 # we can do about that; they come from AC_INIT).
3156 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3157 # file in the top srcdir, etc, etc), so stop complaining.
3158 # no-dependencies: turns off auto dependency generation (just for now)
3159 # no-dist: we don't want 'dist' and related rules.
3160 # -Wall: turns on all automake warnings...
3161 # -Wno-portability: ...except this one, since GNU make is now required.
3162 am__api_version='1.11'
3164 # Find a good install program. We prefer a C program (faster),
3165 # so one script is as good as another. But avoid the broken or
3166 # incompatible versions:
3167 # SysV /etc/install, /usr/sbin/install
3168 # SunOS /usr/etc/install
3169 # IRIX /sbin/install
3170 # AIX /bin/install
3171 # AmigaOS /C/install, which installs bootblocks on floppy discs
3172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3175 # OS/2's system install, which has a completely different semantic
3176 # ./install, which can be erroneously created by make from ./install.sh.
3177 # Reject install programs that cannot install multiple files.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3179 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3180 if test -z "$INSTALL"; then
3181 if test "${ac_cv_path_install+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3187 IFS=$as_save_IFS
3188 test -z "$as_dir" && as_dir=.
3189 # Account for people who put trailing slashes in PATH elements.
3190 case $as_dir/ in #((
3191 ./ | .// | /[cC]/* | \
3192 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3193 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3194 /usr/ucb/* ) ;;
3196 # OSF1 and SCO ODT 3.0 have their own names for install.
3197 # Don't use installbsd from OSF since it installs stuff as root
3198 # by default.
3199 for ac_prog in ginstall scoinst install; do
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3202 if test $ac_prog = install &&
3203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3204 # AIX install. It has an incompatible calling convention.
3206 elif test $ac_prog = install &&
3207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3208 # program-specific install script used by HP pwplus--don't use.
3210 else
3211 rm -rf conftest.one conftest.two conftest.dir
3212 echo one > conftest.one
3213 echo two > conftest.two
3214 mkdir conftest.dir
3215 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3216 test -s conftest.one && test -s conftest.two &&
3217 test -s conftest.dir/conftest.one &&
3218 test -s conftest.dir/conftest.two
3219 then
3220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3221 break 3
3225 done
3226 done
3228 esac
3230 done
3231 IFS=$as_save_IFS
3233 rm -rf conftest.one conftest.two conftest.dir
3236 if test "${ac_cv_path_install+set}" = set; then
3237 INSTALL=$ac_cv_path_install
3238 else
3239 # As a last resort, use the slow shell script. Don't cache a
3240 # value for INSTALL within a source directory, because that will
3241 # break other packages using the cache if that directory is
3242 # removed, or if the value is a relative name.
3243 INSTALL=$ac_install_sh
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3247 $as_echo "$INSTALL" >&6; }
3249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3250 # It thinks the first close brace ends the variable substitution.
3251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3255 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3258 $as_echo_n "checking whether build environment is sane... " >&6; }
3259 # Just in case
3260 sleep 1
3261 echo timestamp > conftest.file
3262 # Reject unsafe characters in $srcdir or the absolute working directory
3263 # name. Accept space and tab only in the latter.
3264 am_lf='
3266 case `pwd` in
3267 *[\\\"\#\$\&\'\`$am_lf]*)
3268 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3269 esac
3270 case $srcdir in
3271 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3272 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3273 esac
3275 # Do `set' in a subshell so we don't clobber the current shell's
3276 # arguments. Must try -L first in case configure is actually a
3277 # symlink; some systems play weird games with the mod time of symlinks
3278 # (eg FreeBSD returns the mod time of the symlink's containing
3279 # directory).
3280 if (
3281 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3282 if test "$*" = "X"; then
3283 # -L didn't work.
3284 set X `ls -t "$srcdir/configure" conftest.file`
3286 rm -f conftest.file
3287 if test "$*" != "X $srcdir/configure conftest.file" \
3288 && test "$*" != "X conftest.file $srcdir/configure"; then
3290 # If neither matched, then we have a broken ls. This can happen
3291 # if, for instance, CONFIG_SHELL is bash and it inherits a
3292 # broken ls alias from the environment. This has actually
3293 # happened. Such a system could not be considered "sane".
3294 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3295 alias in your environment" "$LINENO" 5
3298 test "$2" = conftest.file
3300 then
3301 # Ok.
3303 else
3304 as_fn_error "newly created file is older than distributed files!
3305 Check your system clock" "$LINENO" 5
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3309 test "$program_prefix" != NONE &&
3310 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3311 # Use a double $ so make ignores it.
3312 test "$program_suffix" != NONE &&
3313 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3314 # Double any \ or $.
3315 # By default was `s,x,x', remove it if useless.
3316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3319 # expand $ac_aux_dir to an absolute path
3320 am_aux_dir=`cd $ac_aux_dir && pwd`
3322 if test x"${MISSING+set}" != xset; then
3323 case $am_aux_dir in
3324 *\ * | *\ *)
3325 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3327 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3328 esac
3330 # Use eval to expand $SHELL
3331 if eval "$MISSING --run true"; then
3332 am_missing_run="$MISSING --run "
3333 else
3334 am_missing_run=
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3336 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3339 if test x"${install_sh}" != xset; then
3340 case $am_aux_dir in
3341 *\ * | *\ *)
3342 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3344 install_sh="\${SHELL} $am_aux_dir/install-sh"
3345 esac
3348 # Installed binaries are usually stripped using `strip' when the user
3349 # run `make install-strip'. However `strip' might not be the right
3350 # tool to use in cross-compilation environments, therefore Automake
3351 # will honor the `STRIP' environment variable to overrule this program.
3352 if test "$cross_compiling" != no; then
3353 if test -n "$ac_tool_prefix"; then
3354 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3355 set dummy ${ac_tool_prefix}strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_STRIP+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3360 else
3361 if test -n "$STRIP"; then
3362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3375 done
3376 done
3377 IFS=$as_save_IFS
3381 STRIP=$ac_cv_prog_STRIP
3382 if test -n "$STRIP"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3384 $as_echo "$STRIP" >&6; }
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3392 if test -z "$ac_cv_prog_STRIP"; then
3393 ac_ct_STRIP=$STRIP
3394 # Extract the first word of "strip", so it can be a program name with args.
3395 set dummy strip; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$ac_ct_STRIP"; then
3402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_ac_ct_STRIP="strip"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3415 done
3416 done
3417 IFS=$as_save_IFS
3421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3422 if test -n "$ac_ct_STRIP"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3424 $as_echo "$ac_ct_STRIP" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3430 if test "x$ac_ct_STRIP" = x; then
3431 STRIP=":"
3432 else
3433 case $cross_compiling:$ac_tool_warned in
3434 yes:)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3437 ac_tool_warned=yes ;;
3438 esac
3439 STRIP=$ac_ct_STRIP
3441 else
3442 STRIP="$ac_cv_prog_STRIP"
3446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3449 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3450 if test -z "$MKDIR_P"; then
3451 if test "${ac_cv_path_mkdir+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_prog in mkdir gmkdir; do
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3462 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3463 'mkdir (GNU coreutils) '* | \
3464 'mkdir (coreutils) '* | \
3465 'mkdir (fileutils) '4.1*)
3466 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3467 break 3;;
3468 esac
3469 done
3470 done
3471 done
3472 IFS=$as_save_IFS
3476 if test "${ac_cv_path_mkdir+set}" = set; then
3477 MKDIR_P="$ac_cv_path_mkdir -p"
3478 else
3479 # As a last resort, use the slow shell script. Don't cache a
3480 # value for MKDIR_P within a source directory, because that will
3481 # break other packages using the cache if that directory is
3482 # removed, or if the value is a relative name.
3483 test -d ./--version && rmdir ./--version
3484 MKDIR_P="$ac_install_sh -d"
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3488 $as_echo "$MKDIR_P" >&6; }
3490 mkdir_p="$MKDIR_P"
3491 case $mkdir_p in
3492 [\\/$]* | ?:[\\/]*) ;;
3493 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3494 esac
3496 for ac_prog in gawk mawk nawk awk
3498 # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if test "${ac_cv_prog_AWK+set}" = set; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 if test -n "$AWK"; then
3506 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515 ac_cv_prog_AWK="$ac_prog"
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3521 IFS=$as_save_IFS
3525 AWK=$ac_cv_prog_AWK
3526 if test -n "$AWK"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3528 $as_echo "$AWK" >&6; }
3529 else
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3535 test -n "$AWK" && break
3536 done
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 set x ${MAKE-make}
3541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 cat >conftest.make <<\_ACEOF
3546 SHELL = /bin/sh
3547 all:
3548 @echo '@@@%%%=$(MAKE)=@@@%%%'
3549 _ACEOF
3550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552 *@@@%%%=?*=@@@%%%*)
3553 eval ac_cv_prog_make_${ac_make}_set=yes;;
3555 eval ac_cv_prog_make_${ac_make}_set=no;;
3556 esac
3557 rm -f conftest.make
3559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562 SET_MAKE=
3563 else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 SET_MAKE="MAKE=${MAKE-make}"
3569 rm -rf .tst 2>/dev/null
3570 mkdir .tst 2>/dev/null
3571 if test -d .tst; then
3572 am__leading_dot=.
3573 else
3574 am__leading_dot=_
3576 rmdir .tst 2>/dev/null
3578 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3579 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3580 # is not polluted with repeated "-I."
3581 am__isrc=' -I$(srcdir)'
3582 # test to see if srcdir already configured
3583 if test -f $srcdir/config.status; then
3584 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3588 # test whether we have cygpath
3589 if test -z "$CYGPATH_W"; then
3590 if (cygpath --version) >/dev/null 2>/dev/null; then
3591 CYGPATH_W='cygpath -w'
3592 else
3593 CYGPATH_W=echo
3598 # Define the identity of the package.
3599 PACKAGE='libstdc++'
3600 VERSION='version-unused'
3603 # Some tools Automake needs.
3605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3619 # We need awk for the "check" target. The system "awk" is bad on
3620 # some platforms.
3621 # Always define AMTAR for backward compatibility. Yes, it's still used
3622 # in the wild :-( We should find a proper way to deprecate it ...
3623 AMTAR='$${TAR-tar}'
3625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3634 # -fno-builtin must be present here so that a non-conflicting form of
3635 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3637 save_CXXFLAGS="$CXXFLAGS"
3638 CXXFLAGS="$CXXFLAGS -fno-builtin"
3639 ac_ext=c
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3683 if test -z "$ac_cv_prog_CC"; then
3684 ac_ct_CC=$CC
3685 # Extract the first word of "gcc", so it can be a program name with args.
3686 set dummy gcc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test -n "$ac_ct_CC"; then
3693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 ac_cv_prog_ac_ct_CC="gcc"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3706 done
3707 done
3708 IFS=$as_save_IFS
3712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3713 if test -n "$ac_ct_CC"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3715 $as_echo "$ac_ct_CC" >&6; }
3716 else
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3721 if test "x$ac_ct_CC" = x; then
3722 CC=""
3723 else
3724 case $cross_compiling:$ac_tool_warned in
3725 yes:)
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728 ac_tool_warned=yes ;;
3729 esac
3730 CC=$ac_ct_CC
3732 else
3733 CC="$ac_cv_prog_CC"
3736 if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}cc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="${ac_tool_prefix}cc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3759 done
3760 done
3761 IFS=$as_save_IFS
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3777 if test -z "$CC"; then
3778 # Extract the first word of "cc", so it can be a program name with args.
3779 set dummy cc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC="$CC" # Let the user override the test.
3787 else
3788 ac_prog_rejected=no
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3797 ac_prog_rejected=yes
3798 continue
3800 ac_cv_prog_CC="cc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3808 if test $ac_prog_rejected = yes; then
3809 # We found a bogon in the path, so make sure we never use it.
3810 set dummy $ac_cv_prog_CC
3811 shift
3812 if test $# != 0; then
3813 # We chose a different compiler from the bogus one.
3814 # However, it has the same basename, so the bogon will be chosen
3815 # first if we set CC to just the basename; use the full file name.
3816 shift
3817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3833 if test -z "$CC"; then
3834 if test -n "$ac_tool_prefix"; then
3835 for ac_prog in cl.exe
3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test "${ac_cv_prog_CC+set}" = set; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3850 IFS=$as_save_IFS
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 break 2
3858 done
3859 done
3860 IFS=$as_save_IFS
3864 CC=$ac_cv_prog_CC
3865 if test -n "$CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3867 $as_echo "$CC" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$CC" && break
3875 done
3877 if test -z "$CC"; then
3878 ac_ct_CC=$CC
3879 for ac_prog in cl.exe
3881 # Extract the first word of "$ac_prog", so it can be a program name with args.
3882 set dummy $ac_prog; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$ac_ct_CC"; then
3889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_ac_ct_CC="$ac_prog"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3909 if test -n "$ac_ct_CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3911 $as_echo "$ac_ct_CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3918 test -n "$ac_ct_CC" && break
3919 done
3921 if test "x$ac_ct_CC" = x; then
3922 CC=""
3923 else
3924 case $cross_compiling:$ac_tool_warned in
3925 yes:)
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned=yes ;;
3929 esac
3930 CC=$ac_ct_CC
3937 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "no acceptable C compiler found in \$PATH
3940 See \`config.log' for more details." "$LINENO" 5; }
3942 # Provide some information about the compiler.
3943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3944 set X $ac_compile
3945 ac_compiler=$2
3946 for ac_option in --version -v -V -qversion; do
3947 { { ac_try="$ac_compiler $ac_option >&5"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3955 ac_status=$?
3956 if test -s conftest.err; then
3957 sed '10a\
3958 ... rest of stderr output deleted ...
3959 10q' conftest.err >conftest.er1
3960 cat conftest.er1 >&5
3961 rm -f conftest.er1 conftest.err
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }
3965 done
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 # FIXME: Cleanup?
3979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3980 (eval $ac_link) 2>&5
3981 ac_status=$?
3982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983 test $ac_status = 0; }; then :
3984 gcc_no_link=no
3985 else
3986 gcc_no_link=yes
3988 if test x$gcc_no_link = xyes; then
3989 # Setting cross_compile will disable run tests; it will
3990 # also disable AC_CHECK_FILE but that's generally
3991 # correct if we can't link.
3992 cross_compiling=yes
3993 EXEEXT=
3994 else
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3999 main ()
4003 return 0;
4005 _ACEOF
4006 ac_clean_files_save=$ac_clean_files
4007 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4008 # Try to create an executable without -o first, disregard a.out.
4009 # It will help us diagnose broken compilers, and finding out an intuition
4010 # of exeext.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4015 # The possible output files:
4016 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4018 ac_rmfiles=
4019 for ac_file in $ac_files
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4024 esac
4025 done
4026 rm -f $ac_rmfiles
4028 if { { ac_try="$ac_link_default"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link_default") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4041 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4042 # so that the user can short-circuit this test for compilers unknown to
4043 # Autoconf.
4044 for ac_file in $ac_files ''
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4050 [ab].out )
4051 # We found the default executable, but exeext='' is most
4052 # certainly right.
4053 break;;
4054 *.* )
4055 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4056 then :; else
4057 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059 # We set ac_cv_exeext here because the later test for it is not
4060 # safe: cross compilers may not add the suffix if given an `-o'
4061 # argument, so we may need to know it at that point already.
4062 # Even if this section looks crufty: it has the advantage of
4063 # actually working.
4064 break;;
4066 break;;
4067 esac
4068 done
4069 test "$ac_cv_exeext" = no && ac_cv_exeext=
4071 else
4072 ac_file=''
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4075 $as_echo "$ac_file" >&6; }
4076 if test -z "$ac_file"; then :
4077 $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 { as_fn_set_status 77
4083 as_fn_error "C compiler cannot create executables
4084 See \`config.log' for more details." "$LINENO" 5; }; }
4086 ac_exeext=$ac_cv_exeext
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 $as_echo_n "checking whether the C compiler works... " >&6; }
4092 # If not cross compiling, check that we can run a simple program.
4093 if test "$cross_compiling" != yes; then
4094 if { ac_try='./$ac_file'
4095 { { case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_try") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; }; then
4105 cross_compiling=no
4106 else
4107 if test "$cross_compiling" = maybe; then
4108 cross_compiling=yes
4109 else
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details." "$LINENO" 5; }
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4122 ac_clean_files=$ac_clean_files_save
4123 # Check that the compiler produces executables we can run. If not, either
4124 # the compiler is broken, or we cross compile.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4126 $as_echo_n "checking whether we are cross compiling... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4133 case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4136 esac
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_link") 2>&5
4140 ac_status=$?
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }; then :
4143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4146 # `rm'.
4147 for ac_file in conftest.exe conftest conftest.*; do
4148 test -f "$ac_file" || continue
4149 case $ac_file in
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152 break;;
4153 * ) break;;
4154 esac
4155 done
4156 else
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details." "$LINENO" 5; }
4162 rm -f conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4168 ac_exeext=$EXEEXT
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4171 $as_echo_n "checking for suffix of object files... " >&6; }
4172 if test "${ac_cv_objext+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4179 main ()
4183 return 0;
4185 _ACEOF
4186 rm -f conftest.o conftest.obj
4187 if { { ac_try="$ac_compile"
4188 case "(($ac_try" in
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194 (eval "$ac_compile") 2>&5
4195 ac_status=$?
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }; then :
4198 for ac_file in conftest.o conftest.obj conftest.*; do
4199 test -f "$ac_file" || continue;
4200 case $ac_file in
4201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4202 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4203 break;;
4204 esac
4205 done
4206 else
4207 $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error "cannot compute suffix of object files: cannot compile
4213 See \`config.log' for more details." "$LINENO" 5; }
4215 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4218 $as_echo "$ac_cv_objext" >&6; }
4219 OBJEXT=$ac_cv_objext
4220 ac_objext=$OBJEXT
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4222 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4223 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4232 #ifndef __GNUC__
4233 choke me
4234 #endif
4237 return 0;
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_compiler_gnu=yes
4242 else
4243 ac_compiler_gnu=no
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4250 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4251 if test $ac_compiler_gnu = yes; then
4252 GCC=yes
4253 else
4254 GCC=
4256 ac_test_CFLAGS=${CFLAGS+set}
4257 ac_save_CFLAGS=$CFLAGS
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4259 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4260 if test "${ac_cv_prog_cc_g+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 ac_save_c_werror_flag=$ac_c_werror_flag
4264 ac_c_werror_flag=yes
4265 ac_cv_prog_cc_g=no
4266 CFLAGS="-g"
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4271 main ()
4275 return 0;
4277 _ACEOF
4278 if ac_fn_c_try_compile "$LINENO"; then :
4279 ac_cv_prog_cc_g=yes
4280 else
4281 CFLAGS=""
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4286 main ()
4290 return 0;
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4295 else
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4297 CFLAGS="-g"
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4302 main ()
4306 return 0;
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_g=yes
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4320 $as_echo "$ac_cv_prog_cc_g" >&6; }
4321 if test "$ac_test_CFLAGS" = set; then
4322 CFLAGS=$ac_save_CFLAGS
4323 elif test $ac_cv_prog_cc_g = yes; then
4324 if test "$GCC" = yes; then
4325 CFLAGS="-g -O2"
4326 else
4327 CFLAGS="-g"
4329 else
4330 if test "$GCC" = yes; then
4331 CFLAGS="-O2"
4332 else
4333 CFLAGS=
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4337 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4338 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_cv_prog_cc_c89=no
4342 ac_save_CC=$CC
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <stdarg.h>
4346 #include <stdio.h>
4347 #include <sys/types.h>
4348 #include <sys/stat.h>
4349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4350 struct buf { int x; };
4351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4352 static char *e (p, i)
4353 char **p;
4354 int i;
4356 return p[i];
4358 static char *f (char * (*g) (char **, int), char **p, ...)
4360 char *s;
4361 va_list v;
4362 va_start (v,p);
4363 s = g (p, va_arg (v,int));
4364 va_end (v);
4365 return s;
4368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4369 function prototypes and stuff, but not '\xHH' hex character constants.
4370 These don't provoke an error unfortunately, instead are silently treated
4371 as 'x'. The following induces an error, until -std is added to get
4372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4373 array size at least. It's necessary to write '\x00'==0 to get something
4374 that's true only with -std. */
4375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4378 inside strings and character constants. */
4379 #define FOO(x) 'x'
4380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4382 int test (int i, double x);
4383 struct s1 {int (*f) (int a);};
4384 struct s2 {int (*f) (double a);};
4385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4386 int argc;
4387 char **argv;
4389 main ()
4391 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4393 return 0;
4395 _ACEOF
4396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4399 CC="$ac_save_CC $ac_arg"
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_cv_prog_cc_c89=$ac_arg
4403 rm -f core conftest.err conftest.$ac_objext
4404 test "x$ac_cv_prog_cc_c89" != "xno" && break
4405 done
4406 rm -f conftest.$ac_ext
4407 CC=$ac_save_CC
4410 # AC_CACHE_VAL
4411 case "x$ac_cv_prog_cc_c89" in
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4414 $as_echo "none needed" >&6; } ;;
4415 xno)
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4417 $as_echo "unsupported" >&6; } ;;
4419 CC="$CC $ac_cv_prog_cc_c89"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4421 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4422 esac
4423 if test "x$ac_cv_prog_cc_c89" != xno; then :
4427 ac_ext=c
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433 ac_ext=cpp
4434 ac_cpp='$CXXCPP $CPPFLAGS'
4435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4438 if test -z "$CXX"; then
4439 if test -n "$CCC"; then
4440 CXX=$CCC
4441 else
4442 if test -n "$ac_tool_prefix"; then
4443 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_prog_CXX+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 if test -n "$CXX"; then
4453 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4458 IFS=$as_save_IFS
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 break 2
4466 done
4467 done
4468 IFS=$as_save_IFS
4472 CXX=$ac_cv_prog_CXX
4473 if test -n "$CXX"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4475 $as_echo "$CXX" >&6; }
4476 else
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4482 test -n "$CXX" && break
4483 done
4485 if test -z "$CXX"; then
4486 ac_ct_CXX=$CXX
4487 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$ac_ct_CXX"; then
4497 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506 ac_cv_prog_ac_ct_CXX="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
4516 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4517 if test -n "$ac_ct_CXX"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4519 $as_echo "$ac_ct_CXX" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$ac_ct_CXX" && break
4527 done
4529 if test "x$ac_ct_CXX" = x; then
4530 CXX="g++"
4531 else
4532 case $cross_compiling:$ac_tool_warned in
4533 yes:)
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4536 ac_tool_warned=yes ;;
4537 esac
4538 CXX=$ac_ct_CXX
4544 # Provide some information about the compiler.
4545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4546 set X $ac_compile
4547 ac_compiler=$2
4548 for ac_option in --version -v -V -qversion; do
4549 { { ac_try="$ac_compiler $ac_option >&5"
4550 case "(($ac_try" in
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4553 esac
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4557 ac_status=$?
4558 if test -s conftest.err; then
4559 sed '10a\
4560 ... rest of stderr output deleted ...
4561 10q' conftest.err >conftest.er1
4562 cat conftest.er1 >&5
4563 rm -f conftest.er1 conftest.err
4565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566 test $ac_status = 0; }
4567 done
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4571 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4578 main ()
4580 #ifndef __GNUC__
4581 choke me
4582 #endif
4585 return 0;
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4589 ac_compiler_gnu=yes
4590 else
4591 ac_compiler_gnu=no
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4600 GXX=yes
4601 else
4602 GXX=
4604 ac_test_CXXFLAGS=${CXXFLAGS+set}
4605 ac_save_CXXFLAGS=$CXXFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4608 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4612 ac_cxx_werror_flag=yes
4613 ac_cv_prog_cxx_g=no
4614 CXXFLAGS="-g"
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4619 main ()
4623 return 0;
4625 _ACEOF
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4627 ac_cv_prog_cxx_g=yes
4628 else
4629 CXXFLAGS=""
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4634 main ()
4638 return 0;
4640 _ACEOF
4641 if ac_fn_cxx_try_compile "$LINENO"; then :
4643 else
4644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645 CXXFLAGS="-g"
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4650 main ()
4654 return 0;
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658 ac_cv_prog_cxx_g=yes
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4668 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4669 if test "$ac_test_CXXFLAGS" = set; then
4670 CXXFLAGS=$ac_save_CXXFLAGS
4671 elif test $ac_cv_prog_cxx_g = yes; then
4672 if test "$GXX" = yes; then
4673 CXXFLAGS="-g -O2"
4674 else
4675 CXXFLAGS="-g"
4677 else
4678 if test "$GXX" = yes; then
4679 CXXFLAGS="-O2"
4680 else
4681 CXXFLAGS=
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690 CXXFLAGS="$save_CXXFLAGS"
4692 # Runs configure.host, and assorted other critical bits. Sets
4693 # up critical shell variables.
4695 ac_ext=c
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4702 # On Suns, sometimes $CPP names a directory.
4703 if test -n "$CPP" && test -d "$CPP"; then
4704 CPP=
4706 if test -z "$CPP"; then
4707 if test "${ac_cv_prog_CPP+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 # Double quotes because CPP needs to be expanded
4711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4713 ac_preproc_ok=false
4714 for ac_c_preproc_warn_flag in '' yes
4716 # Use a header file that comes with gcc, so configuring glibc
4717 # with a fresh cross-compiler works.
4718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4719 # <limits.h> exists even on freestanding compilers.
4720 # On the NeXT, cc -E runs the code through the compiler's parser,
4721 # not just through cpp. "Syntax error" is here to catch this case.
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #ifdef __STDC__
4725 # include <limits.h>
4726 #else
4727 # include <assert.h>
4728 #endif
4729 Syntax error
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4733 else
4734 # Broken: fails on valid input.
4735 continue
4737 rm -f conftest.err conftest.$ac_ext
4739 # OK, works on sane cases. Now check whether nonexistent headers
4740 # can be detected and how.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if ac_fn_c_try_cpp "$LINENO"; then :
4746 # Broken: success on invalid input.
4747 continue
4748 else
4749 # Passes both tests.
4750 ac_preproc_ok=:
4751 break
4753 rm -f conftest.err conftest.$ac_ext
4755 done
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.$ac_ext
4758 if $ac_preproc_ok; then :
4759 break
4762 done
4763 ac_cv_prog_CPP=$CPP
4766 CPP=$ac_cv_prog_CPP
4767 else
4768 ac_cv_prog_CPP=$CPP
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4771 $as_echo "$CPP" >&6; }
4772 ac_preproc_ok=false
4773 for ac_c_preproc_warn_flag in '' yes
4775 # Use a header file that comes with gcc, so configuring glibc
4776 # with a fresh cross-compiler works.
4777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 # <limits.h> exists even on freestanding compilers.
4779 # On the NeXT, cc -E runs the code through the compiler's parser,
4780 # not just through cpp. "Syntax error" is here to catch this case.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 #ifdef __STDC__
4784 # include <limits.h>
4785 #else
4786 # include <assert.h>
4787 #endif
4788 Syntax error
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4792 else
4793 # Broken: fails on valid input.
4794 continue
4796 rm -f conftest.err conftest.$ac_ext
4798 # OK, works on sane cases. Now check whether nonexistent headers
4799 # can be detected and how.
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <ac_nonexistent.h>
4803 _ACEOF
4804 if ac_fn_c_try_cpp "$LINENO"; then :
4805 # Broken: success on invalid input.
4806 continue
4807 else
4808 # Passes both tests.
4809 ac_preproc_ok=:
4810 break
4812 rm -f conftest.err conftest.$ac_ext
4814 done
4815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4816 rm -f conftest.err conftest.$ac_ext
4817 if $ac_preproc_ok; then :
4819 else
4820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4822 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4823 See \`config.log' for more details." "$LINENO" 5; }
4826 ac_ext=c
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4834 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4835 if test "${ac_cv_path_GREP+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 if test -z "$GREP"; then
4839 ac_path_GREP_found=false
4840 # Loop through the user's path and test for each of PROGNAME-LIST
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4844 IFS=$as_save_IFS
4845 test -z "$as_dir" && as_dir=.
4846 for ac_prog in grep ggrep; do
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4849 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4850 # Check for GNU ac_path_GREP and select it if it is found.
4851 # Check for GNU $ac_path_GREP
4852 case `"$ac_path_GREP" --version 2>&1` in
4853 *GNU*)
4854 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4856 ac_count=0
4857 $as_echo_n 0123456789 >"conftest.in"
4858 while :
4860 cat "conftest.in" "conftest.in" >"conftest.tmp"
4861 mv "conftest.tmp" "conftest.in"
4862 cp "conftest.in" "conftest.nl"
4863 $as_echo 'GREP' >> "conftest.nl"
4864 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4866 as_fn_arith $ac_count + 1 && ac_count=$as_val
4867 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4868 # Best one so far, save it but keep looking for a better one
4869 ac_cv_path_GREP="$ac_path_GREP"
4870 ac_path_GREP_max=$ac_count
4872 # 10*(2^10) chars as input seems more than enough
4873 test $ac_count -gt 10 && break
4874 done
4875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 esac
4878 $ac_path_GREP_found && break 3
4879 done
4880 done
4881 done
4882 IFS=$as_save_IFS
4883 if test -z "$ac_cv_path_GREP"; then
4884 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4886 else
4887 ac_cv_path_GREP=$GREP
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4892 $as_echo "$ac_cv_path_GREP" >&6; }
4893 GREP="$ac_cv_path_GREP"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4897 $as_echo_n "checking for egrep... " >&6; }
4898 if test "${ac_cv_path_EGREP+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4902 then ac_cv_path_EGREP="$GREP -E"
4903 else
4904 if test -z "$EGREP"; then
4905 ac_path_EGREP_found=false
4906 # Loop through the user's path and test for each of PROGNAME-LIST
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_prog in egrep; do
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4915 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4916 # Check for GNU ac_path_EGREP and select it if it is found.
4917 # Check for GNU $ac_path_EGREP
4918 case `"$ac_path_EGREP" --version 2>&1` in
4919 *GNU*)
4920 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4922 ac_count=0
4923 $as_echo_n 0123456789 >"conftest.in"
4924 while :
4926 cat "conftest.in" "conftest.in" >"conftest.tmp"
4927 mv "conftest.tmp" "conftest.in"
4928 cp "conftest.in" "conftest.nl"
4929 $as_echo 'EGREP' >> "conftest.nl"
4930 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4931 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4932 as_fn_arith $ac_count + 1 && ac_count=$as_val
4933 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4934 # Best one so far, save it but keep looking for a better one
4935 ac_cv_path_EGREP="$ac_path_EGREP"
4936 ac_path_EGREP_max=$ac_count
4938 # 10*(2^10) chars as input seems more than enough
4939 test $ac_count -gt 10 && break
4940 done
4941 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4942 esac
4944 $ac_path_EGREP_found && break 3
4945 done
4946 done
4947 done
4948 IFS=$as_save_IFS
4949 if test -z "$ac_cv_path_EGREP"; then
4950 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4952 else
4953 ac_cv_path_EGREP=$EGREP
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4959 $as_echo "$ac_cv_path_EGREP" >&6; }
4960 EGREP="$ac_cv_path_EGREP"
4964 # Keep these sync'd with the list in Makefile.am. The first provides an
4965 # expandable list at autoconf time; the second provides an expandable list
4966 # (i.e., shell variable) at configure time.
4968 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
4970 # These need to be absolute paths, yet at the same time need to
4971 # canonicalize only relative paths, because then amd will not unmount
4972 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4973 glibcxx_builddir=`${PWDCMD-pwd}`
4974 case $srcdir in
4975 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4976 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4977 esac
4978 toplevel_builddir=${glibcxx_builddir}/..
4979 toplevel_srcdir=${glibcxx_srcdir}/..
4985 # We use these options to decide which functions to include. They are
4986 # set from the top level.
4988 # Check whether --with-target-subdir was given.
4989 if test "${with_target_subdir+set}" = set; then :
4990 withval=$with_target_subdir;
4995 # Check whether --with-cross-host was given.
4996 if test "${with_cross_host+set}" = set; then :
4997 withval=$with_cross_host;
5002 # Check whether --with-newlib was given.
5003 if test "${with_newlib+set}" = set; then :
5004 withval=$with_newlib;
5008 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5009 # available). Uncomment the next line to force a particular method.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5012 LN_S=$as_ln_s
5013 if test "$LN_S" = "ln -s"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5021 #LN_S='cp -p'
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}as; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_AS+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$AS"; then
5032 ac_cv_prog_AS="$AS" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_AS="${ac_tool_prefix}as"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5045 done
5046 done
5047 IFS=$as_save_IFS
5051 AS=$ac_cv_prog_AS
5052 if test -n "$AS"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5054 $as_echo "$AS" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5062 if test -z "$ac_cv_prog_AS"; then
5063 ac_ct_AS=$AS
5064 # Extract the first word of "as", so it can be a program name with args.
5065 set dummy as; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$ac_ct_AS"; then
5072 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_AS="as"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5085 done
5086 done
5087 IFS=$as_save_IFS
5091 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5092 if test -n "$ac_ct_AS"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5094 $as_echo "$ac_ct_AS" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5100 if test "x$ac_ct_AS" = x; then
5101 AS=""
5102 else
5103 case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109 AS=$ac_ct_AS
5111 else
5112 AS="$ac_cv_prog_AS"
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5117 set dummy ${ac_tool_prefix}ar; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_AR+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$AR"; then
5124 ac_cv_prog_AR="$AR" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_AR="${ac_tool_prefix}ar"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5137 done
5138 done
5139 IFS=$as_save_IFS
5143 AR=$ac_cv_prog_AR
5144 if test -n "$AR"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5146 $as_echo "$AR" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 if test -z "$ac_cv_prog_AR"; then
5155 ac_ct_AR=$AR
5156 # Extract the first word of "ar", so it can be a program name with args.
5157 set dummy ar; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$ac_ct_AR"; then
5164 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_AR="ar"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5177 done
5178 done
5179 IFS=$as_save_IFS
5183 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5184 if test -n "$ac_ct_AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5186 $as_echo "$ac_ct_AR" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5192 if test "x$ac_ct_AR" = x; then
5193 AR=""
5194 else
5195 case $cross_compiling:$ac_tool_warned in
5196 yes:)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned=yes ;;
5200 esac
5201 AR=$ac_ct_AR
5203 else
5204 AR="$ac_cv_prog_AR"
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$RANLIB"; then
5216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 RANLIB=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247 ac_ct_RANLIB=$RANLIB
5248 # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_RANLIB"; then
5256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_RANLIB="ranlib"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5269 done
5270 done
5271 IFS=$as_save_IFS
5275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_RANLIB" = x; then
5285 RANLIB="ranlib-not-found-in-path-error"
5286 else
5287 case $cross_compiling:$ac_tool_warned in
5288 yes:)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5292 esac
5293 RANLIB=$ac_ct_RANLIB
5295 else
5296 RANLIB="$ac_cv_prog_RANLIB"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5302 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5303 # Check whether --enable-maintainer-mode was given.
5304 if test "${enable_maintainer_mode+set}" = set; then :
5305 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5306 else
5307 USE_MAINTAINER_MODE=no
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5311 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5312 if test $USE_MAINTAINER_MODE = yes; then
5313 MAINTAINER_MODE_TRUE=
5314 MAINTAINER_MODE_FALSE='#'
5315 else
5316 MAINTAINER_MODE_TRUE='#'
5317 MAINTAINER_MODE_FALSE=
5320 MAINT=$MAINTAINER_MODE_TRUE
5324 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5325 # which are themselves conditionally expanded.
5326 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5327 ## other macros from doing the same. This should be automated.) -pme
5329 # Check for C library flavor since GNU/Linux platforms use different
5330 # configuration directories depending on the C library in use.
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5334 #include <stdio.h>
5335 #if __UCLIBC__
5336 _using_uclibc
5337 #endif
5339 _ACEOF
5340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5341 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5342 uclibc=yes
5343 else
5344 uclibc=no
5346 rm -f conftest*
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5352 #include <stdio.h>
5353 #if __BIONIC__
5354 _using_bionic
5355 #endif
5357 _ACEOF
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5360 bionic=yes
5361 else
5362 bionic=no
5364 rm -f conftest*
5367 # Find platform-specific directories containing configuration info.
5368 # Also possibly modify flags used elsewhere, as needed by the platform.
5370 . $glibcxx_srcdir/configure.host
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5372 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5374 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5378 # Libtool setup.
5379 if test "x${with_newlib}" != "xyes"; then
5380 enable_dlopen=yes
5385 case `pwd` in
5386 *\ * | *\ *)
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5388 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5389 esac
5393 macro_version='2.2.7a'
5394 macro_revision='1.3134'
5408 ltmain="$ac_aux_dir/ltmain.sh"
5410 # Backslashify metacharacters that are still active within
5411 # double-quoted strings.
5412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5414 # Same as above, but do not quote variable references.
5415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5417 # Sed substitution to delay expansion of an escaped shell variable in a
5418 # double_quote_subst'ed string.
5419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5421 # Sed substitution to delay expansion of an escaped single quote.
5422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5424 # Sed substitution to avoid accidental globbing in evaled expressions
5425 no_glob_subst='s/\*/\\\*/g'
5427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5432 $as_echo_n "checking how to print strings... " >&6; }
5433 # Test print first, because it will be a builtin if present.
5434 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5435 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5436 ECHO='print -r --'
5437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5438 ECHO='printf %s\n'
5439 else
5440 # Use this function as a fallback that always works.
5441 func_fallback_echo ()
5443 eval 'cat <<_LTECHO_EOF
5445 _LTECHO_EOF'
5447 ECHO='func_fallback_echo'
5450 # func_echo_all arg...
5451 # Invoke $ECHO with all args, space-separated.
5452 func_echo_all ()
5454 $ECHO ""
5457 case "$ECHO" in
5458 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5459 $as_echo "printf" >&6; } ;;
5460 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5461 $as_echo "print -r" >&6; } ;;
5462 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5463 $as_echo "cat" >&6; } ;;
5464 esac
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5481 if test "${ac_cv_path_SED+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5485 for ac_i in 1 2 3 4 5 6 7; do
5486 ac_script="$ac_script$as_nl$ac_script"
5487 done
5488 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5489 { ac_script=; unset ac_script;}
5490 if test -z "$SED"; then
5491 ac_path_SED_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in sed gsed; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5501 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5502 # Check for GNU ac_path_SED and select it if it is found.
5503 # Check for GNU $ac_path_SED
5504 case `"$ac_path_SED" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo '' >> "conftest.nl"
5516 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_SED_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_SED="$ac_path_SED"
5522 ac_path_SED_max=$ac_count
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5530 $ac_path_SED_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_SED"; then
5536 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5538 else
5539 ac_cv_path_SED=$SED
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5544 $as_echo "$ac_cv_path_SED" >&6; }
5545 SED="$ac_cv_path_SED"
5546 rm -f conftest.sed
5548 test -z "$SED" && SED=sed
5549 Xsed="$SED -e 1s/^X//"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if test "${ac_cv_path_FGREP+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567 then ac_cv_path_FGREP="$GREP -F"
5568 else
5569 if test -z "$FGREP"; then
5570 ac_path_FGREP_found=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_prog in fgrep; do
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582 # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5584 *GNU*)
5585 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5587 ac_count=0
5588 $as_echo_n 0123456789 >"conftest.in"
5589 while :
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'FGREP' >> "conftest.nl"
5595 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597 as_fn_arith $ac_count + 1 && ac_count=$as_val
5598 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_FGREP="$ac_path_FGREP"
5601 ac_path_FGREP_max=$ac_count
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5605 done
5606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5609 $ac_path_FGREP_found && break 3
5610 done
5611 done
5612 done
5613 IFS=$as_save_IFS
5614 if test -z "$ac_cv_path_FGREP"; then
5615 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617 else
5618 ac_cv_path_FGREP=$FGREP
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625 FGREP="$ac_cv_path_FGREP"
5628 test -z "$GREP" && GREP=grep
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5651 else
5652 with_gnu_ld=no
5655 ac_prog=ld
5656 if test "$GCC" = yes; then
5657 # Check if gcc -print-prog-name=ld gives a path.
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5660 case $host in
5661 *-*-mingw*)
5662 # gcc leaves a trailing carriage return which upsets mingw
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5665 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5666 esac
5667 case $ac_prog in
5668 # Accept absolute paths.
5669 [\\/]* | ?:[\\/]*)
5670 re_direlt='/[^/][^/]*/\.\./'
5671 # Canonicalize the pathname of ld
5672 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675 done
5676 test -z "$LD" && LD="$ac_prog"
5679 # If it fails, then pretend we aren't using GCC.
5680 ac_prog=ld
5683 # If it is relative, then search for the first ld in PATH.
5684 with_gnu_ld=unknown
5686 esac
5687 elif test "$with_gnu_ld" = yes; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5694 if test "${lt_cv_path_LD+set}" = set; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 if test -z "$LD"; then
5698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5699 for ac_dir in $PATH; do
5700 IFS="$lt_save_ifs"
5701 test -z "$ac_dir" && ac_dir=.
5702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703 lt_cv_path_LD="$ac_dir/$ac_prog"
5704 # Check to see if the program is GNU ld. I'd rather use --version,
5705 # but apparently some variants of GNU ld only accept -v.
5706 # Break only if it was the GNU/non-GNU ld that we prefer.
5707 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708 *GNU* | *'with BFD'*)
5709 test "$with_gnu_ld" != no && break
5712 test "$with_gnu_ld" != yes && break
5714 esac
5716 done
5717 IFS="$lt_save_ifs"
5718 else
5719 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5723 LD="$lt_cv_path_LD"
5724 if test -n "$LD"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5731 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740 lt_cv_prog_gnu_ld=yes
5743 lt_cv_prog_gnu_ld=no
5745 esac
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if test "${lt_cv_path_NM+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$NM"; then
5765 # Let the user override the test.
5766 lt_cv_path_NM="$NM"
5767 else
5768 lt_nm_to_check="${ac_tool_prefix}nm"
5769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770 lt_nm_to_check="$lt_nm_to_check nm"
5772 for lt_tmp_nm in $lt_nm_to_check; do
5773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775 IFS="$lt_save_ifs"
5776 test -z "$ac_dir" && ac_dir=.
5777 tmp_nm="$ac_dir/$lt_tmp_nm"
5778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5779 # Check to see if the nm accepts a BSD-compat flag.
5780 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5781 # nm: unknown option "B" ignored
5782 # Tru64's nm complains that /dev/null is an invalid object file
5783 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5784 */dev/null* | *'Invalid file or object type'*)
5785 lt_cv_path_NM="$tmp_nm -B"
5786 break
5789 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5790 */dev/null*)
5791 lt_cv_path_NM="$tmp_nm -p"
5792 break
5795 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5796 continue # so that we can try to find one that supports BSD flags
5798 esac
5800 esac
5802 done
5803 IFS="$lt_save_ifs"
5804 done
5805 : ${lt_cv_path_NM=no}
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5809 $as_echo "$lt_cv_path_NM" >&6; }
5810 if test "$lt_cv_path_NM" != "no"; then
5811 NM="$lt_cv_path_NM"
5812 else
5813 # Didn't find any BSD compatible name lister, look for dumpbin.
5814 if test -n "$DUMPBIN"; then :
5815 # Let the user override the test.
5816 else
5817 if test -n "$ac_tool_prefix"; then
5818 for ac_prog in dumpbin "link -dump"
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$DUMPBIN"; then
5828 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 DUMPBIN=$ac_cv_prog_DUMPBIN
5848 if test -n "$DUMPBIN"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5850 $as_echo "$DUMPBIN" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$DUMPBIN" && break
5858 done
5860 if test -z "$DUMPBIN"; then
5861 ac_ct_DUMPBIN=$DUMPBIN
5862 for ac_prog in dumpbin "link -dump"
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$ac_ct_DUMPBIN"; then
5872 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5892 if test -n "$ac_ct_DUMPBIN"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5894 $as_echo "$ac_ct_DUMPBIN" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$ac_ct_DUMPBIN" && break
5902 done
5904 if test "x$ac_ct_DUMPBIN" = x; then
5905 DUMPBIN=":"
5906 else
5907 case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913 DUMPBIN=$ac_ct_DUMPBIN
5917 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5918 *COFF*)
5919 DUMPBIN="$DUMPBIN -symbols"
5922 DUMPBIN=:
5924 esac
5927 if test "$DUMPBIN" != ":"; then
5928 NM="$DUMPBIN"
5931 test -z "$NM" && NM=nm
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5940 if test "${lt_cv_nm_interface+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 lt_cv_nm_interface="BSD nm"
5944 echo "int some_variable = 0;" > conftest.$ac_ext
5945 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5946 (eval "$ac_compile" 2>conftest.err)
5947 cat conftest.err >&5
5948 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5949 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5950 cat conftest.err >&5
5951 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5952 cat conftest.out >&5
5953 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5954 lt_cv_nm_interface="MS dumpbin"
5956 rm -f conftest*
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5959 $as_echo "$lt_cv_nm_interface" >&6; }
5961 # find the maximum length of command line arguments
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5964 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5968 teststring="ABCD"
5970 case $build_os in
5971 msdosdjgpp*)
5972 # On DJGPP, this test can blow up pretty badly due to problems in libc
5973 # (any single argument exceeding 2000 bytes causes a buffer overrun
5974 # during glob expansion). Even if it were fixed, the result of this
5975 # check would be larger than it should be.
5976 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5979 gnu*)
5980 # Under GNU Hurd, this test is not required because there is
5981 # no limit to the length of command line arguments.
5982 # Libtool will interpret -1 as no limit whatsoever
5983 lt_cv_sys_max_cmd_len=-1;
5986 cygwin* | mingw* | cegcc*)
5987 # On Win9x/ME, this test blows up -- it succeeds, but takes
5988 # about 5 minutes as the teststring grows exponentially.
5989 # Worse, since 9x/ME are not pre-emptively multitasking,
5990 # you end up with a "frozen" computer, even though with patience
5991 # the test eventually succeeds (with a max line length of 256k).
5992 # Instead, let's just punt: use the minimum linelength reported by
5993 # all of the supported platforms: 8192 (on NT/2K/XP).
5994 lt_cv_sys_max_cmd_len=8192;
5997 mint*)
5998 # On MiNT this can take a long time and run out of memory.
5999 lt_cv_sys_max_cmd_len=8192;
6002 amigaos*)
6003 # On AmigaOS with pdksh, this test takes hours, literally.
6004 # So we just punt and use a minimum line length of 8192.
6005 lt_cv_sys_max_cmd_len=8192;
6008 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6009 # This has been around since 386BSD, at least. Likely further.
6010 if test -x /sbin/sysctl; then
6011 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6012 elif test -x /usr/sbin/sysctl; then
6013 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6014 else
6015 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6017 # And add a safety zone
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6022 interix*)
6023 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6024 lt_cv_sys_max_cmd_len=196608
6027 osf*)
6028 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6029 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6030 # nice to cause kernel panics so lets avoid the loop below.
6031 # First set a reasonable default.
6032 lt_cv_sys_max_cmd_len=16384
6034 if test -x /sbin/sysconfig; then
6035 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6036 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6037 esac
6040 sco3.2v5*)
6041 lt_cv_sys_max_cmd_len=102400
6043 sysv5* | sco5v6* | sysv4.2uw2*)
6044 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6045 if test -n "$kargmax"; then
6046 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6047 else
6048 lt_cv_sys_max_cmd_len=32768
6052 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6053 if test -n "$lt_cv_sys_max_cmd_len"; then
6054 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6056 else
6057 # Make teststring a little bigger before we do anything with it.
6058 # a 1K string should be a reasonable start.
6059 for i in 1 2 3 4 5 6 7 8 ; do
6060 teststring=$teststring$teststring
6061 done
6062 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6063 # If test is not a shell built-in, we'll probably end up computing a
6064 # maximum length that is only half of the actual maximum length, but
6065 # we can't tell.
6066 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6067 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6068 test $i != 17 # 1/2 MB should be enough
6070 i=`expr $i + 1`
6071 teststring=$teststring$teststring
6072 done
6073 # Only check the string length outside the loop.
6074 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6075 teststring=
6076 # Add a significant safety factor because C++ compilers can tack on
6077 # massive amounts of additional arguments before passing them to the
6078 # linker. It appears as though 1/2 is a usable value.
6079 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6082 esac
6086 if test -n $lt_cv_sys_max_cmd_len ; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6088 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6091 $as_echo "none" >&6; }
6093 max_cmd_len=$lt_cv_sys_max_cmd_len
6100 : ${CP="cp -f"}
6101 : ${MV="mv -f"}
6102 : ${RM="rm -f"}
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6105 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6106 # Try some XSI features
6107 xsi_shell=no
6108 ( _lt_dummy="a/b/c"
6109 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6110 = c,a/b,, \
6111 && eval 'test $(( 1 + 1 )) -eq 2 \
6112 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6113 && xsi_shell=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6115 $as_echo "$xsi_shell" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6119 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6120 lt_shell_append=no
6121 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6122 >/dev/null 2>&1 \
6123 && lt_shell_append=yes
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6125 $as_echo "$lt_shell_append" >&6; }
6128 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6129 lt_unset=unset
6130 else
6131 lt_unset=false
6138 # test EBCDIC or ASCII
6139 case `echo X|tr X '\101'` in
6140 A) # ASCII based system
6141 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6142 lt_SP2NL='tr \040 \012'
6143 lt_NL2SP='tr \015\012 \040\040'
6145 *) # EBCDIC based system
6146 lt_SP2NL='tr \100 \n'
6147 lt_NL2SP='tr \r\n \100\100'
6149 esac
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6160 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6161 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 lt_cv_ld_reload_flag='-r'
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6167 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6168 reload_flag=$lt_cv_ld_reload_flag
6169 case $reload_flag in
6170 "" | " "*) ;;
6171 *) reload_flag=" $reload_flag" ;;
6172 esac
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6174 case $host_os in
6175 darwin*)
6176 if test "$GCC" = yes; then
6177 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6178 else
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6182 esac
6192 if test -n "$ac_tool_prefix"; then
6193 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6198 $as_echo_n "(cached) " >&6
6199 else
6200 if test -n "$OBJDUMP"; then
6201 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6214 done
6215 done
6216 IFS=$as_save_IFS
6220 OBJDUMP=$ac_cv_prog_OBJDUMP
6221 if test -n "$OBJDUMP"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6223 $as_echo "$OBJDUMP" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6231 if test -z "$ac_cv_prog_OBJDUMP"; then
6232 ac_ct_OBJDUMP=$OBJDUMP
6233 # Extract the first word of "objdump", so it can be a program name with args.
6234 set dummy objdump; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$ac_ct_OBJDUMP"; then
6241 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6254 done
6255 done
6256 IFS=$as_save_IFS
6260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6261 if test -n "$ac_ct_OBJDUMP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6263 $as_echo "$ac_ct_OBJDUMP" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6269 if test "x$ac_ct_OBJDUMP" = x; then
6270 OBJDUMP="false"
6271 else
6272 case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276 ac_tool_warned=yes ;;
6277 esac
6278 OBJDUMP=$ac_ct_OBJDUMP
6280 else
6281 OBJDUMP="$ac_cv_prog_OBJDUMP"
6284 test -z "$OBJDUMP" && OBJDUMP=objdump
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6296 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 lt_cv_file_magic_cmd='$MAGIC_CMD'
6300 lt_cv_file_magic_test_file=
6301 lt_cv_deplibs_check_method='unknown'
6302 # Need to set the preceding variable on all platforms that support
6303 # interlibrary dependencies.
6304 # 'none' -- dependencies not supported.
6305 # `unknown' -- same as none, but documents that we really don't know.
6306 # 'pass_all' -- all dependencies passed with no checks.
6307 # 'test_compile' -- check by making test program.
6308 # 'file_magic [[regex]]' -- check by looking for files in library path
6309 # which responds to the $file_magic_cmd with a given extended regex.
6310 # If you have `file' or equivalent on your system and you're not sure
6311 # whether `pass_all' will *always* work, you probably want this one.
6313 case $host_os in
6314 aix[4-9]*)
6315 lt_cv_deplibs_check_method=pass_all
6318 beos*)
6319 lt_cv_deplibs_check_method=pass_all
6322 bsdi[45]*)
6323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6324 lt_cv_file_magic_cmd='/usr/bin/file -L'
6325 lt_cv_file_magic_test_file=/shlib/libc.so
6328 cygwin*)
6329 # func_win32_libid is a shell function defined in ltmain.sh
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6334 mingw* | pw32*)
6335 # Base MSYS/MinGW do not provide the 'file' command needed by
6336 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6337 # unless we find 'file', for example because we are cross-compiling.
6338 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6339 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341 lt_cv_file_magic_cmd='func_win32_libid'
6342 else
6343 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6344 lt_cv_file_magic_cmd='$OBJDUMP -f'
6348 cegcc*)
6349 # use the weaker test based on 'objdump'. See mingw*.
6350 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6351 lt_cv_file_magic_cmd='$OBJDUMP -f'
6354 darwin* | rhapsody*)
6355 lt_cv_deplibs_check_method=pass_all
6358 freebsd* | dragonfly*)
6359 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6360 case $host_cpu in
6361 i*86 )
6362 # Not sure whether the presence of OpenBSD here was a mistake.
6363 # Let's accept both of them until this is cleared up.
6364 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6365 lt_cv_file_magic_cmd=/usr/bin/file
6366 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6368 esac
6369 else
6370 lt_cv_deplibs_check_method=pass_all
6374 gnu*)
6375 lt_cv_deplibs_check_method=pass_all
6378 haiku*)
6379 lt_cv_deplibs_check_method=pass_all
6382 hpux10.20* | hpux11*)
6383 lt_cv_file_magic_cmd=/usr/bin/file
6384 case $host_cpu in
6385 ia64*)
6386 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6387 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6389 hppa*64*)
6390 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]'
6391 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6395 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6397 esac
6400 interix[3-9]*)
6401 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6405 irix5* | irix6* | nonstopux*)
6406 case $LD in
6407 *-32|*"-32 ") libmagic=32-bit;;
6408 *-n32|*"-n32 ") libmagic=N32;;
6409 *-64|*"-64 ") libmagic=64-bit;;
6410 *) libmagic=never-match;;
6411 esac
6412 lt_cv_deplibs_check_method=pass_all
6415 # This must be Linux ELF.
6416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6417 lt_cv_deplibs_check_method=pass_all
6420 netbsd*)
6421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6423 else
6424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6428 newos6*)
6429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6430 lt_cv_file_magic_cmd=/usr/bin/file
6431 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6434 *nto* | *qnx*)
6435 lt_cv_deplibs_check_method=pass_all
6438 openbsd*)
6439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6441 else
6442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6446 osf3* | osf4* | osf5*)
6447 lt_cv_deplibs_check_method=pass_all
6450 rdos*)
6451 lt_cv_deplibs_check_method=pass_all
6454 solaris*)
6455 lt_cv_deplibs_check_method=pass_all
6458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6459 lt_cv_deplibs_check_method=pass_all
6462 sysv4 | sysv4.3*)
6463 case $host_vendor in
6464 motorola)
6465 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]'
6466 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6468 ncr)
6469 lt_cv_deplibs_check_method=pass_all
6471 sequent)
6472 lt_cv_file_magic_cmd='/bin/file'
6473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6475 sni)
6476 lt_cv_file_magic_cmd='/bin/file'
6477 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6478 lt_cv_file_magic_test_file=/lib/libc.so
6480 siemens)
6481 lt_cv_deplibs_check_method=pass_all
6484 lt_cv_deplibs_check_method=pass_all
6486 esac
6489 tpf*)
6490 lt_cv_deplibs_check_method=pass_all
6492 esac
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6497 file_magic_cmd=$lt_cv_file_magic_cmd
6498 deplibs_check_method=$lt_cv_deplibs_check_method
6499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}ar; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_AR+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$AR"; then
6521 ac_cv_prog_AR="$AR" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_AR="${ac_tool_prefix}ar"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 AR=$ac_cv_prog_AR
6541 if test -n "$AR"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6543 $as_echo "$AR" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_AR"; then
6552 ac_ct_AR=$AR
6553 # Extract the first word of "ar", so it can be a program name with args.
6554 set dummy ar; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_AR"; then
6561 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_AR="ar"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6581 if test -n "$ac_ct_AR"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6583 $as_echo "$ac_ct_AR" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_AR" = x; then
6590 AR="false"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 AR=$ac_ct_AR
6600 else
6601 AR="$ac_cv_prog_AR"
6604 test -z "$AR" && AR=ar
6605 test -z "$AR_FLAGS" && AR_FLAGS=cru
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}strip; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if test "${ac_cv_prog_STRIP+set}" = set; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$STRIP"; then
6626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 STRIP=$ac_cv_prog_STRIP
6646 if test -n "$STRIP"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6648 $as_echo "$STRIP" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 if test -z "$ac_cv_prog_STRIP"; then
6657 ac_ct_STRIP=$STRIP
6658 # Extract the first word of "strip", so it can be a program name with args.
6659 set dummy strip; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 if test -n "$ac_ct_STRIP"; then
6666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6671 IFS=$as_save_IFS
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675 ac_cv_prog_ac_ct_STRIP="strip"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 break 2
6679 done
6680 done
6681 IFS=$as_save_IFS
6685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6686 if test -n "$ac_ct_STRIP"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6688 $as_echo "$ac_ct_STRIP" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6694 if test "x$ac_ct_STRIP" = x; then
6695 STRIP=":"
6696 else
6697 case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703 STRIP=$ac_ct_STRIP
6705 else
6706 STRIP="$ac_cv_prog_STRIP"
6709 test -z "$STRIP" && STRIP=:
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$RANLIB"; then
6725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6738 done
6739 done
6740 IFS=$as_save_IFS
6744 RANLIB=$ac_cv_prog_RANLIB
6745 if test -n "$RANLIB"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6747 $as_echo "$RANLIB" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_RANLIB"; then
6756 ac_ct_RANLIB=$RANLIB
6757 # Extract the first word of "ranlib", so it can be a program name with args.
6758 set dummy ranlib; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 if test -n "$ac_ct_RANLIB"; then
6765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_RANLIB="ranlib"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6785 if test -n "$ac_ct_RANLIB"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6787 $as_echo "$ac_ct_RANLIB" >&6; }
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_RANLIB" = x; then
6794 RANLIB=":"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 RANLIB=$ac_ct_RANLIB
6804 else
6805 RANLIB="$ac_cv_prog_RANLIB"
6808 test -z "$RANLIB" && RANLIB=:
6815 # Determine commands to create old-style static archives.
6816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6817 old_postinstall_cmds='chmod 644 $oldlib'
6818 old_postuninstall_cmds=
6820 if test -n "$RANLIB"; then
6821 case $host_os in
6822 openbsd*)
6823 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6826 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6828 esac
6829 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6832 case $host_os in
6833 darwin*)
6834 lock_old_archive_extraction=yes ;;
6836 lock_old_archive_extraction=no ;;
6837 esac
6877 # If no C compiler was specified, use CC.
6878 LTCC=${LTCC-"$CC"}
6880 # If no C compiler flags were specified, use CFLAGS.
6881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6883 # Allow CC to be a program name with arguments.
6884 compiler=$CC
6887 # Check for command to grab the raw symbol name followed by C symbol from nm.
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6889 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6890 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6894 # These are sane defaults that work on at least a few old systems.
6895 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6897 # Character class describing NM global symbol codes.
6898 symcode='[BCDEGRST]'
6900 # Regexp to match symbols that can be accessed directly from C.
6901 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6903 # Define system-specific variables.
6904 case $host_os in
6905 aix*)
6906 symcode='[BCDT]'
6908 cygwin* | mingw* | pw32* | cegcc*)
6909 symcode='[ABCDGISTW]'
6911 hpux*)
6912 if test "$host_cpu" = ia64; then
6913 symcode='[ABCDEGRST]'
6916 irix* | nonstopux*)
6917 symcode='[BCDEGRST]'
6919 osf*)
6920 symcode='[BCDEGQRST]'
6922 solaris*)
6923 symcode='[BDRT]'
6925 sco3.2v5*)
6926 symcode='[DT]'
6928 sysv4.2uw2*)
6929 symcode='[DT]'
6931 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932 symcode='[ABDT]'
6934 sysv4)
6935 symcode='[DFNSTU]'
6937 esac
6939 # If we're using GNU nm, then use its standard symbol codes.
6940 case `$NM -V 2>&1` in
6941 *GNU* | *'with BFD'*)
6942 symcode='[ABCDGIRSTW]' ;;
6943 esac
6945 # Transform an extracted symbol line into a proper C declaration.
6946 # Some systems (esp. on ia64) link data and code symbols differently,
6947 # so use this general approach.
6948 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6950 # Transform an extracted symbol line into symbol name and symbol address
6951 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6952 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'"
6954 # Handle CRLF in mingw tool chain
6955 opt_cr=
6956 case $build_os in
6957 mingw*)
6958 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6960 esac
6962 # Try without a prefix underscore, then with it.
6963 for ac_symprfx in "" "_"; do
6965 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6966 symxfrm="\\1 $ac_symprfx\\2 \\2"
6968 # Write the raw and C identifiers.
6969 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6970 # Fake it for dumpbin and say T for any non-static function
6971 # and D for any global variable.
6972 # Also find C++ and __fastcall symbols from MSVC++,
6973 # which start with @ or ?.
6974 lt_cv_sys_global_symbol_pipe="$AWK '"\
6975 " {last_section=section; section=\$ 3};"\
6976 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6977 " \$ 0!~/External *\|/{next};"\
6978 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6979 " {if(hide[section]) next};"\
6980 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6981 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6982 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6983 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6984 " ' prfx=^$ac_symprfx"
6985 else
6986 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6989 # Check to see that the pipe works correctly.
6990 pipe_works=no
6992 rm -f conftest*
6993 cat > conftest.$ac_ext <<_LT_EOF
6994 #ifdef __cplusplus
6995 extern "C" {
6996 #endif
6997 char nm_test_var;
6998 void nm_test_func(void);
6999 void nm_test_func(void){}
7000 #ifdef __cplusplus
7002 #endif
7003 int main(){nm_test_var='a';nm_test_func();return(0);}
7004 _LT_EOF
7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7007 (eval $ac_compile) 2>&5
7008 ac_status=$?
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010 test $ac_status = 0; }; then
7011 # Now try to grab the symbols.
7012 nlist=conftest.nm
7013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7014 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7015 ac_status=$?
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; } && test -s "$nlist"; then
7018 # Try sorting and uniquifying the output.
7019 if sort "$nlist" | uniq > "$nlist"T; then
7020 mv -f "$nlist"T "$nlist"
7021 else
7022 rm -f "$nlist"T
7025 # Make sure that we snagged all the symbols we need.
7026 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7027 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7028 cat <<_LT_EOF > conftest.$ac_ext
7029 #ifdef __cplusplus
7030 extern "C" {
7031 #endif
7033 _LT_EOF
7034 # Now generate the symbol file.
7035 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7037 cat <<_LT_EOF >> conftest.$ac_ext
7039 /* The mapping between symbol names and symbols. */
7040 const struct {
7041 const char *name;
7042 void *address;
7044 lt__PROGRAM__LTX_preloaded_symbols[] =
7046 { "@PROGRAM@", (void *) 0 },
7047 _LT_EOF
7048 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7049 cat <<\_LT_EOF >> conftest.$ac_ext
7050 {0, (void *) 0}
7053 /* This works around a problem in FreeBSD linker */
7054 #ifdef FREEBSD_WORKAROUND
7055 static const void *lt_preloaded_setup() {
7056 return lt__PROGRAM__LTX_preloaded_symbols;
7058 #endif
7060 #ifdef __cplusplus
7062 #endif
7063 _LT_EOF
7064 # Now try linking the two files.
7065 mv conftest.$ac_objext conftstm.$ac_objext
7066 lt_save_LIBS="$LIBS"
7067 lt_save_CFLAGS="$CFLAGS"
7068 LIBS="conftstm.$ac_objext"
7069 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7071 (eval $ac_link) 2>&5
7072 ac_status=$?
7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7075 pipe_works=yes
7077 LIBS="$lt_save_LIBS"
7078 CFLAGS="$lt_save_CFLAGS"
7079 else
7080 echo "cannot find nm_test_func in $nlist" >&5
7082 else
7083 echo "cannot find nm_test_var in $nlist" >&5
7085 else
7086 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7088 else
7089 echo "$progname: failed program was:" >&5
7090 cat conftest.$ac_ext >&5
7092 rm -rf conftest* conftst*
7094 # Do not use the global_symbol_pipe unless it works.
7095 if test "$pipe_works" = yes; then
7096 break
7097 else
7098 lt_cv_sys_global_symbol_pipe=
7100 done
7104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7105 lt_cv_sys_global_symbol_to_cdecl=
7107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7109 $as_echo "failed" >&6; }
7110 else
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7112 $as_echo "ok" >&6; }
7136 # Check whether --enable-libtool-lock was given.
7137 if test "${enable_libtool_lock+set}" = set; then :
7138 enableval=$enable_libtool_lock;
7141 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7143 # Some flags need to be propagated to the compiler or linker for good
7144 # libtool support.
7145 case $host in
7146 ia64-*-hpux*)
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7151 ac_status=$?
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.$ac_objext` in
7155 *ELF-32*)
7156 HPUX_IA64_MODE="32"
7158 *ELF-64*)
7159 HPUX_IA64_MODE="64"
7161 esac
7163 rm -rf conftest*
7165 *-*-irix6*)
7166 # Find out which ABI we are using.
7167 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169 (eval $ac_compile) 2>&5
7170 ac_status=$?
7171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172 test $ac_status = 0; }; then
7173 if test "$lt_cv_prog_gnu_ld" = yes; then
7174 case `/usr/bin/file conftest.$ac_objext` in
7175 *32-bit*)
7176 LD="${LD-ld} -melf32bsmip"
7178 *N32*)
7179 LD="${LD-ld} -melf32bmipn32"
7181 *64-bit*)
7182 LD="${LD-ld} -melf64bmip"
7184 esac
7185 else
7186 case `/usr/bin/file conftest.$ac_objext` in
7187 *32-bit*)
7188 LD="${LD-ld} -32"
7190 *N32*)
7191 LD="${LD-ld} -n32"
7193 *64-bit*)
7194 LD="${LD-ld} -64"
7196 esac
7199 rm -rf conftest*
7202 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7203 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7204 # Find out which ABI we are using.
7205 echo 'int i;' > conftest.$ac_ext
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7208 ac_status=$?
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 case `/usr/bin/file conftest.o` in
7212 *32-bit*)
7213 case $host in
7214 x86_64-*kfreebsd*-gnu)
7215 LD="${LD-ld} -m elf_i386_fbsd"
7217 x86_64-*linux*)
7218 case `/usr/bin/file conftest.o` in
7219 *x86-64*)
7220 LD="${LD-ld} -m elf32_x86_64"
7223 LD="${LD-ld} -m elf_i386"
7225 esac
7227 powerpc64le-*linux*)
7228 LD="${LD-ld} -m elf32lppclinux"
7230 powerpc64-*linux*)
7231 LD="${LD-ld} -m elf32ppclinux"
7233 s390x-*linux*)
7234 LD="${LD-ld} -m elf_s390"
7236 sparc64-*linux*)
7237 LD="${LD-ld} -m elf32_sparc"
7239 esac
7241 *64-bit*)
7242 case $host in
7243 x86_64-*kfreebsd*-gnu)
7244 LD="${LD-ld} -m elf_x86_64_fbsd"
7246 x86_64-*linux*)
7247 LD="${LD-ld} -m elf_x86_64"
7249 powerpcle-*linux*)
7250 LD="${LD-ld} -m elf64lppc"
7252 powerpc-*linux*)
7253 LD="${LD-ld} -m elf64ppc"
7255 s390*-*linux*|s390*-*tpf*)
7256 LD="${LD-ld} -m elf64_s390"
7258 sparc*-*linux*)
7259 LD="${LD-ld} -m elf64_sparc"
7261 esac
7263 esac
7265 rm -rf conftest*
7268 *-*-sco3.2v5*)
7269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7270 SAVE_CFLAGS="$CFLAGS"
7271 CFLAGS="$CFLAGS -belf"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 ac_ext=c
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7283 if test x$gcc_no_link = xyes; then
7284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7290 main ()
7294 return 0;
7296 _ACEOF
7297 if ac_fn_c_try_link "$LINENO"; then :
7298 lt_cv_cc_needs_belf=yes
7299 else
7300 lt_cv_cc_needs_belf=no
7302 rm -f core conftest.err conftest.$ac_objext \
7303 conftest$ac_exeext conftest.$ac_ext
7304 ac_ext=c
7305 ac_cpp='$CPP $CPPFLAGS'
7306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7315 CFLAGS="$SAVE_CFLAGS"
7318 sparc*-*solaris*)
7319 # Find out which ABI we are using.
7320 echo 'int i;' > conftest.$ac_ext
7321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7322 (eval $ac_compile) 2>&5
7323 ac_status=$?
7324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7325 test $ac_status = 0; }; then
7326 case `/usr/bin/file conftest.o` in
7327 *64-bit*)
7328 case $lt_cv_prog_gnu_ld in
7329 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7331 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7332 LD="${LD-ld} -64"
7335 esac
7337 esac
7339 rm -rf conftest*
7341 esac
7343 need_locks="$enable_libtool_lock"
7346 case $host_os in
7347 rhapsody* | darwin*)
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7350 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$DSYMUTIL"; then
7357 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7370 done
7371 done
7372 IFS=$as_save_IFS
7376 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7377 if test -n "$DSYMUTIL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7379 $as_echo "$DSYMUTIL" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7387 if test -z "$ac_cv_prog_DSYMUTIL"; then
7388 ac_ct_DSYMUTIL=$DSYMUTIL
7389 # Extract the first word of "dsymutil", so it can be a program name with args.
7390 set dummy dsymutil; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$ac_ct_DSYMUTIL"; then
7397 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7417 if test -n "$ac_ct_DSYMUTIL"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7419 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7425 if test "x$ac_ct_DSYMUTIL" = x; then
7426 DSYMUTIL=":"
7427 else
7428 case $cross_compiling:$ac_tool_warned in
7429 yes:)
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned=yes ;;
7433 esac
7434 DSYMUTIL=$ac_ct_DSYMUTIL
7436 else
7437 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7440 if test -n "$ac_tool_prefix"; then
7441 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7442 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7446 $as_echo_n "(cached) " >&6
7447 else
7448 if test -n "$NMEDIT"; then
7449 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7454 IFS=$as_save_IFS
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 NMEDIT=$ac_cv_prog_NMEDIT
7469 if test -n "$NMEDIT"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7471 $as_echo "$NMEDIT" >&6; }
7472 else
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7479 if test -z "$ac_cv_prog_NMEDIT"; then
7480 ac_ct_NMEDIT=$NMEDIT
7481 # Extract the first word of "nmedit", so it can be a program name with args.
7482 set dummy nmedit; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$ac_ct_NMEDIT"; then
7489 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7502 done
7503 done
7504 IFS=$as_save_IFS
7508 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7509 if test -n "$ac_ct_NMEDIT"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7511 $as_echo "$ac_ct_NMEDIT" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7517 if test "x$ac_ct_NMEDIT" = x; then
7518 NMEDIT=":"
7519 else
7520 case $cross_compiling:$ac_tool_warned in
7521 yes:)
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned=yes ;;
7525 esac
7526 NMEDIT=$ac_ct_NMEDIT
7528 else
7529 NMEDIT="$ac_cv_prog_NMEDIT"
7532 if test -n "$ac_tool_prefix"; then
7533 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if test "${ac_cv_prog_LIPO+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 if test -n "$LIPO"; then
7541 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7546 IFS=$as_save_IFS
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7550 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 break 2
7554 done
7555 done
7556 IFS=$as_save_IFS
7560 LIPO=$ac_cv_prog_LIPO
7561 if test -n "$LIPO"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7563 $as_echo "$LIPO" >&6; }
7564 else
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7571 if test -z "$ac_cv_prog_LIPO"; then
7572 ac_ct_LIPO=$LIPO
7573 # Extract the first word of "lipo", so it can be a program name with args.
7574 set dummy lipo; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$ac_ct_LIPO"; then
7581 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_ac_ct_LIPO="lipo"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7594 done
7595 done
7596 IFS=$as_save_IFS
7600 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7601 if test -n "$ac_ct_LIPO"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7603 $as_echo "$ac_ct_LIPO" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7609 if test "x$ac_ct_LIPO" = x; then
7610 LIPO=":"
7611 else
7612 case $cross_compiling:$ac_tool_warned in
7613 yes:)
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7617 esac
7618 LIPO=$ac_ct_LIPO
7620 else
7621 LIPO="$ac_cv_prog_LIPO"
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}otool; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$OTOOL"; then
7633 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7646 done
7647 done
7648 IFS=$as_save_IFS
7652 OTOOL=$ac_cv_prog_OTOOL
7653 if test -n "$OTOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7655 $as_echo "$OTOOL" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7663 if test -z "$ac_cv_prog_OTOOL"; then
7664 ac_ct_OTOOL=$OTOOL
7665 # Extract the first word of "otool", so it can be a program name with args.
7666 set dummy otool; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7670 $as_echo_n "(cached) " >&6
7671 else
7672 if test -n "$ac_ct_OTOOL"; then
7673 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7678 IFS=$as_save_IFS
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_ac_ct_OTOOL="otool"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 break 2
7686 done
7687 done
7688 IFS=$as_save_IFS
7692 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7693 if test -n "$ac_ct_OTOOL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7695 $as_echo "$ac_ct_OTOOL" >&6; }
7696 else
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7701 if test "x$ac_ct_OTOOL" = x; then
7702 OTOOL=":"
7703 else
7704 case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710 OTOOL=$ac_ct_OTOOL
7712 else
7713 OTOOL="$ac_cv_prog_OTOOL"
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$OTOOL64"; then
7725 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7738 done
7739 done
7740 IFS=$as_save_IFS
7744 OTOOL64=$ac_cv_prog_OTOOL64
7745 if test -n "$OTOOL64"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7747 $as_echo "$OTOOL64" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7755 if test -z "$ac_cv_prog_OTOOL64"; then
7756 ac_ct_OTOOL64=$OTOOL64
7757 # Extract the first word of "otool64", so it can be a program name with args.
7758 set dummy otool64; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7763 else
7764 if test -n "$ac_ct_OTOOL64"; then
7765 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7770 IFS=$as_save_IFS
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_ac_ct_OTOOL64="otool64"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 break 2
7778 done
7779 done
7780 IFS=$as_save_IFS
7784 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7785 if test -n "$ac_ct_OTOOL64"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7787 $as_echo "$ac_ct_OTOOL64" >&6; }
7788 else
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7793 if test "x$ac_ct_OTOOL64" = x; then
7794 OTOOL64=":"
7795 else
7796 case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802 OTOOL64=$ac_ct_OTOOL64
7804 else
7805 OTOOL64="$ac_cv_prog_OTOOL64"
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7835 $as_echo_n "checking for -single_module linker flag... " >&6; }
7836 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 lt_cv_apple_cc_single_mod=no
7840 if test -z "${LT_MULTI_MODULE}"; then
7841 # By default we will add the -single_module flag. You can override
7842 # by either setting the environment variable LT_MULTI_MODULE
7843 # non-empty at configure time, or by adding -multi_module to the
7844 # link flags.
7845 rm -rf libconftest.dylib*
7846 echo "int foo(void){return 1;}" > conftest.c
7847 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c" >&5
7849 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7850 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7851 _lt_result=$?
7852 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7853 lt_cv_apple_cc_single_mod=yes
7854 else
7855 cat conftest.err >&5
7857 rm -rf libconftest.dylib*
7858 rm -f conftest.*
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7862 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7864 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7865 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7866 $as_echo_n "(cached) " >&6
7867 else
7868 lt_cv_ld_exported_symbols_list=no
7869 save_LDFLAGS=$LDFLAGS
7870 echo "_main" > conftest.sym
7871 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7872 if test x$gcc_no_link = xyes; then
7873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7879 main ()
7883 return 0;
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"; then :
7887 lt_cv_ld_exported_symbols_list=yes
7888 else
7889 lt_cv_ld_exported_symbols_list=no
7891 rm -f core conftest.err conftest.$ac_objext \
7892 conftest$ac_exeext conftest.$ac_ext
7893 LDFLAGS="$save_LDFLAGS"
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7897 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7899 $as_echo_n "checking for -force_load linker flag... " >&6; }
7900 if test "${lt_cv_ld_force_load+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 lt_cv_ld_force_load=no
7904 cat > conftest.c << _LT_EOF
7905 int forced_loaded() { return 2;}
7906 _LT_EOF
7907 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7908 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7909 echo "$AR cru libconftest.a conftest.o" >&5
7910 $AR cru libconftest.a conftest.o 2>&5
7911 cat > conftest.c << _LT_EOF
7912 int main() { return 0;}
7913 _LT_EOF
7914 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7915 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7916 _lt_result=$?
7917 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7918 lt_cv_ld_force_load=yes
7919 else
7920 cat conftest.err >&5
7922 rm -f conftest.err libconftest.a conftest conftest.c
7923 rm -rf conftest.dSYM
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7927 $as_echo "$lt_cv_ld_force_load" >&6; }
7928 case $host_os in
7929 rhapsody* | darwin1.[012])
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7931 darwin1.*)
7932 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7933 darwin*) # darwin 5.x on
7934 # if running on 10.5 or later, the deployment target defaults
7935 # to the OS version, if on x86, and 10.4, the deployment
7936 # target defaults to 10.4. Don't you love it?
7937 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7938 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7939 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7940 10.[012][,.]*)
7941 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7942 10.*)
7943 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7944 esac
7946 esac
7947 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7948 _lt_dar_single_mod='$single_module'
7950 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7951 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7952 else
7953 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7955 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7956 _lt_dsymutil='~$DSYMUTIL $lib || :'
7957 else
7958 _lt_dsymutil=
7961 esac
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7964 $as_echo_n "checking for ANSI C header files... " >&6; }
7965 if test "${ac_cv_header_stdc+set}" = set; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 #include <stdlib.h>
7971 #include <stdarg.h>
7972 #include <string.h>
7973 #include <float.h>
7976 main ()
7980 return 0;
7982 _ACEOF
7983 if ac_fn_c_try_compile "$LINENO"; then :
7984 ac_cv_header_stdc=yes
7985 else
7986 ac_cv_header_stdc=no
7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7990 if test $ac_cv_header_stdc = yes; then
7991 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 #include <string.h>
7996 _ACEOF
7997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7998 $EGREP "memchr" >/dev/null 2>&1; then :
8000 else
8001 ac_cv_header_stdc=no
8003 rm -f conftest*
8007 if test $ac_cv_header_stdc = yes; then
8008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010 /* end confdefs.h. */
8011 #include <stdlib.h>
8013 _ACEOF
8014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8015 $EGREP "free" >/dev/null 2>&1; then :
8017 else
8018 ac_cv_header_stdc=no
8020 rm -f conftest*
8024 if test $ac_cv_header_stdc = yes; then
8025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8026 if test "$cross_compiling" = yes; then :
8028 else
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 #include <ctype.h>
8032 #include <stdlib.h>
8033 #if ((' ' & 0x0FF) == 0x020)
8034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8036 #else
8037 # define ISLOWER(c) \
8038 (('a' <= (c) && (c) <= 'i') \
8039 || ('j' <= (c) && (c) <= 'r') \
8040 || ('s' <= (c) && (c) <= 'z'))
8041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8042 #endif
8044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8046 main ()
8048 int i;
8049 for (i = 0; i < 256; i++)
8050 if (XOR (islower (i), ISLOWER (i))
8051 || toupper (i) != TOUPPER (i))
8052 return 2;
8053 return 0;
8055 _ACEOF
8056 if ac_fn_c_try_run "$LINENO"; then :
8058 else
8059 ac_cv_header_stdc=no
8061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8062 conftest.$ac_objext conftest.beam conftest.$ac_ext
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8068 $as_echo "$ac_cv_header_stdc" >&6; }
8069 if test $ac_cv_header_stdc = yes; then
8071 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8075 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8076 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8077 inttypes.h stdint.h unistd.h
8078 do :
8079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8082 eval as_val=\$$as_ac_Header
8083 if test "x$as_val" = x""yes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 _ACEOF
8090 done
8093 for ac_header in dlfcn.h
8094 do :
8095 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8097 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_DLFCN_H 1
8100 _ACEOF
8104 done
8111 # Set options
8116 enable_win32_dll=no
8119 # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121 enableval=$enable_shared; p=${PACKAGE-default}
8122 case $enableval in
8123 yes) enable_shared=yes ;;
8124 no) enable_shared=no ;;
8126 enable_shared=no
8127 # Look at the argument we got. We use all the common list separators.
8128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8129 for pkg in $enableval; do
8130 IFS="$lt_save_ifs"
8131 if test "X$pkg" = "X$p"; then
8132 enable_shared=yes
8134 done
8135 IFS="$lt_save_ifs"
8137 esac
8138 else
8139 enable_shared=yes
8150 # Check whether --enable-static was given.
8151 if test "${enable_static+set}" = set; then :
8152 enableval=$enable_static; p=${PACKAGE-default}
8153 case $enableval in
8154 yes) enable_static=yes ;;
8155 no) enable_static=no ;;
8157 enable_static=no
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160 for pkg in $enableval; do
8161 IFS="$lt_save_ifs"
8162 if test "X$pkg" = "X$p"; then
8163 enable_static=yes
8165 done
8166 IFS="$lt_save_ifs"
8168 esac
8169 else
8170 enable_static=yes
8182 # Check whether --with-pic was given.
8183 if test "${with_pic+set}" = set; then :
8184 withval=$with_pic; pic_mode="$withval"
8185 else
8186 pic_mode=default
8190 test -z "$pic_mode" && pic_mode=default
8198 # Check whether --enable-fast-install was given.
8199 if test "${enable_fast_install+set}" = set; then :
8200 enableval=$enable_fast_install; p=${PACKAGE-default}
8201 case $enableval in
8202 yes) enable_fast_install=yes ;;
8203 no) enable_fast_install=no ;;
8205 enable_fast_install=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208 for pkg in $enableval; do
8209 IFS="$lt_save_ifs"
8210 if test "X$pkg" = "X$p"; then
8211 enable_fast_install=yes
8213 done
8214 IFS="$lt_save_ifs"
8216 esac
8217 else
8218 enable_fast_install=yes
8231 # This can be used to rebuild libtool when needed
8232 LIBTOOL_DEPS="$ltmain"
8234 # Always use our own libtool.
8235 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8262 test -z "$LN_S" && LN_S="ln -s"
8277 if test -n "${ZSH_VERSION+set}" ; then
8278 setopt NO_GLOB_SUBST
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if test "${lt_cv_objdir+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 rm -f .libs 2>/dev/null
8287 mkdir .libs 2>/dev/null
8288 if test -d .libs; then
8289 lt_cv_objdir=.libs
8290 else
8291 # MS-DOS does not allow filenames that begin with a dot.
8292 lt_cv_objdir=_libs
8294 rmdir .libs 2>/dev/null
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir=$lt_cv_objdir
8304 cat >>confdefs.h <<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8306 _ACEOF
8311 case $host_os in
8312 aix3*)
8313 # AIX sometimes has problems with the GCC collect2 program. For some
8314 # reason, if we set the COLLECT_NAMES environment variable, the problems
8315 # vanish in a puff of smoke.
8316 if test "X${COLLECT_NAMES+set}" != Xset; then
8317 COLLECT_NAMES=
8318 export COLLECT_NAMES
8321 esac
8323 # Global variables:
8324 ofile=libtool
8325 can_build_shared=yes
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8329 libext=a
8331 with_gnu_ld="$lt_cv_prog_gnu_ld"
8333 old_CC="$CC"
8334 old_CFLAGS="$CFLAGS"
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC=cc
8338 test -z "$LTCC" && LTCC=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8340 test -z "$LD" && LD=ld
8341 test -z "$ac_objext" && ac_objext=o
8343 for cc_temp in $compiler""; do
8344 case $cc_temp in
8345 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8346 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8347 \-*) ;;
8348 *) break;;
8349 esac
8350 done
8351 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8356 case $deplibs_check_method in
8357 file_magic*)
8358 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 case $MAGIC_CMD in
8365 [\\/*] | ?:[\\/]*)
8366 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8369 lt_save_MAGIC_CMD="$MAGIC_CMD"
8370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8371 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8372 for ac_dir in $ac_dummy; do
8373 IFS="$lt_save_ifs"
8374 test -z "$ac_dir" && ac_dir=.
8375 if test -f $ac_dir/${ac_tool_prefix}file; then
8376 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8377 if test -n "$file_magic_test_file"; then
8378 case $deplibs_check_method in
8379 "file_magic "*)
8380 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8383 $EGREP "$file_magic_regex" > /dev/null; then
8385 else
8386 cat <<_LT_EOF 1>&2
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such. This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem. Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8397 _LT_EOF
8398 fi ;;
8399 esac
8401 break
8403 done
8404 IFS="$lt_save_ifs"
8405 MAGIC_CMD="$lt_save_MAGIC_CMD"
8407 esac
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424 if test -n "$ac_tool_prefix"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 case $MAGIC_CMD in
8431 [\\/*] | ?:[\\/]*)
8432 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8435 lt_save_MAGIC_CMD="$MAGIC_CMD"
8436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8438 for ac_dir in $ac_dummy; do
8439 IFS="$lt_save_ifs"
8440 test -z "$ac_dir" && ac_dir=.
8441 if test -f $ac_dir/file; then
8442 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8443 if test -n "$file_magic_test_file"; then
8444 case $deplibs_check_method in
8445 "file_magic "*)
8446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8449 $EGREP "$file_magic_regex" > /dev/null; then
8451 else
8452 cat <<_LT_EOF 1>&2
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such. This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem. Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8463 _LT_EOF
8464 fi ;;
8465 esac
8467 break
8469 done
8470 IFS="$lt_save_ifs"
8471 MAGIC_CMD="$lt_save_MAGIC_CMD"
8473 esac
8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8480 else
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8486 else
8487 MAGIC_CMD=:
8493 esac
8495 # Use C for the default configuration in the libtool script
8497 lt_save_CC="$CC"
8498 ac_ext=c
8499 ac_cpp='$CPP $CPPFLAGS'
8500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8505 # Source file extension for C test sources.
8506 ac_ext=c
8508 # Object file extension for compiled C test sources.
8509 objext=o
8510 objext=$objext
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code="int some_variable = 0;"
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code='int main(){return(0);}'
8524 # If no C compiler was specified, use CC.
8525 LTCC=${LTCC-"$CC"}
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8530 # Allow CC to be a program name with arguments.
8531 compiler=$CC
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT=$CC
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate=`cat conftest.err`
8542 $RM conftest*
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate=`cat conftest.err`
8548 $RM -r conftest*
8551 ## CAVEAT EMPTOR:
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8557 lt_prog_compiler_no_builtin_flag=
8559 if test "$GCC" = yes; then
8560 case $cc_basename in
8561 nvcc*)
8562 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8564 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8565 esac
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 lt_cv_prog_compiler_rtti_exceptions=no
8573 ac_outfile=conftest.$ac_objext
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575 lt_compiler_flag="-fno-rtti -fno-exceptions"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 # The option is referenced via a variable to avoid confusing sed.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>conftest.err)
8587 ac_status=$?
8588 cat conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s "$ac_outfile"; then
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings other than the usual output.
8593 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_rtti_exceptions=yes
8599 $RM conftest*
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8605 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8606 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8607 else
8618 lt_prog_compiler_wl=
8619 lt_prog_compiler_pic=
8620 lt_prog_compiler_static=
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625 if test "$GCC" = yes; then
8626 lt_prog_compiler_wl='-Wl,'
8627 lt_prog_compiler_static='-static'
8629 case $host_os in
8630 aix*)
8631 # All AIX code is PIC.
8632 if test "$host_cpu" = ia64; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static='-Bstatic'
8636 lt_prog_compiler_pic='-fPIC'
8639 amigaos*)
8640 case $host_cpu in
8641 powerpc)
8642 # see comment about AmigaOS4 .so support
8643 lt_prog_compiler_pic='-fPIC'
8645 m68k)
8646 # FIXME: we need at least 68020 code to build shared libraries, but
8647 # adding the `-m68020' flag to GCC prevents building anything better,
8648 # like `-m68040'.
8649 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8651 esac
8654 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8655 # PIC is the default for these OSes.
8658 mingw* | cygwin* | pw32* | os2* | cegcc*)
8659 # This hack is so that the source file can tell whether it is being
8660 # built for inclusion in a dll (and should export symbols for example).
8661 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8662 # (--disable-auto-import) libraries
8663 lt_prog_compiler_pic='-DDLL_EXPORT'
8666 darwin* | rhapsody*)
8667 # PIC is the default on this platform
8668 # Common symbols not allowed in MH_DYLIB files
8669 lt_prog_compiler_pic='-fno-common'
8672 haiku*)
8673 # PIC is the default for Haiku.
8674 # The "-static" flag exists, but is broken.
8675 lt_prog_compiler_static=
8678 hpux*)
8679 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8680 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8681 # sets the default TLS model and affects inlining.
8682 case $host_cpu in
8683 hppa*64*)
8684 # +Z the default
8687 lt_prog_compiler_pic='-fPIC'
8689 esac
8692 interix[3-9]*)
8693 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8694 # Instead, we relocate shared libraries at runtime.
8697 msdosdjgpp*)
8698 # Just because we use GCC doesn't mean we suddenly get shared libraries
8699 # on systems that don't support them.
8700 lt_prog_compiler_can_build_shared=no
8701 enable_shared=no
8704 *nto* | *qnx*)
8705 # QNX uses GNU C++, but need to define -shared option too, otherwise
8706 # it will coredump.
8707 lt_prog_compiler_pic='-fPIC -shared'
8710 sysv4*MP*)
8711 if test -d /usr/nec; then
8712 lt_prog_compiler_pic=-Kconform_pic
8717 lt_prog_compiler_pic='-fPIC'
8719 esac
8721 case $cc_basename in
8722 nvcc*) # Cuda Compiler Driver 2.2
8723 lt_prog_compiler_wl='-Xlinker '
8724 lt_prog_compiler_pic='-Xcompiler -fPIC'
8726 esac
8727 else
8728 # PORTME Check for flag to pass linker flags through the system compiler.
8729 case $host_os in
8730 aix*)
8731 lt_prog_compiler_wl='-Wl,'
8732 if test "$host_cpu" = ia64; then
8733 # AIX 5 now supports IA64 processor
8734 lt_prog_compiler_static='-Bstatic'
8735 else
8736 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8740 mingw* | cygwin* | pw32* | os2* | cegcc*)
8741 # This hack is so that the source file can tell whether it is being
8742 # built for inclusion in a dll (and should export symbols for example).
8743 lt_prog_compiler_pic='-DDLL_EXPORT'
8746 hpux9* | hpux10* | hpux11*)
8747 lt_prog_compiler_wl='-Wl,'
8748 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8749 # not for PA HP-UX.
8750 case $host_cpu in
8751 hppa*64*|ia64*)
8752 # +Z the default
8755 lt_prog_compiler_pic='+Z'
8757 esac
8758 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8759 lt_prog_compiler_static='${wl}-a ${wl}archive'
8762 irix5* | irix6* | nonstopux*)
8763 lt_prog_compiler_wl='-Wl,'
8764 # PIC (with -KPIC) is the default.
8765 lt_prog_compiler_static='-non_shared'
8768 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8769 case $cc_basename in
8770 # old Intel for x86_64 which still supported -KPIC.
8771 ecc*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-static'
8776 # icc used to be incompatible with GCC.
8777 # ICC 10 doesn't accept -KPIC any more.
8778 icc* | ifort*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fPIC'
8781 lt_prog_compiler_static='-static'
8783 # Lahey Fortran 8.1.
8784 lf95*)
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_pic='--shared'
8787 lt_prog_compiler_static='--static'
8789 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8790 # Portland Group compilers (*not* the Pentium gcc compiler,
8791 # which looks to be a dead project)
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-fpic'
8794 lt_prog_compiler_static='-Bstatic'
8796 ccc*)
8797 lt_prog_compiler_wl='-Wl,'
8798 # All Alpha code is PIC.
8799 lt_prog_compiler_static='-non_shared'
8801 xl* | bgxl* | bgf* | mpixl*)
8802 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_pic='-qpic'
8805 lt_prog_compiler_static='-qstaticlink'
8808 case `$CC -V 2>&1 | sed 5q` in
8809 *Sun\ F* | *Sun*Fortran*)
8810 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_wl=''
8815 *Sun\ C*)
8816 # Sun C 5.9
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8819 lt_prog_compiler_wl='-Wl,'
8821 esac
8823 esac
8826 newsos6)
8827 lt_prog_compiler_pic='-KPIC'
8828 lt_prog_compiler_static='-Bstatic'
8831 *nto* | *qnx*)
8832 # QNX uses GNU C++, but need to define -shared option too, otherwise
8833 # it will coredump.
8834 lt_prog_compiler_pic='-fPIC -shared'
8837 osf3* | osf4* | osf5*)
8838 lt_prog_compiler_wl='-Wl,'
8839 # All OSF/1 code is PIC.
8840 lt_prog_compiler_static='-non_shared'
8843 rdos*)
8844 lt_prog_compiler_static='-non_shared'
8847 solaris*)
8848 lt_prog_compiler_pic='-KPIC'
8849 lt_prog_compiler_static='-Bstatic'
8850 case $cc_basename in
8851 f77* | f90* | f95*)
8852 lt_prog_compiler_wl='-Qoption ld ';;
8854 lt_prog_compiler_wl='-Wl,';;
8855 esac
8858 sunos4*)
8859 lt_prog_compiler_wl='-Qoption ld '
8860 lt_prog_compiler_pic='-PIC'
8861 lt_prog_compiler_static='-Bstatic'
8864 sysv4 | sysv4.2uw2* | sysv4.3*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8870 sysv4*MP*)
8871 if test -d /usr/nec ;then
8872 lt_prog_compiler_pic='-Kconform_pic'
8873 lt_prog_compiler_static='-Bstatic'
8877 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_pic='-KPIC'
8880 lt_prog_compiler_static='-Bstatic'
8883 unicos*)
8884 lt_prog_compiler_wl='-Wl,'
8885 lt_prog_compiler_can_build_shared=no
8888 uts4*)
8889 lt_prog_compiler_pic='-pic'
8890 lt_prog_compiler_static='-Bstatic'
8894 lt_prog_compiler_can_build_shared=no
8896 esac
8899 case $host_os in
8900 # For platforms which do not support PIC, -DPIC is meaningless:
8901 *djgpp*)
8902 lt_prog_compiler_pic=
8905 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8907 esac
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8909 $as_echo "$lt_prog_compiler_pic" >&6; }
8917 # Check to make sure the PIC flag actually works.
8919 if test -n "$lt_prog_compiler_pic"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8921 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8922 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 lt_cv_prog_compiler_pic_works=no
8926 ac_outfile=conftest.$ac_objext
8927 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 # The option is referenced via a variable to avoid confusing sed.
8934 lt_compile=`echo "$ac_compile" | $SED \
8935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937 -e 's:$: $lt_compiler_flag:'`
8938 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8939 (eval "$lt_compile" 2>conftest.err)
8940 ac_status=$?
8941 cat conftest.err >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 if (exit $ac_status) && test -s "$ac_outfile"; then
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings other than the usual output.
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8947 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8948 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_pic_works=yes
8952 $RM conftest*
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8956 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8958 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8959 case $lt_prog_compiler_pic in
8960 "" | " "*) ;;
8961 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8962 esac
8963 else
8964 lt_prog_compiler_pic=
8965 lt_prog_compiler_can_build_shared=no
8976 # Check to make sure the static flag actually works.
8978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8981 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 lt_cv_prog_compiler_static_works=no
8985 save_LDFLAGS="$LDFLAGS"
8986 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8987 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8988 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8989 # The linker can only warn and ignore the option if not recognized
8990 # So say no if there are warnings
8991 if test -s conftest.err; then
8992 # Append any errors to the config.log.
8993 cat conftest.err 1>&5
8994 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_static_works=yes
8999 else
9000 lt_cv_prog_compiler_static_works=yes
9003 $RM -r conftest*
9004 LDFLAGS="$save_LDFLAGS"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9012 else
9013 lt_prog_compiler_static=
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9024 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 lt_cv_prog_compiler_c_o=no
9028 $RM -r conftest 2>/dev/null
9029 mkdir conftest
9030 cd conftest
9031 mkdir out
9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9034 lt_compiler_flag="-o out/conftest2.$ac_objext"
9035 # Insert the option either (1) after the last *FLAGS variable, or
9036 # (2) before a word containing "conftest.", or (3) at the end.
9037 # Note that $ac_compile itself does not contain backslashes and begins
9038 # with a dollar sign (not a hyphen), so the echo should work correctly.
9039 lt_compile=`echo "$ac_compile" | $SED \
9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9042 -e 's:$: $lt_compiler_flag:'`
9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9044 (eval "$lt_compile" 2>out/conftest.err)
9045 ac_status=$?
9046 cat out/conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9049 then
9050 # The compiler can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9053 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9054 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9055 lt_cv_prog_compiler_c_o=yes
9058 chmod u+w . 2>&5
9059 $RM conftest*
9060 # SGI C++ compiler will create directory out/ii_files/ for
9061 # template instantiation
9062 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9063 $RM out/* && rmdir out
9064 cd ..
9065 $RM -r conftest
9066 $RM conftest*
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9079 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 lt_cv_prog_compiler_c_o=no
9083 $RM -r conftest 2>/dev/null
9084 mkdir conftest
9085 cd conftest
9086 mkdir out
9087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9089 lt_compiler_flag="-o out/conftest2.$ac_objext"
9090 # Insert the option either (1) after the last *FLAGS variable, or
9091 # (2) before a word containing "conftest.", or (3) at the end.
9092 # Note that $ac_compile itself does not contain backslashes and begins
9093 # with a dollar sign (not a hyphen), so the echo should work correctly.
9094 lt_compile=`echo "$ac_compile" | $SED \
9095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097 -e 's:$: $lt_compiler_flag:'`
9098 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9099 (eval "$lt_compile" 2>out/conftest.err)
9100 ac_status=$?
9101 cat out/conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9104 then
9105 # The compiler can only warn and ignore the option if not recognized
9106 # So say no if there are warnings
9107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110 lt_cv_prog_compiler_c_o=yes
9113 chmod u+w . 2>&5
9114 $RM conftest*
9115 # SGI C++ compiler will create directory out/ii_files/ for
9116 # template instantiation
9117 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118 $RM out/* && rmdir out
9119 cd ..
9120 $RM -r conftest
9121 $RM conftest*
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9130 hard_links="nottested"
9131 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132 # do not overwrite the value of need_locks provided by the user
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9134 $as_echo_n "checking if we can lock with hard links... " >&6; }
9135 hard_links=yes
9136 $RM conftest*
9137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9138 touch conftest.a
9139 ln conftest.a conftest.b 2>&5 || hard_links=no
9140 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9142 $as_echo "$hard_links" >&6; }
9143 if test "$hard_links" = no; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9146 need_locks=warn
9148 else
9149 need_locks=no
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9160 runpath_var=
9161 allow_undefined_flag=
9162 always_export_symbols=no
9163 archive_cmds=
9164 archive_expsym_cmds=
9165 compiler_needs_object=no
9166 enable_shared_with_static_runtimes=no
9167 export_dynamic_flag_spec=
9168 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9169 hardcode_automatic=no
9170 hardcode_direct=no
9171 hardcode_direct_absolute=no
9172 hardcode_libdir_flag_spec=
9173 hardcode_libdir_flag_spec_ld=
9174 hardcode_libdir_separator=
9175 hardcode_minus_L=no
9176 hardcode_shlibpath_var=unsupported
9177 inherit_rpath=no
9178 link_all_deplibs=unknown
9179 module_cmds=
9180 module_expsym_cmds=
9181 old_archive_from_new_cmds=
9182 old_archive_from_expsyms_cmds=
9183 thread_safe_flag_spec=
9184 whole_archive_flag_spec=
9185 # include_expsyms should be a list of space-separated symbols to be *always*
9186 # included in the symbol list
9187 include_expsyms=
9188 # exclude_expsyms can be an extended regexp of symbols to exclude
9189 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9190 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9191 # as well as any symbol that contains `d'.
9192 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9193 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9194 # platforms (ab)use it in PIC code, but their linkers get confused if
9195 # the symbol is explicitly referenced. Since portable code cannot
9196 # rely on this symbol name, it's probably fine to never include it in
9197 # preloaded symbol tables.
9198 # Exclude shared library initialization/finalization symbols.
9199 extract_expsyms_cmds=
9201 case $host_os in
9202 cygwin* | mingw* | pw32* | cegcc*)
9203 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9204 # When not using gcc, we currently assume that we are using
9205 # Microsoft Visual C++.
9206 if test "$GCC" != yes; then
9207 with_gnu_ld=no
9210 interix*)
9211 # we just hope/assume this is gcc and not c89 (= MSVC++)
9212 with_gnu_ld=yes
9214 openbsd*)
9215 with_gnu_ld=no
9217 esac
9219 ld_shlibs=yes
9221 # On some targets, GNU ld is compatible enough with the native linker
9222 # that we're better off using the native interface for both.
9223 lt_use_gnu_ld_interface=no
9224 if test "$with_gnu_ld" = yes; then
9225 case $host_os in
9226 aix*)
9227 # The AIX port of GNU ld has always aspired to compatibility
9228 # with the native linker. However, as the warning in the GNU ld
9229 # block says, versions before 2.19.5* couldn't really create working
9230 # shared libraries, regardless of the interface used.
9231 case `$LD -v 2>&1` in
9232 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9233 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9234 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9236 lt_use_gnu_ld_interface=yes
9238 esac
9241 lt_use_gnu_ld_interface=yes
9243 esac
9246 if test "$lt_use_gnu_ld_interface" = yes; then
9247 # If archive_cmds runs LD, not CC, wlarc should be empty
9248 wlarc='${wl}'
9250 # Set some defaults for GNU ld with shared library support. These
9251 # are reset later if shared libraries are not supported. Putting them
9252 # here allows them to be overridden if necessary.
9253 runpath_var=LD_RUN_PATH
9254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255 export_dynamic_flag_spec='${wl}--export-dynamic'
9256 # ancient GNU ld didn't support --whole-archive et. al.
9257 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9258 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259 else
9260 whole_archive_flag_spec=
9262 supports_anon_versioning=no
9263 case `$LD -v 2>&1` in
9264 *GNU\ gold*) supports_anon_versioning=yes ;;
9265 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268 *\ 2.11.*) ;; # other 2.11 versions
9269 *) supports_anon_versioning=yes ;;
9270 esac
9272 # See if GNU ld supports shared libraries.
9273 case $host_os in
9274 aix[3-9]*)
9275 # On AIX/PPC, the GNU linker is very broken
9276 if test "$host_cpu" != ia64; then
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9280 *** Warning: the GNU linker, at least up to release 2.19, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support. If you
9283 *** really care for shared libraries, you may want to install binutils
9284 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9285 *** You will then need to restart the configuration process.
9287 _LT_EOF
9291 amigaos*)
9292 case $host_cpu in
9293 powerpc)
9294 # see comment about AmigaOS4 .so support
9295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds=''
9298 m68k)
9299 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)'
9300 hardcode_libdir_flag_spec='-L$libdir'
9301 hardcode_minus_L=yes
9303 esac
9306 beos*)
9307 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9308 allow_undefined_flag=unsupported
9309 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9310 # support --undefined. This deserves some investigation. FIXME
9311 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 else
9313 ld_shlibs=no
9317 cygwin* | mingw* | pw32* | cegcc*)
9318 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9319 # as there is no search path for DLLs.
9320 hardcode_libdir_flag_spec='-L$libdir'
9321 export_dynamic_flag_spec='${wl}--export-all-symbols'
9322 allow_undefined_flag=unsupported
9323 always_export_symbols=no
9324 enable_shared_with_static_runtimes=yes
9325 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9327 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9329 # If the export-symbols file already is a .def file (1st line
9330 # is EXPORTS), use it as is; otherwise, prepend...
9331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332 cp $export_symbols $output_objdir/$soname.def;
9333 else
9334 echo EXPORTS > $output_objdir/$soname.def;
9335 cat $export_symbols >> $output_objdir/$soname.def;
9337 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9338 else
9339 ld_shlibs=no
9343 haiku*)
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 link_all_deplibs=yes
9348 interix[3-9]*)
9349 hardcode_direct=no
9350 hardcode_shlibpath_var=no
9351 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9352 export_dynamic_flag_spec='${wl}-E'
9353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9354 # Instead, shared libraries are loaded at an image base (0x10000000 by
9355 # default) and relocated if they conflict, which is a slow very memory
9356 # consuming and fragmenting process. To avoid this, we pick a random,
9357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9360 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'
9363 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9364 tmp_diet=no
9365 if test "$host_os" = linux-dietlibc; then
9366 case $cc_basename in
9367 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9368 esac
9370 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9371 && test "$tmp_diet" = no
9372 then
9373 tmp_addflag=' $pic_flag'
9374 tmp_sharedflag='-shared'
9375 case $cc_basename,$host_cpu in
9376 pgcc*) # Portland Group C compiler
9377 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'
9378 tmp_addflag=' $pic_flag'
9380 pgf77* | pgf90* | pgf95* | pgfortran*)
9381 # Portland Group f77 and f90 compilers
9382 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'
9383 tmp_addflag=' $pic_flag -Mnomain' ;;
9384 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9385 tmp_addflag=' -i_dynamic' ;;
9386 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9387 tmp_addflag=' -i_dynamic -nofor_main' ;;
9388 ifc* | ifort*) # Intel Fortran compiler
9389 tmp_addflag=' -nofor_main' ;;
9390 lf95*) # Lahey Fortran 8.1
9391 whole_archive_flag_spec=
9392 tmp_sharedflag='--shared' ;;
9393 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9394 tmp_sharedflag='-qmkshrobj'
9395 tmp_addflag= ;;
9396 nvcc*) # Cuda Compiler Driver 2.2
9397 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'
9398 compiler_needs_object=yes
9400 esac
9401 case `$CC -V 2>&1 | sed 5q` in
9402 *Sun\ C*) # Sun C 5.9
9403 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'
9404 compiler_needs_object=yes
9405 tmp_sharedflag='-G' ;;
9406 *Sun\ F*) # Sun Fortran 8.3
9407 tmp_sharedflag='-G' ;;
9408 esac
9409 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 if test "x$supports_anon_versioning" = xyes; then
9412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414 echo "local: *; };" >> $output_objdir/$libname.ver~
9415 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9418 case $cc_basename in
9419 xlf* | bgf* | bgxlf* | mpixlf*)
9420 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9421 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9422 hardcode_libdir_flag_spec=
9423 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9424 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9425 if test "x$supports_anon_versioning" = xyes; then
9426 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9427 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9428 echo "local: *; };" >> $output_objdir/$libname.ver~
9429 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9432 esac
9433 else
9434 ld_shlibs=no
9438 netbsd*)
9439 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9440 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9441 wlarc=
9442 else
9443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9444 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9448 solaris*)
9449 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9450 ld_shlibs=no
9451 cat <<_LT_EOF 1>&2
9453 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9454 *** create shared libraries on Solaris systems. Therefore, libtool
9455 *** is disabling shared libraries support. We urge you to upgrade GNU
9456 *** binutils to release 2.9.1 or newer. Another option is to modify
9457 *** your PATH or compiler configuration so that the native linker is
9458 *** used, and then restart.
9460 _LT_EOF
9461 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9463 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9464 else
9465 ld_shlibs=no
9469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9470 case `$LD -v 2>&1` in
9471 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9472 ld_shlibs=no
9473 cat <<_LT_EOF 1>&2
9475 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9476 *** reliably create shared libraries on SCO systems. Therefore, libtool
9477 *** is disabling shared libraries support. We urge you to upgrade GNU
9478 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9479 *** your PATH or compiler configuration so that the native linker is
9480 *** used, and then restart.
9482 _LT_EOF
9485 # For security reasons, it is highly recommended that you always
9486 # use absolute paths for naming shared libraries, and exclude the
9487 # DT_RUNPATH tag from executables and libraries. But doing so
9488 # requires that you compile everything twice, which is a pain.
9489 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9490 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 else
9494 ld_shlibs=no
9497 esac
9500 sunos4*)
9501 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9502 wlarc=
9503 hardcode_direct=yes
9504 hardcode_shlibpath_var=no
9508 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511 else
9512 ld_shlibs=no
9515 esac
9517 if test "$ld_shlibs" = no; then
9518 runpath_var=
9519 hardcode_libdir_flag_spec=
9520 export_dynamic_flag_spec=
9521 whole_archive_flag_spec=
9523 else
9524 # PORTME fill in a description of your system's linker (not GNU ld)
9525 case $host_os in
9526 aix3*)
9527 allow_undefined_flag=unsupported
9528 always_export_symbols=yes
9529 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'
9530 # Note: this linker hardcodes the directories in LIBPATH if there
9531 # are no directories specified by -L.
9532 hardcode_minus_L=yes
9533 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9534 # Neither direct hardcoding nor static linking is supported with a
9535 # broken collect2.
9536 hardcode_direct=unsupported
9540 aix[4-9]*)
9541 if test "$host_cpu" = ia64; then
9542 # On IA64, the linker does run time linking by default, so we don't
9543 # have to do anything special.
9544 aix_use_runtimelinking=no
9545 exp_sym_flag='-Bexport'
9546 no_entry_flag=""
9547 else
9548 # If we're using GNU nm, then we don't want the "-C" option.
9549 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9550 # Also, AIX nm treats weak defined symbols like other global
9551 # defined symbols, whereas GNU nm marks them as "W".
9552 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9553 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'
9554 else
9555 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'
9557 aix_use_runtimelinking=no
9559 # Test if we are trying to use run time linking or normal
9560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9561 # need to do runtime linking.
9562 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9563 for ld_flag in $LDFLAGS; do
9564 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9565 aix_use_runtimelinking=yes
9566 break
9568 done
9570 esac
9572 exp_sym_flag='-bexport'
9573 no_entry_flag='-bnoentry'
9576 # When large executables or shared objects are built, AIX ld can
9577 # have problems creating the table of contents. If linking a library
9578 # or program results in "error TOC overflow" add -mminimal-toc to
9579 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9580 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9582 archive_cmds=''
9583 hardcode_direct=yes
9584 hardcode_direct_absolute=yes
9585 hardcode_libdir_separator=':'
9586 link_all_deplibs=yes
9587 file_list_spec='${wl}-f,'
9589 if test "$GCC" = yes; then
9590 case $host_os in aix4.[012]|aix4.[012].*)
9591 # We only want to do this on AIX 4.2 and lower, the check
9592 # below for broken collect2 doesn't work under 4.3+
9593 collect2name=`${CC} -print-prog-name=collect2`
9594 if test -f "$collect2name" &&
9595 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9596 then
9597 # We have reworked collect2
9599 else
9600 # We have old collect2
9601 hardcode_direct=unsupported
9602 # It fails to find uninstalled libraries when the uninstalled
9603 # path is not listed in the libpath. Setting hardcode_minus_L
9604 # to unsupported forces relinking
9605 hardcode_minus_L=yes
9606 hardcode_libdir_flag_spec='-L$libdir'
9607 hardcode_libdir_separator=
9610 esac
9611 shared_flag='-shared'
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag="$shared_flag "'${wl}-G'
9615 else
9616 # not using gcc
9617 if test "$host_cpu" = ia64; then
9618 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9619 # chokes on -Wl,-G. The following line is correct:
9620 shared_flag='-G'
9621 else
9622 if test "$aix_use_runtimelinking" = yes; then
9623 shared_flag='${wl}-G'
9624 else
9625 shared_flag='${wl}-bM:SRE'
9630 export_dynamic_flag_spec='${wl}-bexpall'
9631 # It seems that -bexpall does not export symbols beginning with
9632 # underscore (_), so it is better to generate a list of symbols to export.
9633 always_export_symbols=yes
9634 if test "$aix_use_runtimelinking" = yes; then
9635 # Warning - without using the other runtime loading flags (-brtl),
9636 # -berok will link without error, but may produce a broken library.
9637 allow_undefined_flag='-berok'
9638 # Determine the default libpath from the value encoded in an
9639 # empty executable.
9640 if test x$gcc_no_link = xyes; then
9641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9647 main ()
9651 return 0;
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9656 lt_aix_libpath_sed='
9657 /Import File Strings/,/^$/ {
9658 /^0/ {
9659 s/^0 *\(.*\)$/\1/
9663 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9664 # Check for a 64-bit object if we didn't find anything.
9665 if test -z "$aix_libpath"; then
9666 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9673 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9674 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"
9675 else
9676 if test "$host_cpu" = ia64; then
9677 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9678 allow_undefined_flag="-z nodefs"
9679 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"
9680 else
9681 # Determine the default libpath from the value encoded in an
9682 # empty executable.
9683 if test x$gcc_no_link = xyes; then
9684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9690 main ()
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9699 lt_aix_libpath_sed='
9700 /Import File Strings/,/^$/ {
9701 /^0/ {
9702 s/^0 *\(.*\)$/\1/
9706 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 # Check for a 64-bit object if we didn't find anything.
9708 if test -z "$aix_libpath"; then
9709 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9716 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9717 # Warning - without using the other run time loading flags,
9718 # -berok will link without error, but may produce a broken library.
9719 no_undefined_flag=' ${wl}-bernotok'
9720 allow_undefined_flag=' ${wl}-berok'
9721 if test "$with_gnu_ld" = yes; then
9722 # We only use this code for GNU lds that support --whole-archive.
9723 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9724 else
9725 # Exported symbols can be pulled into shared objects from archives
9726 whole_archive_flag_spec='$convenience'
9728 archive_cmds_need_lc=yes
9729 # This is similar to how AIX traditionally builds its shared libraries.
9730 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'
9735 amigaos*)
9736 case $host_cpu in
9737 powerpc)
9738 # see comment about AmigaOS4 .so support
9739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9740 archive_expsym_cmds=''
9742 m68k)
9743 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)'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_minus_L=yes
9747 esac
9750 bsdi[45]*)
9751 export_dynamic_flag_spec=-rdynamic
9754 cygwin* | mingw* | pw32* | cegcc*)
9755 # When not using gcc, we currently assume that we are using
9756 # Microsoft Visual C++.
9757 # hardcode_libdir_flag_spec is actually meaningless, as there is
9758 # no search path for DLLs.
9759 hardcode_libdir_flag_spec=' '
9760 allow_undefined_flag=unsupported
9761 # Tell ltmain to make .lib files, not .a files.
9762 libext=lib
9763 # Tell ltmain to make .dll files, not .so files.
9764 shrext_cmds=".dll"
9765 # FIXME: Setting linknames here is a bad hack.
9766 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9767 # The linker will automatically build a .lib file if we build a DLL.
9768 old_archive_from_new_cmds='true'
9769 # FIXME: Should let the user specify the lib program.
9770 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9771 fix_srcfile_path='`cygpath -w "$srcfile"`'
9772 enable_shared_with_static_runtimes=yes
9775 darwin* | rhapsody*)
9778 archive_cmds_need_lc=no
9779 hardcode_direct=no
9780 hardcode_automatic=yes
9781 hardcode_shlibpath_var=unsupported
9782 if test "$lt_cv_ld_force_load" = "yes"; then
9783 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\"`'
9784 else
9785 whole_archive_flag_spec=''
9787 link_all_deplibs=yes
9788 allow_undefined_flag="$_lt_dar_allow_undefined"
9789 case $cc_basename in
9790 ifort*) _lt_dar_can_shared=yes ;;
9791 *) _lt_dar_can_shared=$GCC ;;
9792 esac
9793 if test "$_lt_dar_can_shared" = "yes"; then
9794 output_verbose_link_cmd=func_echo_all
9795 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9796 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9797 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}"
9798 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}"
9800 else
9801 ld_shlibs=no
9806 dgux*)
9807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808 hardcode_libdir_flag_spec='-L$libdir'
9809 hardcode_shlibpath_var=no
9812 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813 # support. Future versions do this automatically, but an explicit c++rt0.o
9814 # does not break anything, and helps significantly (at the cost of a little
9815 # extra space).
9816 freebsd2.2*)
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9818 hardcode_libdir_flag_spec='-R$libdir'
9819 hardcode_direct=yes
9820 hardcode_shlibpath_var=no
9823 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9824 freebsd2.*)
9825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_direct=yes
9827 hardcode_minus_L=yes
9828 hardcode_shlibpath_var=no
9831 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832 freebsd* | dragonfly*)
9833 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9834 hardcode_libdir_flag_spec='-R$libdir'
9835 hardcode_direct=yes
9836 hardcode_shlibpath_var=no
9839 hpux9*)
9840 if test "$GCC" = yes; then
9841 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'
9842 else
9843 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'
9845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846 hardcode_libdir_separator=:
9847 hardcode_direct=yes
9849 # hardcode_minus_L: Not really in the search PATH,
9850 # but as the default location of the library.
9851 hardcode_minus_L=yes
9852 export_dynamic_flag_spec='${wl}-E'
9855 hpux10*)
9856 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9857 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 else
9859 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861 if test "$with_gnu_ld" = no; then
9862 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9863 hardcode_libdir_flag_spec_ld='+b $libdir'
9864 hardcode_libdir_separator=:
9865 hardcode_direct=yes
9866 hardcode_direct_absolute=yes
9867 export_dynamic_flag_spec='${wl}-E'
9868 # hardcode_minus_L: Not really in the search PATH,
9869 # but as the default location of the library.
9870 hardcode_minus_L=yes
9874 hpux11*)
9875 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9876 case $host_cpu in
9877 hppa*64*)
9878 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 ia64*)
9881 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9886 esac
9887 else
9888 case $host_cpu in
9889 hppa*64*)
9890 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 ia64*)
9893 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9897 # Older versions of the 11.00 compiler do not understand -b yet
9898 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 lt_cv_prog_compiler__b=no
9905 save_LDFLAGS="$LDFLAGS"
9906 LDFLAGS="$LDFLAGS -b"
9907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909 # The linker can only warn and ignore the option if not recognized
9910 # So say no if there are warnings
9911 if test -s conftest.err; then
9912 # Append any errors to the config.log.
9913 cat conftest.err 1>&5
9914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916 if diff conftest.exp conftest.er2 >/dev/null; then
9917 lt_cv_prog_compiler__b=yes
9919 else
9920 lt_cv_prog_compiler__b=yes
9923 $RM -r conftest*
9924 LDFLAGS="$save_LDFLAGS"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9930 if test x"$lt_cv_prog_compiler__b" = xyes; then
9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 else
9933 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9937 esac
9939 if test "$with_gnu_ld" = no; then
9940 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_separator=:
9943 case $host_cpu in
9944 hppa*64*|ia64*)
9945 hardcode_direct=no
9946 hardcode_shlibpath_var=no
9949 hardcode_direct=yes
9950 hardcode_direct_absolute=yes
9951 export_dynamic_flag_spec='${wl}-E'
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9957 esac
9961 irix5* | irix6* | nonstopux*)
9962 if test "$GCC" = yes; then
9963 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'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 save_LDFLAGS="$LDFLAGS"
9968 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 if test x$gcc_no_link = xyes; then
9970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int foo(void) {}
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 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'
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LDFLAGS="$save_LDFLAGS"
9983 else
9984 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'
9985 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'
9987 archive_cmds_need_lc='no'
9988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9989 hardcode_libdir_separator=:
9990 inherit_rpath=yes
9991 link_all_deplibs=yes
9994 netbsd*)
9995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9996 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9997 else
9998 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10000 hardcode_libdir_flag_spec='-R$libdir'
10001 hardcode_direct=yes
10002 hardcode_shlibpath_var=no
10005 newsos6)
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_direct=yes
10008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009 hardcode_libdir_separator=:
10010 hardcode_shlibpath_var=no
10013 *nto* | *qnx*)
10016 openbsd*)
10017 if test -f /usr/libexec/ld.so; then
10018 hardcode_direct=yes
10019 hardcode_shlibpath_var=no
10020 hardcode_direct_absolute=yes
10021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 export_dynamic_flag_spec='${wl}-E'
10026 else
10027 case $host_os in
10028 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10029 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 hardcode_libdir_flag_spec='-R$libdir'
10033 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10036 esac
10038 else
10039 ld_shlibs=no
10043 os2*)
10044 hardcode_libdir_flag_spec='-L$libdir'
10045 hardcode_minus_L=yes
10046 allow_undefined_flag=unsupported
10047 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'
10048 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10051 osf3*)
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10055 else
10056 allow_undefined_flag=' -expect_unresolved \*'
10057 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'
10059 archive_cmds_need_lc='no'
10060 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10061 hardcode_libdir_separator=:
10064 osf4* | osf5*) # as osf3* with the addition of -msym flag
10065 if test "$GCC" = yes; then
10066 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10067 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'
10068 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069 else
10070 allow_undefined_flag=' -expect_unresolved \*'
10071 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'
10072 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~
10073 $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'
10075 # Both c and cxx compiler support -rpath directly
10076 hardcode_libdir_flag_spec='-rpath $libdir'
10078 archive_cmds_need_lc='no'
10079 hardcode_libdir_separator=:
10082 solaris*)
10083 no_undefined_flag=' -z defs'
10084 if test "$GCC" = yes; then
10085 wlarc='${wl}'
10086 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 else
10090 case `$CC -V 2>&1` in
10091 *"Compilers 5.0"*)
10092 wlarc=''
10093 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10098 wlarc='${wl}'
10099 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10101 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10103 esac
10105 hardcode_libdir_flag_spec='-R$libdir'
10106 hardcode_shlibpath_var=no
10107 case $host_os in
10108 solaris2.[0-5] | solaris2.[0-5].*) ;;
10110 # The compiler driver will combine and reorder linker options,
10111 # but understands `-z linker_flag'. GCC discards it without `$wl',
10112 # but is careful enough not to reorder.
10113 # Supported since Solaris 2.6 (maybe 2.5.1?)
10114 if test "$GCC" = yes; then
10115 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10116 else
10117 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10120 esac
10121 link_all_deplibs=yes
10124 sunos4*)
10125 if test "x$host_vendor" = xsequent; then
10126 # Use $CC to link under sequent, because it throws in some extra .o
10127 # files that make .init and .fini sections work.
10128 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129 else
10130 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_direct=yes
10134 hardcode_minus_L=yes
10135 hardcode_shlibpath_var=no
10138 sysv4)
10139 case $host_vendor in
10140 sni)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=yes # is this really true???
10144 siemens)
10145 ## LD is ld it makes a PLAMLIB
10146 ## CC just makes a GrossModule.
10147 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10148 reload_cmds='$CC -r -o $output$reload_objs'
10149 hardcode_direct=no
10151 motorola)
10152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10155 esac
10156 runpath_var='LD_RUN_PATH'
10157 hardcode_shlibpath_var=no
10160 sysv4.3*)
10161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162 hardcode_shlibpath_var=no
10163 export_dynamic_flag_spec='-Bexport'
10166 sysv4*MP*)
10167 if test -d /usr/nec; then
10168 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_shlibpath_var=no
10170 runpath_var=LD_RUN_PATH
10171 hardcode_runpath_var=yes
10172 ld_shlibs=yes
10176 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10177 no_undefined_flag='${wl}-z,text'
10178 archive_cmds_need_lc=no
10179 hardcode_shlibpath_var=no
10180 runpath_var='LD_RUN_PATH'
10182 if test "$GCC" = yes; then
10183 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 else
10186 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191 sysv5* | sco3.2v5* | sco5v6*)
10192 # Note: We can NOT use -z defs as we might desire, because we do not
10193 # link with -lc, and that would cause any symbols used from libc to
10194 # always be unresolved, which means just about no library would
10195 # ever link correctly. If we're not using GNU ld we use -z text
10196 # though, which does catch some bad symbols but isn't as heavy-handed
10197 # as -z defs.
10198 no_undefined_flag='${wl}-z,text'
10199 allow_undefined_flag='${wl}-z,nodefs'
10200 archive_cmds_need_lc=no
10201 hardcode_shlibpath_var=no
10202 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10203 hardcode_libdir_separator=':'
10204 link_all_deplibs=yes
10205 export_dynamic_flag_spec='${wl}-Bexport'
10206 runpath_var='LD_RUN_PATH'
10208 if test "$GCC" = yes; then
10209 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 else
10212 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 uts4*)
10218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10219 hardcode_libdir_flag_spec='-L$libdir'
10220 hardcode_shlibpath_var=no
10224 ld_shlibs=no
10226 esac
10228 if test x$host_vendor = xsni; then
10229 case $host in
10230 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10231 export_dynamic_flag_spec='${wl}-Blargedynsym'
10233 esac
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10238 $as_echo "$ld_shlibs" >&6; }
10239 test "$ld_shlibs" = no && can_build_shared=no
10241 with_gnu_ld=$with_gnu_ld
10258 # Do we need to explicitly link libc?
10260 case "x$archive_cmds_need_lc" in
10261 x|xyes)
10262 # Assume -lc should be added
10263 archive_cmds_need_lc=yes
10265 if test "$enable_shared" = yes && test "$GCC" = yes; then
10266 case $archive_cmds in
10267 *'~'*)
10268 # FIXME: we may have to deal with multi-command sequences.
10270 '$CC '*)
10271 # Test whether the compiler implicitly links with -lc since on some
10272 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10273 # to ld, don't add -lc before -lgcc.
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10275 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10276 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 $RM conftest*
10280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10283 (eval $ac_compile) 2>&5
10284 ac_status=$?
10285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10286 test $ac_status = 0; } 2>conftest.err; then
10287 soname=conftest
10288 lib=conftest
10289 libobjs=conftest.$ac_objext
10290 deplibs=
10291 wl=$lt_prog_compiler_wl
10292 pic_flag=$lt_prog_compiler_pic
10293 compiler_flags=-v
10294 linker_flags=-v
10295 verstring=
10296 output_objdir=.
10297 libname=conftest
10298 lt_save_allow_undefined_flag=$allow_undefined_flag
10299 allow_undefined_flag=
10300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10301 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10302 ac_status=$?
10303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10304 test $ac_status = 0; }
10305 then
10306 lt_cv_archive_cmds_need_lc=no
10307 else
10308 lt_cv_archive_cmds_need_lc=yes
10310 allow_undefined_flag=$lt_save_allow_undefined_flag
10311 else
10312 cat conftest.err 1>&5
10314 $RM conftest*
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10318 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10319 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10321 esac
10324 esac
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10485 if test "$GCC" = yes; then
10486 case $host_os in
10487 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10488 *) lt_awk_arg="/^libraries:/" ;;
10489 esac
10490 case $host_os in
10491 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10492 *) lt_sed_strip_eq="s,=/,/,g" ;;
10493 esac
10494 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10495 case $lt_search_path_spec in
10496 *\;*)
10497 # if the path contains ";" then we assume it to be the separator
10498 # otherwise default to the standard path separator (i.e. ":") - it is
10499 # assumed that no part of a normal pathname contains ";" but that should
10500 # okay in the real world where ";" in dirpaths is itself problematic.
10501 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10504 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10506 esac
10507 # Ok, now we have the path, separated by spaces, we can step through it
10508 # and add multilib dir if necessary.
10509 lt_tmp_lt_search_path_spec=
10510 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10511 for lt_sys_path in $lt_search_path_spec; do
10512 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10513 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10514 else
10515 test -d "$lt_sys_path" && \
10516 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10518 done
10519 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10520 BEGIN {RS=" "; FS="/|\n";} {
10521 lt_foo="";
10522 lt_count=0;
10523 for (lt_i = NF; lt_i > 0; lt_i--) {
10524 if ($lt_i != "" && $lt_i != ".") {
10525 if ($lt_i == "..") {
10526 lt_count++;
10527 } else {
10528 if (lt_count == 0) {
10529 lt_foo="/" $lt_i lt_foo;
10530 } else {
10531 lt_count--;
10536 if (lt_foo != "") { lt_freq[lt_foo]++; }
10537 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10539 # AWK program above erroneously prepends '/' to C:/dos/paths
10540 # for these hosts.
10541 case $host_os in
10542 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10543 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544 esac
10545 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546 else
10547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10549 library_names_spec=
10550 libname_spec='lib$name'
10551 soname_spec=
10552 shrext_cmds=".so"
10553 postinstall_cmds=
10554 postuninstall_cmds=
10555 finish_cmds=
10556 finish_eval=
10557 shlibpath_var=
10558 shlibpath_overrides_runpath=unknown
10559 version_type=none
10560 dynamic_linker="$host_os ld.so"
10561 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10562 need_lib_prefix=unknown
10563 hardcode_into_libs=no
10565 # when you set need_version to no, make sure it does not cause -set_version
10566 # flags to be left without arguments
10567 need_version=unknown
10569 case $host_os in
10570 aix3*)
10571 version_type=linux
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573 shlibpath_var=LIBPATH
10575 # AIX 3 has no versioning support, so we append a major version to the name.
10576 soname_spec='${libname}${release}${shared_ext}$major'
10579 aix[4-9]*)
10580 version_type=linux
10581 need_lib_prefix=no
10582 need_version=no
10583 hardcode_into_libs=yes
10584 if test "$host_cpu" = ia64; then
10585 # AIX 5 supports IA64
10586 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 else
10589 # With GCC up to 2.95.x, collect2 would create an import file
10590 # for dependence libraries. The import file would start with
10591 # the line `#! .'. This would cause the generated library to
10592 # depend on `.', always an invalid library. This was fixed in
10593 # development snapshots of GCC prior to 3.0.
10594 case $host_os in
10595 aix4 | aix4.[01] | aix4.[01].*)
10596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10597 echo ' yes '
10598 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10600 else
10601 can_build_shared=no
10604 esac
10605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10606 # soname into executable. Probably we can add versioning support to
10607 # collect2, so additional links can be useful in future.
10608 if test "$aix_use_runtimelinking" = yes; then
10609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10610 # instead of lib<name>.a to let people know that these are not
10611 # typical AIX shared libraries.
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 else
10614 # We preserve .a as extension for shared libraries through AIX4.2
10615 # and later when we are not doing run time linking.
10616 library_names_spec='${libname}${release}.a $libname.a'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10619 shlibpath_var=LIBPATH
10623 amigaos*)
10624 case $host_cpu in
10625 powerpc)
10626 # Since July 2007 AmigaOS4 officially supports .so libraries.
10627 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 m68k)
10631 library_names_spec='$libname.ixlibrary $libname.a'
10632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10633 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'
10635 esac
10638 beos*)
10639 library_names_spec='${libname}${shared_ext}'
10640 dynamic_linker="$host_os ld.so"
10641 shlibpath_var=LIBRARY_PATH
10644 bsdi[45]*)
10645 version_type=linux
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10650 shlibpath_var=LD_LIBRARY_PATH
10651 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10652 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10653 # the default ld.so.conf also contains /usr/contrib/lib and
10654 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10655 # libtool to hard-code these into programs
10658 cygwin* | mingw* | pw32* | cegcc*)
10659 version_type=windows
10660 shrext_cmds=".dll"
10661 need_version=no
10662 need_lib_prefix=no
10664 case $GCC,$host_os in
10665 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10666 library_names_spec='$libname.dll.a'
10667 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668 postinstall_cmds='base_file=`basename \${file}`~
10669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670 dldir=$destdir/`dirname \$dlpath`~
10671 test -d \$dldir || mkdir -p \$dldir~
10672 $install_prog $dir/$dlname \$dldir/$dlname~
10673 chmod a+x \$dldir/$dlname~
10674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10678 dlpath=$dir/\$dldll~
10679 $RM \$dlpath'
10680 shlibpath_overrides_runpath=yes
10682 case $host_os in
10683 cygwin*)
10684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10689 mingw* | cegcc*)
10690 # MinGW DLLs use traditional 'lib' prefix
10691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10693 pw32*)
10694 # pw32 DLLs use 'pw' prefix rather than 'lib'
10695 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697 esac
10701 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10703 esac
10704 dynamic_linker='Win32 ld.exe'
10705 # FIXME: first we should search . and the directory the executable is in
10706 shlibpath_var=PATH
10709 darwin* | rhapsody*)
10710 dynamic_linker="$host_os dyld"
10711 version_type=darwin
10712 need_lib_prefix=no
10713 need_version=no
10714 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10715 soname_spec='${libname}${release}${major}$shared_ext'
10716 shlibpath_overrides_runpath=yes
10717 shlibpath_var=DYLD_LIBRARY_PATH
10718 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10720 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10721 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10724 dgux*)
10725 version_type=linux
10726 need_lib_prefix=no
10727 need_version=no
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 shlibpath_var=LD_LIBRARY_PATH
10733 freebsd* | dragonfly*)
10734 # DragonFly does not have aout. When/if they implement a new
10735 # versioning mechanism, adjust this.
10736 if test -x /usr/bin/objformat; then
10737 objformat=`/usr/bin/objformat`
10738 else
10739 case $host_os in
10740 freebsd[23].*) objformat=aout ;;
10741 *) objformat=elf ;;
10742 esac
10744 version_type=freebsd-$objformat
10745 case $version_type in
10746 freebsd-elf*)
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10748 need_version=no
10749 need_lib_prefix=no
10751 freebsd-*)
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10753 need_version=yes
10755 esac
10756 shlibpath_var=LD_LIBRARY_PATH
10757 case $host_os in
10758 freebsd2.*)
10759 shlibpath_overrides_runpath=yes
10761 freebsd3.[01]* | freebsdelf3.[01]*)
10762 shlibpath_overrides_runpath=yes
10763 hardcode_into_libs=yes
10765 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10766 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10767 shlibpath_overrides_runpath=no
10768 hardcode_into_libs=yes
10770 *) # from 4.6 on, and DragonFly
10771 shlibpath_overrides_runpath=yes
10772 hardcode_into_libs=yes
10774 esac
10777 gnu*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LD_LIBRARY_PATH
10784 hardcode_into_libs=yes
10787 haiku*)
10788 version_type=linux
10789 need_lib_prefix=no
10790 need_version=no
10791 dynamic_linker="$host_os runtime_loader"
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LIBRARY_PATH
10795 shlibpath_overrides_runpath=yes
10796 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10797 hardcode_into_libs=yes
10800 hpux9* | hpux10* | hpux11*)
10801 # Give a soname corresponding to the major version so that dld.sl refuses to
10802 # link against other versions.
10803 version_type=sunos
10804 need_lib_prefix=no
10805 need_version=no
10806 case $host_cpu in
10807 ia64*)
10808 shrext_cmds='.so'
10809 hardcode_into_libs=yes
10810 dynamic_linker="$host_os dld.so"
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 if test "X$HPUX_IA64_MODE" = X32; then
10816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817 else
10818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10822 hppa*64*)
10823 shrext_cmds='.sl'
10824 hardcode_into_libs=yes
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10834 shrext_cmds='.sl'
10835 dynamic_linker="$host_os dld.sl"
10836 shlibpath_var=SHLIB_PATH
10837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10841 esac
10842 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843 postinstall_cmds='chmod 555 $lib'
10844 # or fails outright, so override atomically:
10845 install_override_mode=555
10848 interix[3-9]*)
10849 version_type=linux
10850 need_lib_prefix=no
10851 need_version=no
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10857 hardcode_into_libs=yes
10860 irix5* | irix6* | nonstopux*)
10861 case $host_os in
10862 nonstopux*) version_type=nonstopux ;;
10864 if test "$lt_cv_prog_gnu_ld" = yes; then
10865 version_type=linux
10866 else
10867 version_type=irix
10868 fi ;;
10869 esac
10870 need_lib_prefix=no
10871 need_version=no
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874 case $host_os in
10875 irix5* | nonstopux*)
10876 libsuff= shlibsuff=
10879 case $LD in # libtool.m4 will add one of these switches to LD
10880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881 libsuff= shlibsuff= libmagic=32-bit;;
10882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883 libsuff=32 shlibsuff=N32 libmagic=N32;;
10884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886 *) libsuff= shlibsuff= libmagic=never-match;;
10887 esac
10889 esac
10890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891 shlibpath_overrides_runpath=no
10892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894 hardcode_into_libs=yes
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10899 dynamic_linker=no
10902 # This must be Linux ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 version_type=linux
10905 need_lib_prefix=no
10906 need_version=no
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=no
10913 # Some binutils ld are patched to set DT_RUNPATH
10914 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 lt_cv_shlibpath_overrides_runpath=no
10918 save_LDFLAGS=$LDFLAGS
10919 save_libdir=$libdir
10920 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922 if test x$gcc_no_link = xyes; then
10923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10929 main ()
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10938 lt_cv_shlibpath_overrides_runpath=yes
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LDFLAGS=$save_LDFLAGS
10944 libdir=$save_libdir
10948 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10950 # This implies no fast_install, which is unacceptable.
10951 # Some rework will be needed to allow for fast_install
10952 # before this can be enabled.
10953 hardcode_into_libs=yes
10955 # Append ld.so.conf contents to the search path
10956 if test -f /etc/ld.so.conf; then
10957 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' ' '`
10958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10961 # We used to test for /lib/ld.so.1 and disable shared libraries on
10962 # powerpc, because MkLinux only supported shared libraries with the
10963 # GNU dynamic linker. Since this was broken with cross compilers,
10964 # most powerpc-linux boxes support dynamic linking these days and
10965 # people can always --disable-shared, the test was removed, and we
10966 # assume the GNU/Linux dynamic linker is in use.
10967 dynamic_linker='GNU/Linux ld.so'
10970 netbsd*)
10971 version_type=sunos
10972 need_lib_prefix=no
10973 need_version=no
10974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 dynamic_linker='NetBSD (a.out) ld.so'
10978 else
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 dynamic_linker='NetBSD ld.elf_so'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10988 newsos6)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10995 *nto* | *qnx*)
10996 version_type=qnx
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=no
11003 hardcode_into_libs=yes
11004 dynamic_linker='ldqnx.so'
11007 openbsd*)
11008 version_type=sunos
11009 sys_lib_dlsearch_path_spec="/usr/lib"
11010 need_lib_prefix=no
11011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11012 case $host_os in
11013 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11014 *) need_version=no ;;
11015 esac
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11020 case $host_os in
11021 openbsd2.[89] | openbsd2.[89].*)
11022 shlibpath_overrides_runpath=no
11025 shlibpath_overrides_runpath=yes
11027 esac
11028 else
11029 shlibpath_overrides_runpath=yes
11033 os2*)
11034 libname_spec='$name'
11035 shrext_cmds=".dll"
11036 need_lib_prefix=no
11037 library_names_spec='$libname${shared_ext} $libname.a'
11038 dynamic_linker='OS/2 ld.exe'
11039 shlibpath_var=LIBPATH
11042 osf3* | osf4* | osf5*)
11043 version_type=osf
11044 need_lib_prefix=no
11045 need_version=no
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11053 rdos*)
11054 dynamic_linker=no
11057 solaris*)
11058 version_type=linux
11059 need_lib_prefix=no
11060 need_version=no
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 hardcode_into_libs=yes
11066 # ldd complains unless libraries are executable
11067 postinstall_cmds='chmod +x $lib'
11070 sunos4*)
11071 version_type=sunos
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 if test "$with_gnu_ld" = yes; then
11077 need_lib_prefix=no
11079 need_version=yes
11082 sysv4 | sysv4.3*)
11083 version_type=linux
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 case $host_vendor in
11088 sni)
11089 shlibpath_overrides_runpath=no
11090 need_lib_prefix=no
11091 runpath_var=LD_RUN_PATH
11093 siemens)
11094 need_lib_prefix=no
11096 motorola)
11097 need_lib_prefix=no
11098 need_version=no
11099 shlibpath_overrides_runpath=no
11100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11102 esac
11105 sysv4*MP*)
11106 if test -d /usr/nec ;then
11107 version_type=linux
11108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109 soname_spec='$libname${shared_ext}.$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115 version_type=freebsd-elf
11116 need_lib_prefix=no
11117 need_version=no
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 hardcode_into_libs=yes
11123 if test "$with_gnu_ld" = yes; then
11124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11125 else
11126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127 case $host_os in
11128 sco3.2v5*)
11129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11131 esac
11133 sys_lib_dlsearch_path_spec='/usr/lib'
11136 tpf*)
11137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11138 version_type=linux
11139 need_lib_prefix=no
11140 need_version=no
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=no
11144 hardcode_into_libs=yes
11147 uts4*)
11148 version_type=linux
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11155 dynamic_linker=no
11157 esac
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11267 hardcode_action=
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269 test -n "$runpath_var" ||
11270 test "X$hardcode_automatic" = "Xyes" ; then
11272 # We can hardcode non-existent directories.
11273 if test "$hardcode_direct" != no &&
11274 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275 # have to relink, otherwise we might link with an installed library
11276 # when we should be linking with a yet-to-be-installed one
11277 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278 test "$hardcode_minus_L" != no; then
11279 # Linking always hardcodes the temporary library directory.
11280 hardcode_action=relink
11281 else
11282 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283 hardcode_action=immediate
11285 else
11286 # We cannot hardcode anything, or else we can only hardcode existing
11287 # directories.
11288 hardcode_action=unsupported
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11293 if test "$hardcode_action" = relink ||
11294 test "$inherit_rpath" = yes; then
11295 # Fast installation is not supported
11296 enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298 test "$enable_shared" = no; then
11299 # Fast installation is not necessary
11300 enable_fast_install=needless
11308 if test "x$enable_dlopen" != xyes; then
11309 enable_dlopen=unknown
11310 enable_dlopen_self=unknown
11311 enable_dlopen_self_static=unknown
11312 else
11313 lt_cv_dlopen=no
11314 lt_cv_dlopen_libs=
11316 case $host_os in
11317 beos*)
11318 lt_cv_dlopen="load_add_on"
11319 lt_cv_dlopen_libs=
11320 lt_cv_dlopen_self=yes
11323 mingw* | pw32* | cegcc*)
11324 lt_cv_dlopen="LoadLibrary"
11325 lt_cv_dlopen_libs=
11328 cygwin*)
11329 lt_cv_dlopen="dlopen"
11330 lt_cv_dlopen_libs=
11333 darwin*)
11334 # if libdl is installed we need to link against it
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldl $LIBS"
11342 if test x$gcc_no_link = xyes; then
11343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char dlopen ();
11356 main ()
11358 return dlopen ();
11360 return 0;
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 ac_cv_lib_dl_dlopen=yes
11365 else
11366 ac_cv_lib_dl_dlopen=no
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11374 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11376 else
11378 lt_cv_dlopen="dyld"
11379 lt_cv_dlopen_libs=
11380 lt_cv_dlopen_self=yes
11387 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11388 if test "x$ac_cv_func_shl_load" = x""yes; then :
11389 lt_cv_dlopen="shl_load"
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-ldld $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char shl_load ();
11412 main ()
11414 return shl_load ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_dld_shl_load=yes
11421 else
11422 ac_cv_lib_dld_shl_load=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11429 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11430 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11431 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11432 else
11433 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11434 if test "x$ac_cv_func_dlopen" = x""yes; then :
11435 lt_cv_dlopen="dlopen"
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldl $LIBS"
11444 if test x$gcc_no_link = xyes; then
11445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dlopen ();
11458 main ()
11460 return dlopen ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_dl_dlopen=yes
11467 else
11468 ac_cv_lib_dl_dlopen=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478 else
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld $LIBS"
11486 if test x$gcc_no_link = xyes; then
11487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char dlopen ();
11500 main ()
11502 return dlopen ();
11504 return 0;
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_svld_dlopen=yes
11509 else
11510 ac_cv_lib_svld_dlopen=no
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldld $LIBS"
11528 if test x$gcc_no_link = xyes; then
11529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char dld_link ();
11542 main ()
11544 return dld_link ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_dld_dld_link=yes
11551 else
11552 ac_cv_lib_dld_dld_link=no
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11559 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11560 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11561 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11580 esac
11582 if test "x$lt_cv_dlopen" != xno; then
11583 enable_dlopen=yes
11584 else
11585 enable_dlopen=no
11588 case $lt_cv_dlopen in
11589 dlopen)
11590 save_CPPFLAGS="$CPPFLAGS"
11591 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11593 save_LDFLAGS="$LDFLAGS"
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11596 save_LIBS="$LIBS"
11597 LIBS="$lt_cv_dlopen_libs $LIBS"
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11600 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11601 if test "${lt_cv_dlopen_self+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 if test "$cross_compiling" = yes; then :
11605 lt_cv_dlopen_self=cross
11606 else
11607 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11608 lt_status=$lt_dlunknown
11609 cat > conftest.$ac_ext <<_LT_EOF
11610 #line 11610 "configure"
11611 #include "confdefs.h"
11613 #if HAVE_DLFCN_H
11614 #include <dlfcn.h>
11615 #endif
11617 #include <stdio.h>
11619 #ifdef RTLD_GLOBAL
11620 # define LT_DLGLOBAL RTLD_GLOBAL
11621 #else
11622 # ifdef DL_GLOBAL
11623 # define LT_DLGLOBAL DL_GLOBAL
11624 # else
11625 # define LT_DLGLOBAL 0
11626 # endif
11627 #endif
11629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11630 find out it does not work in some platform. */
11631 #ifndef LT_DLLAZY_OR_NOW
11632 # ifdef RTLD_LAZY
11633 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11634 # else
11635 # ifdef DL_LAZY
11636 # define LT_DLLAZY_OR_NOW DL_LAZY
11637 # else
11638 # ifdef RTLD_NOW
11639 # define LT_DLLAZY_OR_NOW RTLD_NOW
11640 # else
11641 # ifdef DL_NOW
11642 # define LT_DLLAZY_OR_NOW DL_NOW
11643 # else
11644 # define LT_DLLAZY_OR_NOW 0
11645 # endif
11646 # endif
11647 # endif
11648 # endif
11649 #endif
11651 /* When -fvisbility=hidden is used, assume the code has been annotated
11652 correspondingly for the symbols needed. */
11653 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11654 void fnord () __attribute__((visibility("default")));
11655 #endif
11657 void fnord () { int i=42; }
11658 int main ()
11660 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11661 int status = $lt_dlunknown;
11663 if (self)
11665 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11666 else
11668 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11669 else puts (dlerror ());
11671 /* dlclose (self); */
11673 else
11674 puts (dlerror ());
11676 return status;
11678 _LT_EOF
11679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11680 (eval $ac_link) 2>&5
11681 ac_status=$?
11682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11683 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11684 (./conftest; exit; ) >&5 2>/dev/null
11685 lt_status=$?
11686 case x$lt_status in
11687 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11688 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11689 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11690 esac
11691 else :
11692 # compilation failed
11693 lt_cv_dlopen_self=no
11696 rm -fr conftest*
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11701 $as_echo "$lt_cv_dlopen_self" >&6; }
11703 if test "x$lt_cv_dlopen_self" = xyes; then
11704 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11706 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11707 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11708 $as_echo_n "(cached) " >&6
11709 else
11710 if test "$cross_compiling" = yes; then :
11711 lt_cv_dlopen_self_static=cross
11712 else
11713 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11714 lt_status=$lt_dlunknown
11715 cat > conftest.$ac_ext <<_LT_EOF
11716 #line 11716 "configure"
11717 #include "confdefs.h"
11719 #if HAVE_DLFCN_H
11720 #include <dlfcn.h>
11721 #endif
11723 #include <stdio.h>
11725 #ifdef RTLD_GLOBAL
11726 # define LT_DLGLOBAL RTLD_GLOBAL
11727 #else
11728 # ifdef DL_GLOBAL
11729 # define LT_DLGLOBAL DL_GLOBAL
11730 # else
11731 # define LT_DLGLOBAL 0
11732 # endif
11733 #endif
11735 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11736 find out it does not work in some platform. */
11737 #ifndef LT_DLLAZY_OR_NOW
11738 # ifdef RTLD_LAZY
11739 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11740 # else
11741 # ifdef DL_LAZY
11742 # define LT_DLLAZY_OR_NOW DL_LAZY
11743 # else
11744 # ifdef RTLD_NOW
11745 # define LT_DLLAZY_OR_NOW RTLD_NOW
11746 # else
11747 # ifdef DL_NOW
11748 # define LT_DLLAZY_OR_NOW DL_NOW
11749 # else
11750 # define LT_DLLAZY_OR_NOW 0
11751 # endif
11752 # endif
11753 # endif
11754 # endif
11755 #endif
11757 /* When -fvisbility=hidden is used, assume the code has been annotated
11758 correspondingly for the symbols needed. */
11759 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11760 void fnord () __attribute__((visibility("default")));
11761 #endif
11763 void fnord () { int i=42; }
11764 int main ()
11766 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11767 int status = $lt_dlunknown;
11769 if (self)
11771 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11772 else
11774 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11775 else puts (dlerror ());
11777 /* dlclose (self); */
11779 else
11780 puts (dlerror ());
11782 return status;
11784 _LT_EOF
11785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11786 (eval $ac_link) 2>&5
11787 ac_status=$?
11788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11790 (./conftest; exit; ) >&5 2>/dev/null
11791 lt_status=$?
11792 case x$lt_status in
11793 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11794 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11795 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11796 esac
11797 else :
11798 # compilation failed
11799 lt_cv_dlopen_self_static=no
11802 rm -fr conftest*
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11807 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11810 CPPFLAGS="$save_CPPFLAGS"
11811 LDFLAGS="$save_LDFLAGS"
11812 LIBS="$save_LIBS"
11814 esac
11816 case $lt_cv_dlopen_self in
11817 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11818 *) enable_dlopen_self=unknown ;;
11819 esac
11821 case $lt_cv_dlopen_self_static in
11822 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11823 *) enable_dlopen_self_static=unknown ;;
11824 esac
11843 striplib=
11844 old_striplib=
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11846 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11847 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11848 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11849 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11851 $as_echo "yes" >&6; }
11852 else
11853 # FIXME - insert some real tests, host_os isn't really good enough
11854 case $host_os in
11855 darwin*)
11856 if test -n "$STRIP" ; then
11857 striplib="$STRIP -x"
11858 old_striplib="$STRIP -S"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11861 else
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11863 $as_echo "no" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11870 esac
11884 # Report which library types will actually be built
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11886 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11888 $as_echo "$can_build_shared" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11891 $as_echo_n "checking whether to build shared libraries... " >&6; }
11892 test "$can_build_shared" = "no" && enable_shared=no
11894 # On AIX, shared libraries and static libraries use the same namespace, and
11895 # are all built from PIC.
11896 case $host_os in
11897 aix3*)
11898 test "$enable_shared" = yes && enable_static=no
11899 if test -n "$RANLIB"; then
11900 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11901 postinstall_cmds='$RANLIB $lib'
11905 aix[4-9]*)
11906 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11907 test "$enable_shared" = yes && enable_static=no
11910 esac
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11912 $as_echo "$enable_shared" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11915 $as_echo_n "checking whether to build static libraries... " >&6; }
11916 # Make sure either enable_shared or enable_static is yes.
11917 test "$enable_shared" = yes || enable_static=yes
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11919 $as_echo "$enable_static" >&6; }
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931 CC="$lt_save_CC"
11933 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11934 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11935 (test "X$CXX" != "Xg++"))) ; then
11936 ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11942 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11943 if test -z "$CXXCPP"; then
11944 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 # Double quotes because CXXCPP needs to be expanded
11948 for CXXCPP in "$CXX -E" "/lib/cpp"
11950 ac_preproc_ok=false
11951 for ac_cxx_preproc_warn_flag in '' yes
11953 # Use a header file that comes with gcc, so configuring glibc
11954 # with a fresh cross-compiler works.
11955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956 # <limits.h> exists even on freestanding compilers.
11957 # On the NeXT, cc -E runs the code through the compiler's parser,
11958 # not just through cpp. "Syntax error" is here to catch this case.
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 #ifdef __STDC__
11962 # include <limits.h>
11963 #else
11964 # include <assert.h>
11965 #endif
11966 Syntax error
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 else
11971 # Broken: fails on valid input.
11972 continue
11974 rm -f conftest.err conftest.$ac_ext
11976 # OK, works on sane cases. Now check whether nonexistent headers
11977 # can be detected and how.
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11980 #include <ac_nonexistent.h>
11981 _ACEOF
11982 if ac_fn_cxx_try_cpp "$LINENO"; then :
11983 # Broken: success on invalid input.
11984 continue
11985 else
11986 # Passes both tests.
11987 ac_preproc_ok=:
11988 break
11990 rm -f conftest.err conftest.$ac_ext
11992 done
11993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11994 rm -f conftest.err conftest.$ac_ext
11995 if $ac_preproc_ok; then :
11996 break
11999 done
12000 ac_cv_prog_CXXCPP=$CXXCPP
12003 CXXCPP=$ac_cv_prog_CXXCPP
12004 else
12005 ac_cv_prog_CXXCPP=$CXXCPP
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12008 $as_echo "$CXXCPP" >&6; }
12009 ac_preproc_ok=false
12010 for ac_cxx_preproc_warn_flag in '' yes
12012 # Use a header file that comes with gcc, so configuring glibc
12013 # with a fresh cross-compiler works.
12014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015 # <limits.h> exists even on freestanding compilers.
12016 # On the NeXT, cc -E runs the code through the compiler's parser,
12017 # not just through cpp. "Syntax error" is here to catch this case.
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 #ifdef __STDC__
12021 # include <limits.h>
12022 #else
12023 # include <assert.h>
12024 #endif
12025 Syntax error
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 else
12030 # Broken: fails on valid input.
12031 continue
12033 rm -f conftest.err conftest.$ac_ext
12035 # OK, works on sane cases. Now check whether nonexistent headers
12036 # can be detected and how.
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12039 #include <ac_nonexistent.h>
12040 _ACEOF
12041 if ac_fn_cxx_try_cpp "$LINENO"; then :
12042 # Broken: success on invalid input.
12043 continue
12044 else
12045 # Passes both tests.
12046 ac_preproc_ok=:
12047 break
12049 rm -f conftest.err conftest.$ac_ext
12051 done
12052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12053 rm -f conftest.err conftest.$ac_ext
12054 if $ac_preproc_ok; then :
12056 else
12057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12059 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12060 See \`config.log' for more details." "$LINENO" 5; }
12063 ac_ext=c
12064 ac_cpp='$CPP $CPPFLAGS'
12065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12069 else
12070 _lt_caught_CXX_error=yes
12073 ac_ext=cpp
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12079 archive_cmds_need_lc_CXX=no
12080 allow_undefined_flag_CXX=
12081 always_export_symbols_CXX=no
12082 archive_expsym_cmds_CXX=
12083 compiler_needs_object_CXX=no
12084 export_dynamic_flag_spec_CXX=
12085 hardcode_direct_CXX=no
12086 hardcode_direct_absolute_CXX=no
12087 hardcode_libdir_flag_spec_CXX=
12088 hardcode_libdir_flag_spec_ld_CXX=
12089 hardcode_libdir_separator_CXX=
12090 hardcode_minus_L_CXX=no
12091 hardcode_shlibpath_var_CXX=unsupported
12092 hardcode_automatic_CXX=no
12093 inherit_rpath_CXX=no
12094 module_cmds_CXX=
12095 module_expsym_cmds_CXX=
12096 link_all_deplibs_CXX=unknown
12097 old_archive_cmds_CXX=$old_archive_cmds
12098 reload_flag_CXX=$reload_flag
12099 reload_cmds_CXX=$reload_cmds
12100 no_undefined_flag_CXX=
12101 whole_archive_flag_spec_CXX=
12102 enable_shared_with_static_runtimes_CXX=no
12104 # Source file extension for C++ test sources.
12105 ac_ext=cpp
12107 # Object file extension for compiled C++ test sources.
12108 objext=o
12109 objext_CXX=$objext
12111 # No sense in running all these tests if we already determined that
12112 # the CXX compiler isn't working. Some variables (like enable_shared)
12113 # are currently assumed to apply to all compilers on this platform,
12114 # and will be corrupted by setting them based on a non-working compiler.
12115 if test "$_lt_caught_CXX_error" != yes; then
12116 # Code to be used in simple compile tests
12117 lt_simple_compile_test_code="int some_variable = 0;"
12119 # Code to be used in simple link tests
12120 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12122 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12129 # If no C compiler was specified, use CC.
12130 LTCC=${LTCC-"$CC"}
12132 # If no C compiler flags were specified, use CFLAGS.
12133 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12135 # Allow CC to be a program name with arguments.
12136 compiler=$CC
12139 # save warnings/boilerplate of simple test code
12140 ac_outfile=conftest.$ac_objext
12141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_compiler_boilerplate=`cat conftest.err`
12144 $RM conftest*
12146 ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_linker_boilerplate=`cat conftest.err`
12150 $RM -r conftest*
12153 # Allow CC to be a program name with arguments.
12154 lt_save_CC=$CC
12155 lt_save_LD=$LD
12156 lt_save_GCC=$GCC
12157 GCC=$GXX
12158 lt_save_with_gnu_ld=$with_gnu_ld
12159 lt_save_path_LD=$lt_cv_path_LD
12160 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12161 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12162 else
12163 $as_unset lt_cv_prog_gnu_ld
12165 if test -n "${lt_cv_path_LDCXX+set}"; then
12166 lt_cv_path_LD=$lt_cv_path_LDCXX
12167 else
12168 $as_unset lt_cv_path_LD
12170 test -z "${LDCXX+set}" || LD=$LDCXX
12171 CC=${CXX-"c++"}
12172 compiler=$CC
12173 compiler_CXX=$CC
12174 for cc_temp in $compiler""; do
12175 case $cc_temp in
12176 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12177 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12178 \-*) ;;
12179 *) break;;
12180 esac
12181 done
12182 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12185 if test -n "$compiler"; then
12186 # We don't want -fno-exception when compiling C++ code, so set the
12187 # no_builtin_flag separately
12188 if test "$GXX" = yes; then
12189 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12190 else
12191 lt_prog_compiler_no_builtin_flag_CXX=
12194 if test "$GXX" = yes; then
12195 # Set up default GNU C++ configuration
12199 # Check whether --with-gnu-ld was given.
12200 if test "${with_gnu_ld+set}" = set; then :
12201 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12202 else
12203 with_gnu_ld=no
12206 ac_prog=ld
12207 if test "$GCC" = yes; then
12208 # Check if gcc -print-prog-name=ld gives a path.
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12210 $as_echo_n "checking for ld used by $CC... " >&6; }
12211 case $host in
12212 *-*-mingw*)
12213 # gcc leaves a trailing carriage return which upsets mingw
12214 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12216 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12217 esac
12218 case $ac_prog in
12219 # Accept absolute paths.
12220 [\\/]* | ?:[\\/]*)
12221 re_direlt='/[^/][^/]*/\.\./'
12222 # Canonicalize the pathname of ld
12223 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12224 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12225 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12226 done
12227 test -z "$LD" && LD="$ac_prog"
12230 # If it fails, then pretend we aren't using GCC.
12231 ac_prog=ld
12234 # If it is relative, then search for the first ld in PATH.
12235 with_gnu_ld=unknown
12237 esac
12238 elif test "$with_gnu_ld" = yes; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12240 $as_echo_n "checking for GNU ld... " >&6; }
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12243 $as_echo_n "checking for non-GNU ld... " >&6; }
12245 if test "${lt_cv_path_LD+set}" = set; then :
12246 $as_echo_n "(cached) " >&6
12247 else
12248 if test -z "$LD"; then
12249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12250 for ac_dir in $PATH; do
12251 IFS="$lt_save_ifs"
12252 test -z "$ac_dir" && ac_dir=.
12253 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12254 lt_cv_path_LD="$ac_dir/$ac_prog"
12255 # Check to see if the program is GNU ld. I'd rather use --version,
12256 # but apparently some variants of GNU ld only accept -v.
12257 # Break only if it was the GNU/non-GNU ld that we prefer.
12258 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12259 *GNU* | *'with BFD'*)
12260 test "$with_gnu_ld" != no && break
12263 test "$with_gnu_ld" != yes && break
12265 esac
12267 done
12268 IFS="$lt_save_ifs"
12269 else
12270 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12274 LD="$lt_cv_path_LD"
12275 if test -n "$LD"; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12277 $as_echo "$LD" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12282 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12285 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12289 case `$LD -v 2>&1 </dev/null` in
12290 *GNU* | *'with BFD'*)
12291 lt_cv_prog_gnu_ld=yes
12294 lt_cv_prog_gnu_ld=no
12296 esac
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12300 with_gnu_ld=$lt_cv_prog_gnu_ld
12308 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12309 # archiving commands below assume that GNU ld is being used.
12310 if test "$with_gnu_ld" = yes; then
12311 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12312 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'
12314 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12315 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12317 # If archive_cmds runs LD, not CC, wlarc should be empty
12318 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12319 # investigate it a little bit more. (MM)
12320 wlarc='${wl}'
12322 # ancient GNU ld didn't support --whole-archive et. al.
12323 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12324 $GREP 'no-whole-archive' > /dev/null; then
12325 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12326 else
12327 whole_archive_flag_spec_CXX=
12329 else
12330 with_gnu_ld=no
12331 wlarc=
12333 # A generic and very simple default shared library creation
12334 # command for GNU C++ for the case where it uses the native
12335 # linker, instead of GNU ld. If possible, this setting should
12336 # overridden to take advantage of the native linker features on
12337 # the platform it is being used on.
12338 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12341 # Commands to make compiler produce verbose output that lists
12342 # what "hidden" libraries, object files and flags are used when
12343 # linking a shared library.
12344 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12346 else
12347 GXX=no
12348 with_gnu_ld=no
12349 wlarc=
12352 # PORTME: fill in a description of your system's C++ link characteristics
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12354 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12355 ld_shlibs_CXX=yes
12356 case $host_os in
12357 aix3*)
12358 # FIXME: insert proper C++ library support
12359 ld_shlibs_CXX=no
12361 aix[4-9]*)
12362 if test "$host_cpu" = ia64; then
12363 # On IA64, the linker does run time linking by default, so we don't
12364 # have to do anything special.
12365 aix_use_runtimelinking=no
12366 exp_sym_flag='-Bexport'
12367 no_entry_flag=""
12368 else
12369 aix_use_runtimelinking=no
12371 # Test if we are trying to use run time linking or normal
12372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373 # need to do runtime linking.
12374 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12375 for ld_flag in $LDFLAGS; do
12376 case $ld_flag in
12377 *-brtl*)
12378 aix_use_runtimelinking=yes
12379 break
12381 esac
12382 done
12384 esac
12386 exp_sym_flag='-bexport'
12387 no_entry_flag='-bnoentry'
12390 # When large executables or shared objects are built, AIX ld can
12391 # have problems creating the table of contents. If linking a library
12392 # or program results in "error TOC overflow" add -mminimal-toc to
12393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12396 archive_cmds_CXX=''
12397 hardcode_direct_CXX=yes
12398 hardcode_direct_absolute_CXX=yes
12399 hardcode_libdir_separator_CXX=':'
12400 link_all_deplibs_CXX=yes
12401 file_list_spec_CXX='${wl}-f,'
12403 if test "$GXX" = yes; then
12404 case $host_os in aix4.[012]|aix4.[012].*)
12405 # We only want to do this on AIX 4.2 and lower, the check
12406 # below for broken collect2 doesn't work under 4.3+
12407 collect2name=`${CC} -print-prog-name=collect2`
12408 if test -f "$collect2name" &&
12409 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12410 then
12411 # We have reworked collect2
12413 else
12414 # We have old collect2
12415 hardcode_direct_CXX=unsupported
12416 # It fails to find uninstalled libraries when the uninstalled
12417 # path is not listed in the libpath. Setting hardcode_minus_L
12418 # to unsupported forces relinking
12419 hardcode_minus_L_CXX=yes
12420 hardcode_libdir_flag_spec_CXX='-L$libdir'
12421 hardcode_libdir_separator_CXX=
12423 esac
12424 shared_flag='-shared'
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag="$shared_flag "'${wl}-G'
12428 else
12429 # not using gcc
12430 if test "$host_cpu" = ia64; then
12431 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12432 # chokes on -Wl,-G. The following line is correct:
12433 shared_flag='-G'
12434 else
12435 if test "$aix_use_runtimelinking" = yes; then
12436 shared_flag='${wl}-G'
12437 else
12438 shared_flag='${wl}-bM:SRE'
12443 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12444 # It seems that -bexpall does not export symbols beginning with
12445 # underscore (_), so it is better to generate a list of symbols to
12446 # export.
12447 always_export_symbols_CXX=yes
12448 if test "$aix_use_runtimelinking" = yes; then
12449 # Warning - without using the other runtime loading flags (-brtl),
12450 # -berok will link without error, but may produce a broken library.
12451 allow_undefined_flag_CXX='-berok'
12452 # Determine the default libpath from the value encoded in an empty
12453 # executable.
12454 if test x$gcc_no_link = xyes; then
12455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12461 main ()
12465 return 0;
12467 _ACEOF
12468 if ac_fn_cxx_try_link "$LINENO"; then :
12470 lt_aix_libpath_sed='
12471 /Import File Strings/,/^$/ {
12472 /^0/ {
12473 s/^0 *\(.*\)$/\1/
12477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12478 # Check for a 64-bit object if we didn't find anything.
12479 if test -z "$aix_libpath"; then
12480 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12487 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12489 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"
12490 else
12491 if test "$host_cpu" = ia64; then
12492 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12493 allow_undefined_flag_CXX="-z nodefs"
12494 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"
12495 else
12496 # Determine the default libpath from the value encoded in an
12497 # empty executable.
12498 if test x$gcc_no_link = xyes; then
12499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12505 main ()
12509 return 0;
12511 _ACEOF
12512 if ac_fn_cxx_try_link "$LINENO"; then :
12514 lt_aix_libpath_sed='
12515 /Import File Strings/,/^$/ {
12516 /^0/ {
12517 s/^0 *\(.*\)$/\1/
12521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 # Check for a 64-bit object if we didn't find anything.
12523 if test -z "$aix_libpath"; then
12524 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12532 # Warning - without using the other run time loading flags,
12533 # -berok will link without error, but may produce a broken library.
12534 no_undefined_flag_CXX=' ${wl}-bernotok'
12535 allow_undefined_flag_CXX=' ${wl}-berok'
12536 if test "$with_gnu_ld" = yes; then
12537 # We only use this code for GNU lds that support --whole-archive.
12538 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12539 else
12540 # Exported symbols can be pulled into shared objects from archives
12541 whole_archive_flag_spec_CXX='$convenience'
12543 archive_cmds_need_lc_CXX=yes
12544 # This is similar to how AIX traditionally builds its shared
12545 # libraries.
12546 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'
12551 beos*)
12552 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12553 allow_undefined_flag_CXX=unsupported
12554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12555 # support --undefined. This deserves some investigation. FIXME
12556 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557 else
12558 ld_shlibs_CXX=no
12562 chorus*)
12563 case $cc_basename in
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12568 esac
12571 cygwin* | mingw* | pw32* | cegcc*)
12572 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12573 # as there is no search path for DLLs.
12574 hardcode_libdir_flag_spec_CXX='-L$libdir'
12575 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12576 allow_undefined_flag_CXX=unsupported
12577 always_export_symbols_CXX=no
12578 enable_shared_with_static_runtimes_CXX=yes
12580 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12581 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'
12582 # If the export-symbols file already is a .def file (1st line
12583 # is EXPORTS), use it as is; otherwise, prepend...
12584 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12585 cp $export_symbols $output_objdir/$soname.def;
12586 else
12587 echo EXPORTS > $output_objdir/$soname.def;
12588 cat $export_symbols >> $output_objdir/$soname.def;
12590 $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'
12591 else
12592 ld_shlibs_CXX=no
12595 darwin* | rhapsody*)
12598 archive_cmds_need_lc_CXX=no
12599 hardcode_direct_CXX=no
12600 hardcode_automatic_CXX=yes
12601 hardcode_shlibpath_var_CXX=unsupported
12602 if test "$lt_cv_ld_force_load" = "yes"; then
12603 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\"`'
12604 else
12605 whole_archive_flag_spec_CXX=''
12607 link_all_deplibs_CXX=yes
12608 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12609 case $cc_basename in
12610 ifort*) _lt_dar_can_shared=yes ;;
12611 *) _lt_dar_can_shared=$GCC ;;
12612 esac
12613 if test "$_lt_dar_can_shared" = "yes"; then
12614 output_verbose_link_cmd=func_echo_all
12615 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}"
12616 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12617 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}"
12618 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}"
12619 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12620 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}"
12621 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}"
12624 else
12625 ld_shlibs_CXX=no
12630 dgux*)
12631 case $cc_basename in
12632 ec++*)
12633 # FIXME: insert proper C++ library support
12634 ld_shlibs_CXX=no
12636 ghcx*)
12637 # Green Hills C++ Compiler
12638 # FIXME: insert proper C++ library support
12639 ld_shlibs_CXX=no
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12645 esac
12648 freebsd2.*)
12649 # C++ shared libraries reported to be fairly broken before
12650 # switch to ELF
12651 ld_shlibs_CXX=no
12654 freebsd-elf*)
12655 archive_cmds_need_lc_CXX=no
12658 freebsd* | dragonfly*)
12659 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12660 # conventions
12661 ld_shlibs_CXX=yes
12664 gnu*)
12667 haiku*)
12668 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12669 link_all_deplibs_CXX=yes
12672 hpux9*)
12673 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12674 hardcode_libdir_separator_CXX=:
12675 export_dynamic_flag_spec_CXX='${wl}-E'
12676 hardcode_direct_CXX=yes
12677 hardcode_minus_L_CXX=yes # Not in the search PATH,
12678 # but as the default
12679 # location of the library.
12681 case $cc_basename in
12682 CC*)
12683 # FIXME: insert proper C++ library support
12684 ld_shlibs_CXX=no
12686 aCC*)
12687 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'
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 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"'
12699 if test "$GXX" = yes; then
12700 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'
12701 else
12702 # FIXME: insert proper C++ library support
12703 ld_shlibs_CXX=no
12706 esac
12709 hpux10*|hpux11*)
12710 if test $with_gnu_ld = no; then
12711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712 hardcode_libdir_separator_CXX=:
12714 case $host_cpu in
12715 hppa*64*|ia64*)
12718 export_dynamic_flag_spec_CXX='${wl}-E'
12720 esac
12722 case $host_cpu in
12723 hppa*64*|ia64*)
12724 hardcode_direct_CXX=no
12725 hardcode_shlibpath_var_CXX=no
12728 hardcode_direct_CXX=yes
12729 hardcode_direct_absolute_CXX=yes
12730 hardcode_minus_L_CXX=yes # Not in the search PATH,
12731 # but as the default
12732 # location of the library.
12734 esac
12736 case $cc_basename in
12737 CC*)
12738 # FIXME: insert proper C++ library support
12739 ld_shlibs_CXX=no
12741 aCC*)
12742 case $host_cpu in
12743 hppa*64*)
12744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746 ia64*)
12747 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12752 esac
12753 # Commands to make compiler produce verbose output that lists
12754 # what "hidden" libraries, object files and flags are used when
12755 # linking a shared library.
12757 # There doesn't appear to be a way to prevent this compiler from
12758 # explicitly linking system object files so we need to strip them
12759 # from the output so that they don't get included in the library
12760 # dependencies.
12761 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"'
12764 if test "$GXX" = yes; then
12765 if test $with_gnu_ld = no; then
12766 case $host_cpu in
12767 hppa*64*)
12768 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770 ia64*)
12771 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12774 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'
12776 esac
12778 else
12779 # FIXME: insert proper C++ library support
12780 ld_shlibs_CXX=no
12783 esac
12786 interix[3-9]*)
12787 hardcode_direct_CXX=no
12788 hardcode_shlibpath_var_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}-E'
12791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12792 # Instead, shared libraries are loaded at an image base (0x10000000 by
12793 # default) and relocated if they conflict, which is a slow very memory
12794 # consuming and fragmenting process. To avoid this, we pick a random,
12795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12797 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'
12798 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'
12800 irix5* | irix6*)
12801 case $cc_basename in
12802 CC*)
12803 # SGI C++
12804 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'
12806 # Archives containing C++ object files must be created using
12807 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12813 if test "$GXX" = yes; then
12814 if test "$with_gnu_ld" = no; then
12815 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12816 else
12817 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'
12820 link_all_deplibs_CXX=yes
12822 esac
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 hardcode_libdir_separator_CXX=:
12825 inherit_rpath_CXX=yes
12828 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12829 case $cc_basename in
12830 KCC*)
12831 # Kuck and Associates, Inc. (KAI) C++ Compiler
12833 # KCC will only create a shared library if the output file
12834 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12835 # to its proper name (with version) after linking.
12836 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'
12837 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'
12838 # Commands to make compiler produce verbose output that lists
12839 # what "hidden" libraries, object files and flags are used when
12840 # linking a shared library.
12842 # There doesn't appear to be a way to prevent this compiler from
12843 # explicitly linking system object files so we need to strip them
12844 # from the output so that they don't get included in the library
12845 # dependencies.
12846 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"'
12848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12851 # Archives containing C++ object files must be created using
12852 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12853 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12855 icpc* | ecpc* )
12856 # Intel C++
12857 with_gnu_ld=yes
12858 # version 8.0 and above of icpc choke on multiply defined symbols
12859 # if we add $predep_objects and $postdep_objects, however 7.1 and
12860 # earlier do not add the objects themselves.
12861 case `$CC -V 2>&1` in
12862 *"Version 7."*)
12863 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864 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'
12866 *) # Version 8.0 or newer
12867 tmp_idyn=
12868 case $host_cpu in
12869 ia64*) tmp_idyn=' -i_dynamic';;
12870 esac
12871 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 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'
12874 esac
12875 archive_cmds_need_lc_CXX=no
12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12878 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12880 pgCC* | pgcpp*)
12881 # Portland Group C++ compiler
12882 case `$CC -V` in
12883 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12884 prelink_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12887 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12888 old_archive_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12891 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12892 $RANLIB $oldlib'
12893 archive_cmds_CXX='tpldir=Template.dir~
12894 rm -rf $tpldir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12897 archive_expsym_cmds_CXX='tpldir=Template.dir~
12898 rm -rf $tpldir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12902 *) # Version 6 and above use weak symbols
12903 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904 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'
12906 esac
12908 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12909 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910 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'
12912 cxx*)
12913 # Compaq C++
12914 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 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'
12917 runpath_var=LD_RUN_PATH
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919 hardcode_libdir_separator_CXX=:
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 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'
12931 xl* | mpixl* | bgxl*)
12932 # IBM XL 8.0 on PPC, with GNU ld
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes; then
12937 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12944 case `$CC -V 2>&1 | sed 5q` in
12945 *Sun\ C*)
12946 # Sun C++ 5.9
12947 no_undefined_flag_CXX=' -zdefs'
12948 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949 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'
12950 hardcode_libdir_flag_spec_CXX='-R$libdir'
12951 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'
12952 compiler_needs_object_CXX=yes
12954 # Not sure whether something based on
12955 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12956 # would be better.
12957 output_verbose_link_cmd='func_echo_all'
12959 # Archives containing C++ object files must be created using
12960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12961 # necessary to make sure instantiated templates are included
12962 # in the archive.
12963 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12965 esac
12967 esac
12970 lynxos*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12975 m88k*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12980 mvs*)
12981 case $cc_basename in
12982 cxx*)
12983 # FIXME: insert proper C++ library support
12984 ld_shlibs_CXX=no
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12990 esac
12993 netbsd*)
12994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12995 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12996 wlarc=
12997 hardcode_libdir_flag_spec_CXX='-R$libdir'
12998 hardcode_direct_CXX=yes
12999 hardcode_shlibpath_var_CXX=no
13001 # Workaround some broken pre-1.5 toolchains
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13005 *nto* | *qnx*)
13006 ld_shlibs_CXX=yes
13009 openbsd2*)
13010 # C++ shared libraries are fairly broken
13011 ld_shlibs_CXX=no
13014 openbsd*)
13015 if test -f /usr/libexec/ld.so; then
13016 hardcode_direct_CXX=yes
13017 hardcode_shlibpath_var_CXX=no
13018 hardcode_direct_absolute_CXX=yes
13019 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13020 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13021 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13022 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13026 output_verbose_link_cmd=func_echo_all
13027 else
13028 ld_shlibs_CXX=no
13032 osf3* | osf4* | osf5*)
13033 case $cc_basename in
13034 KCC*)
13035 # Kuck and Associates, Inc. (KAI) C++ Compiler
13037 # KCC will only create a shared library if the output file
13038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13039 # to its proper name (with version) after linking.
13040 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'
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043 hardcode_libdir_separator_CXX=:
13045 # Archives containing C++ object files must be created using
13046 # the KAI C++ compiler.
13047 case $host in
13048 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13049 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13050 esac
13052 RCC*)
13053 # Rational C++ 2.4.1
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13057 cxx*)
13058 case $host in
13059 osf3*)
13060 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13061 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'
13062 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13065 allow_undefined_flag_CXX=' -expect_unresolved \*'
13066 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'
13067 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13068 echo "-hidden">> $lib.exp~
13069 $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~
13070 $RM $lib.exp'
13071 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13073 esac
13075 hardcode_libdir_separator_CXX=:
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13081 # There doesn't appear to be a way to prevent this compiler from
13082 # explicitly linking system object files so we need to strip them
13083 # from the output so that they don't get included in the library
13084 # dependencies.
13085 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"'
13088 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13089 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13090 case $host in
13091 osf3*)
13092 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'
13095 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'
13097 esac
13099 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_CXX=:
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107 else
13108 # FIXME: insert proper C++ library support
13109 ld_shlibs_CXX=no
13112 esac
13115 psos*)
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13120 sunos4*)
13121 case $cc_basename in
13122 CC*)
13123 # Sun C++ 4.x
13124 # FIXME: insert proper C++ library support
13125 ld_shlibs_CXX=no
13127 lcc*)
13128 # Lucid
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13136 esac
13139 solaris*)
13140 case $cc_basename in
13141 CC*)
13142 # Sun C++ 4.2, 5.x and Centerline C++
13143 archive_cmds_need_lc_CXX=yes
13144 no_undefined_flag_CXX=' -zdefs'
13145 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13147 $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'
13149 hardcode_libdir_flag_spec_CXX='-R$libdir'
13150 hardcode_shlibpath_var_CXX=no
13151 case $host_os in
13152 solaris2.[0-5] | solaris2.[0-5].*) ;;
13154 # The compiler driver will combine and reorder linker options,
13155 # but understands `-z linker_flag'.
13156 # Supported since Solaris 2.6 (maybe 2.5.1?)
13157 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13159 esac
13160 link_all_deplibs_CXX=yes
13162 output_verbose_link_cmd='func_echo_all'
13164 # Archives containing C++ object files must be created using
13165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13166 # necessary to make sure instantiated templates are included
13167 # in the archive.
13168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13170 gcx*)
13171 # Green Hills C++ Compiler
13172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13174 # The C++ compiler must be used to create the archive.
13175 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13178 # GNU C++ compiler with Solaris linker
13179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13180 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13181 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13182 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 else
13191 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13192 # platform.
13193 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13197 # Commands to make compiler produce verbose output that lists
13198 # what "hidden" libraries, object files and flags are used when
13199 # linking a shared library.
13200 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13203 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13204 case $host_os in
13205 solaris2.[0-5] | solaris2.[0-5].*) ;;
13207 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13209 esac
13212 esac
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_CXX='${wl}-z,text'
13217 archive_cmds_need_lc_CXX=no
13218 hardcode_shlibpath_var_CXX=no
13219 runpath_var='LD_RUN_PATH'
13221 case $cc_basename in
13222 CC*)
13223 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13227 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 esac
13233 sysv5* | sco3.2v5* | sco5v6*)
13234 # Note: We can NOT use -z defs as we might desire, because we do not
13235 # link with -lc, and that would cause any symbols used from libc to
13236 # always be unresolved, which means just about no library would
13237 # ever link correctly. If we're not using GNU ld we use -z text
13238 # though, which does catch some bad symbols but isn't as heavy-handed
13239 # as -z defs.
13240 no_undefined_flag_CXX='${wl}-z,text'
13241 allow_undefined_flag_CXX='${wl}-z,nodefs'
13242 archive_cmds_need_lc_CXX=no
13243 hardcode_shlibpath_var_CXX=no
13244 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13245 hardcode_libdir_separator_CXX=':'
13246 link_all_deplibs_CXX=yes
13247 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13248 runpath_var='LD_RUN_PATH'
13250 case $cc_basename in
13251 CC*)
13252 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13255 '"$old_archive_cmds_CXX"
13256 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13257 '"$reload_cmds_CXX"
13260 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13263 esac
13266 tandem*)
13267 case $cc_basename in
13268 NCC*)
13269 # NonStop-UX NCC 3.20
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13274 # FIXME: insert proper C++ library support
13275 ld_shlibs_CXX=no
13277 esac
13280 vxworks*)
13281 # FIXME: insert proper C++ library support
13282 ld_shlibs_CXX=no
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13289 esac
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293 test "$ld_shlibs_CXX" = no && can_build_shared=no
13295 GCC_CXX="$GXX"
13296 LD_CXX="$LD"
13298 ## CAVEAT EMPTOR:
13299 ## There is no encapsulation within the following macros, do not change
13300 ## the running order or otherwise move them around unless you know exactly
13301 ## what you are doing...
13302 # Dependencies to place before and after the object being linked:
13303 predep_objects_CXX=
13304 postdep_objects_CXX=
13305 predeps_CXX=
13306 postdeps_CXX=
13307 compiler_lib_search_path_CXX=
13309 cat > conftest.$ac_ext <<_LT_EOF
13310 class Foo
13312 public:
13313 Foo (void) { a = 0; }
13314 private:
13315 int a;
13317 _LT_EOF
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320 (eval $ac_compile) 2>&5
13321 ac_status=$?
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; }; then
13324 # Parse the compiler output and extract the necessary
13325 # objects, libraries and library flags.
13327 # Sentinel used to keep track of whether or not we are before
13328 # the conftest object file.
13329 pre_test_object_deps_done=no
13331 for p in `eval "$output_verbose_link_cmd"`; do
13332 case $p in
13334 -L* | -R* | -l*)
13335 # Some compilers place space between "-{L,R}" and the path.
13336 # Remove the space.
13337 if test $p = "-L" ||
13338 test $p = "-R"; then
13339 prev=$p
13340 continue
13341 else
13342 prev=
13345 if test "$pre_test_object_deps_done" = no; then
13346 case $p in
13347 -L* | -R*)
13348 # Internal compiler library paths should come after those
13349 # provided the user. The postdeps already come after the
13350 # user supplied libs so there is no need to process them.
13351 if test -z "$compiler_lib_search_path_CXX"; then
13352 compiler_lib_search_path_CXX="${prev}${p}"
13353 else
13354 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13357 # The "-l" case would never come before the object being
13358 # linked, so don't bother handling this case.
13359 esac
13360 else
13361 if test -z "$postdeps_CXX"; then
13362 postdeps_CXX="${prev}${p}"
13363 else
13364 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13369 *.$objext)
13370 # This assumes that the test object file only shows up
13371 # once in the compiler output.
13372 if test "$p" = "conftest.$objext"; then
13373 pre_test_object_deps_done=yes
13374 continue
13377 if test "$pre_test_object_deps_done" = no; then
13378 if test -z "$predep_objects_CXX"; then
13379 predep_objects_CXX="$p"
13380 else
13381 predep_objects_CXX="$predep_objects_CXX $p"
13383 else
13384 if test -z "$postdep_objects_CXX"; then
13385 postdep_objects_CXX="$p"
13386 else
13387 postdep_objects_CXX="$postdep_objects_CXX $p"
13392 *) ;; # Ignore the rest.
13394 esac
13395 done
13397 # Clean up.
13398 rm -f a.out a.exe
13399 else
13400 echo "libtool.m4: error: problem compiling CXX test program"
13403 $RM -f confest.$objext
13405 # PORTME: override above test on systems where it is broken
13406 case $host_os in
13407 interix[3-9]*)
13408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409 # hack all around it, let's just trust "g++" to DTRT.
13410 predep_objects_CXX=
13411 postdep_objects_CXX=
13412 postdeps_CXX=
13415 linux*)
13416 case `$CC -V 2>&1 | sed 5q` in
13417 *Sun\ C*)
13418 # Sun C++ 5.9
13420 # The more standards-conforming stlport4 library is
13421 # incompatible with the Cstd library. Avoid specifying
13422 # it if it's in CXXFLAGS. Ignore libCrun as
13423 # -library=stlport4 depends on it.
13424 case " $CXX $CXXFLAGS " in
13425 *" -library=stlport4 "*)
13426 solaris_use_stlport4=yes
13428 esac
13430 if test "$solaris_use_stlport4" != yes; then
13431 postdeps_CXX='-library=Cstd -library=Crun'
13434 esac
13437 solaris*)
13438 case $cc_basename in
13439 CC*)
13440 # The more standards-conforming stlport4 library is
13441 # incompatible with the Cstd library. Avoid specifying
13442 # it if it's in CXXFLAGS. Ignore libCrun as
13443 # -library=stlport4 depends on it.
13444 case " $CXX $CXXFLAGS " in
13445 *" -library=stlport4 "*)
13446 solaris_use_stlport4=yes
13448 esac
13450 # Adding this requires a known-good setup of shared libraries for
13451 # Sun compiler versions before 5.6, else PIC objects from an old
13452 # archive will be linked into the output, leading to subtle bugs.
13453 if test "$solaris_use_stlport4" != yes; then
13454 postdeps_CXX='-library=Cstd -library=Crun'
13457 esac
13459 esac
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13464 esac
13465 compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13500 lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13507 # C++ specific cases for pic, static, wl, etc.
13508 if test "$GXX" = yes; then
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='-static'
13512 case $host_os in
13513 aix*)
13514 # All AIX code is PIC.
13515 if test "$host_cpu" = ia64; then
13516 # AIX 5 now supports IA64 processor
13517 lt_prog_compiler_static_CXX='-Bstatic'
13519 lt_prog_compiler_pic_CXX='-fPIC'
13522 amigaos*)
13523 case $host_cpu in
13524 powerpc)
13525 # see comment about AmigaOS4 .so support
13526 lt_prog_compiler_pic_CXX='-fPIC'
13528 m68k)
13529 # FIXME: we need at least 68020 code to build shared libraries, but
13530 # adding the `-m68020' flag to GCC prevents building anything better,
13531 # like `-m68040'.
13532 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13534 esac
13537 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13538 # PIC is the default for these OSes.
13540 mingw* | cygwin* | os2* | pw32* | cegcc*)
13541 # This hack is so that the source file can tell whether it is being
13542 # built for inclusion in a dll (and should export symbols for example).
13543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13544 # (--disable-auto-import) libraries
13545 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13547 darwin* | rhapsody*)
13548 # PIC is the default on this platform
13549 # Common symbols not allowed in MH_DYLIB files
13550 lt_prog_compiler_pic_CXX='-fno-common'
13552 *djgpp*)
13553 # DJGPP does not support shared libraries at all
13554 lt_prog_compiler_pic_CXX=
13556 haiku*)
13557 # PIC is the default for Haiku.
13558 # The "-static" flag exists, but is broken.
13559 lt_prog_compiler_static_CXX=
13561 interix[3-9]*)
13562 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13563 # Instead, we relocate shared libraries at runtime.
13565 sysv4*MP*)
13566 if test -d /usr/nec; then
13567 lt_prog_compiler_pic_CXX=-Kconform_pic
13570 hpux*)
13571 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13572 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13573 # sets the default TLS model and affects inlining.
13574 case $host_cpu in
13575 hppa*64*)
13578 lt_prog_compiler_pic_CXX='-fPIC'
13580 esac
13582 *qnx* | *nto*)
13583 # QNX uses GNU C++, but need to define -shared option too, otherwise
13584 # it will coredump.
13585 lt_prog_compiler_pic_CXX='-fPIC -shared'
13588 lt_prog_compiler_pic_CXX='-fPIC'
13590 esac
13591 else
13592 case $host_os in
13593 aix[4-9]*)
13594 # All AIX code is PIC.
13595 if test "$host_cpu" = ia64; then
13596 # AIX 5 now supports IA64 processor
13597 lt_prog_compiler_static_CXX='-Bstatic'
13598 else
13599 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13602 chorus*)
13603 case $cc_basename in
13604 cxch68*)
13605 # Green Hills C++ Compiler
13606 # _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"
13608 esac
13610 dgux*)
13611 case $cc_basename in
13612 ec++*)
13613 lt_prog_compiler_pic_CXX='-KPIC'
13615 ghcx*)
13616 # Green Hills C++ Compiler
13617 lt_prog_compiler_pic_CXX='-pic'
13621 esac
13623 freebsd* | dragonfly*)
13624 # FreeBSD uses GNU C++
13626 hpux9* | hpux10* | hpux11*)
13627 case $cc_basename in
13628 CC*)
13629 lt_prog_compiler_wl_CXX='-Wl,'
13630 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13631 if test "$host_cpu" != ia64; then
13632 lt_prog_compiler_pic_CXX='+Z'
13635 aCC*)
13636 lt_prog_compiler_wl_CXX='-Wl,'
13637 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13638 case $host_cpu in
13639 hppa*64*|ia64*)
13640 # +Z the default
13643 lt_prog_compiler_pic_CXX='+Z'
13645 esac
13649 esac
13651 interix*)
13652 # This is c89, which is MS Visual C++ (no shared libs)
13653 # Anyone wants to do a port?
13655 irix5* | irix6* | nonstopux*)
13656 case $cc_basename in
13657 CC*)
13658 lt_prog_compiler_wl_CXX='-Wl,'
13659 lt_prog_compiler_static_CXX='-non_shared'
13660 # CC pic flag -KPIC is the default.
13664 esac
13666 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13667 case $cc_basename in
13668 KCC*)
13669 # KAI C++ Compiler
13670 lt_prog_compiler_wl_CXX='--backend -Wl,'
13671 lt_prog_compiler_pic_CXX='-fPIC'
13673 ecpc* )
13674 # old Intel C++ for x86_64 which still supported -KPIC.
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-static'
13679 icpc* )
13680 # Intel C++, used to be incompatible with GCC.
13681 # ICC 10 doesn't accept -KPIC any more.
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_pic_CXX='-fPIC'
13684 lt_prog_compiler_static_CXX='-static'
13686 pgCC* | pgcpp*)
13687 # Portland Group C++ compiler
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-fpic'
13690 lt_prog_compiler_static_CXX='-Bstatic'
13692 cxx*)
13693 # Compaq C++
13694 # Make sure the PIC flag is empty. It appears that all Alpha
13695 # Linux and Compaq Tru64 Unix objects are PIC.
13696 lt_prog_compiler_pic_CXX=
13697 lt_prog_compiler_static_CXX='-non_shared'
13699 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13700 # IBM XL 8.0, 9.0 on PPC and BlueGene
13701 lt_prog_compiler_wl_CXX='-Wl,'
13702 lt_prog_compiler_pic_CXX='-qpic'
13703 lt_prog_compiler_static_CXX='-qstaticlink'
13706 case `$CC -V 2>&1 | sed 5q` in
13707 *Sun\ C*)
13708 # Sun C++ 5.9
13709 lt_prog_compiler_pic_CXX='-KPIC'
13710 lt_prog_compiler_static_CXX='-Bstatic'
13711 lt_prog_compiler_wl_CXX='-Qoption ld '
13713 esac
13715 esac
13717 lynxos*)
13719 m88k*)
13721 mvs*)
13722 case $cc_basename in
13723 cxx*)
13724 lt_prog_compiler_pic_CXX='-W c,exportall'
13728 esac
13730 netbsd*)
13732 *qnx* | *nto*)
13733 # QNX uses GNU C++, but need to define -shared option too, otherwise
13734 # it will coredump.
13735 lt_prog_compiler_pic_CXX='-fPIC -shared'
13737 osf3* | osf4* | osf5*)
13738 case $cc_basename in
13739 KCC*)
13740 lt_prog_compiler_wl_CXX='--backend -Wl,'
13742 RCC*)
13743 # Rational C++ 2.4.1
13744 lt_prog_compiler_pic_CXX='-pic'
13746 cxx*)
13747 # Digital/Compaq C++
13748 lt_prog_compiler_wl_CXX='-Wl,'
13749 # Make sure the PIC flag is empty. It appears that all Alpha
13750 # Linux and Compaq Tru64 Unix objects are PIC.
13751 lt_prog_compiler_pic_CXX=
13752 lt_prog_compiler_static_CXX='-non_shared'
13756 esac
13758 psos*)
13760 solaris*)
13761 case $cc_basename in
13762 CC*)
13763 # Sun C++ 4.2, 5.x and Centerline C++
13764 lt_prog_compiler_pic_CXX='-KPIC'
13765 lt_prog_compiler_static_CXX='-Bstatic'
13766 lt_prog_compiler_wl_CXX='-Qoption ld '
13768 gcx*)
13769 # Green Hills C++ Compiler
13770 lt_prog_compiler_pic_CXX='-PIC'
13774 esac
13776 sunos4*)
13777 case $cc_basename in
13778 CC*)
13779 # Sun C++ 4.x
13780 lt_prog_compiler_pic_CXX='-pic'
13781 lt_prog_compiler_static_CXX='-Bstatic'
13783 lcc*)
13784 # Lucid
13785 lt_prog_compiler_pic_CXX='-pic'
13789 esac
13791 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13792 case $cc_basename in
13793 CC*)
13794 lt_prog_compiler_wl_CXX='-Wl,'
13795 lt_prog_compiler_pic_CXX='-KPIC'
13796 lt_prog_compiler_static_CXX='-Bstatic'
13798 esac
13800 tandem*)
13801 case $cc_basename in
13802 NCC*)
13803 # NonStop-UX NCC 3.20
13804 lt_prog_compiler_pic_CXX='-KPIC'
13808 esac
13810 vxworks*)
13813 lt_prog_compiler_can_build_shared_CXX=no
13815 esac
13818 case $host_os in
13819 # For platforms which do not support PIC, -DPIC is meaningless:
13820 *djgpp*)
13821 lt_prog_compiler_pic_CXX=
13824 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13826 esac
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13828 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13833 # Check to make sure the PIC flag actually works.
13835 if test -n "$lt_prog_compiler_pic_CXX"; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13837 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13838 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 lt_cv_prog_compiler_pic_works_CXX=no
13842 ac_outfile=conftest.$ac_objext
13843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13844 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13845 # Insert the option either (1) after the last *FLAGS variable, or
13846 # (2) before a word containing "conftest.", or (3) at the end.
13847 # Note that $ac_compile itself does not contain backslashes and begins
13848 # with a dollar sign (not a hyphen), so the echo should work correctly.
13849 # The option is referenced via a variable to avoid confusing sed.
13850 lt_compile=`echo "$ac_compile" | $SED \
13851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13853 -e 's:$: $lt_compiler_flag:'`
13854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13855 (eval "$lt_compile" 2>conftest.err)
13856 ac_status=$?
13857 cat conftest.err >&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 if (exit $ac_status) && test -s "$ac_outfile"; then
13860 # The compiler can only warn and ignore the option if not recognized
13861 # So say no if there are warnings other than the usual output.
13862 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13864 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13865 lt_cv_prog_compiler_pic_works_CXX=yes
13868 $RM conftest*
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13872 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13874 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13875 case $lt_prog_compiler_pic_CXX in
13876 "" | " "*) ;;
13877 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13878 esac
13879 else
13880 lt_prog_compiler_pic_CXX=
13881 lt_prog_compiler_can_build_shared_CXX=no
13889 # Check to make sure the static flag actually works.
13891 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13894 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 lt_cv_prog_compiler_static_works_CXX=no
13898 save_LDFLAGS="$LDFLAGS"
13899 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13900 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13901 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13902 # The linker can only warn and ignore the option if not recognized
13903 # So say no if there are warnings
13904 if test -s conftest.err; then
13905 # Append any errors to the config.log.
13906 cat conftest.err 1>&5
13907 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13909 if diff conftest.exp conftest.er2 >/dev/null; then
13910 lt_cv_prog_compiler_static_works_CXX=yes
13912 else
13913 lt_cv_prog_compiler_static_works_CXX=yes
13916 $RM -r conftest*
13917 LDFLAGS="$save_LDFLAGS"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13923 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13925 else
13926 lt_prog_compiler_static_CXX=
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 lt_cv_prog_compiler_c_o_CXX=no
13938 $RM -r conftest 2>/dev/null
13939 mkdir conftest
13940 cd conftest
13941 mkdir out
13942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13944 lt_compiler_flag="-o out/conftest2.$ac_objext"
13945 # Insert the option either (1) after the last *FLAGS variable, or
13946 # (2) before a word containing "conftest.", or (3) at the end.
13947 # Note that $ac_compile itself does not contain backslashes and begins
13948 # with a dollar sign (not a hyphen), so the echo should work correctly.
13949 lt_compile=`echo "$ac_compile" | $SED \
13950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952 -e 's:$: $lt_compiler_flag:'`
13953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13954 (eval "$lt_compile" 2>out/conftest.err)
13955 ac_status=$?
13956 cat out/conftest.err >&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13959 then
13960 # The compiler can only warn and ignore the option if not recognized
13961 # So say no if there are warnings
13962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965 lt_cv_prog_compiler_c_o_CXX=yes
13968 chmod u+w . 2>&5
13969 $RM conftest*
13970 # SGI C++ compiler will create directory out/ii_files/ for
13971 # template instantiation
13972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13973 $RM out/* && rmdir out
13974 cd ..
13975 $RM -r conftest
13976 $RM conftest*
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13980 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13986 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 lt_cv_prog_compiler_c_o_CXX=no
13990 $RM -r conftest 2>/dev/null
13991 mkdir conftest
13992 cd conftest
13993 mkdir out
13994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13996 lt_compiler_flag="-o out/conftest2.$ac_objext"
13997 # Insert the option either (1) after the last *FLAGS variable, or
13998 # (2) before a word containing "conftest.", or (3) at the end.
13999 # Note that $ac_compile itself does not contain backslashes and begins
14000 # with a dollar sign (not a hyphen), so the echo should work correctly.
14001 lt_compile=`echo "$ac_compile" | $SED \
14002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14004 -e 's:$: $lt_compiler_flag:'`
14005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14006 (eval "$lt_compile" 2>out/conftest.err)
14007 ac_status=$?
14008 cat out/conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14011 then
14012 # The compiler can only warn and ignore the option if not recognized
14013 # So say no if there are warnings
14014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14017 lt_cv_prog_compiler_c_o_CXX=yes
14020 chmod u+w . 2>&5
14021 $RM conftest*
14022 # SGI C++ compiler will create directory out/ii_files/ for
14023 # template instantiation
14024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14025 $RM out/* && rmdir out
14026 cd ..
14027 $RM -r conftest
14028 $RM conftest*
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14032 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14037 hard_links="nottested"
14038 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14039 # do not overwrite the value of need_locks provided by the user
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14041 $as_echo_n "checking if we can lock with hard links... " >&6; }
14042 hard_links=yes
14043 $RM conftest*
14044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14045 touch conftest.a
14046 ln conftest.a conftest.b 2>&5 || hard_links=no
14047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14049 $as_echo "$hard_links" >&6; }
14050 if test "$hard_links" = no; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14053 need_locks=warn
14055 else
14056 need_locks=no
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14062 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14064 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14065 case $host_os in
14066 aix[4-9]*)
14067 # If we're using GNU nm, then we don't want the "-C" option.
14068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14069 # Also, AIX nm treats weak defined symbols like other global defined
14070 # symbols, whereas GNU nm marks them as "W".
14071 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14072 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'
14073 else
14074 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'
14077 pw32*)
14078 export_symbols_cmds_CXX="$ltdll_cmds"
14080 cygwin* | mingw* | cegcc*)
14081 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'
14084 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14086 esac
14087 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14090 $as_echo "$ld_shlibs_CXX" >&6; }
14091 test "$ld_shlibs_CXX" = no && can_build_shared=no
14093 with_gnu_ld_CXX=$with_gnu_ld
14101 # Do we need to explicitly link libc?
14103 case "x$archive_cmds_need_lc_CXX" in
14104 x|xyes)
14105 # Assume -lc should be added
14106 archive_cmds_need_lc_CXX=yes
14108 if test "$enable_shared" = yes && test "$GCC" = yes; then
14109 case $archive_cmds_CXX in
14110 *'~'*)
14111 # FIXME: we may have to deal with multi-command sequences.
14113 '$CC '*)
14114 # Test whether the compiler implicitly links with -lc since on some
14115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14116 # to ld, don't add -lc before -lgcc.
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14119 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 $RM conftest*
14123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14126 (eval $ac_compile) 2>&5
14127 ac_status=$?
14128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14129 test $ac_status = 0; } 2>conftest.err; then
14130 soname=conftest
14131 lib=conftest
14132 libobjs=conftest.$ac_objext
14133 deplibs=
14134 wl=$lt_prog_compiler_wl_CXX
14135 pic_flag=$lt_prog_compiler_pic_CXX
14136 compiler_flags=-v
14137 linker_flags=-v
14138 verstring=
14139 output_objdir=.
14140 libname=conftest
14141 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14142 allow_undefined_flag_CXX=
14143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14144 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14145 ac_status=$?
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }
14148 then
14149 lt_cv_archive_cmds_need_lc_CXX=no
14150 else
14151 lt_cv_archive_cmds_need_lc_CXX=yes
14153 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14154 else
14155 cat conftest.err 1>&5
14157 $RM conftest*
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14161 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14162 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14164 esac
14167 esac
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14233 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14235 library_names_spec=
14236 libname_spec='lib$name'
14237 soname_spec=
14238 shrext_cmds=".so"
14239 postinstall_cmds=
14240 postuninstall_cmds=
14241 finish_cmds=
14242 finish_eval=
14243 shlibpath_var=
14244 shlibpath_overrides_runpath=unknown
14245 version_type=none
14246 dynamic_linker="$host_os ld.so"
14247 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14248 need_lib_prefix=unknown
14249 hardcode_into_libs=no
14251 # when you set need_version to no, make sure it does not cause -set_version
14252 # flags to be left without arguments
14253 need_version=unknown
14255 case $host_os in
14256 aix3*)
14257 version_type=linux
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14259 shlibpath_var=LIBPATH
14261 # AIX 3 has no versioning support, so we append a major version to the name.
14262 soname_spec='${libname}${release}${shared_ext}$major'
14265 aix[4-9]*)
14266 version_type=linux
14267 need_lib_prefix=no
14268 need_version=no
14269 hardcode_into_libs=yes
14270 if test "$host_cpu" = ia64; then
14271 # AIX 5 supports IA64
14272 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14273 shlibpath_var=LD_LIBRARY_PATH
14274 else
14275 # With GCC up to 2.95.x, collect2 would create an import file
14276 # for dependence libraries. The import file would start with
14277 # the line `#! .'. This would cause the generated library to
14278 # depend on `.', always an invalid library. This was fixed in
14279 # development snapshots of GCC prior to 3.0.
14280 case $host_os in
14281 aix4 | aix4.[01] | aix4.[01].*)
14282 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14283 echo ' yes '
14284 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14286 else
14287 can_build_shared=no
14290 esac
14291 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14292 # soname into executable. Probably we can add versioning support to
14293 # collect2, so additional links can be useful in future.
14294 if test "$aix_use_runtimelinking" = yes; then
14295 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14296 # instead of lib<name>.a to let people know that these are not
14297 # typical AIX shared libraries.
14298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 else
14300 # We preserve .a as extension for shared libraries through AIX4.2
14301 # and later when we are not doing run time linking.
14302 library_names_spec='${libname}${release}.a $libname.a'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14305 shlibpath_var=LIBPATH
14309 amigaos*)
14310 case $host_cpu in
14311 powerpc)
14312 # Since July 2007 AmigaOS4 officially supports .so libraries.
14313 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14316 m68k)
14317 library_names_spec='$libname.ixlibrary $libname.a'
14318 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14319 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'
14321 esac
14324 beos*)
14325 library_names_spec='${libname}${shared_ext}'
14326 dynamic_linker="$host_os ld.so"
14327 shlibpath_var=LIBRARY_PATH
14330 bsdi[45]*)
14331 version_type=linux
14332 need_version=no
14333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec='${libname}${release}${shared_ext}$major'
14335 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14336 shlibpath_var=LD_LIBRARY_PATH
14337 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14338 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14339 # the default ld.so.conf also contains /usr/contrib/lib and
14340 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14341 # libtool to hard-code these into programs
14344 cygwin* | mingw* | pw32* | cegcc*)
14345 version_type=windows
14346 shrext_cmds=".dll"
14347 need_version=no
14348 need_lib_prefix=no
14350 case $GCC,$host_os in
14351 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14352 library_names_spec='$libname.dll.a'
14353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14354 postinstall_cmds='base_file=`basename \${file}`~
14355 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14356 dldir=$destdir/`dirname \$dlpath`~
14357 test -d \$dldir || mkdir -p \$dldir~
14358 $install_prog $dir/$dlname \$dldir/$dlname~
14359 chmod a+x \$dldir/$dlname~
14360 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14361 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14363 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14364 dlpath=$dir/\$dldll~
14365 $RM \$dlpath'
14366 shlibpath_overrides_runpath=yes
14368 case $host_os in
14369 cygwin*)
14370 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14371 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14374 mingw* | cegcc*)
14375 # MinGW DLLs use traditional 'lib' prefix
14376 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14378 pw32*)
14379 # pw32 DLLs use 'pw' prefix rather than 'lib'
14380 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14382 esac
14386 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14388 esac
14389 dynamic_linker='Win32 ld.exe'
14390 # FIXME: first we should search . and the directory the executable is in
14391 shlibpath_var=PATH
14394 darwin* | rhapsody*)
14395 dynamic_linker="$host_os dyld"
14396 version_type=darwin
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14400 soname_spec='${libname}${release}${major}$shared_ext'
14401 shlibpath_overrides_runpath=yes
14402 shlibpath_var=DYLD_LIBRARY_PATH
14403 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14405 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14408 dgux*)
14409 version_type=linux
14410 need_lib_prefix=no
14411 need_version=no
14412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14413 soname_spec='${libname}${release}${shared_ext}$major'
14414 shlibpath_var=LD_LIBRARY_PATH
14417 freebsd* | dragonfly*)
14418 # DragonFly does not have aout. When/if they implement a new
14419 # versioning mechanism, adjust this.
14420 if test -x /usr/bin/objformat; then
14421 objformat=`/usr/bin/objformat`
14422 else
14423 case $host_os in
14424 freebsd[23].*) objformat=aout ;;
14425 *) objformat=elf ;;
14426 esac
14428 version_type=freebsd-$objformat
14429 case $version_type in
14430 freebsd-elf*)
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14432 need_version=no
14433 need_lib_prefix=no
14435 freebsd-*)
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14437 need_version=yes
14439 esac
14440 shlibpath_var=LD_LIBRARY_PATH
14441 case $host_os in
14442 freebsd2.*)
14443 shlibpath_overrides_runpath=yes
14445 freebsd3.[01]* | freebsdelf3.[01]*)
14446 shlibpath_overrides_runpath=yes
14447 hardcode_into_libs=yes
14449 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14450 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14451 shlibpath_overrides_runpath=no
14452 hardcode_into_libs=yes
14454 *) # from 4.6 on, and DragonFly
14455 shlibpath_overrides_runpath=yes
14456 hardcode_into_libs=yes
14458 esac
14461 gnu*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LD_LIBRARY_PATH
14468 hardcode_into_libs=yes
14471 haiku*)
14472 version_type=linux
14473 need_lib_prefix=no
14474 need_version=no
14475 dynamic_linker="$host_os runtime_loader"
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14477 soname_spec='${libname}${release}${shared_ext}$major'
14478 shlibpath_var=LIBRARY_PATH
14479 shlibpath_overrides_runpath=yes
14480 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14481 hardcode_into_libs=yes
14484 hpux9* | hpux10* | hpux11*)
14485 # Give a soname corresponding to the major version so that dld.sl refuses to
14486 # link against other versions.
14487 version_type=sunos
14488 need_lib_prefix=no
14489 need_version=no
14490 case $host_cpu in
14491 ia64*)
14492 shrext_cmds='.so'
14493 hardcode_into_libs=yes
14494 dynamic_linker="$host_os dld.so"
14495 shlibpath_var=LD_LIBRARY_PATH
14496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 if test "X$HPUX_IA64_MODE" = X32; then
14500 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14501 else
14502 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14506 hppa*64*)
14507 shrext_cmds='.sl'
14508 hardcode_into_libs=yes
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14511 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14515 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14518 shrext_cmds='.sl'
14519 dynamic_linker="$host_os dld.sl"
14520 shlibpath_var=SHLIB_PATH
14521 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 soname_spec='${libname}${release}${shared_ext}$major'
14525 esac
14526 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14527 postinstall_cmds='chmod 555 $lib'
14528 # or fails outright, so override atomically:
14529 install_override_mode=555
14532 interix[3-9]*)
14533 version_type=linux
14534 need_lib_prefix=no
14535 need_version=no
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14537 soname_spec='${libname}${release}${shared_ext}$major'
14538 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=no
14541 hardcode_into_libs=yes
14544 irix5* | irix6* | nonstopux*)
14545 case $host_os in
14546 nonstopux*) version_type=nonstopux ;;
14548 if test "$lt_cv_prog_gnu_ld" = yes; then
14549 version_type=linux
14550 else
14551 version_type=irix
14552 fi ;;
14553 esac
14554 need_lib_prefix=no
14555 need_version=no
14556 soname_spec='${libname}${release}${shared_ext}$major'
14557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14558 case $host_os in
14559 irix5* | nonstopux*)
14560 libsuff= shlibsuff=
14563 case $LD in # libtool.m4 will add one of these switches to LD
14564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14565 libsuff= shlibsuff= libmagic=32-bit;;
14566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14567 libsuff=32 shlibsuff=N32 libmagic=N32;;
14568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14570 *) libsuff= shlibsuff= libmagic=never-match;;
14571 esac
14573 esac
14574 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14575 shlibpath_overrides_runpath=no
14576 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14577 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14578 hardcode_into_libs=yes
14581 # No shared lib support for Linux oldld, aout, or coff.
14582 linux*oldld* | linux*aout* | linux*coff*)
14583 dynamic_linker=no
14586 # This must be Linux ELF.
14587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14588 version_type=linux
14589 need_lib_prefix=no
14590 need_version=no
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592 soname_spec='${libname}${release}${shared_ext}$major'
14593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=no
14597 # Some binutils ld are patched to set DT_RUNPATH
14598 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 lt_cv_shlibpath_overrides_runpath=no
14602 save_LDFLAGS=$LDFLAGS
14603 save_libdir=$libdir
14604 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14605 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14606 if test x$gcc_no_link = xyes; then
14607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14613 main ()
14617 return 0;
14619 _ACEOF
14620 if ac_fn_cxx_try_link "$LINENO"; then :
14621 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14622 lt_cv_shlibpath_overrides_runpath=yes
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LDFLAGS=$save_LDFLAGS
14628 libdir=$save_libdir
14632 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14634 # This implies no fast_install, which is unacceptable.
14635 # Some rework will be needed to allow for fast_install
14636 # before this can be enabled.
14637 hardcode_into_libs=yes
14639 # Append ld.so.conf contents to the search path
14640 if test -f /etc/ld.so.conf; then
14641 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' ' '`
14642 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14645 # We used to test for /lib/ld.so.1 and disable shared libraries on
14646 # powerpc, because MkLinux only supported shared libraries with the
14647 # GNU dynamic linker. Since this was broken with cross compilers,
14648 # most powerpc-linux boxes support dynamic linking these days and
14649 # people can always --disable-shared, the test was removed, and we
14650 # assume the GNU/Linux dynamic linker is in use.
14651 dynamic_linker='GNU/Linux ld.so'
14654 netbsd*)
14655 version_type=sunos
14656 need_lib_prefix=no
14657 need_version=no
14658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14661 dynamic_linker='NetBSD (a.out) ld.so'
14662 else
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14664 soname_spec='${libname}${release}${shared_ext}$major'
14665 dynamic_linker='NetBSD ld.elf_so'
14667 shlibpath_var=LD_LIBRARY_PATH
14668 shlibpath_overrides_runpath=yes
14669 hardcode_into_libs=yes
14672 newsos6)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=yes
14679 *nto* | *qnx*)
14680 version_type=qnx
14681 need_lib_prefix=no
14682 need_version=no
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath=no
14687 hardcode_into_libs=yes
14688 dynamic_linker='ldqnx.so'
14691 openbsd*)
14692 version_type=sunos
14693 sys_lib_dlsearch_path_spec="/usr/lib"
14694 need_lib_prefix=no
14695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14696 case $host_os in
14697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14698 *) need_version=no ;;
14699 esac
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14704 case $host_os in
14705 openbsd2.[89] | openbsd2.[89].*)
14706 shlibpath_overrides_runpath=no
14709 shlibpath_overrides_runpath=yes
14711 esac
14712 else
14713 shlibpath_overrides_runpath=yes
14717 os2*)
14718 libname_spec='$name'
14719 shrext_cmds=".dll"
14720 need_lib_prefix=no
14721 library_names_spec='$libname${shared_ext} $libname.a'
14722 dynamic_linker='OS/2 ld.exe'
14723 shlibpath_var=LIBPATH
14726 osf3* | osf4* | osf5*)
14727 version_type=osf
14728 need_lib_prefix=no
14729 need_version=no
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14737 rdos*)
14738 dynamic_linker=no
14741 solaris*)
14742 version_type=linux
14743 need_lib_prefix=no
14744 need_version=no
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 hardcode_into_libs=yes
14750 # ldd complains unless libraries are executable
14751 postinstall_cmds='chmod +x $lib'
14754 sunos4*)
14755 version_type=sunos
14756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=yes
14760 if test "$with_gnu_ld" = yes; then
14761 need_lib_prefix=no
14763 need_version=yes
14766 sysv4 | sysv4.3*)
14767 version_type=linux
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec='${libname}${release}${shared_ext}$major'
14770 shlibpath_var=LD_LIBRARY_PATH
14771 case $host_vendor in
14772 sni)
14773 shlibpath_overrides_runpath=no
14774 need_lib_prefix=no
14775 runpath_var=LD_RUN_PATH
14777 siemens)
14778 need_lib_prefix=no
14780 motorola)
14781 need_lib_prefix=no
14782 need_version=no
14783 shlibpath_overrides_runpath=no
14784 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14786 esac
14789 sysv4*MP*)
14790 if test -d /usr/nec ;then
14791 version_type=linux
14792 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14793 soname_spec='$libname${shared_ext}.$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14799 version_type=freebsd-elf
14800 need_lib_prefix=no
14801 need_version=no
14802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14803 soname_spec='${libname}${release}${shared_ext}$major'
14804 shlibpath_var=LD_LIBRARY_PATH
14805 shlibpath_overrides_runpath=yes
14806 hardcode_into_libs=yes
14807 if test "$with_gnu_ld" = yes; then
14808 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14809 else
14810 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14811 case $host_os in
14812 sco3.2v5*)
14813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14815 esac
14817 sys_lib_dlsearch_path_spec='/usr/lib'
14820 tpf*)
14821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14822 version_type=linux
14823 need_lib_prefix=no
14824 need_version=no
14825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14826 shlibpath_var=LD_LIBRARY_PATH
14827 shlibpath_overrides_runpath=no
14828 hardcode_into_libs=yes
14831 uts4*)
14832 version_type=linux
14833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14834 soname_spec='${libname}${release}${shared_ext}$major'
14835 shlibpath_var=LD_LIBRARY_PATH
14839 dynamic_linker=no
14841 esac
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14843 $as_echo "$dynamic_linker" >&6; }
14844 test "$dynamic_linker" = no && can_build_shared=no
14846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14847 if test "$GCC" = yes; then
14848 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14852 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14855 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14897 hardcode_action_CXX=
14898 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14899 test -n "$runpath_var_CXX" ||
14900 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14902 # We can hardcode non-existent directories.
14903 if test "$hardcode_direct_CXX" != no &&
14904 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14905 # have to relink, otherwise we might link with an installed library
14906 # when we should be linking with a yet-to-be-installed one
14907 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14908 test "$hardcode_minus_L_CXX" != no; then
14909 # Linking always hardcodes the temporary library directory.
14910 hardcode_action_CXX=relink
14911 else
14912 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14913 hardcode_action_CXX=immediate
14915 else
14916 # We cannot hardcode anything, or else we can only hardcode existing
14917 # directories.
14918 hardcode_action_CXX=unsupported
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14921 $as_echo "$hardcode_action_CXX" >&6; }
14923 if test "$hardcode_action_CXX" = relink ||
14924 test "$inherit_rpath_CXX" = yes; then
14925 # Fast installation is not supported
14926 enable_fast_install=no
14927 elif test "$shlibpath_overrides_runpath" = yes ||
14928 test "$enable_shared" = no; then
14929 # Fast installation is not necessary
14930 enable_fast_install=needless
14939 fi # test -n "$compiler"
14941 CC=$lt_save_CC
14942 LDCXX=$LD
14943 LD=$lt_save_LD
14944 GCC=$lt_save_GCC
14945 with_gnu_ld=$lt_save_with_gnu_ld
14946 lt_cv_path_LDCXX=$lt_cv_path_LD
14947 lt_cv_path_LD=$lt_save_path_LD
14948 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14949 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14950 fi # test "$_lt_caught_CXX_error" != yes
14952 ac_ext=c
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14970 ac_config_commands="$ac_config_commands libtool"
14975 # Only expand once:
14981 case $host in
14982 *-cygwin* | *-mingw*)
14983 # 'host' will be top-level target in the case of a target lib,
14984 # we must compare to with_cross_host to decide if this is a native
14985 # or cross-compiler and select where to install dlls appropriately.
14986 if test -n "$with_cross_host" &&
14987 test x"$with_cross_host" != x"no"; then
14988 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14989 else
14990 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14994 lt_host_flags=
14996 esac
15003 if test "$enable_vtable_verify" = yes; then
15004 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15005 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15009 # libtool variables for C++ shared and position-independent compiles.
15011 # Use glibcxx_lt_pic_flag to designate the automake variable
15012 # used to encapsulate the default libtool approach to creating objects
15013 # with position-independent code. Default: -prefer-pic.
15015 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15016 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15018 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15019 # creating position-independent objects. This varies with the target
15020 # hardware and operating system, but is often: -DPIC -fPIC.
15021 if test "$enable_shared" = yes; then
15022 glibcxx_lt_pic_flag="-prefer-pic"
15023 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15024 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15026 else
15027 glibcxx_lt_pic_flag=
15028 glibcxx_compiler_pic_flag=
15029 glibcxx_compiler_shared_flag=
15035 # Override the libtool's pic_flag and pic_mode.
15036 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15037 # NB: this impacts --with-pic and --without-pic.
15038 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15039 pic_mode='default'
15041 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15042 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15044 # Possibly disable most of the library.
15045 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15046 ## than just ignoring the results. Faster /and/ more correct, win win.
15048 # Check whether --enable-hosted-libstdcxx was given.
15049 if test "${enable_hosted_libstdcxx+set}" = set; then :
15050 enableval=$enable_hosted_libstdcxx;
15051 else
15052 case "$host" in
15053 arm*-*-symbianelf*)
15054 enable_hosted_libstdcxx=no
15057 enable_hosted_libstdcxx=yes
15059 esac
15062 if test "$enable_hosted_libstdcxx" = no; then
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15064 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15065 is_hosted=no
15066 hosted_define=0
15067 enable_abi_check=no
15068 enable_libstdcxx_pch=no
15069 else
15070 is_hosted=yes
15071 hosted_define=1
15075 cat >>confdefs.h <<_ACEOF
15076 #define _GLIBCXX_HOSTED $hosted_define
15077 _ACEOF
15081 # Enable descriptive messages to standard output on termination.
15083 # Check whether --enable-libstdcxx-verbose was given.
15084 if test "${enable_libstdcxx_verbose+set}" = set; then :
15085 enableval=$enable_libstdcxx_verbose;
15086 else
15087 enable_libstdcxx_verbose=yes
15090 if test x"$enable_libstdcxx_verbose" = xyes; then
15091 verbose_define=1
15092 else
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15094 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15095 verbose_define=0
15098 cat >>confdefs.h <<_ACEOF
15099 #define _GLIBCXX_VERBOSE $verbose_define
15100 _ACEOF
15104 # Enable compiler support that doesn't require linking.
15106 # Check whether --enable-libstdcxx-pch was given.
15107 if test "${enable_libstdcxx_pch+set}" = set; then :
15108 enableval=$enable_libstdcxx_pch;
15109 case "$enableval" in
15110 yes|no) ;;
15111 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15112 esac
15114 else
15115 enable_libstdcxx_pch=$is_hosted
15119 if test $enable_libstdcxx_pch = yes; then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15121 $as_echo_n "checking for compiler with PCH support... " >&6; }
15122 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_save_CXXFLAGS="$CXXFLAGS"
15126 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15128 ac_ext=cpp
15129 ac_cpp='$CXXCPP $CPPFLAGS'
15130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15134 echo '#include <math.h>' > conftest.h
15135 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15136 -o conftest.h.gch 1>&5 2>&1 &&
15137 echo '#error "pch failed"' > conftest.h &&
15138 echo '#include "conftest.h"' > conftest.cc &&
15139 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15140 then
15141 glibcxx_cv_prog_CXX_pch=yes
15142 else
15143 glibcxx_cv_prog_CXX_pch=no
15145 rm -f conftest*
15146 CXXFLAGS=$ac_save_CXXFLAGS
15147 ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15156 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15157 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15161 $as_echo_n "checking for enabled PCH... " >&6; }
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15163 $as_echo "$enable_libstdcxx_pch" >&6; }
15166 if test $enable_libstdcxx_pch = yes; then
15167 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15168 else
15169 glibcxx_PCHFLAGS=""
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15175 $as_echo_n "checking for thread model used by GCC... " >&6; }
15176 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15178 $as_echo "$target_thread_file" >&6; }
15180 case $target_thread_file in
15181 aix) thread_header=config/rs6000/gthr-aix.h ;;
15182 dce) thread_header=config/pa/gthr-dce.h ;;
15183 lynx) thread_header=config/gthr-lynx.h ;;
15184 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15185 posix) thread_header=gthr-posix.h ;;
15186 rtems) thread_header=config/gthr-rtems.h ;;
15187 single) thread_header=gthr-single.h ;;
15188 tpf) thread_header=config/s390/gthr-tpf.h ;;
15189 vxworks) thread_header=config/gthr-vxworks.h ;;
15190 win32) thread_header=config/i386/gthr-win32.h ;;
15191 esac
15197 ac_ext=cpp
15198 ac_cpp='$CXXCPP $CPPFLAGS'
15199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15203 old_CXXFLAGS="$CXXFLAGS"
15205 # Do link tests if possible, instead asm tests, limited to some platforms
15206 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15207 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15208 atomic_builtins_link_tests=no
15209 if test x$gcc_no_link != xyes; then
15210 # Can do link tests. Limit to some tested platforms
15211 case "$host" in
15212 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15213 atomic_builtins_link_tests=yes
15215 esac
15218 if test x$atomic_builtins_link_tests = xyes; then
15220 # Do link tests.
15222 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15225 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15226 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15230 if test x$gcc_no_link = xyes; then
15231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15237 main ()
15239 typedef bool atomic_type;
15240 atomic_type c1;
15241 atomic_type c2;
15242 atomic_type c3(0);
15243 // N.B. __atomic_fetch_add is not supported for bool.
15244 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15245 __ATOMIC_RELAXED);
15246 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15247 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15250 return 0;
15252 _ACEOF
15253 if ac_fn_cxx_try_link "$LINENO"; then :
15254 glibcxx_cv_atomic_bool=yes
15255 else
15256 glibcxx_cv_atomic_bool=no
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15264 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15267 $as_echo_n "checking for atomic builtins for short... " >&6; }
15268 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15272 if test x$gcc_no_link = xyes; then
15273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15279 main ()
15281 typedef short atomic_type;
15282 atomic_type c1;
15283 atomic_type c2;
15284 atomic_type c3(0);
15285 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15286 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15287 __ATOMIC_RELAXED);
15288 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15289 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15292 return 0;
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_short=yes
15297 else
15298 glibcxx_cv_atomic_short=no
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15306 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15309 $as_echo_n "checking for atomic builtins for int... " >&6; }
15310 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15314 if test x$gcc_no_link = xyes; then
15315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15321 main ()
15323 typedef int atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 atomic_type c3(0);
15327 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15328 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15329 __ATOMIC_RELAXED);
15330 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15331 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15334 return 0;
15336 _ACEOF
15337 if ac_fn_cxx_try_link "$LINENO"; then :
15338 glibcxx_cv_atomic_int=yes
15339 else
15340 glibcxx_cv_atomic_int=no
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15348 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15351 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15352 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15356 if test x$gcc_no_link = xyes; then
15357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15363 main ()
15365 typedef long long atomic_type;
15366 atomic_type c1;
15367 atomic_type c2;
15368 atomic_type c3(0);
15369 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15370 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15371 __ATOMIC_RELAXED);
15372 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15373 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15376 return 0;
15378 _ACEOF
15379 if ac_fn_cxx_try_link "$LINENO"; then :
15380 glibcxx_cv_atomic_long_long=yes
15381 else
15382 glibcxx_cv_atomic_long_long=no
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15390 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15392 else
15394 # Do asm tests.
15396 # Compile unoptimized.
15397 CXXFLAGS='-O0 -S'
15399 # Fake what AC_TRY_COMPILE does.
15401 cat > conftest.$ac_ext << EOF
15402 #line 15402 "configure"
15403 int main()
15405 typedef bool atomic_type;
15406 atomic_type c1;
15407 atomic_type c2;
15408 atomic_type c3(0);
15409 // N.B. __atomic_fetch_add is not supported for bool.
15410 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15411 __ATOMIC_RELAXED);
15412 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15413 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15415 return 0;
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15420 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15422 (eval $ac_compile) 2>&5
15423 ac_status=$?
15424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15425 test $ac_status = 0; }; then
15426 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15427 glibcxx_cv_atomic_bool=no
15428 else
15429 glibcxx_cv_atomic_bool=yes
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15433 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15434 rm -f conftest*
15436 cat > conftest.$ac_ext << EOF
15437 #line 15437 "configure"
15438 int main()
15440 typedef short atomic_type;
15441 atomic_type c1;
15442 atomic_type c2;
15443 atomic_type c3(0);
15444 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15445 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15446 __ATOMIC_RELAXED);
15447 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15448 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15450 return 0;
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15455 $as_echo_n "checking for atomic builtins for short... " >&6; }
15456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15457 (eval $ac_compile) 2>&5
15458 ac_status=$?
15459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460 test $ac_status = 0; }; then
15461 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15462 glibcxx_cv_atomic_short=no
15463 else
15464 glibcxx_cv_atomic_short=yes
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15468 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15469 rm -f conftest*
15471 cat > conftest.$ac_ext << EOF
15472 #line 15472 "configure"
15473 int main()
15475 // NB: _Atomic_word not necessarily int.
15476 typedef int atomic_type;
15477 atomic_type c1;
15478 atomic_type c2;
15479 atomic_type c3(0);
15480 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15481 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15482 __ATOMIC_RELAXED);
15483 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15484 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15486 return 0;
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15491 $as_echo_n "checking for atomic builtins for int... " >&6; }
15492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493 (eval $ac_compile) 2>&5
15494 ac_status=$?
15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496 test $ac_status = 0; }; then
15497 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15498 glibcxx_cv_atomic_int=no
15499 else
15500 glibcxx_cv_atomic_int=yes
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15504 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15505 rm -f conftest*
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15511 typedef long long atomic_type;
15512 atomic_type c1;
15513 atomic_type c2;
15514 atomic_type c3(0);
15515 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15516 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15517 __ATOMIC_RELAXED);
15518 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15519 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15521 return 0;
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15526 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15528 (eval $ac_compile) 2>&5
15529 ac_status=$?
15530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 test $ac_status = 0; }; then
15532 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15533 glibcxx_cv_atomic_long_long=no
15534 else
15535 glibcxx_cv_atomic_long_long=yes
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15539 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15540 rm -f conftest*
15544 CXXFLAGS="$old_CXXFLAGS"
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15552 # Set atomicity_dir to builtins if all but the long long test above passes,
15553 # or if the builtins were already chosen (e.g. by configure.host).
15554 if { test "$glibcxx_cv_atomic_bool" = yes \
15555 && test "$glibcxx_cv_atomic_short" = yes \
15556 && test "$glibcxx_cv_atomic_int" = yes; } \
15557 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15559 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15561 atomicity_dir=cpu/generic/atomicity_builtins
15564 # If still generic, set to mutex.
15565 if test $atomicity_dir = "cpu/generic" ; then
15566 atomicity_dir=cpu/generic/atomicity_mutex
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15568 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15569 if test "x$target_thread_file" = xsingle; then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15571 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15573 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15574 else
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15576 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15578 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15585 # Fake what AC_TRY_COMPILE does, without linking as this is
15586 # unnecessary for this test.
15588 cat > conftest.$ac_ext << EOF
15589 #line 15589 "configure"
15590 int main()
15592 _Decimal32 d1;
15593 _Decimal64 d2;
15594 _Decimal128 d3;
15595 return 0;
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15600 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15607 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15609 enable_dfp=yes
15610 else
15611 enable_dfp=no
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15614 $as_echo "$enable_dfp" >&6; }
15615 rm -f conftest*
15620 ac_ext=cpp
15621 ac_cpp='$CXXCPP $CPPFLAGS'
15622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15627 # Fake what AC_TRY_COMPILE does, without linking as this is
15628 # unnecessary for this test.
15630 cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633 struct same
15634 { typedef T2 type; };
15636 template<typename T>
15637 struct same<T, T>;
15639 int main()
15641 typename same<long, __int128>::type i1;
15642 typename same<long long, __int128>::type i2;
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15647 $as_echo_n "checking for __int128... " >&6; }
15648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15654 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15656 enable_int128=yes
15657 else
15658 enable_int128=no
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15661 $as_echo "$enable_int128" >&6; }
15662 rm -f conftest*
15664 cat > conftest.$ac_ext << EOF
15665 #line 15665 "configure"
15666 template<typename T1, typename T2>
15667 struct same
15668 { typedef T2 type; };
15670 template<typename T>
15671 struct same<T, T>;
15673 int main()
15675 typename same<double, __float128>::type f1;
15676 typename same<long double, __float128>::type f2;
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15681 $as_echo_n "checking for __float128... " >&6; }
15682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15683 (eval $ac_compile) 2>&5
15684 ac_status=$?
15685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15686 test $ac_status = 0; }; then
15687 enable_float128=yes
15688 else
15689 enable_float128=no
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15692 $as_echo "$enable_float128" >&6; }
15694 rm -f conftest*
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15703 if test "$enable_float128" = yes; then
15704 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15707 # Checks for compiler support that doesn't require linking.
15709 # All these tests are for C++; save the language and the compiler flags.
15710 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15711 # found in GLIBCXX_CONFIGURE.
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15720 ac_save_CXXFLAGS="$CXXFLAGS"
15722 # Check for -ffunction-sections -fdata-sections
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15724 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15725 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15728 int foo; void bar() { };
15730 main ()
15734 return 0;
15736 _ACEOF
15737 if ac_fn_cxx_try_compile "$LINENO"; then :
15738 ac_fdsections=yes
15739 else
15740 ac_fdsections=no
15742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743 if test "$ac_test_CXXFLAGS" = set; then
15744 CXXFLAGS="$ac_save_CXXFLAGS"
15745 else
15746 # this is the suspicious part
15747 CXXFLAGS=''
15749 if test x"$ac_fdsections" = x"yes"; then
15750 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15753 $as_echo "$ac_fdsections" >&6; }
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15764 # Enable all the variable C++ runtime options that don't require linking.
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15776 else
15777 enable_cstdio=stdio
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15793 esac
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15808 else
15809 enable_clocale=auto
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15830 enable_clocale_flag=$enable_clocale
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15839 darwin*)
15840 enable_clocale_flag=darwin
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15845 openbsd*)
15846 enable_clocale_flag=newlib
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15855 esac
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15875 rm -f conftest*
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15889 main ()
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15893 return 0;
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15910 main ()
15912 __locale_t loc; strerror_l(5, loc);
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 CFLAGS="$ac_save_CFLAGS"
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15936 main ()
15938 char s[128]; strerror_r(5, s, 128);
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16039 done
16040 done
16041 IFS=$as_save_IFS
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16114 esac
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16131 else
16132 USE_NLS=no
16135 done
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16154 main ()
16156 return gettext ();
16158 return 0;
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16182 else
16183 ac_cv_search_gettext=no
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16194 else
16195 USE_NLS=no
16199 if test $USE_NLS = yes; then
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16230 else
16231 enable_libstdcxx_allocator=auto
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16257 enable_libstdcxx_allocator_flag=new
16259 esac
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16287 esac
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16302 else
16303 enable_cheaders=$c_model
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16331 else
16332 enable_long_long=yes
16336 if test $enable_long_long = yes; then
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16355 else
16356 enable_wchar_t=yes
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16374 done
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16382 main ()
16384 mbstate_t teststate;
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16417 done
16420 if test x"$enable_wchar_t" = x"yes"; then
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16497 main ()
16501 return 0;
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16506 else
16507 enable_wchar_t=no
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522 if test x"$enable_wchar_t" = x"yes"; then
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16543 else
16544 enable_c99=yes
16549 if test x"$enable_c99" = x"yes"; then
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16591 main ()
16593 return sin ();
16595 return 0;
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16634 main ()
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16651 return 0;
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16670 main ()
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16687 return 0;
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16725 done
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16739 done
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16762 main ()
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16805 return 0;
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16831 main ()
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16874 return 0;
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16919 main ()
16923 return 0;
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16950 main ()
16954 return 0;
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16992 main ()
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17007 return 0;
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17028 main ()
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17043 return 0;
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17085 main ()
17089 return 0;
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17111 main ()
17115 return 0;
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17130 main ()
17134 return 0;
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17149 main ()
17153 return 0;
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17168 main ()
17172 return 0;
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17186 main ()
17188 wint_t t; int i = iswblank(t);
17190 return 0;
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17272 main ()
17274 return sin ();
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17315 main ()
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17332 return 0;
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17351 main ()
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17368 return 0;
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17406 done
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17420 done
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17443 main ()
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17486 return 0;
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17512 main ()
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17555 return 0;
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17600 main ()
17604 return 0;
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17631 main ()
17635 return 0;
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17673 main ()
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17688 return 0;
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17709 main ()
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17724 return 0;
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17766 main ()
17770 return 0;
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17792 main ()
17796 return 0;
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17811 main ()
17815 return 0;
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17830 main ()
17834 return 0;
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17849 main ()
17853 return 0;
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17867 main ()
17869 wint_t t; int i = iswblank(t);
17871 return 0;
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17915 else
17916 enable_concept_checks=no
17920 if test $enable_concept_checks = yes; then
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17958 else
17959 enable_libstdcxx_debug=no
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17969 enable_parallel=no;
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18027 else
18028 enable_fully_dynamic_string=no
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18053 else
18054 enable_extern_template=yes
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18097 else
18098 enable_werror=no
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18116 else
18117 enable_vtable_verify=no
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18169 # Checks for operating systems support that doesn't require linking.
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18179 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18180 # and we don't need a declaration for C++14 anyway.
18181 ac_save_CXXFLAGS="$CXXFLAGS"
18182 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18185 $as_echo_n "checking for gets declaration... " >&6; }
18186 if test "${glibcxx_cv_gets+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdio.h>
18193 namespace test
18195 using ::gets;
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_gets=yes
18201 else
18202 glibcxx_cv_gets=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 if test $glibcxx_cv_gets = yes; then
18211 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18215 $as_echo "$glibcxx_cv_gets" >&6; }
18217 CXXFLAGS="$ac_save_CXXFLAGS"
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18228 ac_ext=cpp
18229 ac_cpp='$CXXCPP $CPPFLAGS'
18230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18234 ac_save_CXXFLAGS="$CXXFLAGS"
18235 CXXFLAGS="$CXXFLAGS -std=c++11"
18237 case "$host" in
18238 *-*-solaris2.*)
18239 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18240 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18242 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18243 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <math.h>
18250 #undef isfinite
18251 namespace std {
18252 inline bool isfinite(float __x)
18253 { return __builtin_isfinite(__x); }
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_math11_fp_overload=no
18259 else
18260 glibcxx_cv_math11_fp_overload=yes
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 # autoheader cannot handle indented templates.
18270 if test $glibcxx_cv_math11_fp_overload = yes; then
18271 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18275 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18277 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18278 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18280 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18281 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18288 namespace std {
18289 template<typename _Tp>
18290 struct __is_integer;
18291 template<>
18292 struct __is_integer<int>
18294 enum { __value = 1 };
18297 namespace __gnu_cxx {
18298 template<bool, typename>
18299 struct __enable_if;
18300 template<typename _Tp>
18301 struct __enable_if<true, _Tp>
18302 { typedef _Tp __type; };
18304 namespace std {
18305 template<typename _Tp>
18306 constexpr typename __gnu_cxx::__enable_if
18307 <__is_integer<_Tp>::__value, double>::__type
18308 log2(_Tp __x)
18309 { return __builtin_log2(__x); }
18312 main (void)
18314 int i = 1000;
18315 return std::log2(i);
18318 _ACEOF
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 glibcxx_cv_math11_int_overload=no
18321 else
18322 glibcxx_cv_math11_int_overload=yes
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 # autoheader cannot handle indented templates.
18332 if test $glibcxx_cv_math11_int_overload = yes; then
18333 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18337 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18340 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18341 # functions (instead of or as well as the C99 generic macros) then we
18342 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18343 # and must use the ones from <math.h> instead.
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18345 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18346 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18347 $as_echo_n "(cached) " >&6
18348 else
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18353 #include <math.h>
18354 #undef isinf
18355 namespace std {
18356 using ::isinf;
18357 bool isinf(float);
18358 bool isinf(long double);
18360 using std::isinf;
18361 bool b = isinf(0.0);
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 glibcxx_cv_obsolete_isinf=yes
18366 else
18367 glibcxx_cv_obsolete_isinf=no
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18374 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18375 if test $glibcxx_cv_obsolete_isinf = yes; then
18377 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18382 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18383 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18390 #include <math.h>
18391 #undef isnan
18392 namespace std {
18393 using ::isnan;
18394 bool isnan(float);
18395 bool isnan(long double);
18397 using std::isnan;
18398 bool b = isnan(0.0);
18400 _ACEOF
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18402 glibcxx_cv_obsolete_isnan=yes
18403 else
18404 glibcxx_cv_obsolete_isnan=no
18407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18411 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18412 if test $glibcxx_cv_obsolete_isnan = yes; then
18414 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18418 esac
18420 CXXFLAGS="$ac_save_CXXFLAGS"
18421 ac_ext=c
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18431 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18432 if test "${glibcxx_cv_system_error1+set}" = set; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 #include <errno.h>
18440 main ()
18442 int i = EOWNERDEAD;
18444 return 0;
18446 _ACEOF
18447 if ac_fn_c_try_compile "$LINENO"; then :
18448 glibcxx_cv_system_error1=yes
18449 else
18450 glibcxx_cv_system_error1=no
18452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18457 $as_echo "$glibcxx_cv_system_error1" >&6; }
18458 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18460 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18464 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18465 if test "${glibcxx_cv_system_error2+set}" = set; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18471 #include <errno.h>
18473 main ()
18475 int i = ENOTRECOVERABLE;
18477 return 0;
18479 _ACEOF
18480 if ac_fn_c_try_compile "$LINENO"; then :
18481 glibcxx_cv_system_error2=yes
18482 else
18483 glibcxx_cv_system_error2=no
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18490 $as_echo "$glibcxx_cv_system_error2" >&6; }
18491 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18493 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18497 $as_echo_n "checking for ENOLINK... " >&6; }
18498 if test "${glibcxx_cv_system_error3+set}" = set; then :
18499 $as_echo_n "(cached) " >&6
18500 else
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18504 #include <errno.h>
18506 main ()
18508 int i = ENOLINK;
18510 return 0;
18512 _ACEOF
18513 if ac_fn_c_try_compile "$LINENO"; then :
18514 glibcxx_cv_system_error3=yes
18515 else
18516 glibcxx_cv_system_error3=no
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18523 $as_echo "$glibcxx_cv_system_error3" >&6; }
18524 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18526 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18530 $as_echo_n "checking for EPROTO... " >&6; }
18531 if test "${glibcxx_cv_system_error4+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #include <errno.h>
18539 main ()
18541 int i = EPROTO;
18543 return 0;
18545 _ACEOF
18546 if ac_fn_c_try_compile "$LINENO"; then :
18547 glibcxx_cv_system_error4=yes
18548 else
18549 glibcxx_cv_system_error4=no
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18556 $as_echo "$glibcxx_cv_system_error4" >&6; }
18557 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18559 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18563 $as_echo_n "checking for ENODATA... " >&6; }
18564 if test "${glibcxx_cv_system_error5+set}" = set; then :
18565 $as_echo_n "(cached) " >&6
18566 else
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <errno.h>
18572 main ()
18574 int i = ENODATA;
18576 return 0;
18578 _ACEOF
18579 if ac_fn_c_try_compile "$LINENO"; then :
18580 glibcxx_cv_system_error5=yes
18581 else
18582 glibcxx_cv_system_error5=no
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18589 $as_echo "$glibcxx_cv_system_error5" >&6; }
18590 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18592 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18596 $as_echo_n "checking for ENOSR... " >&6; }
18597 if test "${glibcxx_cv_system_error6+set}" = set; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h. */
18603 #include <errno.h>
18605 main ()
18607 int i = ENOSR;
18609 return 0;
18611 _ACEOF
18612 if ac_fn_c_try_compile "$LINENO"; then :
18613 glibcxx_cv_system_error6=yes
18614 else
18615 glibcxx_cv_system_error6=no
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18622 $as_echo "$glibcxx_cv_system_error6" >&6; }
18623 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18625 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18629 $as_echo_n "checking for ENOSTR... " >&6; }
18630 if test "${glibcxx_cv_system_error7+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18632 else
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #include <errno.h>
18638 main ()
18640 int i = ENOSTR;
18642 return 0;
18644 _ACEOF
18645 if ac_fn_c_try_compile "$LINENO"; then :
18646 glibcxx_cv_system_error7=yes
18647 else
18648 glibcxx_cv_system_error7=no
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18655 $as_echo "$glibcxx_cv_system_error7" >&6; }
18656 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18658 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18662 $as_echo_n "checking for ETIME... " >&6; }
18663 if test "${glibcxx_cv_system_error8+set}" = set; then :
18664 $as_echo_n "(cached) " >&6
18665 else
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 #include <errno.h>
18671 main ()
18673 int i = ETIME;
18675 return 0;
18677 _ACEOF
18678 if ac_fn_c_try_compile "$LINENO"; then :
18679 glibcxx_cv_system_error8=yes
18680 else
18681 glibcxx_cv_system_error8=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18688 $as_echo "$glibcxx_cv_system_error8" >&6; }
18689 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18691 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18695 $as_echo_n "checking for EBADMSG... " >&6; }
18696 if test "${glibcxx_cv_system_error9+set}" = set; then :
18697 $as_echo_n "(cached) " >&6
18698 else
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #include <errno.h>
18704 main ()
18706 int i = EBADMSG;
18708 return 0;
18710 _ACEOF
18711 if ac_fn_c_try_compile "$LINENO"; then :
18712 glibcxx_cv_system_error9=yes
18713 else
18714 glibcxx_cv_system_error9=no
18716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18721 $as_echo "$glibcxx_cv_system_error9" >&6; }
18722 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18724 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18728 $as_echo_n "checking for ECANCELED... " >&6; }
18729 if test "${glibcxx_cv_system_error10+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18731 else
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #include <errno.h>
18737 main ()
18739 int i = ECANCELED;
18741 return 0;
18743 _ACEOF
18744 if ac_fn_c_try_compile "$LINENO"; then :
18745 glibcxx_cv_system_error10=yes
18746 else
18747 glibcxx_cv_system_error10=no
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18754 $as_echo "$glibcxx_cv_system_error10" >&6; }
18755 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18757 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18761 $as_echo_n "checking for EOVERFLOW... " >&6; }
18762 if test "${glibcxx_cv_system_error11+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 #include <errno.h>
18770 main ()
18772 int i = EOVERFLOW;
18774 return 0;
18776 _ACEOF
18777 if ac_fn_c_try_compile "$LINENO"; then :
18778 glibcxx_cv_system_error11=yes
18779 else
18780 glibcxx_cv_system_error11=no
18782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18787 $as_echo "$glibcxx_cv_system_error11" >&6; }
18788 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18790 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18794 $as_echo_n "checking for ENOTSUP... " >&6; }
18795 if test "${glibcxx_cv_system_error12+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18797 else
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 #include <errno.h>
18803 main ()
18805 int i = ENOTSUP;
18807 return 0;
18809 _ACEOF
18810 if ac_fn_c_try_compile "$LINENO"; then :
18811 glibcxx_cv_system_error12=yes
18812 else
18813 glibcxx_cv_system_error12=no
18815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18820 $as_echo "$glibcxx_cv_system_error12" >&6; }
18821 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18823 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18827 $as_echo_n "checking for EIDRM... " >&6; }
18828 if test "${glibcxx_cv_system_error13+set}" = set; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <errno.h>
18836 main ()
18838 int i = EIDRM;
18840 return 0;
18842 _ACEOF
18843 if ac_fn_c_try_compile "$LINENO"; then :
18844 glibcxx_cv_system_error13=yes
18845 else
18846 glibcxx_cv_system_error13=no
18848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18853 $as_echo "$glibcxx_cv_system_error13" >&6; }
18854 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18856 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18860 $as_echo_n "checking for ETXTBSY... " >&6; }
18861 if test "${glibcxx_cv_system_error14+set}" = set; then :
18862 $as_echo_n "(cached) " >&6
18863 else
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 #include <errno.h>
18869 main ()
18871 int i = ETXTBSY;
18873 return 0;
18875 _ACEOF
18876 if ac_fn_c_try_compile "$LINENO"; then :
18877 glibcxx_cv_system_error14=yes
18878 else
18879 glibcxx_cv_system_error14=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18886 $as_echo "$glibcxx_cv_system_error14" >&6; }
18887 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18889 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18893 $as_echo_n "checking for ECHILD... " >&6; }
18894 if test "${glibcxx_cv_system_error15+set}" = set; then :
18895 $as_echo_n "(cached) " >&6
18896 else
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 #include <errno.h>
18902 main ()
18904 int i = ECHILD;
18906 return 0;
18908 _ACEOF
18909 if ac_fn_c_try_compile "$LINENO"; then :
18910 glibcxx_cv_system_error15=yes
18911 else
18912 glibcxx_cv_system_error15=no
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18919 $as_echo "$glibcxx_cv_system_error15" >&6; }
18920 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18922 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18926 $as_echo_n "checking for ENOSPC... " >&6; }
18927 if test "${glibcxx_cv_system_error16+set}" = set; then :
18928 $as_echo_n "(cached) " >&6
18929 else
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18933 #include <errno.h>
18935 main ()
18937 int i = ENOSPC;
18939 return 0;
18941 _ACEOF
18942 if ac_fn_c_try_compile "$LINENO"; then :
18943 glibcxx_cv_system_error16=yes
18944 else
18945 glibcxx_cv_system_error16=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18952 $as_echo "$glibcxx_cv_system_error16" >&6; }
18953 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18955 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18959 $as_echo_n "checking for EPERM... " >&6; }
18960 if test "${glibcxx_cv_system_error17+set}" = set; then :
18961 $as_echo_n "(cached) " >&6
18962 else
18964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18965 /* end confdefs.h. */
18966 #include <errno.h>
18968 main ()
18970 int i = EPERM;
18972 return 0;
18974 _ACEOF
18975 if ac_fn_c_try_compile "$LINENO"; then :
18976 glibcxx_cv_system_error17=yes
18977 else
18978 glibcxx_cv_system_error17=no
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18985 $as_echo "$glibcxx_cv_system_error17" >&6; }
18986 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18988 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18992 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18993 if test "${glibcxx_cv_system_error18+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999 #include <errno.h>
19001 main ()
19003 int i = ETIMEDOUT;
19005 return 0;
19007 _ACEOF
19008 if ac_fn_c_try_compile "$LINENO"; then :
19009 glibcxx_cv_system_error18=yes
19010 else
19011 glibcxx_cv_system_error18=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19018 $as_echo "$glibcxx_cv_system_error18" >&6; }
19019 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19021 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19025 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19026 if test "${glibcxx_cv_system_error19+set}" = set; then :
19027 $as_echo_n "(cached) " >&6
19028 else
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 #include <errno.h>
19034 main ()
19036 int i = EWOULDBLOCK;
19038 return 0;
19040 _ACEOF
19041 if ac_fn_c_try_compile "$LINENO"; then :
19042 glibcxx_cv_system_error19=yes
19043 else
19044 glibcxx_cv_system_error19=no
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19051 $as_echo "$glibcxx_cv_system_error19" >&6; }
19052 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19054 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19061 # Test uchar.h.
19062 for ac_header in uchar.h
19063 do :
19064 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19065 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_UCHAR_H 1
19068 _ACEOF
19069 ac_has_uchar_h=yes
19070 else
19071 ac_has_uchar_h=no
19074 done
19078 ac_ext=cpp
19079 ac_cpp='$CXXCPP $CPPFLAGS'
19080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19084 ac_save_CXXFLAGS="$CXXFLAGS"
19085 CXXFLAGS="$CXXFLAGS -std=c++11"
19087 if test x"$ac_has_uchar_h" = x"yes"; then
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19089 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19092 #include <uchar.h>
19093 #ifdef __STDC_UTF_16__
19094 long i = __STDC_UTF_16__;
19095 #endif
19096 #ifdef __STDC_UTF_32__
19097 long j = __STDC_UTF_32__;
19098 #endif
19099 namespace test
19101 using ::c16rtomb;
19102 using ::c32rtomb;
19103 using ::mbrtoc16;
19104 using ::mbrtoc32;
19108 main ()
19112 return 0;
19114 _ACEOF
19115 if ac_fn_cxx_try_compile "$LINENO"; then :
19116 ac_c11_uchar_cxx11=yes
19117 else
19118 ac_c11_uchar_cxx11=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19121 else
19122 ac_c11_uchar_cxx11=no
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19125 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19126 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19128 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19132 CXXFLAGS="$ac_save_CXXFLAGS"
19133 ac_ext=c
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19141 # For the streamoff typedef.
19145 ac_ext=cpp
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19153 $as_echo_n "checking for int64_t... " >&6; }
19154 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19155 $as_echo_n "(cached) " >&6
19156 else
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 #include <stdint.h>
19162 main ()
19164 int64_t var;
19166 return 0;
19168 _ACEOF
19169 if ac_fn_cxx_try_compile "$LINENO"; then :
19170 glibcxx_cv_INT64_T=yes
19171 else
19172 glibcxx_cv_INT64_T=no
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19179 if test $glibcxx_cv_INT64_T = yes; then
19181 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19184 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19187 $as_echo_n "checking for int64_t as long... " >&6; }
19188 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194 #include <stdint.h>
19195 template<typename, typename> struct same { enum { value = -1 }; };
19196 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19197 int array[same<int64_t, long>::value];
19199 main ()
19203 return 0;
19205 _ACEOF
19206 if ac_fn_cxx_try_compile "$LINENO"; then :
19207 glibcxx_cv_int64_t_long=yes
19208 else
19209 glibcxx_cv_int64_t_long=no
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 if test $glibcxx_cv_int64_t_long = yes; then
19218 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19221 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19225 $as_echo_n "checking for int64_t as long long... " >&6; }
19226 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19227 $as_echo_n "(cached) " >&6
19228 else
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <stdint.h>
19233 template<typename, typename> struct same { enum { value = -1 }; };
19234 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19235 int array[same<int64_t, long long>::value];
19237 main ()
19241 return 0;
19243 _ACEOF
19244 if ac_fn_cxx_try_compile "$LINENO"; then :
19245 glibcxx_cv_int64_t_long_long=yes
19246 else
19247 glibcxx_cv_int64_t_long_long=no
19249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 if test $glibcxx_cv_int64_t_long_long = yes; then
19256 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19259 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19263 ac_ext=c
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19271 # For LFS support.
19274 ac_ext=cpp
19275 ac_cpp='$CXXCPP $CPPFLAGS'
19276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19280 ac_save_CXXFLAGS="$CXXFLAGS"
19281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19283 $as_echo_n "checking for LFS support... " >&6; }
19284 if test "${glibcxx_cv_LFS+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19288 if test x$gcc_no_link = xyes; then
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <unistd.h>
19292 #include <stdio.h>
19293 #include <sys/stat.h>
19296 main ()
19298 FILE* fp;
19299 fopen64("t", "w");
19300 fseeko64(fp, 0, SEEK_CUR);
19301 ftello64(fp);
19302 lseek64(1, 0, SEEK_CUR);
19303 struct stat64 buf;
19304 fstat64(1, &buf);
19306 return 0;
19308 _ACEOF
19309 if ac_fn_cxx_try_compile "$LINENO"; then :
19310 glibcxx_cv_LFS=yes
19311 else
19312 glibcxx_cv_LFS=no
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 else
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 #include <unistd.h>
19322 #include <stdio.h>
19323 #include <sys/stat.h>
19326 main ()
19328 FILE* fp;
19329 fopen64("t", "w");
19330 fseeko64(fp, 0, SEEK_CUR);
19331 ftello64(fp);
19332 lseek64(1, 0, SEEK_CUR);
19333 struct stat64 buf;
19334 fstat64(1, &buf);
19336 return 0;
19338 _ACEOF
19339 if ac_fn_cxx_try_link "$LINENO"; then :
19340 glibcxx_cv_LFS=yes
19341 else
19342 glibcxx_cv_LFS=no
19344 rm -f core conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext conftest.$ac_ext
19350 if test $glibcxx_cv_LFS = yes; then
19352 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19356 $as_echo "$glibcxx_cv_LFS" >&6; }
19357 CXXFLAGS="$ac_save_CXXFLAGS"
19358 ac_ext=c
19359 ac_cpp='$CPP $CPPFLAGS'
19360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19366 # For showmanyc_helper().
19367 for ac_header in sys/ioctl.h sys/filio.h
19368 do :
19369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19371 eval as_val=\$$as_ac_Header
19372 if test "x$as_val" = x""yes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19375 _ACEOF
19379 done
19384 ac_ext=cpp
19385 ac_cpp='$CXXCPP $CPPFLAGS'
19386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19390 ac_save_CXXFLAGS="$CXXFLAGS"
19391 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19394 $as_echo_n "checking for poll... " >&6; }
19395 if test "${glibcxx_cv_POLL+set}" = set; then :
19396 $as_echo_n "(cached) " >&6
19397 else
19399 if test x$gcc_no_link = xyes; then
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #include <poll.h>
19404 main ()
19406 struct pollfd pfd[1];
19407 pfd[0].events = POLLIN;
19408 poll(pfd, 1, 0);
19410 return 0;
19412 _ACEOF
19413 if ac_fn_cxx_try_compile "$LINENO"; then :
19414 glibcxx_cv_POLL=yes
19415 else
19416 glibcxx_cv_POLL=no
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 else
19420 if test x$gcc_no_link = xyes; then
19421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 #include <poll.h>
19427 main ()
19429 struct pollfd pfd[1];
19430 pfd[0].events = POLLIN;
19431 poll(pfd, 1, 0);
19433 return 0;
19435 _ACEOF
19436 if ac_fn_cxx_try_link "$LINENO"; then :
19437 glibcxx_cv_POLL=yes
19438 else
19439 glibcxx_cv_POLL=no
19441 rm -f core conftest.err conftest.$ac_objext \
19442 conftest$ac_exeext conftest.$ac_ext
19447 if test $glibcxx_cv_POLL = yes; then
19449 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19453 $as_echo "$glibcxx_cv_POLL" >&6; }
19455 CXXFLAGS="$ac_save_CXXFLAGS"
19456 ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19466 ac_ext=cpp
19467 ac_cpp='$CXXCPP $CPPFLAGS'
19468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19472 ac_save_CXXFLAGS="$CXXFLAGS"
19473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19476 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19477 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19481 if test x$gcc_no_link = xyes; then
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 #include <sys/stat.h>
19486 main ()
19488 struct stat buffer;
19489 fstat(0, &buffer);
19490 S_ISREG(buffer.st_mode);
19492 return 0;
19494 _ACEOF
19495 if ac_fn_cxx_try_compile "$LINENO"; then :
19496 glibcxx_cv_S_ISREG=yes
19497 else
19498 glibcxx_cv_S_ISREG=no
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 else
19502 if test x$gcc_no_link = xyes; then
19503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/stat.h>
19509 main ()
19511 struct stat buffer;
19512 fstat(0, &buffer);
19513 S_ISREG(buffer.st_mode);
19515 return 0;
19517 _ACEOF
19518 if ac_fn_cxx_try_link "$LINENO"; then :
19519 glibcxx_cv_S_ISREG=yes
19520 else
19521 glibcxx_cv_S_ISREG=no
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19529 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19530 $as_echo_n "(cached) " >&6
19531 else
19533 if test x$gcc_no_link = xyes; then
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 #include <sys/stat.h>
19538 main ()
19540 struct stat buffer;
19541 fstat(0, &buffer);
19542 S_IFREG & buffer.st_mode;
19544 return 0;
19546 _ACEOF
19547 if ac_fn_cxx_try_compile "$LINENO"; then :
19548 glibcxx_cv_S_IFREG=yes
19549 else
19550 glibcxx_cv_S_IFREG=no
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 else
19554 if test x$gcc_no_link = xyes; then
19555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 #include <sys/stat.h>
19561 main ()
19563 struct stat buffer;
19564 fstat(0, &buffer);
19565 S_IFREG & buffer.st_mode;
19567 return 0;
19569 _ACEOF
19570 if ac_fn_cxx_try_link "$LINENO"; then :
19571 glibcxx_cv_S_IFREG=yes
19572 else
19573 glibcxx_cv_S_IFREG=no
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19581 res=no
19582 if test $glibcxx_cv_S_ISREG = yes; then
19584 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19586 res=S_ISREG
19587 elif test $glibcxx_cv_S_IFREG = yes; then
19589 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19591 res=S_IFREG
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19594 $as_echo "$res" >&6; }
19596 CXXFLAGS="$ac_save_CXXFLAGS"
19597 ac_ext=c
19598 ac_cpp='$CPP $CPPFLAGS'
19599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19605 # For xsputn_2().
19606 for ac_header in sys/uio.h
19607 do :
19608 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19609 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19610 cat >>confdefs.h <<_ACEOF
19611 #define HAVE_SYS_UIO_H 1
19612 _ACEOF
19616 done
19621 ac_ext=cpp
19622 ac_cpp='$CXXCPP $CPPFLAGS'
19623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19627 ac_save_CXXFLAGS="$CXXFLAGS"
19628 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19631 $as_echo_n "checking for writev... " >&6; }
19632 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19633 $as_echo_n "(cached) " >&6
19634 else
19636 if test x$gcc_no_link = xyes; then
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 #include <sys/uio.h>
19641 main ()
19643 struct iovec iov[2];
19644 writev(0, iov, 0);
19646 return 0;
19648 _ACEOF
19649 if ac_fn_cxx_try_compile "$LINENO"; then :
19650 glibcxx_cv_WRITEV=yes
19651 else
19652 glibcxx_cv_WRITEV=no
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655 else
19656 if test x$gcc_no_link = xyes; then
19657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19660 /* end confdefs.h. */
19661 #include <sys/uio.h>
19663 main ()
19665 struct iovec iov[2];
19666 writev(0, iov, 0);
19668 return 0;
19670 _ACEOF
19671 if ac_fn_cxx_try_link "$LINENO"; then :
19672 glibcxx_cv_WRITEV=yes
19673 else
19674 glibcxx_cv_WRITEV=no
19676 rm -f core conftest.err conftest.$ac_objext \
19677 conftest$ac_exeext conftest.$ac_ext
19682 if test $glibcxx_cv_WRITEV = yes; then
19684 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19688 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19690 CXXFLAGS="$ac_save_CXXFLAGS"
19691 ac_ext=c
19692 ac_cpp='$CPP $CPPFLAGS'
19693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19699 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19700 # so that the check is done with the C compiler (not C++).
19701 # Checking with C++ can break a canadian cross build if either
19702 # file does not exist in C but does in C++.
19703 for ac_header in fenv.h complex.h
19704 do :
19705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19707 eval as_val=\$$as_ac_Header
19708 if test "x$as_val" = x""yes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19711 _ACEOF
19715 done
19718 # For C99 support to TR1.
19722 ac_ext=cpp
19723 ac_cpp='$CXXCPP $CPPFLAGS'
19724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19729 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19730 # undefined and fake C99 facilities may be spuriously enabled.
19731 ac_save_CXXFLAGS="$CXXFLAGS"
19732 CXXFLAGS="$CXXFLAGS -std=c++98"
19734 # Check for the existence of <complex.h> complex math functions used
19735 # by tr1/complex.
19736 for ac_header in complex.h
19737 do :
19738 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19739 if test "x$ac_cv_header_complex_h" = x""yes; then :
19740 cat >>confdefs.h <<_ACEOF
19741 #define HAVE_COMPLEX_H 1
19742 _ACEOF
19743 ac_has_complex_h=yes
19744 else
19745 ac_has_complex_h=no
19748 done
19750 ac_c99_complex_tr1=no;
19751 if test x"$ac_has_complex_h" = x"yes"; then
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19753 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #include <complex.h>
19758 main ()
19760 typedef __complex__ float float_type; float_type tmpf;
19761 cacosf(tmpf);
19762 casinf(tmpf);
19763 catanf(tmpf);
19764 cacoshf(tmpf);
19765 casinhf(tmpf);
19766 catanhf(tmpf);
19767 typedef __complex__ double double_type; double_type tmpd;
19768 cacos(tmpd);
19769 casin(tmpd);
19770 catan(tmpd);
19771 cacosh(tmpd);
19772 casinh(tmpd);
19773 catanh(tmpd);
19774 typedef __complex__ long double ld_type; ld_type tmpld;
19775 cacosl(tmpld);
19776 casinl(tmpld);
19777 catanl(tmpld);
19778 cacoshl(tmpld);
19779 casinhl(tmpld);
19780 catanhl(tmpld);
19783 return 0;
19785 _ACEOF
19786 if ac_fn_cxx_try_compile "$LINENO"; then :
19787 ac_c99_complex_tr1=yes
19788 else
19789 ac_c99_complex_tr1=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19794 $as_echo "$ac_c99_complex_tr1" >&6; }
19795 if test x"$ac_c99_complex_tr1" = x"yes"; then
19797 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19801 # Check for the existence of <ctype.h> functions.
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19803 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19804 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19805 $as_echo_n "(cached) " >&6
19806 else
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #include <ctype.h>
19812 main ()
19814 int ch;
19815 int ret;
19816 ret = isblank(ch);
19819 return 0;
19821 _ACEOF
19822 if ac_fn_cxx_try_compile "$LINENO"; then :
19823 glibcxx_cv_c99_ctype_tr1=yes
19824 else
19825 glibcxx_cv_c99_ctype_tr1=no
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19832 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19833 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19835 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19839 # Check for the existence of <fenv.h> functions.
19840 for ac_header in fenv.h
19841 do :
19842 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19843 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19844 cat >>confdefs.h <<_ACEOF
19845 #define HAVE_FENV_H 1
19846 _ACEOF
19847 ac_has_fenv_h=yes
19848 else
19849 ac_has_fenv_h=no
19852 done
19854 ac_c99_fenv_tr1=no;
19855 if test x"$ac_has_fenv_h" = x"yes"; then
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19857 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #include <fenv.h>
19862 main ()
19864 int except, mode;
19865 fexcept_t* pflag;
19866 fenv_t* penv;
19867 int ret;
19868 ret = feclearexcept(except);
19869 ret = fegetexceptflag(pflag, except);
19870 ret = feraiseexcept(except);
19871 ret = fesetexceptflag(pflag, except);
19872 ret = fetestexcept(except);
19873 ret = fegetround();
19874 ret = fesetround(mode);
19875 ret = fegetenv(penv);
19876 ret = feholdexcept(penv);
19877 ret = fesetenv(penv);
19878 ret = feupdateenv(penv);
19881 return 0;
19883 _ACEOF
19884 if ac_fn_cxx_try_compile "$LINENO"; then :
19885 ac_c99_fenv_tr1=yes
19886 else
19887 ac_c99_fenv_tr1=no
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19892 $as_echo "$ac_c99_fenv_tr1" >&6; }
19893 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19895 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19899 # Check for the existence of <stdint.h> types.
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19901 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19902 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19903 $as_echo_n "(cached) " >&6
19904 else
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #define __STDC_LIMIT_MACROS
19909 #define __STDC_CONSTANT_MACROS
19910 #include <stdint.h>
19912 main ()
19914 typedef int8_t my_int8_t;
19915 my_int8_t i8 = INT8_MIN;
19916 i8 = INT8_MAX;
19917 typedef int16_t my_int16_t;
19918 my_int16_t i16 = INT16_MIN;
19919 i16 = INT16_MAX;
19920 typedef int32_t my_int32_t;
19921 my_int32_t i32 = INT32_MIN;
19922 i32 = INT32_MAX;
19923 typedef int64_t my_int64_t;
19924 my_int64_t i64 = INT64_MIN;
19925 i64 = INT64_MAX;
19926 typedef int_fast8_t my_int_fast8_t;
19927 my_int_fast8_t if8 = INT_FAST8_MIN;
19928 if8 = INT_FAST8_MAX;
19929 typedef int_fast16_t my_int_fast16_t;
19930 my_int_fast16_t if16 = INT_FAST16_MIN;
19931 if16 = INT_FAST16_MAX;
19932 typedef int_fast32_t my_int_fast32_t;
19933 my_int_fast32_t if32 = INT_FAST32_MIN;
19934 if32 = INT_FAST32_MAX;
19935 typedef int_fast64_t my_int_fast64_t;
19936 my_int_fast64_t if64 = INT_FAST64_MIN;
19937 if64 = INT_FAST64_MAX;
19938 typedef int_least8_t my_int_least8_t;
19939 my_int_least8_t il8 = INT_LEAST8_MIN;
19940 il8 = INT_LEAST8_MAX;
19941 typedef int_least16_t my_int_least16_t;
19942 my_int_least16_t il16 = INT_LEAST16_MIN;
19943 il16 = INT_LEAST16_MAX;
19944 typedef int_least32_t my_int_least32_t;
19945 my_int_least32_t il32 = INT_LEAST32_MIN;
19946 il32 = INT_LEAST32_MAX;
19947 typedef int_least64_t my_int_least64_t;
19948 my_int_least64_t il64 = INT_LEAST64_MIN;
19949 il64 = INT_LEAST64_MAX;
19950 typedef intmax_t my_intmax_t;
19951 my_intmax_t im = INTMAX_MAX;
19952 im = INTMAX_MIN;
19953 typedef intptr_t my_intptr_t;
19954 my_intptr_t ip = INTPTR_MAX;
19955 ip = INTPTR_MIN;
19956 typedef uint8_t my_uint8_t;
19957 my_uint8_t ui8 = UINT8_MAX;
19958 ui8 = UINT8_MAX;
19959 typedef uint16_t my_uint16_t;
19960 my_uint16_t ui16 = UINT16_MAX;
19961 ui16 = UINT16_MAX;
19962 typedef uint32_t my_uint32_t;
19963 my_uint32_t ui32 = UINT32_MAX;
19964 ui32 = UINT32_MAX;
19965 typedef uint64_t my_uint64_t;
19966 my_uint64_t ui64 = UINT64_MAX;
19967 ui64 = UINT64_MAX;
19968 typedef uint_fast8_t my_uint_fast8_t;
19969 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19970 uif8 = UINT_FAST8_MAX;
19971 typedef uint_fast16_t my_uint_fast16_t;
19972 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19973 uif16 = UINT_FAST16_MAX;
19974 typedef uint_fast32_t my_uint_fast32_t;
19975 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19976 uif32 = UINT_FAST32_MAX;
19977 typedef uint_fast64_t my_uint_fast64_t;
19978 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19979 uif64 = UINT_FAST64_MAX;
19980 typedef uint_least8_t my_uint_least8_t;
19981 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19982 uil8 = UINT_LEAST8_MAX;
19983 typedef uint_least16_t my_uint_least16_t;
19984 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19985 uil16 = UINT_LEAST16_MAX;
19986 typedef uint_least32_t my_uint_least32_t;
19987 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19988 uil32 = UINT_LEAST32_MAX;
19989 typedef uint_least64_t my_uint_least64_t;
19990 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19991 uil64 = UINT_LEAST64_MAX;
19992 typedef uintmax_t my_uintmax_t;
19993 my_uintmax_t uim = UINTMAX_MAX;
19994 uim = UINTMAX_MAX;
19995 typedef uintptr_t my_uintptr_t;
19996 my_uintptr_t uip = UINTPTR_MAX;
19997 uip = UINTPTR_MAX;
20000 return 0;
20002 _ACEOF
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004 glibcxx_cv_c99_stdint_tr1=yes
20005 else
20006 glibcxx_cv_c99_stdint_tr1=no
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20013 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20014 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20016 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20020 # Check for the existence of <math.h> functions.
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20022 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20023 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20024 $as_echo_n "(cached) " >&6
20025 else
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20029 #include <math.h>
20031 main ()
20033 typedef double_t my_double_t;
20034 typedef float_t my_float_t;
20035 acosh(0.0);
20036 acoshf(0.0f);
20037 acoshl(0.0l);
20038 asinh(0.0);
20039 asinhf(0.0f);
20040 asinhl(0.0l);
20041 atanh(0.0);
20042 atanhf(0.0f);
20043 atanhl(0.0l);
20044 cbrt(0.0);
20045 cbrtf(0.0f);
20046 cbrtl(0.0l);
20047 copysign(0.0, 0.0);
20048 copysignf(0.0f, 0.0f);
20049 copysignl(0.0l, 0.0l);
20050 erf(0.0);
20051 erff(0.0f);
20052 erfl(0.0l);
20053 erfc(0.0);
20054 erfcf(0.0f);
20055 erfcl(0.0l);
20056 exp2(0.0);
20057 exp2f(0.0f);
20058 exp2l(0.0l);
20059 expm1(0.0);
20060 expm1f(0.0f);
20061 expm1l(0.0l);
20062 fdim(0.0, 0.0);
20063 fdimf(0.0f, 0.0f);
20064 fdiml(0.0l, 0.0l);
20065 fma(0.0, 0.0, 0.0);
20066 fmaf(0.0f, 0.0f, 0.0f);
20067 fmal(0.0l, 0.0l, 0.0l);
20068 fmax(0.0, 0.0);
20069 fmaxf(0.0f, 0.0f);
20070 fmaxl(0.0l, 0.0l);
20071 fmin(0.0, 0.0);
20072 fminf(0.0f, 0.0f);
20073 fminl(0.0l, 0.0l);
20074 hypot(0.0, 0.0);
20075 hypotf(0.0f, 0.0f);
20076 hypotl(0.0l, 0.0l);
20077 ilogb(0.0);
20078 ilogbf(0.0f);
20079 ilogbl(0.0l);
20080 lgamma(0.0);
20081 lgammaf(0.0f);
20082 lgammal(0.0l);
20083 #ifndef __APPLE__ /* see below */
20084 llrint(0.0);
20085 llrintf(0.0f);
20086 llrintl(0.0l);
20087 llround(0.0);
20088 llroundf(0.0f);
20089 llroundl(0.0l);
20090 #endif
20091 log1p(0.0);
20092 log1pf(0.0f);
20093 log1pl(0.0l);
20094 log2(0.0);
20095 log2f(0.0f);
20096 log2l(0.0l);
20097 logb(0.0);
20098 logbf(0.0f);
20099 logbl(0.0l);
20100 lrint(0.0);
20101 lrintf(0.0f);
20102 lrintl(0.0l);
20103 lround(0.0);
20104 lroundf(0.0f);
20105 lroundl(0.0l);
20106 nan(0);
20107 nanf(0);
20108 nanl(0);
20109 nearbyint(0.0);
20110 nearbyintf(0.0f);
20111 nearbyintl(0.0l);
20112 nextafter(0.0, 0.0);
20113 nextafterf(0.0f, 0.0f);
20114 nextafterl(0.0l, 0.0l);
20115 nexttoward(0.0, 0.0);
20116 nexttowardf(0.0f, 0.0f);
20117 nexttowardl(0.0l, 0.0l);
20118 remainder(0.0, 0.0);
20119 remainderf(0.0f, 0.0f);
20120 remainderl(0.0l, 0.0l);
20121 remquo(0.0, 0.0, 0);
20122 remquof(0.0f, 0.0f, 0);
20123 remquol(0.0l, 0.0l, 0);
20124 rint(0.0);
20125 rintf(0.0f);
20126 rintl(0.0l);
20127 round(0.0);
20128 roundf(0.0f);
20129 roundl(0.0l);
20130 scalbln(0.0, 0l);
20131 scalblnf(0.0f, 0l);
20132 scalblnl(0.0l, 0l);
20133 scalbn(0.0, 0);
20134 scalbnf(0.0f, 0);
20135 scalbnl(0.0l, 0);
20136 tgamma(0.0);
20137 tgammaf(0.0f);
20138 tgammal(0.0l);
20139 trunc(0.0);
20140 truncf(0.0f);
20141 truncl(0.0l);
20144 return 0;
20146 _ACEOF
20147 if ac_fn_cxx_try_compile "$LINENO"; then :
20148 glibcxx_cv_c99_math_tr1=yes
20149 else
20150 glibcxx_cv_c99_math_tr1=no
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20157 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20158 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20160 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20163 case "${target_os}" in
20164 darwin*)
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20166 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20167 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20168 $as_echo_n "(cached) " >&6
20169 else
20171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20173 #include <math.h>
20175 main ()
20177 llrint(0.0);
20178 llrintf(0.0f);
20179 llrintl(0.0l);
20180 llround(0.0);
20181 llroundf(0.0f);
20182 llroundl(0.0l);
20185 return 0;
20187 _ACEOF
20188 if ac_fn_cxx_try_compile "$LINENO"; then :
20189 glibcxx_cv_c99_math_llround=yes
20190 else
20191 glibcxx_cv_c99_math_llround=no
20193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20198 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20200 esac
20201 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20203 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20208 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20209 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20210 ac_c99_inttypes_tr1=no;
20211 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20213 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 #include <inttypes.h>
20218 main ()
20220 intmax_t i, numer, denom, base;
20221 const char* s;
20222 char** endptr;
20223 intmax_t ret = imaxabs(i);
20224 imaxdiv_t dret = imaxdiv(numer, denom);
20225 ret = strtoimax(s, endptr, base);
20226 uintmax_t uret = strtoumax(s, endptr, base);
20229 return 0;
20231 _ACEOF
20232 if ac_fn_cxx_try_compile "$LINENO"; then :
20233 ac_c99_inttypes_tr1=yes
20234 else
20235 ac_c99_inttypes_tr1=no
20237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20240 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20241 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20243 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20247 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20248 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20249 ac_c99_inttypes_wchar_t_tr1=no;
20250 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20252 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20255 #include <inttypes.h>
20257 main ()
20259 intmax_t base;
20260 const wchar_t* s;
20261 wchar_t** endptr;
20262 intmax_t ret = wcstoimax(s, endptr, base);
20263 uintmax_t uret = wcstoumax(s, endptr, base);
20266 return 0;
20268 _ACEOF
20269 if ac_fn_cxx_try_compile "$LINENO"; then :
20270 ac_c99_inttypes_wchar_t_tr1=yes
20271 else
20272 ac_c99_inttypes_wchar_t_tr1=no
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20277 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20278 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20280 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20284 # Check for the existence of the <stdbool.h> header.
20285 for ac_header in stdbool.h
20286 do :
20287 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20288 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20289 cat >>confdefs.h <<_ACEOF
20290 #define HAVE_STDBOOL_H 1
20291 _ACEOF
20295 done
20298 # Check for the existence of the <stdalign.h> header.
20299 for ac_header in stdalign.h
20300 do :
20301 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20302 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_STDALIGN_H 1
20305 _ACEOF
20309 done
20312 CXXFLAGS="$ac_save_CXXFLAGS"
20313 ac_ext=c
20314 ac_cpp='$CPP $CPPFLAGS'
20315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20321 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20325 $as_echo_n "checking for the value of EOF... " >&6; }
20326 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20330 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20332 else
20333 as_fn_error "computing EOF failed" "$LINENO" 5
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20339 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20341 cat >>confdefs.h <<_ACEOF
20342 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20343 _ACEOF
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20347 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20348 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20349 $as_echo_n "(cached) " >&6
20350 else
20352 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20354 else
20355 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20361 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20363 cat >>confdefs.h <<_ACEOF
20364 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20365 _ACEOF
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20369 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20370 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20371 $as_echo_n "(cached) " >&6
20372 else
20374 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20376 else
20377 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20383 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20385 cat >>confdefs.h <<_ACEOF
20386 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20387 _ACEOF
20391 # For gettimeofday support.
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20395 $as_echo_n "checking for gettimeofday... " >&6; }
20398 ac_ext=cpp
20399 ac_cpp='$CXXCPP $CPPFLAGS'
20400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20404 ac_save_CXXFLAGS="$CXXFLAGS"
20405 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20407 ac_has_gettimeofday=no;
20408 for ac_header in sys/time.h
20409 do :
20410 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20411 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20412 cat >>confdefs.h <<_ACEOF
20413 #define HAVE_SYS_TIME_H 1
20414 _ACEOF
20415 ac_has_sys_time_h=yes
20416 else
20417 ac_has_sys_time_h=no
20420 done
20422 if test x"$ac_has_sys_time_h" = x"yes"; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20424 $as_echo_n "checking for gettimeofday... " >&6; }
20425 if test x$gcc_no_link = xyes; then
20426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20428 #include <sys/time.h>
20430 main ()
20432 timeval tv; gettimeofday(&tv, 0);
20434 return 0;
20436 _ACEOF
20437 if ac_fn_cxx_try_compile "$LINENO"; then :
20438 ac_has_gettimeofday=yes
20439 else
20440 ac_has_gettimeofday=no
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 else
20444 if test x$gcc_no_link = xyes; then
20445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20449 #include <sys/time.h>
20451 main ()
20453 timeval tv; gettimeofday(&tv, 0);
20455 return 0;
20457 _ACEOF
20458 if ac_fn_cxx_try_link "$LINENO"; then :
20459 ac_has_gettimeofday=yes
20460 else
20461 ac_has_gettimeofday=no
20463 rm -f core conftest.err conftest.$ac_objext \
20464 conftest$ac_exeext conftest.$ac_ext
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20468 $as_echo "$ac_has_gettimeofday" >&6; }
20471 if test x"$ac_has_gettimeofday" = x"yes"; then
20473 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20477 CXXFLAGS="$ac_save_CXXFLAGS"
20478 ac_ext=c
20479 ac_cpp='$CPP $CPPFLAGS'
20480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20486 # For clock_gettime, nanosleep and sched_yield support.
20489 # Check whether --enable-libstdcxx-time was given.
20490 if test "${enable_libstdcxx_time+set}" = set; then :
20491 enableval=$enable_libstdcxx_time;
20492 case "$enableval" in
20493 yes|no|rt) ;;
20494 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20495 esac
20497 else
20498 enable_libstdcxx_time=auto
20504 ac_ext=cpp
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20510 ac_save_CXXFLAGS="$CXXFLAGS"
20511 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20512 ac_save_LIBS="$LIBS"
20514 ac_has_clock_monotonic=no
20515 ac_has_clock_realtime=no
20516 ac_has_nanosleep=no
20517 ac_has_sched_yield=no
20519 if test x"$enable_libstdcxx_time" = x"auto"; then
20521 case "${target_os}" in
20522 cygwin*)
20523 ac_has_nanosleep=yes
20525 darwin*)
20526 ac_has_nanosleep=yes
20527 ac_has_sched_yield=yes
20529 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20531 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20534 #include <features.h>
20536 main ()
20539 #if ! __GLIBC_PREREQ(2, 17)
20540 #error
20541 #endif
20544 return 0;
20546 _ACEOF
20547 if ac_fn_cxx_try_compile "$LINENO"; then :
20548 glibcxx_glibc217=yes
20549 else
20550 glibcxx_glibc217=no
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20554 $as_echo "$glibcxx_glibc217" >&6; }
20556 if test x"$glibcxx_glibc217" = x"yes"; then
20557 ac_has_clock_monotonic=yes
20558 ac_has_clock_realtime=yes
20560 ac_has_nanosleep=yes
20561 ac_has_sched_yield=yes
20563 freebsd*|netbsd*|dragonfly*|rtems*)
20564 ac_has_clock_monotonic=yes
20565 ac_has_clock_realtime=yes
20566 ac_has_nanosleep=yes
20567 ac_has_sched_yield=yes
20569 openbsd*)
20570 ac_has_clock_monotonic=yes
20571 ac_has_clock_realtime=yes
20572 ac_has_nanosleep=yes
20574 solaris*)
20575 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20576 ac_has_clock_monotonic=yes
20577 ac_has_clock_realtime=yes
20578 ac_has_nanosleep=yes
20579 ac_has_sched_yield=yes
20581 esac
20583 elif test x"$enable_libstdcxx_time" != x"no"; then
20585 if test x"$enable_libstdcxx_time" = x"rt"; then
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20587 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20588 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20589 $as_echo_n "(cached) " >&6
20590 else
20591 ac_func_search_save_LIBS=$LIBS
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20595 /* Override any GCC internal prototype to avoid an error.
20596 Use char because int might match the return type of a GCC
20597 builtin and then its argument prototype would still apply. */
20598 #ifdef __cplusplus
20599 extern "C"
20600 #endif
20601 char clock_gettime ();
20603 main ()
20605 return clock_gettime ();
20607 return 0;
20609 _ACEOF
20610 for ac_lib in '' rt posix4; do
20611 if test -z "$ac_lib"; then
20612 ac_res="none required"
20613 else
20614 ac_res=-l$ac_lib
20615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20617 if test x$gcc_no_link = xyes; then
20618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20620 if ac_fn_cxx_try_link "$LINENO"; then :
20621 ac_cv_search_clock_gettime=$ac_res
20623 rm -f core conftest.err conftest.$ac_objext \
20624 conftest$ac_exeext
20625 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20626 break
20628 done
20629 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20631 else
20632 ac_cv_search_clock_gettime=no
20634 rm conftest.$ac_ext
20635 LIBS=$ac_func_search_save_LIBS
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20638 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20639 ac_res=$ac_cv_search_clock_gettime
20640 if test "$ac_res" != no; then :
20641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20646 $as_echo_n "checking for library containing nanosleep... " >&6; }
20647 if test "${ac_cv_search_nanosleep+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20650 ac_func_search_save_LIBS=$LIBS
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 /* Override any GCC internal prototype to avoid an error.
20655 Use char because int might match the return type of a GCC
20656 builtin and then its argument prototype would still apply. */
20657 #ifdef __cplusplus
20658 extern "C"
20659 #endif
20660 char nanosleep ();
20662 main ()
20664 return nanosleep ();
20666 return 0;
20668 _ACEOF
20669 for ac_lib in '' rt posix4; do
20670 if test -z "$ac_lib"; then
20671 ac_res="none required"
20672 else
20673 ac_res=-l$ac_lib
20674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20676 if test x$gcc_no_link = xyes; then
20677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20679 if ac_fn_cxx_try_link "$LINENO"; then :
20680 ac_cv_search_nanosleep=$ac_res
20682 rm -f core conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext
20684 if test "${ac_cv_search_nanosleep+set}" = set; then :
20685 break
20687 done
20688 if test "${ac_cv_search_nanosleep+set}" = set; then :
20690 else
20691 ac_cv_search_nanosleep=no
20693 rm conftest.$ac_ext
20694 LIBS=$ac_func_search_save_LIBS
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20697 $as_echo "$ac_cv_search_nanosleep" >&6; }
20698 ac_res=$ac_cv_search_nanosleep
20699 if test "$ac_res" != no; then :
20700 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20704 else
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20706 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20707 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20710 ac_func_search_save_LIBS=$LIBS
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20714 /* Override any GCC internal prototype to avoid an error.
20715 Use char because int might match the return type of a GCC
20716 builtin and then its argument prototype would still apply. */
20717 #ifdef __cplusplus
20718 extern "C"
20719 #endif
20720 char clock_gettime ();
20722 main ()
20724 return clock_gettime ();
20726 return 0;
20728 _ACEOF
20729 for ac_lib in '' posix4; do
20730 if test -z "$ac_lib"; then
20731 ac_res="none required"
20732 else
20733 ac_res=-l$ac_lib
20734 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20736 if test x$gcc_no_link = xyes; then
20737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20739 if ac_fn_cxx_try_link "$LINENO"; then :
20740 ac_cv_search_clock_gettime=$ac_res
20742 rm -f core conftest.err conftest.$ac_objext \
20743 conftest$ac_exeext
20744 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20745 break
20747 done
20748 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20750 else
20751 ac_cv_search_clock_gettime=no
20753 rm conftest.$ac_ext
20754 LIBS=$ac_func_search_save_LIBS
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20757 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20758 ac_res=$ac_cv_search_clock_gettime
20759 if test "$ac_res" != no; then :
20760 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20765 $as_echo_n "checking for library containing nanosleep... " >&6; }
20766 if test "${ac_cv_search_nanosleep+set}" = set; then :
20767 $as_echo_n "(cached) " >&6
20768 else
20769 ac_func_search_save_LIBS=$LIBS
20770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20773 /* Override any GCC internal prototype to avoid an error.
20774 Use char because int might match the return type of a GCC
20775 builtin and then its argument prototype would still apply. */
20776 #ifdef __cplusplus
20777 extern "C"
20778 #endif
20779 char nanosleep ();
20781 main ()
20783 return nanosleep ();
20785 return 0;
20787 _ACEOF
20788 for ac_lib in '' posix4; do
20789 if test -z "$ac_lib"; then
20790 ac_res="none required"
20791 else
20792 ac_res=-l$ac_lib
20793 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20795 if test x$gcc_no_link = xyes; then
20796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20798 if ac_fn_cxx_try_link "$LINENO"; then :
20799 ac_cv_search_nanosleep=$ac_res
20801 rm -f core conftest.err conftest.$ac_objext \
20802 conftest$ac_exeext
20803 if test "${ac_cv_search_nanosleep+set}" = set; then :
20804 break
20806 done
20807 if test "${ac_cv_search_nanosleep+set}" = set; then :
20809 else
20810 ac_cv_search_nanosleep=no
20812 rm conftest.$ac_ext
20813 LIBS=$ac_func_search_save_LIBS
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20816 $as_echo "$ac_cv_search_nanosleep" >&6; }
20817 ac_res=$ac_cv_search_nanosleep
20818 if test "$ac_res" != no; then :
20819 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20825 case "$ac_cv_search_clock_gettime" in
20826 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20828 esac
20829 case "$ac_cv_search_nanosleep" in
20830 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20832 esac
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20835 $as_echo_n "checking for library containing sched_yield... " >&6; }
20836 if test "${ac_cv_search_sched_yield+set}" = set; then :
20837 $as_echo_n "(cached) " >&6
20838 else
20839 ac_func_search_save_LIBS=$LIBS
20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20843 /* Override any GCC internal prototype to avoid an error.
20844 Use char because int might match the return type of a GCC
20845 builtin and then its argument prototype would still apply. */
20846 #ifdef __cplusplus
20847 extern "C"
20848 #endif
20849 char sched_yield ();
20851 main ()
20853 return sched_yield ();
20855 return 0;
20857 _ACEOF
20858 for ac_lib in '' rt posix4; do
20859 if test -z "$ac_lib"; then
20860 ac_res="none required"
20861 else
20862 ac_res=-l$ac_lib
20863 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20865 if test x$gcc_no_link = xyes; then
20866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20868 if ac_fn_cxx_try_link "$LINENO"; then :
20869 ac_cv_search_sched_yield=$ac_res
20871 rm -f core conftest.err conftest.$ac_objext \
20872 conftest$ac_exeext
20873 if test "${ac_cv_search_sched_yield+set}" = set; then :
20874 break
20876 done
20877 if test "${ac_cv_search_sched_yield+set}" = set; then :
20879 else
20880 ac_cv_search_sched_yield=no
20882 rm conftest.$ac_ext
20883 LIBS=$ac_func_search_save_LIBS
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20886 $as_echo "$ac_cv_search_sched_yield" >&6; }
20887 ac_res=$ac_cv_search_sched_yield
20888 if test "$ac_res" != no; then :
20889 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20894 case "$ac_cv_search_sched_yield" in
20895 -lposix4*)
20896 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20897 ac_has_sched_yield=yes
20899 -lrt*)
20900 if test x"$enable_libstdcxx_time" = x"rt"; then
20901 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20902 ac_has_sched_yield=yes
20906 ac_has_sched_yield=yes
20908 esac
20910 for ac_header in unistd.h
20911 do :
20912 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20913 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20914 cat >>confdefs.h <<_ACEOF
20915 #define HAVE_UNISTD_H 1
20916 _ACEOF
20917 ac_has_unistd_h=yes
20918 else
20919 ac_has_unistd_h=no
20922 done
20925 if test x"$ac_has_unistd_h" = x"yes"; then
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20927 $as_echo_n "checking for monotonic clock... " >&6; }
20928 if test x$gcc_no_link = xyes; then
20929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <unistd.h>
20934 #include <time.h>
20937 main ()
20939 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20940 timespec tp;
20941 #endif
20942 clock_gettime(CLOCK_MONOTONIC, &tp);
20945 return 0;
20947 _ACEOF
20948 if ac_fn_cxx_try_link "$LINENO"; then :
20949 ac_has_clock_monotonic=yes
20950 else
20951 ac_has_clock_monotonic=no
20953 rm -f core conftest.err conftest.$ac_objext \
20954 conftest$ac_exeext conftest.$ac_ext
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20957 $as_echo "$ac_has_clock_monotonic" >&6; }
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20960 $as_echo_n "checking for realtime clock... " >&6; }
20961 if test x$gcc_no_link = xyes; then
20962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #include <unistd.h>
20967 #include <time.h>
20970 main ()
20972 #if _POSIX_TIMERS > 0
20973 timespec tp;
20974 #endif
20975 clock_gettime(CLOCK_REALTIME, &tp);
20978 return 0;
20980 _ACEOF
20981 if ac_fn_cxx_try_link "$LINENO"; then :
20982 ac_has_clock_realtime=yes
20983 else
20984 ac_has_clock_realtime=no
20986 rm -f core conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20990 $as_echo "$ac_has_clock_realtime" >&6; }
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20993 $as_echo_n "checking for nanosleep... " >&6; }
20994 if test x$gcc_no_link = xyes; then
20995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 #include <unistd.h>
21000 #include <time.h>
21003 main ()
21005 #if _POSIX_TIMERS > 0
21006 timespec tp;
21007 #endif
21008 nanosleep(&tp, 0);
21011 return 0;
21013 _ACEOF
21014 if ac_fn_cxx_try_link "$LINENO"; then :
21015 ac_has_nanosleep=yes
21016 else
21017 ac_has_nanosleep=no
21019 rm -f core conftest.err conftest.$ac_objext \
21020 conftest$ac_exeext conftest.$ac_ext
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21023 $as_echo "$ac_has_nanosleep" >&6; }
21027 if test x"$ac_has_clock_monotonic" != x"yes"; then
21028 case ${target_os} in
21029 linux*)
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21031 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #include <unistd.h>
21035 #include <time.h>
21036 #include <sys/syscall.h>
21039 main ()
21041 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21042 timespec tp;
21043 #endif
21044 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21045 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21048 return 0;
21050 _ACEOF
21051 if ac_fn_cxx_try_compile "$LINENO"; then :
21052 ac_has_clock_monotonic_syscall=yes
21053 else
21054 ac_has_clock_monotonic_syscall=no
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21058 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21059 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21061 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21063 ac_has_clock_monotonic=yes
21064 ac_has_clock_realtime=yes
21065 fi;;
21066 esac
21069 if test x"$ac_has_clock_monotonic" = x"yes"; then
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21075 if test x"$ac_has_clock_realtime" = x"yes"; then
21077 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21081 if test x"$ac_has_sched_yield" = x"yes"; then
21083 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21087 if test x"$ac_has_nanosleep" = x"yes"; then
21089 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21091 else
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21093 $as_echo_n "checking for sleep... " >&6; }
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <unistd.h>
21098 main ()
21100 sleep(1)
21102 return 0;
21104 _ACEOF
21105 if ac_fn_cxx_try_compile "$LINENO"; then :
21106 ac_has_sleep=yes
21107 else
21108 ac_has_sleep=no
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21111 if test x"$ac_has_sleep" = x"yes"; then
21113 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21117 $as_echo "$ac_has_sleep" >&6; }
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21119 $as_echo_n "checking for usleep... " >&6; }
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <unistd.h>
21124 main ()
21126 sleep(1);
21127 usleep(100);
21129 return 0;
21131 _ACEOF
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 ac_has_usleep=yes
21134 else
21135 ac_has_usleep=no
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138 if test x"$ac_has_usleep" = x"yes"; then
21140 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21144 $as_echo "$ac_has_usleep" >&6; }
21147 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21149 $as_echo_n "checking for Sleep... " >&6; }
21150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21152 #include <windows.h>
21154 main ()
21156 Sleep(1)
21158 return 0;
21160 _ACEOF
21161 if ac_fn_cxx_try_compile "$LINENO"; then :
21162 ac_has_win32_sleep=yes
21163 else
21164 ac_has_win32_sleep=no
21166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21167 if test x"$ac_has_win32_sleep" = x"yes"; then
21169 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21173 $as_echo "$ac_has_win32_sleep" >&6; }
21178 CXXFLAGS="$ac_save_CXXFLAGS"
21179 LIBS="$ac_save_LIBS"
21180 ac_ext=c
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21188 # Check for tmpnam which is obsolescent in POSIX.1-2008
21190 ac_ext=cpp
21191 ac_cpp='$CXXCPP $CPPFLAGS'
21192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21196 ac_save_CXXFLAGS="$CXXFLAGS"
21197 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21199 $as_echo_n "checking for tmpnam... " >&6; }
21200 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21201 $as_echo_n "(cached) " >&6
21202 else
21203 if test x$gcc_no_link = xyes; then
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21206 #include <stdio.h>
21208 main ()
21210 char *tmp = tmpnam(NULL);
21212 return 0;
21214 _ACEOF
21215 if ac_fn_cxx_try_compile "$LINENO"; then :
21216 glibcxx_cv_TMPNAM=yes
21217 else
21218 glibcxx_cv_TMPNAM=no
21220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21221 else
21222 if test x$gcc_no_link = xyes; then
21223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #include <stdio.h>
21229 main ()
21231 char *tmp = tmpnam(NULL);
21233 return 0;
21235 _ACEOF
21236 if ac_fn_cxx_try_link "$LINENO"; then :
21237 glibcxx_cv_TMPNAM=yes
21238 else
21239 glibcxx_cv_TMPNAM=no
21241 rm -f core conftest.err conftest.$ac_objext \
21242 conftest$ac_exeext conftest.$ac_ext
21247 if test $glibcxx_cv_TMPNAM = yes; then
21249 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21253 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21254 CXXFLAGS="$ac_save_CXXFLAGS"
21255 ac_ext=c
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21265 if test "x$ac_cv_header_locale_h" = x""yes; then :
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21268 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21269 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21270 $as_echo_n "(cached) " >&6
21271 else
21272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21274 #include <locale.h>
21276 main ()
21278 return LC_MESSAGES
21280 return 0;
21282 _ACEOF
21283 if ac_fn_c_try_compile "$LINENO"; then :
21284 ac_cv_val_LC_MESSAGES=yes
21285 else
21286 ac_cv_val_LC_MESSAGES=no
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21291 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21292 if test $ac_cv_val_LC_MESSAGES = yes; then
21294 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21303 # For hardware_concurrency
21304 for ac_header in sys/sysinfo.h
21305 do :
21306 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21307 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE_SYS_SYSINFO_H 1
21310 _ACEOF
21314 done
21319 ac_ext=cpp
21320 ac_cpp='$CXXCPP $CPPFLAGS'
21321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21325 ac_save_CXXFLAGS="$CXXFLAGS"
21326 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21329 $as_echo_n "checking for get_nprocs... " >&6; }
21330 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21331 $as_echo_n "(cached) " >&6
21332 else
21334 if test x$gcc_no_link = xyes; then
21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h. */
21337 #include <sys/sysinfo.h>
21339 main ()
21341 int n = get_nprocs();
21343 return 0;
21345 _ACEOF
21346 if ac_fn_cxx_try_compile "$LINENO"; then :
21347 glibcxx_cv_GET_NPROCS=yes
21348 else
21349 glibcxx_cv_GET_NPROCS=no
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352 else
21353 if test x$gcc_no_link = xyes; then
21354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21358 #include <sys/sysinfo.h>
21360 main ()
21362 int n = get_nprocs();
21364 return 0;
21366 _ACEOF
21367 if ac_fn_cxx_try_link "$LINENO"; then :
21368 glibcxx_cv_GET_NPROCS=yes
21369 else
21370 glibcxx_cv_GET_NPROCS=no
21372 rm -f core conftest.err conftest.$ac_objext \
21373 conftest$ac_exeext conftest.$ac_ext
21378 if test $glibcxx_cv_GET_NPROCS = yes; then
21380 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21384 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21386 CXXFLAGS="$ac_save_CXXFLAGS"
21387 ac_ext=c
21388 ac_cpp='$CPP $CPPFLAGS'
21389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21394 for ac_header in unistd.h
21395 do :
21396 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21397 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21398 cat >>confdefs.h <<_ACEOF
21399 #define HAVE_UNISTD_H 1
21400 _ACEOF
21404 done
21409 ac_ext=cpp
21410 ac_cpp='$CXXCPP $CPPFLAGS'
21411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21415 ac_save_CXXFLAGS="$CXXFLAGS"
21416 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21419 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21420 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21421 $as_echo_n "(cached) " >&6
21422 else
21424 if test x$gcc_no_link = xyes; then
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21427 #include <unistd.h>
21429 main ()
21431 int n = sysconf(_SC_NPROCESSORS_ONLN);
21433 return 0;
21435 _ACEOF
21436 if ac_fn_cxx_try_compile "$LINENO"; then :
21437 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21438 else
21439 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 else
21443 if test x$gcc_no_link = xyes; then
21444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21447 /* end confdefs.h. */
21448 #include <unistd.h>
21450 main ()
21452 int n = sysconf(_SC_NPROCESSORS_ONLN);
21454 return 0;
21456 _ACEOF
21457 if ac_fn_cxx_try_link "$LINENO"; then :
21458 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21459 else
21460 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21462 rm -f core conftest.err conftest.$ac_objext \
21463 conftest$ac_exeext conftest.$ac_ext
21468 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21470 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21474 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21476 CXXFLAGS="$ac_save_CXXFLAGS"
21477 ac_ext=c
21478 ac_cpp='$CPP $CPPFLAGS'
21479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21487 ac_ext=cpp
21488 ac_cpp='$CXXCPP $CPPFLAGS'
21489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21493 ac_save_CXXFLAGS="$CXXFLAGS"
21494 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21497 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21498 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21502 if test x$gcc_no_link = xyes; then
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21505 #include <unistd.h>
21507 main ()
21509 int n = sysconf(_SC_NPROC_ONLN);
21511 return 0;
21513 _ACEOF
21514 if ac_fn_cxx_try_compile "$LINENO"; then :
21515 glibcxx_cv_SC_NPROC_ONLN=yes
21516 else
21517 glibcxx_cv_SC_NPROC_ONLN=no
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 else
21521 if test x$gcc_no_link = xyes; then
21522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h. */
21526 #include <unistd.h>
21528 main ()
21530 int n = sysconf(_SC_NPROC_ONLN);
21532 return 0;
21534 _ACEOF
21535 if ac_fn_cxx_try_link "$LINENO"; then :
21536 glibcxx_cv_SC_NPROC_ONLN=yes
21537 else
21538 glibcxx_cv_SC_NPROC_ONLN=no
21540 rm -f core conftest.err conftest.$ac_objext \
21541 conftest$ac_exeext conftest.$ac_ext
21546 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21548 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21552 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21554 CXXFLAGS="$ac_save_CXXFLAGS"
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21565 ac_ext=cpp
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21571 ac_save_CXXFLAGS="$CXXFLAGS"
21572 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21575 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21576 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21577 $as_echo_n "(cached) " >&6
21578 else
21580 if test x$gcc_no_link = xyes; then
21581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #include <pthread.h>
21585 main ()
21587 int n = pthread_num_processors_np();
21589 return 0;
21591 _ACEOF
21592 if ac_fn_cxx_try_compile "$LINENO"; then :
21593 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21594 else
21595 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21598 else
21599 if test x$gcc_no_link = xyes; then
21600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21603 /* end confdefs.h. */
21604 #include <pthread.h>
21606 main ()
21608 int n = pthread_num_processors_np();
21610 return 0;
21612 _ACEOF
21613 if ac_fn_cxx_try_link "$LINENO"; then :
21614 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21615 else
21616 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21618 rm -f core conftest.err conftest.$ac_objext \
21619 conftest$ac_exeext conftest.$ac_ext
21624 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21626 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21630 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21632 CXXFLAGS="$ac_save_CXXFLAGS"
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21643 ac_ext=cpp
21644 ac_cpp='$CXXCPP $CPPFLAGS'
21645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21649 ac_save_CXXFLAGS="$CXXFLAGS"
21650 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21653 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21654 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21655 $as_echo_n "(cached) " >&6
21656 else
21658 if test x$gcc_no_link = xyes; then
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21662 #include <stddef.h>
21663 #include <sys/sysctl.h>
21666 main ()
21669 int count;
21670 size_t size = sizeof(count);
21671 int mib[] = { CTL_HW, HW_NCPU };
21672 sysctl(mib, 2, &count, &size, NULL, 0);
21675 return 0;
21677 _ACEOF
21678 if ac_fn_cxx_try_compile "$LINENO"; then :
21679 glibcxx_cv_SYSCTL_HW_NCPU=yes
21680 else
21681 glibcxx_cv_SYSCTL_HW_NCPU=no
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 else
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21691 #include <stddef.h>
21692 #include <sys/sysctl.h>
21695 main ()
21698 int count;
21699 size_t size = sizeof(count);
21700 int mib[] = { CTL_HW, HW_NCPU };
21701 sysctl(mib, 2, &count, &size, NULL, 0);
21704 return 0;
21706 _ACEOF
21707 if ac_fn_cxx_try_link "$LINENO"; then :
21708 glibcxx_cv_SYSCTL_HW_NCPU=yes
21709 else
21710 glibcxx_cv_SYSCTL_HW_NCPU=no
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21718 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21720 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21724 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21726 CXXFLAGS="$ac_save_CXXFLAGS"
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21736 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21737 # Note that this test has to be run with the C language.
21738 # Otherwise, sdt.h will try to include some headers from
21739 # libstdc++ itself.
21741 ac_ext=c
21742 ac_cpp='$CPP $CPPFLAGS'
21743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21747 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21748 $as_echo_n "(cached) " >&6
21749 else
21751 # Because we have to run the test in C, we use grep rather
21752 # than the compiler to check for the bug. The bug is that
21753 # were strings without trailing whitespace, causing g++
21754 # to look for operator"". The pattern searches for the fixed
21755 # output.
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21759 #include <sys/sdt.h>
21760 int f() { STAP_PROBE(hi, bob); }
21762 _ACEOF
21763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21764 $EGREP " \",\" " >/dev/null 2>&1; then :
21765 glibcxx_cv_sys_sdt_h=yes
21766 else
21767 glibcxx_cv_sys_sdt_h=no
21769 rm -f conftest*
21774 ac_ext=c
21775 ac_cpp='$CPP $CPPFLAGS'
21776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21780 if test $glibcxx_cv_sys_sdt_h = yes; then
21782 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21786 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21789 # Check for available headers.
21790 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21791 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21792 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21793 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21794 wchar.h wctype.h linux/types.h
21795 do :
21796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21798 eval as_val=\$$as_ac_Header
21799 if test "x$as_val" = x""yes; then :
21800 cat >>confdefs.h <<_ACEOF
21801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21802 _ACEOF
21806 done
21809 for ac_header in linux/random.h
21810 do :
21811 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21812 # include <linux/types.h>
21813 #endif
21816 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21817 cat >>confdefs.h <<_ACEOF
21818 #define HAVE_LINUX_RANDOM_H 1
21819 _ACEOF
21823 done
21826 # Only do link tests if native. Else, hardcode.
21827 if $GLIBCXX_IS_NATIVE; then
21829 # We can do more elaborate tests that assume a working linker.
21830 CANADIAN=no
21834 # Check whether --with-gnu-ld was given.
21835 if test "${with_gnu_ld+set}" = set; then :
21836 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21837 else
21838 with_gnu_ld=no
21841 ac_prog=ld
21842 if test "$GCC" = yes; then
21843 # Check if gcc -print-prog-name=ld gives a path.
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21845 $as_echo_n "checking for ld used by $CC... " >&6; }
21846 case $host in
21847 *-*-mingw*)
21848 # gcc leaves a trailing carriage return which upsets mingw
21849 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21851 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21852 esac
21853 case $ac_prog in
21854 # Accept absolute paths.
21855 [\\/]* | ?:[\\/]*)
21856 re_direlt='/[^/][^/]*/\.\./'
21857 # Canonicalize the pathname of ld
21858 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21859 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21860 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21861 done
21862 test -z "$LD" && LD="$ac_prog"
21865 # If it fails, then pretend we aren't using GCC.
21866 ac_prog=ld
21869 # If it is relative, then search for the first ld in PATH.
21870 with_gnu_ld=unknown
21872 esac
21873 elif test "$with_gnu_ld" = yes; then
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21875 $as_echo_n "checking for GNU ld... " >&6; }
21876 else
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21878 $as_echo_n "checking for non-GNU ld... " >&6; }
21880 if test "${lt_cv_path_LD+set}" = set; then :
21881 $as_echo_n "(cached) " >&6
21882 else
21883 if test -z "$LD"; then
21884 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21885 for ac_dir in $PATH; do
21886 IFS="$lt_save_ifs"
21887 test -z "$ac_dir" && ac_dir=.
21888 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21889 lt_cv_path_LD="$ac_dir/$ac_prog"
21890 # Check to see if the program is GNU ld. I'd rather use --version,
21891 # but apparently some variants of GNU ld only accept -v.
21892 # Break only if it was the GNU/non-GNU ld that we prefer.
21893 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21894 *GNU* | *'with BFD'*)
21895 test "$with_gnu_ld" != no && break
21898 test "$with_gnu_ld" != yes && break
21900 esac
21902 done
21903 IFS="$lt_save_ifs"
21904 else
21905 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21909 LD="$lt_cv_path_LD"
21910 if test -n "$LD"; then
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21912 $as_echo "$LD" >&6; }
21913 else
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21915 $as_echo "no" >&6; }
21917 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21919 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21920 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21921 $as_echo_n "(cached) " >&6
21922 else
21923 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21924 case `$LD -v 2>&1 </dev/null` in
21925 *GNU* | *'with BFD'*)
21926 lt_cv_prog_gnu_ld=yes
21929 lt_cv_prog_gnu_ld=no
21931 esac
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21934 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21935 with_gnu_ld=$lt_cv_prog_gnu_ld
21943 # If we're not using GNU ld, then there's no point in even trying these
21944 # tests. Check for that first. We should have already tested for gld
21945 # by now (in libtool), but require it now just to be safe...
21946 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21947 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21951 # The name set by libtool depends on the version of libtool. Shame on us
21952 # for depending on an impl detail, but c'est la vie. Older versions used
21953 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21954 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21955 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21956 # set (hence we're using an older libtool), then set it.
21957 if test x${with_gnu_ld+set} != xset; then
21958 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21959 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21960 with_gnu_ld=no
21961 else
21962 with_gnu_ld=$ac_cv_prog_gnu_ld
21966 # Start by getting the version number. I think the libtool test already
21967 # does some of this, but throws away the result.
21968 glibcxx_ld_is_gold=no
21969 if test x"$with_gnu_ld" = x"yes"; then
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21971 $as_echo_n "checking for ld version... " >&6; }
21973 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21974 glibcxx_ld_is_gold=yes
21976 ldver=`$LD --version 2>/dev/null |
21977 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'`
21979 glibcxx_gnu_ld_version=`echo $ldver | \
21980 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21982 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21985 # Set --gc-sections.
21986 glibcxx_have_gc_sections=no
21987 if test "$glibcxx_ld_is_gold" = "yes"; then
21988 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21989 glibcxx_have_gc_sections=yes
21991 else
21992 glibcxx_gcsections_min_ld=21602
21993 if test x"$with_gnu_ld" = x"yes" &&
21994 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21995 glibcxx_have_gc_sections=yes
21998 if test "$glibcxx_have_gc_sections" = "yes"; then
21999 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22000 # NB: This flag only works reliably after 2.16.1. Configure tests
22001 # for this are difficult, so hard wire a value that should work.
22003 ac_test_CFLAGS="${CFLAGS+set}"
22004 ac_save_CFLAGS="$CFLAGS"
22005 CFLAGS='-Wl,--gc-sections'
22007 # Check for -Wl,--gc-sections
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22009 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22010 if test x$gcc_no_link = xyes; then
22011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22015 int one(void) { return 1; }
22016 int two(void) { return 2; }
22019 main ()
22021 two();
22023 return 0;
22025 _ACEOF
22026 if ac_fn_c_try_link "$LINENO"; then :
22027 ac_gcsections=yes
22028 else
22029 ac_gcsections=no
22031 rm -f core conftest.err conftest.$ac_objext \
22032 conftest$ac_exeext conftest.$ac_ext
22033 if test "$ac_gcsections" = "yes"; then
22034 rm -f conftest.c
22035 touch conftest.c
22036 if $CC -c conftest.c; then
22037 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22038 grep "Warning: gc-sections option ignored" > /dev/null; then
22039 ac_gcsections=no
22042 rm -f conftest.c conftest.o conftest
22044 if test "$ac_gcsections" = "yes"; then
22045 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22048 $as_echo "$ac_gcsections" >&6; }
22050 if test "$ac_test_CFLAGS" = set; then
22051 CFLAGS="$ac_save_CFLAGS"
22052 else
22053 # this is the suspicious part
22054 CFLAGS=''
22058 # Set -z,relro.
22059 # Note this is only for shared objects.
22060 ac_ld_relro=no
22061 if test x"$with_gnu_ld" = x"yes"; then
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22063 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22064 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22065 if test -n "$cxx_z_relo"; then
22066 OPT_LDFLAGS="-Wl,-z,relro"
22067 ac_ld_relro=yes
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22070 $as_echo "$ac_ld_relro" >&6; }
22073 # Set linker optimization flags.
22074 if test x"$with_gnu_ld" = x"yes"; then
22075 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22082 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22083 ac_save_CXXFLAGS="$CXXFLAGS"
22084 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22087 $as_echo_n "checking for sin in -lm... " >&6; }
22088 if test "${ac_cv_lib_m_sin+set}" = set; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22091 ac_check_lib_save_LIBS=$LIBS
22092 LIBS="-lm $LIBS"
22093 if test x$gcc_no_link = xyes; then
22094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22099 /* Override any GCC internal prototype to avoid an error.
22100 Use char because int might match the return type of a GCC
22101 builtin and then its argument prototype would still apply. */
22102 #ifdef __cplusplus
22103 extern "C"
22104 #endif
22105 char sin ();
22107 main ()
22109 return sin ();
22111 return 0;
22113 _ACEOF
22114 if ac_fn_c_try_link "$LINENO"; then :
22115 ac_cv_lib_m_sin=yes
22116 else
22117 ac_cv_lib_m_sin=no
22119 rm -f core conftest.err conftest.$ac_objext \
22120 conftest$ac_exeext conftest.$ac_ext
22121 LIBS=$ac_check_lib_save_LIBS
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22124 $as_echo "$ac_cv_lib_m_sin" >&6; }
22125 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22126 libm="-lm"
22129 ac_save_LIBS="$LIBS"
22130 LIBS="$LIBS $libm"
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22135 $as_echo_n "checking for isinf declaration... " >&6; }
22136 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22137 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22142 ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22150 #include <math.h>
22151 #ifdef HAVE_IEEEFP_H
22152 #include <ieeefp.h>
22153 #endif
22156 main ()
22158 isinf(0);
22160 return 0;
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164 glibcxx_cv_func_isinf_use=yes
22165 else
22166 glibcxx_cv_func_isinf_use=no
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169 ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22180 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22183 for ac_func in isinf
22184 do :
22185 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22186 if test "x$ac_cv_func_isinf" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define HAVE_ISINF 1
22189 _ACEOF
22192 done
22194 else
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22197 $as_echo_n "checking for _isinf declaration... " >&6; }
22198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22200 $as_echo_n "(cached) " >&6
22201 else
22204 ac_ext=cpp
22205 ac_cpp='$CXXCPP $CPPFLAGS'
22206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22211 /* end confdefs.h. */
22212 #include <math.h>
22213 #ifdef HAVE_IEEEFP_H
22214 #include <ieeefp.h>
22215 #endif
22218 main ()
22220 _isinf(0);
22222 return 0;
22224 _ACEOF
22225 if ac_fn_cxx_try_compile "$LINENO"; then :
22226 glibcxx_cv_func__isinf_use=yes
22227 else
22228 glibcxx_cv_func__isinf_use=no
22230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 ac_ext=c
22232 ac_cpp='$CPP $CPPFLAGS'
22233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22242 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22244 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22245 for ac_func in _isinf
22246 do :
22247 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22248 if test "x$ac_cv_func__isinf" = x""yes; then :
22249 cat >>confdefs.h <<_ACEOF
22250 #define HAVE__ISINF 1
22251 _ACEOF
22254 done
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22264 $as_echo_n "checking for isnan declaration... " >&6; }
22265 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22266 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22271 ac_ext=cpp
22272 ac_cpp='$CXXCPP $CPPFLAGS'
22273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22279 #include <math.h>
22280 #ifdef HAVE_IEEEFP_H
22281 #include <ieeefp.h>
22282 #endif
22285 main ()
22287 isnan(0);
22289 return 0;
22291 _ACEOF
22292 if ac_fn_cxx_try_compile "$LINENO"; then :
22293 glibcxx_cv_func_isnan_use=yes
22294 else
22295 glibcxx_cv_func_isnan_use=no
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 ac_ext=c
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22309 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22311 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22312 for ac_func in isnan
22313 do :
22314 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22315 if test "x$ac_cv_func_isnan" = x""yes; then :
22316 cat >>confdefs.h <<_ACEOF
22317 #define HAVE_ISNAN 1
22318 _ACEOF
22321 done
22323 else
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22326 $as_echo_n "checking for _isnan declaration... " >&6; }
22327 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22328 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22329 $as_echo_n "(cached) " >&6
22330 else
22333 ac_ext=cpp
22334 ac_cpp='$CXXCPP $CPPFLAGS'
22335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22340 /* end confdefs.h. */
22341 #include <math.h>
22342 #ifdef HAVE_IEEEFP_H
22343 #include <ieeefp.h>
22344 #endif
22347 main ()
22349 _isnan(0);
22351 return 0;
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_func__isnan_use=yes
22356 else
22357 glibcxx_cv_func__isnan_use=no
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 ac_ext=c
22361 ac_cpp='$CPP $CPPFLAGS'
22362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22371 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22373 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22374 for ac_func in _isnan
22375 do :
22376 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22377 if test "x$ac_cv_func__isnan" = x""yes; then :
22378 cat >>confdefs.h <<_ACEOF
22379 #define HAVE__ISNAN 1
22380 _ACEOF
22383 done
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22393 $as_echo_n "checking for finite declaration... " >&6; }
22394 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22395 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22400 ac_ext=cpp
22401 ac_cpp='$CXXCPP $CPPFLAGS'
22402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22408 #include <math.h>
22409 #ifdef HAVE_IEEEFP_H
22410 #include <ieeefp.h>
22411 #endif
22414 main ()
22416 finite(0);
22418 return 0;
22420 _ACEOF
22421 if ac_fn_cxx_try_compile "$LINENO"; then :
22422 glibcxx_cv_func_finite_use=yes
22423 else
22424 glibcxx_cv_func_finite_use=no
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 ac_ext=c
22428 ac_cpp='$CPP $CPPFLAGS'
22429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22438 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22440 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22441 for ac_func in finite
22442 do :
22443 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22444 if test "x$ac_cv_func_finite" = x""yes; then :
22445 cat >>confdefs.h <<_ACEOF
22446 #define HAVE_FINITE 1
22447 _ACEOF
22450 done
22452 else
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22455 $as_echo_n "checking for _finite declaration... " >&6; }
22456 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22457 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22458 $as_echo_n "(cached) " >&6
22459 else
22462 ac_ext=cpp
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22470 #include <math.h>
22471 #ifdef HAVE_IEEEFP_H
22472 #include <ieeefp.h>
22473 #endif
22476 main ()
22478 _finite(0);
22480 return 0;
22482 _ACEOF
22483 if ac_fn_cxx_try_compile "$LINENO"; then :
22484 glibcxx_cv_func__finite_use=yes
22485 else
22486 glibcxx_cv_func__finite_use=no
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22500 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22502 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22503 for ac_func in _finite
22504 do :
22505 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22506 if test "x$ac_cv_func__finite" = x""yes; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define HAVE__FINITE 1
22509 _ACEOF
22512 done
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22522 $as_echo_n "checking for sincos declaration... " >&6; }
22523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22529 ac_ext=cpp
22530 ac_cpp='$CXXCPP $CPPFLAGS'
22531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22537 #include <math.h>
22539 main ()
22541 sincos(0, 0, 0);
22543 return 0;
22545 _ACEOF
22546 if ac_fn_cxx_try_compile "$LINENO"; then :
22547 glibcxx_cv_func_sincos_use=yes
22548 else
22549 glibcxx_cv_func_sincos_use=no
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_ext=c
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22563 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22565 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22566 for ac_func in sincos
22567 do :
22568 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22569 if test "x$ac_cv_func_sincos" = x""yes; then :
22570 cat >>confdefs.h <<_ACEOF
22571 #define HAVE_SINCOS 1
22572 _ACEOF
22575 done
22577 else
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22580 $as_echo_n "checking for _sincos declaration... " >&6; }
22581 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22582 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22583 $as_echo_n "(cached) " >&6
22584 else
22587 ac_ext=cpp
22588 ac_cpp='$CXXCPP $CPPFLAGS'
22589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22595 #include <math.h>
22597 main ()
22599 _sincos(0, 0, 0);
22601 return 0;
22603 _ACEOF
22604 if ac_fn_cxx_try_compile "$LINENO"; then :
22605 glibcxx_cv_func__sincos_use=yes
22606 else
22607 glibcxx_cv_func__sincos_use=no
22609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22610 ac_ext=c
22611 ac_cpp='$CPP $CPPFLAGS'
22612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22621 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22623 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22624 for ac_func in _sincos
22625 do :
22626 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22627 if test "x$ac_cv_func__sincos" = x""yes; then :
22628 cat >>confdefs.h <<_ACEOF
22629 #define HAVE__SINCOS 1
22630 _ACEOF
22633 done
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22643 $as_echo_n "checking for fpclass declaration... " >&6; }
22644 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22645 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22646 $as_echo_n "(cached) " >&6
22647 else
22650 ac_ext=cpp
22651 ac_cpp='$CXXCPP $CPPFLAGS'
22652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22658 #include <math.h>
22659 #ifdef HAVE_IEEEFP_H
22660 #include <ieeefp.h>
22661 #endif
22664 main ()
22666 fpclass(0);
22668 return 0;
22670 _ACEOF
22671 if ac_fn_cxx_try_compile "$LINENO"; then :
22672 glibcxx_cv_func_fpclass_use=yes
22673 else
22674 glibcxx_cv_func_fpclass_use=no
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 ac_ext=c
22678 ac_cpp='$CPP $CPPFLAGS'
22679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22688 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22690 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22691 for ac_func in fpclass
22692 do :
22693 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22694 if test "x$ac_cv_func_fpclass" = x""yes; then :
22695 cat >>confdefs.h <<_ACEOF
22696 #define HAVE_FPCLASS 1
22697 _ACEOF
22700 done
22702 else
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22705 $as_echo_n "checking for _fpclass declaration... " >&6; }
22706 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22707 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22708 $as_echo_n "(cached) " >&6
22709 else
22712 ac_ext=cpp
22713 ac_cpp='$CXXCPP $CPPFLAGS'
22714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22720 #include <math.h>
22721 #ifdef HAVE_IEEEFP_H
22722 #include <ieeefp.h>
22723 #endif
22726 main ()
22728 _fpclass(0);
22730 return 0;
22732 _ACEOF
22733 if ac_fn_cxx_try_compile "$LINENO"; then :
22734 glibcxx_cv_func__fpclass_use=yes
22735 else
22736 glibcxx_cv_func__fpclass_use=no
22738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22739 ac_ext=c
22740 ac_cpp='$CPP $CPPFLAGS'
22741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22750 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22752 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22753 for ac_func in _fpclass
22754 do :
22755 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22756 if test "x$ac_cv_func__fpclass" = x""yes; then :
22757 cat >>confdefs.h <<_ACEOF
22758 #define HAVE__FPCLASS 1
22759 _ACEOF
22762 done
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22772 $as_echo_n "checking for qfpclass declaration... " >&6; }
22773 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22774 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22775 $as_echo_n "(cached) " >&6
22776 else
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22787 #include <math.h>
22788 #ifdef HAVE_IEEEFP_H
22789 #include <ieeefp.h>
22790 #endif
22793 main ()
22795 qfpclass(0);
22797 return 0;
22799 _ACEOF
22800 if ac_fn_cxx_try_compile "$LINENO"; then :
22801 glibcxx_cv_func_qfpclass_use=yes
22802 else
22803 glibcxx_cv_func_qfpclass_use=no
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 ac_ext=c
22807 ac_cpp='$CPP $CPPFLAGS'
22808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22817 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22819 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22820 for ac_func in qfpclass
22821 do :
22822 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22823 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22824 cat >>confdefs.h <<_ACEOF
22825 #define HAVE_QFPCLASS 1
22826 _ACEOF
22829 done
22831 else
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22834 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22835 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22836 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22841 ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h. */
22849 #include <math.h>
22850 #ifdef HAVE_IEEEFP_H
22851 #include <ieeefp.h>
22852 #endif
22855 main ()
22857 _qfpclass(0);
22859 return 0;
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__qfpclass_use=yes
22864 else
22865 glibcxx_cv_func__qfpclass_use=no
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22879 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22881 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22882 for ac_func in _qfpclass
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22885 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__QFPCLASS 1
22888 _ACEOF
22891 done
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22901 $as_echo_n "checking for hypot declaration... " >&6; }
22902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22904 $as_echo_n "(cached) " >&6
22905 else
22908 ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916 #include <math.h>
22918 main ()
22920 hypot(0, 0);
22922 return 0;
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926 glibcxx_cv_func_hypot_use=yes
22927 else
22928 glibcxx_cv_func_hypot_use=no
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931 ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22942 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22945 for ac_func in hypot
22946 do :
22947 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22948 if test "x$ac_cv_func_hypot" = x""yes; then :
22949 cat >>confdefs.h <<_ACEOF
22950 #define HAVE_HYPOT 1
22951 _ACEOF
22954 done
22956 else
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22959 $as_echo_n "checking for _hypot declaration... " >&6; }
22960 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22961 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22976 main ()
22978 _hypot(0, 0);
22980 return 0;
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func__hypot_use=yes
22985 else
22986 glibcxx_cv_func__hypot_use=no
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 ac_ext=c
22990 ac_cpp='$CPP $CPPFLAGS'
22991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23000 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23002 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23003 for ac_func in _hypot
23004 do :
23005 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23006 if test "x$ac_cv_func__hypot" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE__HYPOT 1
23009 _ACEOF
23012 done
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23022 $as_echo_n "checking for float trig functions... " >&6; }
23023 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23028 ac_ext=cpp
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23036 #include <math.h>
23038 main ()
23040 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23042 return 0;
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046 glibcxx_cv_func_float_trig_use=yes
23047 else
23048 glibcxx_cv_func_float_trig_use=no
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23060 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23061 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23062 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23063 do :
23064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23066 eval as_val=\$$as_ac_var
23067 if test "x$as_val" = x""yes; then :
23068 cat >>confdefs.h <<_ACEOF
23069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23070 _ACEOF
23073 done
23075 else
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23077 $as_echo_n "checking for _float trig functions... " >&6; }
23078 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23079 $as_echo_n "(cached) " >&6
23080 else
23083 ac_ext=cpp
23084 ac_cpp='$CXXCPP $CPPFLAGS'
23085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23090 /* end confdefs.h. */
23091 #include <math.h>
23093 main ()
23095 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23097 return 0;
23099 _ACEOF
23100 if ac_fn_cxx_try_compile "$LINENO"; then :
23101 glibcxx_cv_func__float_trig_use=yes
23102 else
23103 glibcxx_cv_func__float_trig_use=no
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 ac_ext=c
23107 ac_cpp='$CPP $CPPFLAGS'
23108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23115 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23116 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23117 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23118 do :
23119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23121 eval as_val=\$$as_ac_var
23122 if test "x$as_val" = x""yes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23125 _ACEOF
23128 done
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23138 $as_echo_n "checking for float round functions... " >&6; }
23139 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23144 ac_ext=cpp
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152 #include <math.h>
23154 main ()
23156 ceilf (0); floorf (0);
23158 return 0;
23160 _ACEOF
23161 if ac_fn_cxx_try_compile "$LINENO"; then :
23162 glibcxx_cv_func_float_round_use=yes
23163 else
23164 glibcxx_cv_func_float_round_use=no
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23176 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23177 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23178 for ac_func in ceilf floorf
23179 do :
23180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23182 eval as_val=\$$as_ac_var
23183 if test "x$as_val" = x""yes; then :
23184 cat >>confdefs.h <<_ACEOF
23185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23186 _ACEOF
23189 done
23191 else
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23193 $as_echo_n "checking for _float round functions... " >&6; }
23194 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23196 else
23199 ac_ext=cpp
23200 ac_cpp='$CXXCPP $CPPFLAGS'
23201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23207 #include <math.h>
23209 main ()
23211 _ceilf (0); _floorf (0);
23213 return 0;
23215 _ACEOF
23216 if ac_fn_cxx_try_compile "$LINENO"; then :
23217 glibcxx_cv_func__float_round_use=yes
23218 else
23219 glibcxx_cv_func__float_round_use=no
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23222 ac_ext=c
23223 ac_cpp='$CPP $CPPFLAGS'
23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23231 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23232 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23233 for ac_func in _ceilf _floorf
23234 do :
23235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23237 eval as_val=\$$as_ac_var
23238 if test "x$as_val" = x""yes; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23241 _ACEOF
23244 done
23254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23255 $as_echo_n "checking for expf declaration... " >&6; }
23256 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23257 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23259 else
23262 ac_ext=cpp
23263 ac_cpp='$CXXCPP $CPPFLAGS'
23264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23269 /* end confdefs.h. */
23270 #include <math.h>
23271 #ifdef HAVE_IEEEFP_H
23272 #include <ieeefp.h>
23273 #endif
23276 main ()
23278 expf(0);
23280 return 0;
23282 _ACEOF
23283 if ac_fn_cxx_try_compile "$LINENO"; then :
23284 glibcxx_cv_func_expf_use=yes
23285 else
23286 glibcxx_cv_func_expf_use=no
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 ac_ext=c
23290 ac_cpp='$CPP $CPPFLAGS'
23291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23300 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23302 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23303 for ac_func in expf
23304 do :
23305 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23306 if test "x$ac_cv_func_expf" = x""yes; then :
23307 cat >>confdefs.h <<_ACEOF
23308 #define HAVE_EXPF 1
23309 _ACEOF
23312 done
23314 else
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23317 $as_echo_n "checking for _expf declaration... " >&6; }
23318 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23319 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23321 else
23324 ac_ext=cpp
23325 ac_cpp='$CXXCPP $CPPFLAGS'
23326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332 #include <math.h>
23333 #ifdef HAVE_IEEEFP_H
23334 #include <ieeefp.h>
23335 #endif
23338 main ()
23340 _expf(0);
23342 return 0;
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func__expf_use=yes
23347 else
23348 glibcxx_cv_func__expf_use=no
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23362 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23364 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23365 for ac_func in _expf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23368 if test "x$ac_cv_func__expf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE__EXPF 1
23371 _ACEOF
23374 done
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23384 $as_echo_n "checking for isnanf declaration... " >&6; }
23385 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23386 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23400 #ifdef HAVE_IEEEFP_H
23401 #include <ieeefp.h>
23402 #endif
23405 main ()
23407 isnanf(0);
23409 return 0;
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413 glibcxx_cv_func_isnanf_use=yes
23414 else
23415 glibcxx_cv_func_isnanf_use=no
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23429 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23431 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23432 for ac_func in isnanf
23433 do :
23434 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23435 if test "x$ac_cv_func_isnanf" = x""yes; then :
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_ISNANF 1
23438 _ACEOF
23441 done
23443 else
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23446 $as_echo_n "checking for _isnanf declaration... " >&6; }
23447 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23448 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23467 main ()
23469 _isnanf(0);
23471 return 0;
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func__isnanf_use=yes
23476 else
23477 glibcxx_cv_func__isnanf_use=no
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23491 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23493 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23494 for ac_func in _isnanf
23495 do :
23496 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23497 if test "x$ac_cv_func__isnanf" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE__ISNANF 1
23500 _ACEOF
23503 done
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23513 $as_echo_n "checking for isinff declaration... " >&6; }
23514 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23515 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23534 main ()
23536 isinff(0);
23538 return 0;
23540 _ACEOF
23541 if ac_fn_cxx_try_compile "$LINENO"; then :
23542 glibcxx_cv_func_isinff_use=yes
23543 else
23544 glibcxx_cv_func_isinff_use=no
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23558 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23560 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23561 for ac_func in isinff
23562 do :
23563 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23564 if test "x$ac_cv_func_isinff" = x""yes; then :
23565 cat >>confdefs.h <<_ACEOF
23566 #define HAVE_ISINFF 1
23567 _ACEOF
23570 done
23572 else
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23575 $as_echo_n "checking for _isinff declaration... " >&6; }
23576 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23577 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23579 else
23582 ac_ext=cpp
23583 ac_cpp='$CXXCPP $CPPFLAGS'
23584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h. */
23590 #include <math.h>
23591 #ifdef HAVE_IEEEFP_H
23592 #include <ieeefp.h>
23593 #endif
23596 main ()
23598 _isinff(0);
23600 return 0;
23602 _ACEOF
23603 if ac_fn_cxx_try_compile "$LINENO"; then :
23604 glibcxx_cv_func__isinff_use=yes
23605 else
23606 glibcxx_cv_func__isinff_use=no
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 ac_ext=c
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23620 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23622 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23623 for ac_func in _isinff
23624 do :
23625 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23626 if test "x$ac_cv_func__isinff" = x""yes; then :
23627 cat >>confdefs.h <<_ACEOF
23628 #define HAVE__ISINFF 1
23629 _ACEOF
23632 done
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23642 $as_echo_n "checking for atan2f declaration... " >&6; }
23643 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23644 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23645 $as_echo_n "(cached) " >&6
23646 else
23649 ac_ext=cpp
23650 ac_cpp='$CXXCPP $CPPFLAGS'
23651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23656 /* end confdefs.h. */
23657 #include <math.h>
23659 main ()
23661 atan2f(0, 0);
23663 return 0;
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func_atan2f_use=yes
23668 else
23669 glibcxx_cv_func_atan2f_use=no
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23683 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23685 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23686 for ac_func in atan2f
23687 do :
23688 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23689 if test "x$ac_cv_func_atan2f" = x""yes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ATAN2F 1
23692 _ACEOF
23695 done
23697 else
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23700 $as_echo_n "checking for _atan2f declaration... " >&6; }
23701 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23702 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23717 main ()
23719 _atan2f(0, 0);
23721 return 0;
23723 _ACEOF
23724 if ac_fn_cxx_try_compile "$LINENO"; then :
23725 glibcxx_cv_func__atan2f_use=yes
23726 else
23727 glibcxx_cv_func__atan2f_use=no
23729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23730 ac_ext=c
23731 ac_cpp='$CPP $CPPFLAGS'
23732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23741 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23743 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23744 for ac_func in _atan2f
23745 do :
23746 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23747 if test "x$ac_cv_func__atan2f" = x""yes; then :
23748 cat >>confdefs.h <<_ACEOF
23749 #define HAVE__ATAN2F 1
23750 _ACEOF
23753 done
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23763 $as_echo_n "checking for fabsf declaration... " >&6; }
23764 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23765 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23766 $as_echo_n "(cached) " >&6
23767 else
23770 ac_ext=cpp
23771 ac_cpp='$CXXCPP $CPPFLAGS'
23772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23777 /* end confdefs.h. */
23778 #include <math.h>
23779 #ifdef HAVE_IEEEFP_H
23780 #include <ieeefp.h>
23781 #endif
23784 main ()
23786 fabsf(0);
23788 return 0;
23790 _ACEOF
23791 if ac_fn_cxx_try_compile "$LINENO"; then :
23792 glibcxx_cv_func_fabsf_use=yes
23793 else
23794 glibcxx_cv_func_fabsf_use=no
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23808 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23810 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23811 for ac_func in fabsf
23812 do :
23813 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23814 if test "x$ac_cv_func_fabsf" = x""yes; then :
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE_FABSF 1
23817 _ACEOF
23820 done
23822 else
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23825 $as_echo_n "checking for _fabsf declaration... " >&6; }
23826 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23827 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23829 else
23832 ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h. */
23840 #include <math.h>
23841 #ifdef HAVE_IEEEFP_H
23842 #include <ieeefp.h>
23843 #endif
23846 main ()
23848 _fabsf(0);
23850 return 0;
23852 _ACEOF
23853 if ac_fn_cxx_try_compile "$LINENO"; then :
23854 glibcxx_cv_func__fabsf_use=yes
23855 else
23856 glibcxx_cv_func__fabsf_use=no
23858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23859 ac_ext=c
23860 ac_cpp='$CPP $CPPFLAGS'
23861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23870 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23872 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23873 for ac_func in _fabsf
23874 do :
23875 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23876 if test "x$ac_cv_func__fabsf" = x""yes; then :
23877 cat >>confdefs.h <<_ACEOF
23878 #define HAVE__FABSF 1
23879 _ACEOF
23882 done
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23892 $as_echo_n "checking for fmodf declaration... " >&6; }
23893 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23894 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23895 $as_echo_n "(cached) " >&6
23896 else
23899 ac_ext=cpp
23900 ac_cpp='$CXXCPP $CPPFLAGS'
23901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23906 /* end confdefs.h. */
23907 #include <math.h>
23909 main ()
23911 fmodf(0, 0);
23913 return 0;
23915 _ACEOF
23916 if ac_fn_cxx_try_compile "$LINENO"; then :
23917 glibcxx_cv_func_fmodf_use=yes
23918 else
23919 glibcxx_cv_func_fmodf_use=no
23921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23922 ac_ext=c
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23933 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23935 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23936 for ac_func in fmodf
23937 do :
23938 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23939 if test "x$ac_cv_func_fmodf" = x""yes; then :
23940 cat >>confdefs.h <<_ACEOF
23941 #define HAVE_FMODF 1
23942 _ACEOF
23945 done
23947 else
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23950 $as_echo_n "checking for _fmodf declaration... " >&6; }
23951 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23952 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23954 else
23957 ac_ext=cpp
23958 ac_cpp='$CXXCPP $CPPFLAGS'
23959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23965 #include <math.h>
23967 main ()
23969 _fmodf(0, 0);
23971 return 0;
23973 _ACEOF
23974 if ac_fn_cxx_try_compile "$LINENO"; then :
23975 glibcxx_cv_func__fmodf_use=yes
23976 else
23977 glibcxx_cv_func__fmodf_use=no
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23991 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23993 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23994 for ac_func in _fmodf
23995 do :
23996 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23997 if test "x$ac_cv_func__fmodf" = x""yes; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE__FMODF 1
24000 _ACEOF
24003 done
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24013 $as_echo_n "checking for frexpf declaration... " >&6; }
24014 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24015 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24016 $as_echo_n "(cached) " >&6
24017 else
24020 ac_ext=cpp
24021 ac_cpp='$CXXCPP $CPPFLAGS'
24022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24028 #include <math.h>
24030 main ()
24032 frexpf(0, 0);
24034 return 0;
24036 _ACEOF
24037 if ac_fn_cxx_try_compile "$LINENO"; then :
24038 glibcxx_cv_func_frexpf_use=yes
24039 else
24040 glibcxx_cv_func_frexpf_use=no
24042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24043 ac_ext=c
24044 ac_cpp='$CPP $CPPFLAGS'
24045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24054 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24056 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24057 for ac_func in frexpf
24058 do :
24059 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24060 if test "x$ac_cv_func_frexpf" = x""yes; then :
24061 cat >>confdefs.h <<_ACEOF
24062 #define HAVE_FREXPF 1
24063 _ACEOF
24066 done
24068 else
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24071 $as_echo_n "checking for _frexpf declaration... " >&6; }
24072 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24073 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24075 else
24078 ac_ext=cpp
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24086 #include <math.h>
24088 main ()
24090 _frexpf(0, 0);
24092 return 0;
24094 _ACEOF
24095 if ac_fn_cxx_try_compile "$LINENO"; then :
24096 glibcxx_cv_func__frexpf_use=yes
24097 else
24098 glibcxx_cv_func__frexpf_use=no
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 ac_ext=c
24102 ac_cpp='$CPP $CPPFLAGS'
24103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24112 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24114 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24115 for ac_func in _frexpf
24116 do :
24117 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24118 if test "x$ac_cv_func__frexpf" = x""yes; then :
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE__FREXPF 1
24121 _ACEOF
24124 done
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24134 $as_echo_n "checking for hypotf declaration... " >&6; }
24135 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24136 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24137 $as_echo_n "(cached) " >&6
24138 else
24141 ac_ext=cpp
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24148 /* end confdefs.h. */
24149 #include <math.h>
24151 main ()
24153 hypotf(0, 0);
24155 return 0;
24157 _ACEOF
24158 if ac_fn_cxx_try_compile "$LINENO"; then :
24159 glibcxx_cv_func_hypotf_use=yes
24160 else
24161 glibcxx_cv_func_hypotf_use=no
24163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 ac_ext=c
24165 ac_cpp='$CPP $CPPFLAGS'
24166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24175 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24177 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24178 for ac_func in hypotf
24179 do :
24180 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24181 if test "x$ac_cv_func_hypotf" = x""yes; then :
24182 cat >>confdefs.h <<_ACEOF
24183 #define HAVE_HYPOTF 1
24184 _ACEOF
24187 done
24189 else
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24192 $as_echo_n "checking for _hypotf declaration... " >&6; }
24193 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24194 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24195 $as_echo_n "(cached) " >&6
24196 else
24199 ac_ext=cpp
24200 ac_cpp='$CXXCPP $CPPFLAGS'
24201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24206 /* end confdefs.h. */
24207 #include <math.h>
24209 main ()
24211 _hypotf(0, 0);
24213 return 0;
24215 _ACEOF
24216 if ac_fn_cxx_try_compile "$LINENO"; then :
24217 glibcxx_cv_func__hypotf_use=yes
24218 else
24219 glibcxx_cv_func__hypotf_use=no
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24233 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24235 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24236 for ac_func in _hypotf
24237 do :
24238 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24239 if test "x$ac_cv_func__hypotf" = x""yes; then :
24240 cat >>confdefs.h <<_ACEOF
24241 #define HAVE__HYPOTF 1
24242 _ACEOF
24245 done
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24255 $as_echo_n "checking for ldexpf declaration... " >&6; }
24256 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24257 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24259 else
24262 ac_ext=cpp
24263 ac_cpp='$CXXCPP $CPPFLAGS'
24264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269 /* end confdefs.h. */
24270 #include <math.h>
24272 main ()
24274 ldexpf(0, 0);
24276 return 0;
24278 _ACEOF
24279 if ac_fn_cxx_try_compile "$LINENO"; then :
24280 glibcxx_cv_func_ldexpf_use=yes
24281 else
24282 glibcxx_cv_func_ldexpf_use=no
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285 ac_ext=c
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24296 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24298 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24299 for ac_func in ldexpf
24300 do :
24301 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24302 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24303 cat >>confdefs.h <<_ACEOF
24304 #define HAVE_LDEXPF 1
24305 _ACEOF
24308 done
24310 else
24312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24313 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24314 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24315 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24320 ac_ext=cpp
24321 ac_cpp='$CXXCPP $CPPFLAGS'
24322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24327 /* end confdefs.h. */
24328 #include <math.h>
24330 main ()
24332 _ldexpf(0, 0);
24334 return 0;
24336 _ACEOF
24337 if ac_fn_cxx_try_compile "$LINENO"; then :
24338 glibcxx_cv_func__ldexpf_use=yes
24339 else
24340 glibcxx_cv_func__ldexpf_use=no
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 ac_ext=c
24344 ac_cpp='$CPP $CPPFLAGS'
24345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24354 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24356 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24357 for ac_func in _ldexpf
24358 do :
24359 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24360 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24361 cat >>confdefs.h <<_ACEOF
24362 #define HAVE__LDEXPF 1
24363 _ACEOF
24366 done
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24376 $as_echo_n "checking for logf declaration... " >&6; }
24377 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24378 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24383 ac_ext=cpp
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <math.h>
24392 #ifdef HAVE_IEEEFP_H
24393 #include <ieeefp.h>
24394 #endif
24397 main ()
24399 logf(0);
24401 return 0;
24403 _ACEOF
24404 if ac_fn_cxx_try_compile "$LINENO"; then :
24405 glibcxx_cv_func_logf_use=yes
24406 else
24407 glibcxx_cv_func_logf_use=no
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ac_ext=c
24411 ac_cpp='$CPP $CPPFLAGS'
24412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24421 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24423 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24424 for ac_func in logf
24425 do :
24426 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24427 if test "x$ac_cv_func_logf" = x""yes; then :
24428 cat >>confdefs.h <<_ACEOF
24429 #define HAVE_LOGF 1
24430 _ACEOF
24433 done
24435 else
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24438 $as_echo_n "checking for _logf declaration... " >&6; }
24439 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24440 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24441 $as_echo_n "(cached) " >&6
24442 else
24445 ac_ext=cpp
24446 ac_cpp='$CXXCPP $CPPFLAGS'
24447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24453 #include <math.h>
24454 #ifdef HAVE_IEEEFP_H
24455 #include <ieeefp.h>
24456 #endif
24459 main ()
24461 _logf(0);
24463 return 0;
24465 _ACEOF
24466 if ac_fn_cxx_try_compile "$LINENO"; then :
24467 glibcxx_cv_func__logf_use=yes
24468 else
24469 glibcxx_cv_func__logf_use=no
24471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24472 ac_ext=c
24473 ac_cpp='$CPP $CPPFLAGS'
24474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24483 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24485 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24486 for ac_func in _logf
24487 do :
24488 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24489 if test "x$ac_cv_func__logf" = x""yes; then :
24490 cat >>confdefs.h <<_ACEOF
24491 #define HAVE__LOGF 1
24492 _ACEOF
24495 done
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24505 $as_echo_n "checking for log10f declaration... " >&6; }
24506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24507 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24508 $as_echo_n "(cached) " >&6
24509 else
24512 ac_ext=cpp
24513 ac_cpp='$CXXCPP $CPPFLAGS'
24514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24520 #include <math.h>
24521 #ifdef HAVE_IEEEFP_H
24522 #include <ieeefp.h>
24523 #endif
24526 main ()
24528 log10f(0);
24530 return 0;
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_log10f_use=yes
24535 else
24536 glibcxx_cv_func_log10f_use=no
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24550 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24552 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24553 for ac_func in log10f
24554 do :
24555 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24556 if test "x$ac_cv_func_log10f" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LOG10F 1
24559 _ACEOF
24562 done
24564 else
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24567 $as_echo_n "checking for _log10f declaration... " >&6; }
24568 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24569 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24583 #ifdef HAVE_IEEEFP_H
24584 #include <ieeefp.h>
24585 #endif
24588 main ()
24590 _log10f(0);
24592 return 0;
24594 _ACEOF
24595 if ac_fn_cxx_try_compile "$LINENO"; then :
24596 glibcxx_cv_func__log10f_use=yes
24597 else
24598 glibcxx_cv_func__log10f_use=no
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 ac_ext=c
24602 ac_cpp='$CPP $CPPFLAGS'
24603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24612 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24614 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24615 for ac_func in _log10f
24616 do :
24617 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24618 if test "x$ac_cv_func__log10f" = x""yes; then :
24619 cat >>confdefs.h <<_ACEOF
24620 #define HAVE__LOG10F 1
24621 _ACEOF
24624 done
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24634 $as_echo_n "checking for modff declaration... " >&6; }
24635 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24636 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24637 $as_echo_n "(cached) " >&6
24638 else
24641 ac_ext=cpp
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h. */
24649 #include <math.h>
24651 main ()
24653 modff(0, 0);
24655 return 0;
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_modff_use=yes
24660 else
24661 glibcxx_cv_func_modff_use=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24675 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24677 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24678 for ac_func in modff
24679 do :
24680 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24681 if test "x$ac_cv_func_modff" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_MODFF 1
24684 _ACEOF
24687 done
24689 else
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24692 $as_echo_n "checking for _modff declaration... " >&6; }
24693 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24694 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24709 main ()
24711 _modff(0, 0);
24713 return 0;
24715 _ACEOF
24716 if ac_fn_cxx_try_compile "$LINENO"; then :
24717 glibcxx_cv_func__modff_use=yes
24718 else
24719 glibcxx_cv_func__modff_use=no
24721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722 ac_ext=c
24723 ac_cpp='$CPP $CPPFLAGS'
24724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24733 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24735 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24736 for ac_func in _modff
24737 do :
24738 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24739 if test "x$ac_cv_func__modff" = x""yes; then :
24740 cat >>confdefs.h <<_ACEOF
24741 #define HAVE__MODFF 1
24742 _ACEOF
24745 done
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24755 $as_echo_n "checking for modf declaration... " >&6; }
24756 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24757 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24772 main ()
24774 modf(0, 0);
24776 return 0;
24778 _ACEOF
24779 if ac_fn_cxx_try_compile "$LINENO"; then :
24780 glibcxx_cv_func_modf_use=yes
24781 else
24782 glibcxx_cv_func_modf_use=no
24784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24785 ac_ext=c
24786 ac_cpp='$CPP $CPPFLAGS'
24787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24796 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24798 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24799 for ac_func in modf
24800 do :
24801 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24802 if test "x$ac_cv_func_modf" = x""yes; then :
24803 cat >>confdefs.h <<_ACEOF
24804 #define HAVE_MODF 1
24805 _ACEOF
24808 done
24810 else
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24813 $as_echo_n "checking for _modf declaration... " >&6; }
24814 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24815 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24816 $as_echo_n "(cached) " >&6
24817 else
24820 ac_ext=cpp
24821 ac_cpp='$CXXCPP $CPPFLAGS'
24822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24828 #include <math.h>
24830 main ()
24832 _modf(0, 0);
24834 return 0;
24836 _ACEOF
24837 if ac_fn_cxx_try_compile "$LINENO"; then :
24838 glibcxx_cv_func__modf_use=yes
24839 else
24840 glibcxx_cv_func__modf_use=no
24842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24843 ac_ext=c
24844 ac_cpp='$CPP $CPPFLAGS'
24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24854 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24856 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24857 for ac_func in _modf
24858 do :
24859 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24860 if test "x$ac_cv_func__modf" = x""yes; then :
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE__MODF 1
24863 _ACEOF
24866 done
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24876 $as_echo_n "checking for powf declaration... " >&6; }
24877 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24878 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24879 $as_echo_n "(cached) " >&6
24880 else
24883 ac_ext=cpp
24884 ac_cpp='$CXXCPP $CPPFLAGS'
24885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24891 #include <math.h>
24893 main ()
24895 powf(0, 0);
24897 return 0;
24899 _ACEOF
24900 if ac_fn_cxx_try_compile "$LINENO"; then :
24901 glibcxx_cv_func_powf_use=yes
24902 else
24903 glibcxx_cv_func_powf_use=no
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906 ac_ext=c
24907 ac_cpp='$CPP $CPPFLAGS'
24908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24917 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24919 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24920 for ac_func in powf
24921 do :
24922 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24923 if test "x$ac_cv_func_powf" = x""yes; then :
24924 cat >>confdefs.h <<_ACEOF
24925 #define HAVE_POWF 1
24926 _ACEOF
24929 done
24931 else
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24934 $as_echo_n "checking for _powf declaration... " >&6; }
24935 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24936 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24937 $as_echo_n "(cached) " >&6
24938 else
24941 ac_ext=cpp
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24949 #include <math.h>
24951 main ()
24953 _powf(0, 0);
24955 return 0;
24957 _ACEOF
24958 if ac_fn_cxx_try_compile "$LINENO"; then :
24959 glibcxx_cv_func__powf_use=yes
24960 else
24961 glibcxx_cv_func__powf_use=no
24963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 ac_ext=c
24965 ac_cpp='$CPP $CPPFLAGS'
24966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24975 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24977 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24978 for ac_func in _powf
24979 do :
24980 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24981 if test "x$ac_cv_func__powf" = x""yes; then :
24982 cat >>confdefs.h <<_ACEOF
24983 #define HAVE__POWF 1
24984 _ACEOF
24987 done
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24997 $as_echo_n "checking for sqrtf declaration... " >&6; }
24998 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24999 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25000 $as_echo_n "(cached) " >&6
25001 else
25004 ac_ext=cpp
25005 ac_cpp='$CXXCPP $CPPFLAGS'
25006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25011 /* end confdefs.h. */
25012 #include <math.h>
25013 #ifdef HAVE_IEEEFP_H
25014 #include <ieeefp.h>
25015 #endif
25018 main ()
25020 sqrtf(0);
25022 return 0;
25024 _ACEOF
25025 if ac_fn_cxx_try_compile "$LINENO"; then :
25026 glibcxx_cv_func_sqrtf_use=yes
25027 else
25028 glibcxx_cv_func_sqrtf_use=no
25030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031 ac_ext=c
25032 ac_cpp='$CPP $CPPFLAGS'
25033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25042 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25044 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25045 for ac_func in sqrtf
25046 do :
25047 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25048 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25049 cat >>confdefs.h <<_ACEOF
25050 #define HAVE_SQRTF 1
25051 _ACEOF
25054 done
25056 else
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25059 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25060 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25061 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25062 $as_echo_n "(cached) " >&6
25063 else
25066 ac_ext=cpp
25067 ac_cpp='$CXXCPP $CPPFLAGS'
25068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25074 #include <math.h>
25075 #ifdef HAVE_IEEEFP_H
25076 #include <ieeefp.h>
25077 #endif
25080 main ()
25082 _sqrtf(0);
25084 return 0;
25086 _ACEOF
25087 if ac_fn_cxx_try_compile "$LINENO"; then :
25088 glibcxx_cv_func__sqrtf_use=yes
25089 else
25090 glibcxx_cv_func__sqrtf_use=no
25092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25104 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25106 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25107 for ac_func in _sqrtf
25108 do :
25109 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25110 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25111 cat >>confdefs.h <<_ACEOF
25112 #define HAVE__SQRTF 1
25113 _ACEOF
25116 done
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25126 $as_echo_n "checking for sincosf declaration... " >&6; }
25127 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25128 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25133 ac_ext=cpp
25134 ac_cpp='$CXXCPP $CPPFLAGS'
25135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25141 #include <math.h>
25143 main ()
25145 sincosf(0, 0, 0);
25147 return 0;
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func_sincosf_use=yes
25152 else
25153 glibcxx_cv_func_sincosf_use=no
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25167 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25169 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25170 for ac_func in sincosf
25171 do :
25172 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25173 if test "x$ac_cv_func_sincosf" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE_SINCOSF 1
25176 _ACEOF
25179 done
25181 else
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25184 $as_echo_n "checking for _sincosf declaration... " >&6; }
25185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25187 $as_echo_n "(cached) " >&6
25188 else
25191 ac_ext=cpp
25192 ac_cpp='$CXXCPP $CPPFLAGS'
25193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25198 /* end confdefs.h. */
25199 #include <math.h>
25201 main ()
25203 _sincosf(0, 0, 0);
25205 return 0;
25207 _ACEOF
25208 if ac_fn_cxx_try_compile "$LINENO"; then :
25209 glibcxx_cv_func__sincosf_use=yes
25210 else
25211 glibcxx_cv_func__sincosf_use=no
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25214 ac_ext=c
25215 ac_cpp='$CPP $CPPFLAGS'
25216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25225 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25227 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25228 for ac_func in _sincosf
25229 do :
25230 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25231 if test "x$ac_cv_func__sincosf" = x""yes; then :
25232 cat >>confdefs.h <<_ACEOF
25233 #define HAVE__SINCOSF 1
25234 _ACEOF
25237 done
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25247 $as_echo_n "checking for finitef declaration... " >&6; }
25248 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25249 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25263 #ifdef HAVE_IEEEFP_H
25264 #include <ieeefp.h>
25265 #endif
25268 main ()
25270 finitef(0);
25272 return 0;
25274 _ACEOF
25275 if ac_fn_cxx_try_compile "$LINENO"; then :
25276 glibcxx_cv_func_finitef_use=yes
25277 else
25278 glibcxx_cv_func_finitef_use=no
25280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25281 ac_ext=c
25282 ac_cpp='$CPP $CPPFLAGS'
25283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25292 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25294 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25295 for ac_func in finitef
25296 do :
25297 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25298 if test "x$ac_cv_func_finitef" = x""yes; then :
25299 cat >>confdefs.h <<_ACEOF
25300 #define HAVE_FINITEF 1
25301 _ACEOF
25304 done
25306 else
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25309 $as_echo_n "checking for _finitef declaration... " >&6; }
25310 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25311 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25312 $as_echo_n "(cached) " >&6
25313 else
25316 ac_ext=cpp
25317 ac_cpp='$CXXCPP $CPPFLAGS'
25318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25323 /* end confdefs.h. */
25324 #include <math.h>
25325 #ifdef HAVE_IEEEFP_H
25326 #include <ieeefp.h>
25327 #endif
25330 main ()
25332 _finitef(0);
25334 return 0;
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func__finitef_use=yes
25339 else
25340 glibcxx_cv_func__finitef_use=no
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25354 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25356 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25357 for ac_func in _finitef
25358 do :
25359 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25360 if test "x$ac_cv_func__finitef" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE__FINITEF 1
25363 _ACEOF
25366 done
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25376 $as_echo_n "checking for long double trig functions... " >&6; }
25377 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25382 ac_ext=cpp
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390 #include <math.h>
25392 main ()
25394 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25396 return 0;
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400 glibcxx_cv_func_long_double_trig_use=yes
25401 else
25402 glibcxx_cv_func_long_double_trig_use=no
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25414 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25415 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25416 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25417 do :
25418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25420 eval as_val=\$$as_ac_var
25421 if test "x$as_val" = x""yes; then :
25422 cat >>confdefs.h <<_ACEOF
25423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25424 _ACEOF
25427 done
25429 else
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25431 $as_echo_n "checking for _long double trig functions... " >&6; }
25432 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25433 $as_echo_n "(cached) " >&6
25434 else
25437 ac_ext=cpp
25438 ac_cpp='$CXXCPP $CPPFLAGS'
25439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h. */
25445 #include <math.h>
25447 main ()
25449 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25451 return 0;
25453 _ACEOF
25454 if ac_fn_cxx_try_compile "$LINENO"; then :
25455 glibcxx_cv_func__long_double_trig_use=yes
25456 else
25457 glibcxx_cv_func__long_double_trig_use=no
25459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25460 ac_ext=c
25461 ac_cpp='$CPP $CPPFLAGS'
25462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25469 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25470 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25471 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25472 do :
25473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25475 eval as_val=\$$as_ac_var
25476 if test "x$as_val" = x""yes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25479 _ACEOF
25482 done
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25492 $as_echo_n "checking for long double round functions... " >&6; }
25493 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25494 $as_echo_n "(cached) " >&6
25495 else
25498 ac_ext=cpp
25499 ac_cpp='$CXXCPP $CPPFLAGS'
25500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 #include <math.h>
25508 main ()
25510 ceill (0); floorl (0);
25512 return 0;
25514 _ACEOF
25515 if ac_fn_cxx_try_compile "$LINENO"; then :
25516 glibcxx_cv_func_long_double_round_use=yes
25517 else
25518 glibcxx_cv_func_long_double_round_use=no
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25530 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25531 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25532 for ac_func in ceill floorl
25533 do :
25534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25536 eval as_val=\$$as_ac_var
25537 if test "x$as_val" = x""yes; then :
25538 cat >>confdefs.h <<_ACEOF
25539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25540 _ACEOF
25543 done
25545 else
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25547 $as_echo_n "checking for _long double round functions... " >&6; }
25548 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25549 $as_echo_n "(cached) " >&6
25550 else
25553 ac_ext=cpp
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25561 #include <math.h>
25563 main ()
25565 _ceill (0); _floorl (0);
25567 return 0;
25569 _ACEOF
25570 if ac_fn_cxx_try_compile "$LINENO"; then :
25571 glibcxx_cv_func__long_double_round_use=yes
25572 else
25573 glibcxx_cv_func__long_double_round_use=no
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576 ac_ext=c
25577 ac_cpp='$CPP $CPPFLAGS'
25578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25585 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25586 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25587 for ac_func in _ceill _floorl
25588 do :
25589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25591 eval as_val=\$$as_ac_var
25592 if test "x$as_val" = x""yes; then :
25593 cat >>confdefs.h <<_ACEOF
25594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25595 _ACEOF
25598 done
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25609 $as_echo_n "checking for isnanl declaration... " >&6; }
25610 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25611 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25612 $as_echo_n "(cached) " >&6
25613 else
25616 ac_ext=cpp
25617 ac_cpp='$CXXCPP $CPPFLAGS'
25618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25623 /* end confdefs.h. */
25624 #include <math.h>
25625 #ifdef HAVE_IEEEFP_H
25626 #include <ieeefp.h>
25627 #endif
25630 main ()
25632 isnanl(0);
25634 return 0;
25636 _ACEOF
25637 if ac_fn_cxx_try_compile "$LINENO"; then :
25638 glibcxx_cv_func_isnanl_use=yes
25639 else
25640 glibcxx_cv_func_isnanl_use=no
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643 ac_ext=c
25644 ac_cpp='$CPP $CPPFLAGS'
25645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25654 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25657 for ac_func in isnanl
25658 do :
25659 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25660 if test "x$ac_cv_func_isnanl" = x""yes; then :
25661 cat >>confdefs.h <<_ACEOF
25662 #define HAVE_ISNANL 1
25663 _ACEOF
25666 done
25668 else
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25671 $as_echo_n "checking for _isnanl declaration... " >&6; }
25672 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25673 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25674 $as_echo_n "(cached) " >&6
25675 else
25678 ac_ext=cpp
25679 ac_cpp='$CXXCPP $CPPFLAGS'
25680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25685 /* end confdefs.h. */
25686 #include <math.h>
25687 #ifdef HAVE_IEEEFP_H
25688 #include <ieeefp.h>
25689 #endif
25692 main ()
25694 _isnanl(0);
25696 return 0;
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func__isnanl_use=yes
25701 else
25702 glibcxx_cv_func__isnanl_use=no
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25716 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25718 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25719 for ac_func in _isnanl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25722 if test "x$ac_cv_func__isnanl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE__ISNANL 1
25725 _ACEOF
25728 done
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25738 $as_echo_n "checking for isinfl declaration... " >&6; }
25739 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25740 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25759 main ()
25761 isinfl(0);
25763 return 0;
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func_isinfl_use=yes
25768 else
25769 glibcxx_cv_func_isinfl_use=no
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25783 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25785 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25786 for ac_func in isinfl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25789 if test "x$ac_cv_func_isinfl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE_ISINFL 1
25792 _ACEOF
25795 done
25797 else
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25800 $as_echo_n "checking for _isinfl declaration... " >&6; }
25801 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25802 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25821 main ()
25823 _isinfl(0);
25825 return 0;
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func__isinfl_use=yes
25830 else
25831 glibcxx_cv_func__isinfl_use=no
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25845 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25847 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25848 for ac_func in _isinfl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25851 if test "x$ac_cv_func__isinfl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE__ISINFL 1
25854 _ACEOF
25857 done
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25867 $as_echo_n "checking for atan2l declaration... " >&6; }
25868 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25869 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25884 main ()
25886 atan2l(0, 0);
25888 return 0;
25890 _ACEOF
25891 if ac_fn_cxx_try_compile "$LINENO"; then :
25892 glibcxx_cv_func_atan2l_use=yes
25893 else
25894 glibcxx_cv_func_atan2l_use=no
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 ac_ext=c
25898 ac_cpp='$CPP $CPPFLAGS'
25899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25908 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25911 for ac_func in atan2l
25912 do :
25913 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25914 if test "x$ac_cv_func_atan2l" = x""yes; then :
25915 cat >>confdefs.h <<_ACEOF
25916 #define HAVE_ATAN2L 1
25917 _ACEOF
25920 done
25922 else
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25925 $as_echo_n "checking for _atan2l declaration... " >&6; }
25926 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25927 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25942 main ()
25944 _atan2l(0, 0);
25946 return 0;
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__atan2l_use=yes
25951 else
25952 glibcxx_cv_func__atan2l_use=no
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25966 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25968 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25969 for ac_func in _atan2l
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25972 if test "x$ac_cv_func__atan2l" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__ATAN2L 1
25975 _ACEOF
25978 done
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25988 $as_echo_n "checking for expl declaration... " >&6; }
25989 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25990 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26009 main ()
26011 expl(0);
26013 return 0;
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_expl_use=yes
26018 else
26019 glibcxx_cv_func_expl_use=no
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26033 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26035 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26036 for ac_func in expl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26039 if test "x$ac_cv_func_expl" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_EXPL 1
26042 _ACEOF
26045 done
26047 else
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26050 $as_echo_n "checking for _expl declaration... " >&6; }
26051 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26052 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26071 main ()
26073 _expl(0);
26075 return 0;
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__expl_use=yes
26080 else
26081 glibcxx_cv_func__expl_use=no
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26095 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26097 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26098 for ac_func in _expl
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26101 if test "x$ac_cv_func__expl" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__EXPL 1
26104 _ACEOF
26107 done
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26117 $as_echo_n "checking for fabsl declaration... " >&6; }
26118 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26119 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26124 ac_ext=cpp
26125 ac_cpp='$CXXCPP $CPPFLAGS'
26126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h. */
26132 #include <math.h>
26133 #ifdef HAVE_IEEEFP_H
26134 #include <ieeefp.h>
26135 #endif
26138 main ()
26140 fabsl(0);
26142 return 0;
26144 _ACEOF
26145 if ac_fn_cxx_try_compile "$LINENO"; then :
26146 glibcxx_cv_func_fabsl_use=yes
26147 else
26148 glibcxx_cv_func_fabsl_use=no
26150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26151 ac_ext=c
26152 ac_cpp='$CPP $CPPFLAGS'
26153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26162 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26164 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26165 for ac_func in fabsl
26166 do :
26167 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26168 if test "x$ac_cv_func_fabsl" = x""yes; then :
26169 cat >>confdefs.h <<_ACEOF
26170 #define HAVE_FABSL 1
26171 _ACEOF
26174 done
26176 else
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26179 $as_echo_n "checking for _fabsl declaration... " >&6; }
26180 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26181 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26182 $as_echo_n "(cached) " >&6
26183 else
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 #ifdef HAVE_IEEEFP_H
26196 #include <ieeefp.h>
26197 #endif
26200 main ()
26202 _fabsl(0);
26204 return 0;
26206 _ACEOF
26207 if ac_fn_cxx_try_compile "$LINENO"; then :
26208 glibcxx_cv_func__fabsl_use=yes
26209 else
26210 glibcxx_cv_func__fabsl_use=no
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26224 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26226 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26227 for ac_func in _fabsl
26228 do :
26229 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26230 if test "x$ac_cv_func__fabsl" = x""yes; then :
26231 cat >>confdefs.h <<_ACEOF
26232 #define HAVE__FABSL 1
26233 _ACEOF
26236 done
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26246 $as_echo_n "checking for fmodl declaration... " >&6; }
26247 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26248 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26249 $as_echo_n "(cached) " >&6
26250 else
26253 ac_ext=cpp
26254 ac_cpp='$CXXCPP $CPPFLAGS'
26255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26260 /* end confdefs.h. */
26261 #include <math.h>
26263 main ()
26265 fmodl(0, 0);
26267 return 0;
26269 _ACEOF
26270 if ac_fn_cxx_try_compile "$LINENO"; then :
26271 glibcxx_cv_func_fmodl_use=yes
26272 else
26273 glibcxx_cv_func_fmodl_use=no
26275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26276 ac_ext=c
26277 ac_cpp='$CPP $CPPFLAGS'
26278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26287 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26289 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26290 for ac_func in fmodl
26291 do :
26292 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26293 if test "x$ac_cv_func_fmodl" = x""yes; then :
26294 cat >>confdefs.h <<_ACEOF
26295 #define HAVE_FMODL 1
26296 _ACEOF
26299 done
26301 else
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26304 $as_echo_n "checking for _fmodl declaration... " >&6; }
26305 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26306 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26307 $as_echo_n "(cached) " >&6
26308 else
26311 ac_ext=cpp
26312 ac_cpp='$CXXCPP $CPPFLAGS'
26313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319 #include <math.h>
26321 main ()
26323 _fmodl(0, 0);
26325 return 0;
26327 _ACEOF
26328 if ac_fn_cxx_try_compile "$LINENO"; then :
26329 glibcxx_cv_func__fmodl_use=yes
26330 else
26331 glibcxx_cv_func__fmodl_use=no
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 ac_ext=c
26335 ac_cpp='$CPP $CPPFLAGS'
26336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26345 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26347 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26348 for ac_func in _fmodl
26349 do :
26350 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26351 if test "x$ac_cv_func__fmodl" = x""yes; then :
26352 cat >>confdefs.h <<_ACEOF
26353 #define HAVE__FMODL 1
26354 _ACEOF
26357 done
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26367 $as_echo_n "checking for frexpl declaration... " >&6; }
26368 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26369 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 #include <math.h>
26384 main ()
26386 frexpl(0, 0);
26388 return 0;
26390 _ACEOF
26391 if ac_fn_cxx_try_compile "$LINENO"; then :
26392 glibcxx_cv_func_frexpl_use=yes
26393 else
26394 glibcxx_cv_func_frexpl_use=no
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26397 ac_ext=c
26398 ac_cpp='$CPP $CPPFLAGS'
26399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26408 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26410 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26411 for ac_func in frexpl
26412 do :
26413 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26414 if test "x$ac_cv_func_frexpl" = x""yes; then :
26415 cat >>confdefs.h <<_ACEOF
26416 #define HAVE_FREXPL 1
26417 _ACEOF
26420 done
26422 else
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26425 $as_echo_n "checking for _frexpl declaration... " >&6; }
26426 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26427 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26428 $as_echo_n "(cached) " >&6
26429 else
26432 ac_ext=cpp
26433 ac_cpp='$CXXCPP $CPPFLAGS'
26434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26439 /* end confdefs.h. */
26440 #include <math.h>
26442 main ()
26444 _frexpl(0, 0);
26446 return 0;
26448 _ACEOF
26449 if ac_fn_cxx_try_compile "$LINENO"; then :
26450 glibcxx_cv_func__frexpl_use=yes
26451 else
26452 glibcxx_cv_func__frexpl_use=no
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26466 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26468 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26469 for ac_func in _frexpl
26470 do :
26471 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26472 if test "x$ac_cv_func__frexpl" = x""yes; then :
26473 cat >>confdefs.h <<_ACEOF
26474 #define HAVE__FREXPL 1
26475 _ACEOF
26478 done
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26488 $as_echo_n "checking for hypotl declaration... " >&6; }
26489 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26490 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26505 main ()
26507 hypotl(0, 0);
26509 return 0;
26511 _ACEOF
26512 if ac_fn_cxx_try_compile "$LINENO"; then :
26513 glibcxx_cv_func_hypotl_use=yes
26514 else
26515 glibcxx_cv_func_hypotl_use=no
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26518 ac_ext=c
26519 ac_cpp='$CPP $CPPFLAGS'
26520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26529 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26531 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26532 for ac_func in hypotl
26533 do :
26534 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26535 if test "x$ac_cv_func_hypotl" = x""yes; then :
26536 cat >>confdefs.h <<_ACEOF
26537 #define HAVE_HYPOTL 1
26538 _ACEOF
26541 done
26543 else
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26546 $as_echo_n "checking for _hypotl declaration... " >&6; }
26547 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26548 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26549 $as_echo_n "(cached) " >&6
26550 else
26553 ac_ext=cpp
26554 ac_cpp='$CXXCPP $CPPFLAGS'
26555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26560 /* end confdefs.h. */
26561 #include <math.h>
26563 main ()
26565 _hypotl(0, 0);
26567 return 0;
26569 _ACEOF
26570 if ac_fn_cxx_try_compile "$LINENO"; then :
26571 glibcxx_cv_func__hypotl_use=yes
26572 else
26573 glibcxx_cv_func__hypotl_use=no
26575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 ac_ext=c
26577 ac_cpp='$CPP $CPPFLAGS'
26578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26587 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26589 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26590 for ac_func in _hypotl
26591 do :
26592 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26593 if test "x$ac_cv_func__hypotl" = x""yes; then :
26594 cat >>confdefs.h <<_ACEOF
26595 #define HAVE__HYPOTL 1
26596 _ACEOF
26599 done
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26609 $as_echo_n "checking for ldexpl declaration... " >&6; }
26610 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26611 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26612 $as_echo_n "(cached) " >&6
26613 else
26616 ac_ext=cpp
26617 ac_cpp='$CXXCPP $CPPFLAGS'
26618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623 /* end confdefs.h. */
26624 #include <math.h>
26626 main ()
26628 ldexpl(0, 0);
26630 return 0;
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634 glibcxx_cv_func_ldexpl_use=yes
26635 else
26636 glibcxx_cv_func_ldexpl_use=no
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26650 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26652 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26653 for ac_func in ldexpl
26654 do :
26655 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26656 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26657 cat >>confdefs.h <<_ACEOF
26658 #define HAVE_LDEXPL 1
26659 _ACEOF
26662 done
26664 else
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26667 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26668 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26669 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26670 $as_echo_n "(cached) " >&6
26671 else
26674 ac_ext=cpp
26675 ac_cpp='$CXXCPP $CPPFLAGS'
26676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26681 /* end confdefs.h. */
26682 #include <math.h>
26684 main ()
26686 _ldexpl(0, 0);
26688 return 0;
26690 _ACEOF
26691 if ac_fn_cxx_try_compile "$LINENO"; then :
26692 glibcxx_cv_func__ldexpl_use=yes
26693 else
26694 glibcxx_cv_func__ldexpl_use=no
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697 ac_ext=c
26698 ac_cpp='$CPP $CPPFLAGS'
26699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26708 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26710 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26711 for ac_func in _ldexpl
26712 do :
26713 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26714 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26715 cat >>confdefs.h <<_ACEOF
26716 #define HAVE__LDEXPL 1
26717 _ACEOF
26720 done
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26730 $as_echo_n "checking for logl declaration... " >&6; }
26731 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26732 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26733 $as_echo_n "(cached) " >&6
26734 else
26737 ac_ext=cpp
26738 ac_cpp='$CXXCPP $CPPFLAGS'
26739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26744 /* end confdefs.h. */
26745 #include <math.h>
26746 #ifdef HAVE_IEEEFP_H
26747 #include <ieeefp.h>
26748 #endif
26751 main ()
26753 logl(0);
26755 return 0;
26757 _ACEOF
26758 if ac_fn_cxx_try_compile "$LINENO"; then :
26759 glibcxx_cv_func_logl_use=yes
26760 else
26761 glibcxx_cv_func_logl_use=no
26763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 ac_ext=c
26765 ac_cpp='$CPP $CPPFLAGS'
26766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26775 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26777 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26778 for ac_func in logl
26779 do :
26780 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26781 if test "x$ac_cv_func_logl" = x""yes; then :
26782 cat >>confdefs.h <<_ACEOF
26783 #define HAVE_LOGL 1
26784 _ACEOF
26787 done
26789 else
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26792 $as_echo_n "checking for _logl declaration... " >&6; }
26793 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26794 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26795 $as_echo_n "(cached) " >&6
26796 else
26799 ac_ext=cpp
26800 ac_cpp='$CXXCPP $CPPFLAGS'
26801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26806 /* end confdefs.h. */
26807 #include <math.h>
26808 #ifdef HAVE_IEEEFP_H
26809 #include <ieeefp.h>
26810 #endif
26813 main ()
26815 _logl(0);
26817 return 0;
26819 _ACEOF
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func__logl_use=yes
26822 else
26823 glibcxx_cv_func__logl_use=no
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 ac_ext=c
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26837 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26839 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26840 for ac_func in _logl
26841 do :
26842 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26843 if test "x$ac_cv_func__logl" = x""yes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE__LOGL 1
26846 _ACEOF
26849 done
26858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26859 $as_echo_n "checking for log10l declaration... " >&6; }
26860 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26861 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26866 ac_ext=cpp
26867 ac_cpp='$CXXCPP $CPPFLAGS'
26868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26873 /* end confdefs.h. */
26874 #include <math.h>
26875 #ifdef HAVE_IEEEFP_H
26876 #include <ieeefp.h>
26877 #endif
26880 main ()
26882 log10l(0);
26884 return 0;
26886 _ACEOF
26887 if ac_fn_cxx_try_compile "$LINENO"; then :
26888 glibcxx_cv_func_log10l_use=yes
26889 else
26890 glibcxx_cv_func_log10l_use=no
26892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26893 ac_ext=c
26894 ac_cpp='$CPP $CPPFLAGS'
26895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26904 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26906 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26907 for ac_func in log10l
26908 do :
26909 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26910 if test "x$ac_cv_func_log10l" = x""yes; then :
26911 cat >>confdefs.h <<_ACEOF
26912 #define HAVE_LOG10L 1
26913 _ACEOF
26916 done
26918 else
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26921 $as_echo_n "checking for _log10l declaration... " >&6; }
26922 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26923 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26924 $as_echo_n "(cached) " >&6
26925 else
26928 ac_ext=cpp
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 #include <math.h>
26937 #ifdef HAVE_IEEEFP_H
26938 #include <ieeefp.h>
26939 #endif
26942 main ()
26944 _log10l(0);
26946 return 0;
26948 _ACEOF
26949 if ac_fn_cxx_try_compile "$LINENO"; then :
26950 glibcxx_cv_func__log10l_use=yes
26951 else
26952 glibcxx_cv_func__log10l_use=no
26954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26955 ac_ext=c
26956 ac_cpp='$CPP $CPPFLAGS'
26957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26966 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26968 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26969 for ac_func in _log10l
26970 do :
26971 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26972 if test "x$ac_cv_func__log10l" = x""yes; then :
26973 cat >>confdefs.h <<_ACEOF
26974 #define HAVE__LOG10L 1
26975 _ACEOF
26978 done
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26988 $as_echo_n "checking for modfl declaration... " >&6; }
26989 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26990 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26995 ac_ext=cpp
26996 ac_cpp='$CXXCPP $CPPFLAGS'
26997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27002 /* end confdefs.h. */
27003 #include <math.h>
27005 main ()
27007 modfl(0, 0);
27009 return 0;
27011 _ACEOF
27012 if ac_fn_cxx_try_compile "$LINENO"; then :
27013 glibcxx_cv_func_modfl_use=yes
27014 else
27015 glibcxx_cv_func_modfl_use=no
27017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27018 ac_ext=c
27019 ac_cpp='$CPP $CPPFLAGS'
27020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27029 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27031 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27032 for ac_func in modfl
27033 do :
27034 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27035 if test "x$ac_cv_func_modfl" = x""yes; then :
27036 cat >>confdefs.h <<_ACEOF
27037 #define HAVE_MODFL 1
27038 _ACEOF
27041 done
27043 else
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27046 $as_echo_n "checking for _modfl declaration... " >&6; }
27047 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27048 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27049 $as_echo_n "(cached) " >&6
27050 else
27053 ac_ext=cpp
27054 ac_cpp='$CXXCPP $CPPFLAGS'
27055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27060 /* end confdefs.h. */
27061 #include <math.h>
27063 main ()
27065 _modfl(0, 0);
27067 return 0;
27069 _ACEOF
27070 if ac_fn_cxx_try_compile "$LINENO"; then :
27071 glibcxx_cv_func__modfl_use=yes
27072 else
27073 glibcxx_cv_func__modfl_use=no
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27087 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27089 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27090 for ac_func in _modfl
27091 do :
27092 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27093 if test "x$ac_cv_func__modfl" = x""yes; then :
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE__MODFL 1
27096 _ACEOF
27099 done
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27109 $as_echo_n "checking for powl declaration... " >&6; }
27110 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27111 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27112 $as_echo_n "(cached) " >&6
27113 else
27116 ac_ext=cpp
27117 ac_cpp='$CXXCPP $CPPFLAGS'
27118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h. */
27124 #include <math.h>
27126 main ()
27128 powl(0, 0);
27130 return 0;
27132 _ACEOF
27133 if ac_fn_cxx_try_compile "$LINENO"; then :
27134 glibcxx_cv_func_powl_use=yes
27135 else
27136 glibcxx_cv_func_powl_use=no
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27139 ac_ext=c
27140 ac_cpp='$CPP $CPPFLAGS'
27141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27150 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27152 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27153 for ac_func in powl
27154 do :
27155 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27156 if test "x$ac_cv_func_powl" = x""yes; then :
27157 cat >>confdefs.h <<_ACEOF
27158 #define HAVE_POWL 1
27159 _ACEOF
27162 done
27164 else
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27167 $as_echo_n "checking for _powl declaration... " >&6; }
27168 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27169 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27170 $as_echo_n "(cached) " >&6
27171 else
27174 ac_ext=cpp
27175 ac_cpp='$CXXCPP $CPPFLAGS'
27176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27181 /* end confdefs.h. */
27182 #include <math.h>
27184 main ()
27186 _powl(0, 0);
27188 return 0;
27190 _ACEOF
27191 if ac_fn_cxx_try_compile "$LINENO"; then :
27192 glibcxx_cv_func__powl_use=yes
27193 else
27194 glibcxx_cv_func__powl_use=no
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 ac_ext=c
27198 ac_cpp='$CPP $CPPFLAGS'
27199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27208 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27210 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27211 for ac_func in _powl
27212 do :
27213 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27214 if test "x$ac_cv_func__powl" = x""yes; then :
27215 cat >>confdefs.h <<_ACEOF
27216 #define HAVE__POWL 1
27217 _ACEOF
27220 done
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27230 $as_echo_n "checking for sqrtl declaration... " >&6; }
27231 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27232 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27233 $as_echo_n "(cached) " >&6
27234 else
27237 ac_ext=cpp
27238 ac_cpp='$CXXCPP $CPPFLAGS'
27239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27244 /* end confdefs.h. */
27245 #include <math.h>
27246 #ifdef HAVE_IEEEFP_H
27247 #include <ieeefp.h>
27248 #endif
27251 main ()
27253 sqrtl(0);
27255 return 0;
27257 _ACEOF
27258 if ac_fn_cxx_try_compile "$LINENO"; then :
27259 glibcxx_cv_func_sqrtl_use=yes
27260 else
27261 glibcxx_cv_func_sqrtl_use=no
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 ac_ext=c
27265 ac_cpp='$CPP $CPPFLAGS'
27266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27275 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27277 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27278 for ac_func in sqrtl
27279 do :
27280 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27281 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27282 cat >>confdefs.h <<_ACEOF
27283 #define HAVE_SQRTL 1
27284 _ACEOF
27287 done
27289 else
27291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27292 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27293 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27294 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27295 $as_echo_n "(cached) " >&6
27296 else
27299 ac_ext=cpp
27300 ac_cpp='$CXXCPP $CPPFLAGS'
27301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27306 /* end confdefs.h. */
27307 #include <math.h>
27308 #ifdef HAVE_IEEEFP_H
27309 #include <ieeefp.h>
27310 #endif
27313 main ()
27315 _sqrtl(0);
27317 return 0;
27319 _ACEOF
27320 if ac_fn_cxx_try_compile "$LINENO"; then :
27321 glibcxx_cv_func__sqrtl_use=yes
27322 else
27323 glibcxx_cv_func__sqrtl_use=no
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 ac_ext=c
27327 ac_cpp='$CPP $CPPFLAGS'
27328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27337 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27339 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27340 for ac_func in _sqrtl
27341 do :
27342 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27343 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27344 cat >>confdefs.h <<_ACEOF
27345 #define HAVE__SQRTL 1
27346 _ACEOF
27349 done
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27359 $as_echo_n "checking for sincosl declaration... " >&6; }
27360 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27361 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27362 $as_echo_n "(cached) " >&6
27363 else
27366 ac_ext=cpp
27367 ac_cpp='$CXXCPP $CPPFLAGS'
27368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27373 /* end confdefs.h. */
27374 #include <math.h>
27376 main ()
27378 sincosl(0, 0, 0);
27380 return 0;
27382 _ACEOF
27383 if ac_fn_cxx_try_compile "$LINENO"; then :
27384 glibcxx_cv_func_sincosl_use=yes
27385 else
27386 glibcxx_cv_func_sincosl_use=no
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 ac_ext=c
27390 ac_cpp='$CPP $CPPFLAGS'
27391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27400 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27402 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27403 for ac_func in sincosl
27404 do :
27405 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27406 if test "x$ac_cv_func_sincosl" = x""yes; then :
27407 cat >>confdefs.h <<_ACEOF
27408 #define HAVE_SINCOSL 1
27409 _ACEOF
27412 done
27414 else
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27417 $as_echo_n "checking for _sincosl declaration... " >&6; }
27418 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27419 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27420 $as_echo_n "(cached) " >&6
27421 else
27424 ac_ext=cpp
27425 ac_cpp='$CXXCPP $CPPFLAGS'
27426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <math.h>
27434 main ()
27436 _sincosl(0, 0, 0);
27438 return 0;
27440 _ACEOF
27441 if ac_fn_cxx_try_compile "$LINENO"; then :
27442 glibcxx_cv_func__sincosl_use=yes
27443 else
27444 glibcxx_cv_func__sincosl_use=no
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27458 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27460 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27461 for ac_func in _sincosl
27462 do :
27463 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27464 if test "x$ac_cv_func__sincosl" = x""yes; then :
27465 cat >>confdefs.h <<_ACEOF
27466 #define HAVE__SINCOSL 1
27467 _ACEOF
27470 done
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27480 $as_echo_n "checking for finitel declaration... " >&6; }
27481 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27482 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27483 $as_echo_n "(cached) " >&6
27484 else
27487 ac_ext=cpp
27488 ac_cpp='$CXXCPP $CPPFLAGS'
27489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495 #include <math.h>
27496 #ifdef HAVE_IEEEFP_H
27497 #include <ieeefp.h>
27498 #endif
27501 main ()
27503 finitel(0);
27505 return 0;
27507 _ACEOF
27508 if ac_fn_cxx_try_compile "$LINENO"; then :
27509 glibcxx_cv_func_finitel_use=yes
27510 else
27511 glibcxx_cv_func_finitel_use=no
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514 ac_ext=c
27515 ac_cpp='$CPP $CPPFLAGS'
27516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27525 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27527 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27528 for ac_func in finitel
27529 do :
27530 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27531 if test "x$ac_cv_func_finitel" = x""yes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_FINITEL 1
27534 _ACEOF
27537 done
27539 else
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27542 $as_echo_n "checking for _finitel declaration... " >&6; }
27543 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27544 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 #ifdef HAVE_IEEEFP_H
27559 #include <ieeefp.h>
27560 #endif
27563 main ()
27565 _finitel(0);
27567 return 0;
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func__finitel_use=yes
27572 else
27573 glibcxx_cv_func__finitel_use=no
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27587 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27589 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27590 for ac_func in _finitel
27591 do :
27592 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27593 if test "x$ac_cv_func__finitel" = x""yes; then :
27594 cat >>confdefs.h <<_ACEOF
27595 #define HAVE__FINITEL 1
27596 _ACEOF
27599 done
27607 LIBS="$ac_save_LIBS"
27608 CXXFLAGS="$ac_save_CXXFLAGS"
27611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27612 ac_save_CXXFLAGS="$CXXFLAGS"
27613 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27617 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27618 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27619 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27620 $as_echo_n "(cached) " >&6
27621 else
27624 ac_ext=cpp
27625 ac_cpp='$CXXCPP $CPPFLAGS'
27626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27631 /* end confdefs.h. */
27632 #include <stdlib.h>
27634 main ()
27636 at_quick_exit(0);
27638 return 0;
27640 _ACEOF
27641 if ac_fn_cxx_try_compile "$LINENO"; then :
27642 glibcxx_cv_func_at_quick_exit_use=yes
27643 else
27644 glibcxx_cv_func_at_quick_exit_use=no
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647 ac_ext=c
27648 ac_cpp='$CPP $CPPFLAGS'
27649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27658 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27659 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27660 for ac_func in at_quick_exit
27661 do :
27662 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27663 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27664 cat >>confdefs.h <<_ACEOF
27665 #define HAVE_AT_QUICK_EXIT 1
27666 _ACEOF
27669 done
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27675 $as_echo_n "checking for quick_exit declaration... " >&6; }
27676 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27677 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27678 $as_echo_n "(cached) " >&6
27679 else
27682 ac_ext=cpp
27683 ac_cpp='$CXXCPP $CPPFLAGS'
27684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27689 /* end confdefs.h. */
27690 #include <stdlib.h>
27692 main ()
27694 quick_exit(0);
27696 return 0;
27698 _ACEOF
27699 if ac_fn_cxx_try_compile "$LINENO"; then :
27700 glibcxx_cv_func_quick_exit_use=yes
27701 else
27702 glibcxx_cv_func_quick_exit_use=no
27704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27705 ac_ext=c
27706 ac_cpp='$CPP $CPPFLAGS'
27707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27716 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27717 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27718 for ac_func in quick_exit
27719 do :
27720 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27721 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE_QUICK_EXIT 1
27724 _ACEOF
27727 done
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27733 $as_echo_n "checking for strtold declaration... " >&6; }
27734 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27735 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27736 $as_echo_n "(cached) " >&6
27737 else
27740 ac_ext=cpp
27741 ac_cpp='$CXXCPP $CPPFLAGS'
27742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h. */
27748 #include <stdlib.h>
27750 main ()
27752 strtold(0, 0);
27754 return 0;
27756 _ACEOF
27757 if ac_fn_cxx_try_compile "$LINENO"; then :
27758 glibcxx_cv_func_strtold_use=yes
27759 else
27760 glibcxx_cv_func_strtold_use=no
27762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27763 ac_ext=c
27764 ac_cpp='$CPP $CPPFLAGS'
27765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27774 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27775 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27776 for ac_func in strtold
27777 do :
27778 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27779 if test "x$ac_cv_func_strtold" = x""yes; then :
27780 cat >>confdefs.h <<_ACEOF
27781 #define HAVE_STRTOLD 1
27782 _ACEOF
27785 done
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27793 $as_echo_n "checking for strtof declaration... " >&6; }
27794 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27795 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27796 $as_echo_n "(cached) " >&6
27797 else
27800 ac_ext=cpp
27801 ac_cpp='$CXXCPP $CPPFLAGS'
27802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27807 /* end confdefs.h. */
27808 #include <stdlib.h>
27810 main ()
27812 strtof(0, 0);
27814 return 0;
27816 _ACEOF
27817 if ac_fn_cxx_try_compile "$LINENO"; then :
27818 glibcxx_cv_func_strtof_use=yes
27819 else
27820 glibcxx_cv_func_strtof_use=no
27822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27823 ac_ext=c
27824 ac_cpp='$CPP $CPPFLAGS'
27825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27834 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27835 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27836 for ac_func in strtof
27837 do :
27838 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27839 if test "x$ac_cv_func_strtof" = x""yes; then :
27840 cat >>confdefs.h <<_ACEOF
27841 #define HAVE_STRTOF 1
27842 _ACEOF
27845 done
27852 CXXFLAGS="$ac_save_CXXFLAGS"
27855 # For /dev/random and /dev/urandom for std::random_device.
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
27859 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
27860 if test "${glibcxx_cv_dev_random+set}" = set; then :
27861 $as_echo_n "(cached) " >&6
27862 else
27864 if test -r /dev/random && test -r /dev/urandom; then
27865 ## For MSys environment the test above is detected as false-positive
27866 ## on mingw-targets. So disable it explicitly for them.
27867 case ${target_os} in
27868 *mingw*) glibcxx_cv_dev_random=no ;;
27869 *) glibcxx_cv_dev_random=yes ;;
27870 esac
27871 else
27872 glibcxx_cv_dev_random=no;
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
27878 $as_echo "$glibcxx_cv_dev_random" >&6; }
27880 if test x"$glibcxx_cv_dev_random" = x"yes"; then
27882 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
27885 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27891 # For TLS support.
27894 # Check whether --enable-tls was given.
27895 if test "${enable_tls+set}" = set; then :
27896 enableval=$enable_tls;
27897 case "$enableval" in
27898 yes|no) ;;
27899 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27900 esac
27902 else
27903 enable_tls=yes
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27908 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27909 if test "${gcc_cv_have_tls+set}" = set; then :
27910 $as_echo_n "(cached) " >&6
27911 else
27913 if test "$cross_compiling" = yes; then :
27914 if test x$gcc_no_link = xyes; then
27915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27918 /* end confdefs.h. */
27919 __thread int a; int b; int main() { return a = b; }
27920 _ACEOF
27921 if ac_fn_c_try_link "$LINENO"; then :
27922 chktls_save_LDFLAGS="$LDFLAGS"
27923 case $host in
27924 *-*-linux*)
27925 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27927 esac
27928 chktls_save_CFLAGS="$CFLAGS"
27929 CFLAGS="-fPIC $CFLAGS"
27930 if test x$gcc_no_link = xyes; then
27931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27934 /* end confdefs.h. */
27935 int f() { return 0; }
27936 _ACEOF
27937 if ac_fn_c_try_link "$LINENO"; then :
27938 if test x$gcc_no_link = xyes; then
27939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27942 /* end confdefs.h. */
27943 __thread int a; int b; int f() { return a = b; }
27944 _ACEOF
27945 if ac_fn_c_try_link "$LINENO"; then :
27946 gcc_cv_have_tls=yes
27947 else
27948 gcc_cv_have_tls=no
27950 rm -f core conftest.err conftest.$ac_objext \
27951 conftest$ac_exeext conftest.$ac_ext
27952 else
27953 gcc_cv_have_tls=yes
27955 rm -f core conftest.err conftest.$ac_objext \
27956 conftest$ac_exeext conftest.$ac_ext
27957 CFLAGS="$chktls_save_CFLAGS"
27958 LDFLAGS="$chktls_save_LDFLAGS"
27959 else
27960 gcc_cv_have_tls=no
27962 rm -f core conftest.err conftest.$ac_objext \
27963 conftest$ac_exeext conftest.$ac_ext
27966 else
27967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27968 /* end confdefs.h. */
27969 __thread int a; int b; int main() { return a = b; }
27970 _ACEOF
27971 if ac_fn_c_try_run "$LINENO"; then :
27972 chktls_save_LDFLAGS="$LDFLAGS"
27973 LDFLAGS="-static $LDFLAGS"
27974 if test x$gcc_no_link = xyes; then
27975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27978 /* end confdefs.h. */
27979 int main() { return 0; }
27980 _ACEOF
27981 if ac_fn_c_try_link "$LINENO"; then :
27982 if test "$cross_compiling" = yes; then :
27983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27985 as_fn_error "cannot run test program while cross compiling
27986 See \`config.log' for more details." "$LINENO" 5; }
27987 else
27988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27989 /* end confdefs.h. */
27990 __thread int a; int b; int main() { return a = b; }
27991 _ACEOF
27992 if ac_fn_c_try_run "$LINENO"; then :
27993 gcc_cv_have_tls=yes
27994 else
27995 gcc_cv_have_tls=no
27997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27998 conftest.$ac_objext conftest.beam conftest.$ac_ext
28001 else
28002 gcc_cv_have_tls=yes
28004 rm -f core conftest.err conftest.$ac_objext \
28005 conftest$ac_exeext conftest.$ac_ext
28006 LDFLAGS="$chktls_save_LDFLAGS"
28007 if test $gcc_cv_have_tls = yes; then
28008 chktls_save_CFLAGS="$CFLAGS"
28009 thread_CFLAGS=failed
28010 for flag in '' '-pthread' '-lpthread'; do
28011 CFLAGS="$flag $chktls_save_CFLAGS"
28012 if test x$gcc_no_link = xyes; then
28013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28016 /* end confdefs.h. */
28017 #include <pthread.h>
28018 void *g(void *d) { return NULL; }
28020 main ()
28022 pthread_t t; pthread_create(&t,NULL,g,NULL);
28024 return 0;
28026 _ACEOF
28027 if ac_fn_c_try_link "$LINENO"; then :
28028 thread_CFLAGS="$flag"
28030 rm -f core conftest.err conftest.$ac_objext \
28031 conftest$ac_exeext conftest.$ac_ext
28032 if test "X$thread_CFLAGS" != Xfailed; then
28033 break
28035 done
28036 CFLAGS="$chktls_save_CFLAGS"
28037 if test "X$thread_CFLAGS" != Xfailed; then
28038 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28039 if test "$cross_compiling" = yes; then :
28040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28042 as_fn_error "cannot run test program while cross compiling
28043 See \`config.log' for more details." "$LINENO" 5; }
28044 else
28045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28046 /* end confdefs.h. */
28047 #include <pthread.h>
28048 __thread int a;
28049 static int *volatile a_in_other_thread;
28050 static void *
28051 thread_func (void *arg)
28053 a_in_other_thread = &a;
28054 return (void *)0;
28057 main ()
28059 pthread_t thread;
28060 void *thread_retval;
28061 int *volatile a_in_main_thread;
28062 a_in_main_thread = &a;
28063 if (pthread_create (&thread, (pthread_attr_t *)0,
28064 thread_func, (void *)0))
28065 return 0;
28066 if (pthread_join (thread, &thread_retval))
28067 return 0;
28068 return (a_in_other_thread == a_in_main_thread);
28070 return 0;
28072 _ACEOF
28073 if ac_fn_c_try_run "$LINENO"; then :
28074 gcc_cv_have_tls=yes
28075 else
28076 gcc_cv_have_tls=no
28078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28079 conftest.$ac_objext conftest.beam conftest.$ac_ext
28082 CFLAGS="$chktls_save_CFLAGS"
28085 else
28086 gcc_cv_have_tls=no
28088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28089 conftest.$ac_objext conftest.beam conftest.$ac_ext
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28094 $as_echo "$gcc_cv_have_tls" >&6; }
28095 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28097 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28101 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28102 do :
28103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28105 eval as_val=\$$as_ac_var
28106 if test "x$as_val" = x""yes; then :
28107 cat >>confdefs.h <<_ACEOF
28108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28109 _ACEOF
28112 done
28114 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28115 do :
28116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28118 eval as_val=\$$as_ac_var
28119 if test "x$as_val" = x""yes; then :
28120 cat >>confdefs.h <<_ACEOF
28121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28122 _ACEOF
28125 done
28127 for ac_func in _wfopen
28128 do :
28129 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28130 if test "x$ac_cv_func__wfopen" = x""yes; then :
28131 cat >>confdefs.h <<_ACEOF
28132 #define HAVE__WFOPEN 1
28133 _ACEOF
28136 done
28139 # For iconv support.
28141 if test "X$prefix" = "XNONE"; then
28142 acl_final_prefix="$ac_default_prefix"
28143 else
28144 acl_final_prefix="$prefix"
28146 if test "X$exec_prefix" = "XNONE"; then
28147 acl_final_exec_prefix='${prefix}'
28148 else
28149 acl_final_exec_prefix="$exec_prefix"
28151 acl_save_prefix="$prefix"
28152 prefix="$acl_final_prefix"
28153 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28154 prefix="$acl_save_prefix"
28157 # Check whether --with-gnu-ld was given.
28158 if test "${with_gnu_ld+set}" = set; then :
28159 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28160 else
28161 with_gnu_ld=no
28164 # Prepare PATH_SEPARATOR.
28165 # The user is always right.
28166 if test "${PATH_SEPARATOR+set}" != set; then
28167 echo "#! /bin/sh" >conf$$.sh
28168 echo "exit 0" >>conf$$.sh
28169 chmod +x conf$$.sh
28170 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28171 PATH_SEPARATOR=';'
28172 else
28173 PATH_SEPARATOR=:
28175 rm -f conf$$.sh
28177 ac_prog=ld
28178 if test "$GCC" = yes; then
28179 # Check if gcc -print-prog-name=ld gives a path.
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28181 $as_echo_n "checking for ld used by GCC... " >&6; }
28182 case $host in
28183 *-*-mingw*)
28184 # gcc leaves a trailing carriage return which upsets mingw
28185 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28187 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28188 esac
28189 case $ac_prog in
28190 # Accept absolute paths.
28191 [\\/]* | [A-Za-z]:[\\/]*)
28192 re_direlt='/[^/][^/]*/\.\./'
28193 # Canonicalize the path of ld
28194 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28195 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28196 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28197 done
28198 test -z "$LD" && LD="$ac_prog"
28201 # If it fails, then pretend we aren't using GCC.
28202 ac_prog=ld
28205 # If it is relative, then search for the first ld in PATH.
28206 with_gnu_ld=unknown
28208 esac
28209 elif test "$with_gnu_ld" = yes; then
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28211 $as_echo_n "checking for GNU ld... " >&6; }
28212 else
28213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28214 $as_echo_n "checking for non-GNU ld... " >&6; }
28216 if test "${acl_cv_path_LD+set}" = set; then :
28217 $as_echo_n "(cached) " >&6
28218 else
28219 if test -z "$LD"; then
28220 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28221 for ac_dir in $PATH; do
28222 test -z "$ac_dir" && ac_dir=.
28223 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28224 acl_cv_path_LD="$ac_dir/$ac_prog"
28225 # Check to see if the program is GNU ld. I'd rather use --version,
28226 # but apparently some GNU ld's only accept -v.
28227 # Break only if it was the GNU/non-GNU ld that we prefer.
28228 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28229 test "$with_gnu_ld" != no && break
28230 else
28231 test "$with_gnu_ld" != yes && break
28234 done
28235 IFS="$ac_save_ifs"
28236 else
28237 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28241 LD="$acl_cv_path_LD"
28242 if test -n "$LD"; then
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28244 $as_echo "$LD" >&6; }
28245 else
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28247 $as_echo "no" >&6; }
28249 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28251 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28252 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28253 $as_echo_n "(cached) " >&6
28254 else
28255 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28256 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28257 acl_cv_prog_gnu_ld=yes
28258 else
28259 acl_cv_prog_gnu_ld=no
28262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28263 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28264 with_gnu_ld=$acl_cv_prog_gnu_ld
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28269 $as_echo_n "checking for shared library run path origin... " >&6; }
28270 if test "${acl_cv_rpath+set}" = set; then :
28271 $as_echo_n "(cached) " >&6
28272 else
28274 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28275 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28276 . ./conftest.sh
28277 rm -f ./conftest.sh
28278 acl_cv_rpath=done
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28282 $as_echo "$acl_cv_rpath" >&6; }
28283 wl="$acl_cv_wl"
28284 libext="$acl_cv_libext"
28285 shlibext="$acl_cv_shlibext"
28286 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28287 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28288 hardcode_direct="$acl_cv_hardcode_direct"
28289 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28290 # Check whether --enable-rpath was given.
28291 if test "${enable_rpath+set}" = set; then :
28292 enableval=$enable_rpath; :
28293 else
28294 enable_rpath=yes
28304 use_additional=yes
28306 acl_save_prefix="$prefix"
28307 prefix="$acl_final_prefix"
28308 acl_save_exec_prefix="$exec_prefix"
28309 exec_prefix="$acl_final_exec_prefix"
28311 eval additional_includedir=\"$includedir\"
28312 eval additional_libdir=\"$libdir\"
28314 exec_prefix="$acl_save_exec_prefix"
28315 prefix="$acl_save_prefix"
28318 # Check whether --with-libiconv-prefix was given.
28319 if test "${with_libiconv_prefix+set}" = set; then :
28320 withval=$with_libiconv_prefix;
28321 if test "X$withval" = "Xno"; then
28322 use_additional=no
28323 else
28324 if test "X$withval" = "X"; then
28326 acl_save_prefix="$prefix"
28327 prefix="$acl_final_prefix"
28328 acl_save_exec_prefix="$exec_prefix"
28329 exec_prefix="$acl_final_exec_prefix"
28331 eval additional_includedir=\"$includedir\"
28332 eval additional_libdir=\"$libdir\"
28334 exec_prefix="$acl_save_exec_prefix"
28335 prefix="$acl_save_prefix"
28337 else
28338 additional_includedir="$withval/include"
28339 additional_libdir="$withval/lib"
28345 LIBICONV=
28346 LTLIBICONV=
28347 INCICONV=
28348 rpathdirs=
28349 ltrpathdirs=
28350 names_already_handled=
28351 names_next_round='iconv '
28352 while test -n "$names_next_round"; do
28353 names_this_round="$names_next_round"
28354 names_next_round=
28355 for name in $names_this_round; do
28356 already_handled=
28357 for n in $names_already_handled; do
28358 if test "$n" = "$name"; then
28359 already_handled=yes
28360 break
28362 done
28363 if test -z "$already_handled"; then
28364 names_already_handled="$names_already_handled $name"
28365 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28366 eval value=\"\$HAVE_LIB$uppername\"
28367 if test -n "$value"; then
28368 if test "$value" = yes; then
28369 eval value=\"\$LIB$uppername\"
28370 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28371 eval value=\"\$LTLIB$uppername\"
28372 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28373 else
28376 else
28377 found_dir=
28378 found_la=
28379 found_so=
28380 found_a=
28381 if test $use_additional = yes; then
28382 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28383 found_dir="$additional_libdir"
28384 found_so="$additional_libdir/lib$name.$shlibext"
28385 if test -f "$additional_libdir/lib$name.la"; then
28386 found_la="$additional_libdir/lib$name.la"
28388 else
28389 if test -f "$additional_libdir/lib$name.$libext"; then
28390 found_dir="$additional_libdir"
28391 found_a="$additional_libdir/lib$name.$libext"
28392 if test -f "$additional_libdir/lib$name.la"; then
28393 found_la="$additional_libdir/lib$name.la"
28398 if test "X$found_dir" = "X"; then
28399 for x in $LDFLAGS $LTLIBICONV; do
28401 acl_save_prefix="$prefix"
28402 prefix="$acl_final_prefix"
28403 acl_save_exec_prefix="$exec_prefix"
28404 exec_prefix="$acl_final_exec_prefix"
28405 eval x=\"$x\"
28406 exec_prefix="$acl_save_exec_prefix"
28407 prefix="$acl_save_prefix"
28409 case "$x" in
28410 -L*)
28411 dir=`echo "X$x" | sed -e 's/^X-L//'`
28412 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28413 found_dir="$dir"
28414 found_so="$dir/lib$name.$shlibext"
28415 if test -f "$dir/lib$name.la"; then
28416 found_la="$dir/lib$name.la"
28418 else
28419 if test -f "$dir/lib$name.$libext"; then
28420 found_dir="$dir"
28421 found_a="$dir/lib$name.$libext"
28422 if test -f "$dir/lib$name.la"; then
28423 found_la="$dir/lib$name.la"
28428 esac
28429 if test "X$found_dir" != "X"; then
28430 break
28432 done
28434 if test "X$found_dir" != "X"; then
28435 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28436 if test "X$found_so" != "X"; then
28437 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28438 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28439 else
28440 haveit=
28441 for x in $ltrpathdirs; do
28442 if test "X$x" = "X$found_dir"; then
28443 haveit=yes
28444 break
28446 done
28447 if test -z "$haveit"; then
28448 ltrpathdirs="$ltrpathdirs $found_dir"
28450 if test "$hardcode_direct" = yes; then
28451 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28452 else
28453 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28454 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28455 haveit=
28456 for x in $rpathdirs; do
28457 if test "X$x" = "X$found_dir"; then
28458 haveit=yes
28459 break
28461 done
28462 if test -z "$haveit"; then
28463 rpathdirs="$rpathdirs $found_dir"
28465 else
28466 haveit=
28467 for x in $LDFLAGS $LIBICONV; do
28469 acl_save_prefix="$prefix"
28470 prefix="$acl_final_prefix"
28471 acl_save_exec_prefix="$exec_prefix"
28472 exec_prefix="$acl_final_exec_prefix"
28473 eval x=\"$x\"
28474 exec_prefix="$acl_save_exec_prefix"
28475 prefix="$acl_save_prefix"
28477 if test "X$x" = "X-L$found_dir"; then
28478 haveit=yes
28479 break
28481 done
28482 if test -z "$haveit"; then
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28485 if test "$hardcode_minus_L" != no; then
28486 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28487 else
28488 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28493 else
28494 if test "X$found_a" != "X"; then
28495 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28496 else
28497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28500 additional_includedir=
28501 case "$found_dir" in
28502 */lib | */lib/)
28503 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28504 additional_includedir="$basedir/include"
28506 esac
28507 if test "X$additional_includedir" != "X"; then
28508 if test "X$additional_includedir" != "X/usr/include"; then
28509 haveit=
28510 if test "X$additional_includedir" = "X/usr/local/include"; then
28511 if test -n "$GCC"; then
28512 case $host_os in
28513 linux*) haveit=yes;;
28514 esac
28517 if test -z "$haveit"; then
28518 for x in $CPPFLAGS $INCICONV; do
28520 acl_save_prefix="$prefix"
28521 prefix="$acl_final_prefix"
28522 acl_save_exec_prefix="$exec_prefix"
28523 exec_prefix="$acl_final_exec_prefix"
28524 eval x=\"$x\"
28525 exec_prefix="$acl_save_exec_prefix"
28526 prefix="$acl_save_prefix"
28528 if test "X$x" = "X-I$additional_includedir"; then
28529 haveit=yes
28530 break
28532 done
28533 if test -z "$haveit"; then
28534 if test -d "$additional_includedir"; then
28535 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28541 if test -n "$found_la"; then
28542 save_libdir="$libdir"
28543 case "$found_la" in
28544 */* | *\\*) . "$found_la" ;;
28545 *) . "./$found_la" ;;
28546 esac
28547 libdir="$save_libdir"
28548 for dep in $dependency_libs; do
28549 case "$dep" in
28550 -L*)
28551 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28552 if test "X$additional_libdir" != "X/usr/lib"; then
28553 haveit=
28554 if test "X$additional_libdir" = "X/usr/local/lib"; then
28555 if test -n "$GCC"; then
28556 case $host_os in
28557 linux*) haveit=yes;;
28558 esac
28561 if test -z "$haveit"; then
28562 haveit=
28563 for x in $LDFLAGS $LIBICONV; do
28565 acl_save_prefix="$prefix"
28566 prefix="$acl_final_prefix"
28567 acl_save_exec_prefix="$exec_prefix"
28568 exec_prefix="$acl_final_exec_prefix"
28569 eval x=\"$x\"
28570 exec_prefix="$acl_save_exec_prefix"
28571 prefix="$acl_save_prefix"
28573 if test "X$x" = "X-L$additional_libdir"; then
28574 haveit=yes
28575 break
28577 done
28578 if test -z "$haveit"; then
28579 if test -d "$additional_libdir"; then
28580 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28583 haveit=
28584 for x in $LDFLAGS $LTLIBICONV; do
28586 acl_save_prefix="$prefix"
28587 prefix="$acl_final_prefix"
28588 acl_save_exec_prefix="$exec_prefix"
28589 exec_prefix="$acl_final_exec_prefix"
28590 eval x=\"$x\"
28591 exec_prefix="$acl_save_exec_prefix"
28592 prefix="$acl_save_prefix"
28594 if test "X$x" = "X-L$additional_libdir"; then
28595 haveit=yes
28596 break
28598 done
28599 if test -z "$haveit"; then
28600 if test -d "$additional_libdir"; then
28601 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28607 -R*)
28608 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28609 if test "$enable_rpath" != no; then
28610 haveit=
28611 for x in $rpathdirs; do
28612 if test "X$x" = "X$dir"; then
28613 haveit=yes
28614 break
28616 done
28617 if test -z "$haveit"; then
28618 rpathdirs="$rpathdirs $dir"
28620 haveit=
28621 for x in $ltrpathdirs; do
28622 if test "X$x" = "X$dir"; then
28623 haveit=yes
28624 break
28626 done
28627 if test -z "$haveit"; then
28628 ltrpathdirs="$ltrpathdirs $dir"
28632 -l*)
28633 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28635 *.la)
28636 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28639 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28640 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28642 esac
28643 done
28645 else
28646 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28647 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28651 done
28652 done
28653 if test "X$rpathdirs" != "X"; then
28654 if test -n "$hardcode_libdir_separator"; then
28655 alldirs=
28656 for found_dir in $rpathdirs; do
28657 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28658 done
28659 acl_save_libdir="$libdir"
28660 libdir="$alldirs"
28661 eval flag=\"$hardcode_libdir_flag_spec\"
28662 libdir="$acl_save_libdir"
28663 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28664 else
28665 for found_dir in $rpathdirs; do
28666 acl_save_libdir="$libdir"
28667 libdir="$found_dir"
28668 eval flag=\"$hardcode_libdir_flag_spec\"
28669 libdir="$acl_save_libdir"
28670 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28671 done
28674 if test "X$ltrpathdirs" != "X"; then
28675 for found_dir in $ltrpathdirs; do
28676 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28677 done
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28687 $as_echo_n "checking for iconv... " >&6; }
28688 if test "${am_cv_func_iconv+set}" = set; then :
28689 $as_echo_n "(cached) " >&6
28690 else
28692 am_cv_func_iconv="no, consider installing GNU libiconv"
28693 am_cv_lib_iconv=no
28694 am_save_CPPFLAGS="$CPPFLAGS"
28695 CPPFLAGS="$CPPFLAGS $INCICONV"
28696 if test x$gcc_no_link = xyes; then
28697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28700 /* end confdefs.h. */
28701 #include <stdlib.h>
28702 #include <iconv.h>
28704 main ()
28706 iconv_t cd = iconv_open("","");
28707 iconv(cd,NULL,NULL,NULL,NULL);
28708 iconv_close(cd);
28710 return 0;
28712 _ACEOF
28713 if ac_fn_c_try_link "$LINENO"; then :
28714 am_cv_func_iconv=yes
28716 rm -f core conftest.err conftest.$ac_objext \
28717 conftest$ac_exeext conftest.$ac_ext
28718 CPPFLAGS="$am_save_CPPFLAGS"
28720 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28721 for _libs in .libs _libs; do
28722 am_save_CPPFLAGS="$CPPFLAGS"
28723 am_save_LIBS="$LIBS"
28724 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28725 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28726 if test x$gcc_no_link = xyes; then
28727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28730 /* end confdefs.h. */
28731 #include <stdlib.h>
28732 #include <iconv.h>
28734 main ()
28736 iconv_t cd = iconv_open("","");
28737 iconv(cd,NULL,NULL,NULL,NULL);
28738 iconv_close(cd);
28740 return 0;
28742 _ACEOF
28743 if ac_fn_c_try_link "$LINENO"; then :
28744 INCICONV="-I../libiconv/include"
28745 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28746 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28747 am_cv_lib_iconv=yes
28748 am_cv_func_iconv=yes
28750 rm -f core conftest.err conftest.$ac_objext \
28751 conftest$ac_exeext conftest.$ac_ext
28752 CPPFLAGS="$am_save_CPPFLAGS"
28753 LIBS="$am_save_LIBS"
28754 if test "$am_cv_func_iconv" = "yes"; then
28755 break
28757 done
28760 if test "$am_cv_func_iconv" != yes; then
28761 am_save_CPPFLAGS="$CPPFLAGS"
28762 am_save_LIBS="$LIBS"
28763 CPPFLAGS="$LIBS $INCICONV"
28764 LIBS="$LIBS $LIBICONV"
28765 if test x$gcc_no_link = xyes; then
28766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28769 /* end confdefs.h. */
28770 #include <stdlib.h>
28771 #include <iconv.h>
28773 main ()
28775 iconv_t cd = iconv_open("","");
28776 iconv(cd,NULL,NULL,NULL,NULL);
28777 iconv_close(cd);
28779 return 0;
28781 _ACEOF
28782 if ac_fn_c_try_link "$LINENO"; then :
28783 am_cv_lib_iconv=yes
28784 am_cv_func_iconv=yes
28786 rm -f core conftest.err conftest.$ac_objext \
28787 conftest$ac_exeext conftest.$ac_ext
28788 CPPFLAGS="$am_save_CPPFLAGS"
28789 LIBS="$am_save_LIBS"
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28794 $as_echo "$am_cv_func_iconv" >&6; }
28795 if test "$am_cv_func_iconv" = yes; then
28797 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28800 if test "$am_cv_lib_iconv" = yes; then
28802 for element in $INCICONV; do
28803 haveit=
28804 for x in $CPPFLAGS; do
28806 acl_save_prefix="$prefix"
28807 prefix="$acl_final_prefix"
28808 acl_save_exec_prefix="$exec_prefix"
28809 exec_prefix="$acl_final_exec_prefix"
28810 eval x=\"$x\"
28811 exec_prefix="$acl_save_exec_prefix"
28812 prefix="$acl_save_prefix"
28814 if test "X$x" = "X$element"; then
28815 haveit=yes
28816 break
28818 done
28819 if test -z "$haveit"; then
28820 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28822 done
28824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28825 $as_echo_n "checking how to link with libiconv... " >&6; }
28826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28827 $as_echo "$LIBICONV" >&6; }
28828 else
28829 LIBICONV=
28830 LTLIBICONV=
28835 if test "$am_cv_func_iconv" = yes; then
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28837 $as_echo_n "checking for iconv declaration... " >&6; }
28838 if test "${am_cv_proto_iconv+set}" = set; then :
28839 $as_echo_n "(cached) " >&6
28840 else
28842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28843 /* end confdefs.h. */
28845 #include <stdlib.h>
28846 #include <iconv.h>
28847 extern
28848 #ifdef __cplusplus
28850 #endif
28851 #if defined(__STDC__) || defined(__cplusplus)
28852 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28853 #else
28854 size_t iconv();
28855 #endif
28858 main ()
28862 return 0;
28864 _ACEOF
28865 if ac_fn_c_try_compile "$LINENO"; then :
28866 am_cv_proto_iconv_arg1=""
28867 else
28868 am_cv_proto_iconv_arg1="const"
28870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28871 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);"
28874 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28876 }$am_cv_proto_iconv" >&5
28877 $as_echo "${ac_t:-
28878 }$am_cv_proto_iconv" >&6; }
28880 cat >>confdefs.h <<_ACEOF
28881 #define ICONV_CONST $am_cv_proto_iconv_arg1
28882 _ACEOF
28887 else
28889 # This lets us hard-code the functionality we know we'll have in the cross
28890 # target environment. "Let" is a sugar-coated word placed on an especially
28891 # dull and tedious hack, actually.
28893 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28894 # that involve linking, can't be used:
28895 # "cannot open sim-crt0.o"
28896 # "cannot open crt0.o"
28897 # etc. All this is because there currently exists no unified, consistent
28898 # way for top level CC information to be passed down to target directories:
28899 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28900 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28901 # crosses can be removed.
28903 # If Canadian cross, then don't pick up tools from the build directory.
28904 # Used only in GLIBCXX_EXPORT_INCLUDES.
28905 if test -n "$with_cross_host" &&
28906 test x"$build_alias" != x"$with_cross_host" &&
28907 test x"$build" != x"$target";
28908 then
28909 CANADIAN=yes
28910 else
28911 CANADIAN=no
28914 # Construct crosses by hand, eliminating bits that need ld...
28915 # GLIBCXX_CHECK_MATH_SUPPORT
28917 # First, test for "known" system libraries. We may be using newlib even
28918 # on a hosted environment.
28919 if test "x${with_newlib}" = "xyes"; then
28920 os_include_dir="os/newlib"
28921 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28924 # GLIBCXX_CHECK_STDLIB_SUPPORT
28925 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28928 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28930 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28932 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28934 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28936 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28938 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28940 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28942 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28944 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28946 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28948 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28950 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28952 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28954 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28956 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28958 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28960 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28962 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28964 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28966 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28968 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28970 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28973 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28975 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28977 else
28979 # Base decisions on target environment.
28980 case "${host}" in
28981 arm*-*-symbianelf*)
28982 # This is a freestanding configuration; there is nothing to do here.
28985 avr*-*-*)
28986 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28988 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28990 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28992 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28994 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28996 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28998 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29000 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29002 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29004 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29006 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29008 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29010 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29012 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29014 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29016 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29018 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29020 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29022 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29024 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29026 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29028 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29030 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29034 mips*-sde-elf*)
29035 # These definitions are for the SDE C library rather than newlib.
29036 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29039 # All these tests are for C++; save the language and the compiler flags.
29040 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29041 # found in GLIBCXX_CONFIGURE.
29043 ac_ext=cpp
29044 ac_cpp='$CXXCPP $CPPFLAGS'
29045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29049 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29050 ac_save_CXXFLAGS="$CXXFLAGS"
29052 # Check for -ffunction-sections -fdata-sections
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29054 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29055 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29057 /* end confdefs.h. */
29058 int foo; void bar() { };
29060 main ()
29064 return 0;
29066 _ACEOF
29067 if ac_fn_cxx_try_compile "$LINENO"; then :
29068 ac_fdsections=yes
29069 else
29070 ac_fdsections=no
29072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 if test "$ac_test_CXXFLAGS" = set; then
29074 CXXFLAGS="$ac_save_CXXFLAGS"
29075 else
29076 # this is the suspicious part
29077 CXXFLAGS=''
29079 if test x"$ac_fdsections" = x"yes"; then
29080 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29083 $as_echo "$ac_fdsections" >&6; }
29085 ac_ext=c
29086 ac_cpp='$CPP $CPPFLAGS'
29087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29094 # If we're not using GNU ld, then there's no point in even trying these
29095 # tests. Check for that first. We should have already tested for gld
29096 # by now (in libtool), but require it now just to be safe...
29097 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29098 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29102 # The name set by libtool depends on the version of libtool. Shame on us
29103 # for depending on an impl detail, but c'est la vie. Older versions used
29104 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29105 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29106 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29107 # set (hence we're using an older libtool), then set it.
29108 if test x${with_gnu_ld+set} != xset; then
29109 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29110 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29111 with_gnu_ld=no
29112 else
29113 with_gnu_ld=$ac_cv_prog_gnu_ld
29117 # Start by getting the version number. I think the libtool test already
29118 # does some of this, but throws away the result.
29119 glibcxx_ld_is_gold=no
29120 if test x"$with_gnu_ld" = x"yes"; then
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29122 $as_echo_n "checking for ld version... " >&6; }
29124 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29125 glibcxx_ld_is_gold=yes
29127 ldver=`$LD --version 2>/dev/null |
29128 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'`
29130 glibcxx_gnu_ld_version=`echo $ldver | \
29131 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29133 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29136 # Set --gc-sections.
29137 glibcxx_have_gc_sections=no
29138 if test "$glibcxx_ld_is_gold" = "yes"; then
29139 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29140 glibcxx_have_gc_sections=yes
29142 else
29143 glibcxx_gcsections_min_ld=21602
29144 if test x"$with_gnu_ld" = x"yes" &&
29145 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29146 glibcxx_have_gc_sections=yes
29149 if test "$glibcxx_have_gc_sections" = "yes"; then
29150 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29151 # NB: This flag only works reliably after 2.16.1. Configure tests
29152 # for this are difficult, so hard wire a value that should work.
29154 ac_test_CFLAGS="${CFLAGS+set}"
29155 ac_save_CFLAGS="$CFLAGS"
29156 CFLAGS='-Wl,--gc-sections'
29158 # Check for -Wl,--gc-sections
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29160 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29161 if test x$gcc_no_link = xyes; then
29162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29165 /* end confdefs.h. */
29166 int one(void) { return 1; }
29167 int two(void) { return 2; }
29170 main ()
29172 two();
29174 return 0;
29176 _ACEOF
29177 if ac_fn_c_try_link "$LINENO"; then :
29178 ac_gcsections=yes
29179 else
29180 ac_gcsections=no
29182 rm -f core conftest.err conftest.$ac_objext \
29183 conftest$ac_exeext conftest.$ac_ext
29184 if test "$ac_gcsections" = "yes"; then
29185 rm -f conftest.c
29186 touch conftest.c
29187 if $CC -c conftest.c; then
29188 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29189 grep "Warning: gc-sections option ignored" > /dev/null; then
29190 ac_gcsections=no
29193 rm -f conftest.c conftest.o conftest
29195 if test "$ac_gcsections" = "yes"; then
29196 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29199 $as_echo "$ac_gcsections" >&6; }
29201 if test "$ac_test_CFLAGS" = set; then
29202 CFLAGS="$ac_save_CFLAGS"
29203 else
29204 # this is the suspicious part
29205 CFLAGS=''
29209 # Set -z,relro.
29210 # Note this is only for shared objects.
29211 ac_ld_relro=no
29212 if test x"$with_gnu_ld" = x"yes"; then
29213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29214 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29215 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29216 if test -n "$cxx_z_relo"; then
29217 OPT_LDFLAGS="-Wl,-z,relro"
29218 ac_ld_relro=yes
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29221 $as_echo "$ac_ld_relro" >&6; }
29224 # Set linker optimization flags.
29225 if test x"$with_gnu_ld" = x"yes"; then
29226 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29233 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29234 ac_save_CXXFLAGS="$CXXFLAGS"
29235 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29238 $as_echo_n "checking for sin in -lm... " >&6; }
29239 if test "${ac_cv_lib_m_sin+set}" = set; then :
29240 $as_echo_n "(cached) " >&6
29241 else
29242 ac_check_lib_save_LIBS=$LIBS
29243 LIBS="-lm $LIBS"
29244 if test x$gcc_no_link = xyes; then
29245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29248 /* end confdefs.h. */
29250 /* Override any GCC internal prototype to avoid an error.
29251 Use char because int might match the return type of a GCC
29252 builtin and then its argument prototype would still apply. */
29253 #ifdef __cplusplus
29254 extern "C"
29255 #endif
29256 char sin ();
29258 main ()
29260 return sin ();
29262 return 0;
29264 _ACEOF
29265 if ac_fn_c_try_link "$LINENO"; then :
29266 ac_cv_lib_m_sin=yes
29267 else
29268 ac_cv_lib_m_sin=no
29270 rm -f core conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272 LIBS=$ac_check_lib_save_LIBS
29274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29275 $as_echo "$ac_cv_lib_m_sin" >&6; }
29276 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29277 libm="-lm"
29280 ac_save_LIBS="$LIBS"
29281 LIBS="$LIBS $libm"
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29286 $as_echo_n "checking for isinf declaration... " >&6; }
29287 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29288 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29289 $as_echo_n "(cached) " >&6
29290 else
29293 ac_ext=cpp
29294 ac_cpp='$CXXCPP $CPPFLAGS'
29295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29300 /* end confdefs.h. */
29301 #include <math.h>
29302 #ifdef HAVE_IEEEFP_H
29303 #include <ieeefp.h>
29304 #endif
29307 main ()
29309 isinf(0);
29311 return 0;
29313 _ACEOF
29314 if ac_fn_cxx_try_compile "$LINENO"; then :
29315 glibcxx_cv_func_isinf_use=yes
29316 else
29317 glibcxx_cv_func_isinf_use=no
29319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29320 ac_ext=c
29321 ac_cpp='$CPP $CPPFLAGS'
29322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29331 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29333 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29334 for ac_func in isinf
29335 do :
29336 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29337 if test "x$ac_cv_func_isinf" = x""yes; then :
29338 cat >>confdefs.h <<_ACEOF
29339 #define HAVE_ISINF 1
29340 _ACEOF
29343 done
29345 else
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29348 $as_echo_n "checking for _isinf declaration... " >&6; }
29349 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29350 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29351 $as_echo_n "(cached) " >&6
29352 else
29355 ac_ext=cpp
29356 ac_cpp='$CXXCPP $CPPFLAGS'
29357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29362 /* end confdefs.h. */
29363 #include <math.h>
29364 #ifdef HAVE_IEEEFP_H
29365 #include <ieeefp.h>
29366 #endif
29369 main ()
29371 _isinf(0);
29373 return 0;
29375 _ACEOF
29376 if ac_fn_cxx_try_compile "$LINENO"; then :
29377 glibcxx_cv_func__isinf_use=yes
29378 else
29379 glibcxx_cv_func__isinf_use=no
29381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29382 ac_ext=c
29383 ac_cpp='$CPP $CPPFLAGS'
29384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29393 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29395 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29396 for ac_func in _isinf
29397 do :
29398 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29399 if test "x$ac_cv_func__isinf" = x""yes; then :
29400 cat >>confdefs.h <<_ACEOF
29401 #define HAVE__ISINF 1
29402 _ACEOF
29405 done
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29415 $as_echo_n "checking for isnan declaration... " >&6; }
29416 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29417 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29418 $as_echo_n "(cached) " >&6
29419 else
29422 ac_ext=cpp
29423 ac_cpp='$CXXCPP $CPPFLAGS'
29424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29429 /* end confdefs.h. */
29430 #include <math.h>
29431 #ifdef HAVE_IEEEFP_H
29432 #include <ieeefp.h>
29433 #endif
29436 main ()
29438 isnan(0);
29440 return 0;
29442 _ACEOF
29443 if ac_fn_cxx_try_compile "$LINENO"; then :
29444 glibcxx_cv_func_isnan_use=yes
29445 else
29446 glibcxx_cv_func_isnan_use=no
29448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29449 ac_ext=c
29450 ac_cpp='$CPP $CPPFLAGS'
29451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29460 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29462 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29463 for ac_func in isnan
29464 do :
29465 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29466 if test "x$ac_cv_func_isnan" = x""yes; then :
29467 cat >>confdefs.h <<_ACEOF
29468 #define HAVE_ISNAN 1
29469 _ACEOF
29472 done
29474 else
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29477 $as_echo_n "checking for _isnan declaration... " >&6; }
29478 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29479 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29480 $as_echo_n "(cached) " >&6
29481 else
29484 ac_ext=cpp
29485 ac_cpp='$CXXCPP $CPPFLAGS'
29486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29491 /* end confdefs.h. */
29492 #include <math.h>
29493 #ifdef HAVE_IEEEFP_H
29494 #include <ieeefp.h>
29495 #endif
29498 main ()
29500 _isnan(0);
29502 return 0;
29504 _ACEOF
29505 if ac_fn_cxx_try_compile "$LINENO"; then :
29506 glibcxx_cv_func__isnan_use=yes
29507 else
29508 glibcxx_cv_func__isnan_use=no
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511 ac_ext=c
29512 ac_cpp='$CPP $CPPFLAGS'
29513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29522 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29524 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29525 for ac_func in _isnan
29526 do :
29527 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29528 if test "x$ac_cv_func__isnan" = x""yes; then :
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE__ISNAN 1
29531 _ACEOF
29534 done
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29544 $as_echo_n "checking for finite declaration... " >&6; }
29545 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29546 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29551 ac_ext=cpp
29552 ac_cpp='$CXXCPP $CPPFLAGS'
29553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h. */
29559 #include <math.h>
29560 #ifdef HAVE_IEEEFP_H
29561 #include <ieeefp.h>
29562 #endif
29565 main ()
29567 finite(0);
29569 return 0;
29571 _ACEOF
29572 if ac_fn_cxx_try_compile "$LINENO"; then :
29573 glibcxx_cv_func_finite_use=yes
29574 else
29575 glibcxx_cv_func_finite_use=no
29577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29578 ac_ext=c
29579 ac_cpp='$CPP $CPPFLAGS'
29580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29589 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29591 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29592 for ac_func in finite
29593 do :
29594 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29595 if test "x$ac_cv_func_finite" = x""yes; then :
29596 cat >>confdefs.h <<_ACEOF
29597 #define HAVE_FINITE 1
29598 _ACEOF
29601 done
29603 else
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29606 $as_echo_n "checking for _finite declaration... " >&6; }
29607 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29608 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29609 $as_echo_n "(cached) " >&6
29610 else
29613 ac_ext=cpp
29614 ac_cpp='$CXXCPP $CPPFLAGS'
29615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h. */
29621 #include <math.h>
29622 #ifdef HAVE_IEEEFP_H
29623 #include <ieeefp.h>
29624 #endif
29627 main ()
29629 _finite(0);
29631 return 0;
29633 _ACEOF
29634 if ac_fn_cxx_try_compile "$LINENO"; then :
29635 glibcxx_cv_func__finite_use=yes
29636 else
29637 glibcxx_cv_func__finite_use=no
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29640 ac_ext=c
29641 ac_cpp='$CPP $CPPFLAGS'
29642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29651 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29653 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29654 for ac_func in _finite
29655 do :
29656 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29657 if test "x$ac_cv_func__finite" = x""yes; then :
29658 cat >>confdefs.h <<_ACEOF
29659 #define HAVE__FINITE 1
29660 _ACEOF
29663 done
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29673 $as_echo_n "checking for sincos declaration... " >&6; }
29674 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29675 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29676 $as_echo_n "(cached) " >&6
29677 else
29680 ac_ext=cpp
29681 ac_cpp='$CXXCPP $CPPFLAGS'
29682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29687 /* end confdefs.h. */
29688 #include <math.h>
29690 main ()
29692 sincos(0, 0, 0);
29694 return 0;
29696 _ACEOF
29697 if ac_fn_cxx_try_compile "$LINENO"; then :
29698 glibcxx_cv_func_sincos_use=yes
29699 else
29700 glibcxx_cv_func_sincos_use=no
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703 ac_ext=c
29704 ac_cpp='$CPP $CPPFLAGS'
29705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29714 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29716 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29717 for ac_func in sincos
29718 do :
29719 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29720 if test "x$ac_cv_func_sincos" = x""yes; then :
29721 cat >>confdefs.h <<_ACEOF
29722 #define HAVE_SINCOS 1
29723 _ACEOF
29726 done
29728 else
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29731 $as_echo_n "checking for _sincos declaration... " >&6; }
29732 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29733 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29734 $as_echo_n "(cached) " >&6
29735 else
29738 ac_ext=cpp
29739 ac_cpp='$CXXCPP $CPPFLAGS'
29740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29745 /* end confdefs.h. */
29746 #include <math.h>
29748 main ()
29750 _sincos(0, 0, 0);
29752 return 0;
29754 _ACEOF
29755 if ac_fn_cxx_try_compile "$LINENO"; then :
29756 glibcxx_cv_func__sincos_use=yes
29757 else
29758 glibcxx_cv_func__sincos_use=no
29760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29761 ac_ext=c
29762 ac_cpp='$CPP $CPPFLAGS'
29763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29772 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29774 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29775 for ac_func in _sincos
29776 do :
29777 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29778 if test "x$ac_cv_func__sincos" = x""yes; then :
29779 cat >>confdefs.h <<_ACEOF
29780 #define HAVE__SINCOS 1
29781 _ACEOF
29784 done
29793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29794 $as_echo_n "checking for fpclass declaration... " >&6; }
29795 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29796 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29797 $as_echo_n "(cached) " >&6
29798 else
29801 ac_ext=cpp
29802 ac_cpp='$CXXCPP $CPPFLAGS'
29803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29808 /* end confdefs.h. */
29809 #include <math.h>
29810 #ifdef HAVE_IEEEFP_H
29811 #include <ieeefp.h>
29812 #endif
29815 main ()
29817 fpclass(0);
29819 return 0;
29821 _ACEOF
29822 if ac_fn_cxx_try_compile "$LINENO"; then :
29823 glibcxx_cv_func_fpclass_use=yes
29824 else
29825 glibcxx_cv_func_fpclass_use=no
29827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29828 ac_ext=c
29829 ac_cpp='$CPP $CPPFLAGS'
29830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29839 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29841 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29842 for ac_func in fpclass
29843 do :
29844 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29845 if test "x$ac_cv_func_fpclass" = x""yes; then :
29846 cat >>confdefs.h <<_ACEOF
29847 #define HAVE_FPCLASS 1
29848 _ACEOF
29851 done
29853 else
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29856 $as_echo_n "checking for _fpclass declaration... " >&6; }
29857 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29858 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29859 $as_echo_n "(cached) " >&6
29860 else
29863 ac_ext=cpp
29864 ac_cpp='$CXXCPP $CPPFLAGS'
29865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29870 /* end confdefs.h. */
29871 #include <math.h>
29872 #ifdef HAVE_IEEEFP_H
29873 #include <ieeefp.h>
29874 #endif
29877 main ()
29879 _fpclass(0);
29881 return 0;
29883 _ACEOF
29884 if ac_fn_cxx_try_compile "$LINENO"; then :
29885 glibcxx_cv_func__fpclass_use=yes
29886 else
29887 glibcxx_cv_func__fpclass_use=no
29889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29890 ac_ext=c
29891 ac_cpp='$CPP $CPPFLAGS'
29892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29901 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29903 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29904 for ac_func in _fpclass
29905 do :
29906 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29907 if test "x$ac_cv_func__fpclass" = x""yes; then :
29908 cat >>confdefs.h <<_ACEOF
29909 #define HAVE__FPCLASS 1
29910 _ACEOF
29913 done
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29923 $as_echo_n "checking for qfpclass declaration... " >&6; }
29924 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29925 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29926 $as_echo_n "(cached) " >&6
29927 else
29930 ac_ext=cpp
29931 ac_cpp='$CXXCPP $CPPFLAGS'
29932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29937 /* end confdefs.h. */
29938 #include <math.h>
29939 #ifdef HAVE_IEEEFP_H
29940 #include <ieeefp.h>
29941 #endif
29944 main ()
29946 qfpclass(0);
29948 return 0;
29950 _ACEOF
29951 if ac_fn_cxx_try_compile "$LINENO"; then :
29952 glibcxx_cv_func_qfpclass_use=yes
29953 else
29954 glibcxx_cv_func_qfpclass_use=no
29956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957 ac_ext=c
29958 ac_cpp='$CPP $CPPFLAGS'
29959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29968 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29970 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29971 for ac_func in qfpclass
29972 do :
29973 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29974 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29975 cat >>confdefs.h <<_ACEOF
29976 #define HAVE_QFPCLASS 1
29977 _ACEOF
29980 done
29982 else
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29985 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29986 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29987 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29988 $as_echo_n "(cached) " >&6
29989 else
29992 ac_ext=cpp
29993 ac_cpp='$CXXCPP $CPPFLAGS'
29994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30000 #include <math.h>
30001 #ifdef HAVE_IEEEFP_H
30002 #include <ieeefp.h>
30003 #endif
30006 main ()
30008 _qfpclass(0);
30010 return 0;
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func__qfpclass_use=yes
30015 else
30016 glibcxx_cv_func__qfpclass_use=no
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30030 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30032 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30033 for ac_func in _qfpclass
30034 do :
30035 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30036 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE__QFPCLASS 1
30039 _ACEOF
30042 done
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30052 $as_echo_n "checking for hypot declaration... " >&6; }
30053 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30054 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30055 $as_echo_n "(cached) " >&6
30056 else
30059 ac_ext=cpp
30060 ac_cpp='$CXXCPP $CPPFLAGS'
30061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h. */
30067 #include <math.h>
30069 main ()
30071 hypot(0, 0);
30073 return 0;
30075 _ACEOF
30076 if ac_fn_cxx_try_compile "$LINENO"; then :
30077 glibcxx_cv_func_hypot_use=yes
30078 else
30079 glibcxx_cv_func_hypot_use=no
30081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30082 ac_ext=c
30083 ac_cpp='$CPP $CPPFLAGS'
30084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30093 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30095 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30096 for ac_func in hypot
30097 do :
30098 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30099 if test "x$ac_cv_func_hypot" = x""yes; then :
30100 cat >>confdefs.h <<_ACEOF
30101 #define HAVE_HYPOT 1
30102 _ACEOF
30105 done
30107 else
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30110 $as_echo_n "checking for _hypot declaration... " >&6; }
30111 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30112 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30127 main ()
30129 _hypot(0, 0);
30131 return 0;
30133 _ACEOF
30134 if ac_fn_cxx_try_compile "$LINENO"; then :
30135 glibcxx_cv_func__hypot_use=yes
30136 else
30137 glibcxx_cv_func__hypot_use=no
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140 ac_ext=c
30141 ac_cpp='$CPP $CPPFLAGS'
30142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30151 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30153 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30154 for ac_func in _hypot
30155 do :
30156 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30157 if test "x$ac_cv_func__hypot" = x""yes; then :
30158 cat >>confdefs.h <<_ACEOF
30159 #define HAVE__HYPOT 1
30160 _ACEOF
30163 done
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30173 $as_echo_n "checking for float trig functions... " >&6; }
30174 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30175 $as_echo_n "(cached) " >&6
30176 else
30179 ac_ext=cpp
30180 ac_cpp='$CXXCPP $CPPFLAGS'
30181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 /* end confdefs.h. */
30187 #include <math.h>
30189 main ()
30191 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30193 return 0;
30195 _ACEOF
30196 if ac_fn_cxx_try_compile "$LINENO"; then :
30197 glibcxx_cv_func_float_trig_use=yes
30198 else
30199 glibcxx_cv_func_float_trig_use=no
30201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30202 ac_ext=c
30203 ac_cpp='$CPP $CPPFLAGS'
30204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30211 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30212 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30213 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30214 do :
30215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30217 eval as_val=\$$as_ac_var
30218 if test "x$as_val" = x""yes; then :
30219 cat >>confdefs.h <<_ACEOF
30220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30221 _ACEOF
30224 done
30226 else
30227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30228 $as_echo_n "checking for _float trig functions... " >&6; }
30229 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30230 $as_echo_n "(cached) " >&6
30231 else
30234 ac_ext=cpp
30235 ac_cpp='$CXXCPP $CPPFLAGS'
30236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30241 /* end confdefs.h. */
30242 #include <math.h>
30244 main ()
30246 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30248 return 0;
30250 _ACEOF
30251 if ac_fn_cxx_try_compile "$LINENO"; then :
30252 glibcxx_cv_func__float_trig_use=yes
30253 else
30254 glibcxx_cv_func__float_trig_use=no
30256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30257 ac_ext=c
30258 ac_cpp='$CPP $CPPFLAGS'
30259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30266 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30267 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30268 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30269 do :
30270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30272 eval as_val=\$$as_ac_var
30273 if test "x$as_val" = x""yes; then :
30274 cat >>confdefs.h <<_ACEOF
30275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30276 _ACEOF
30279 done
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30289 $as_echo_n "checking for float round functions... " >&6; }
30290 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30291 $as_echo_n "(cached) " >&6
30292 else
30295 ac_ext=cpp
30296 ac_cpp='$CXXCPP $CPPFLAGS'
30297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30302 /* end confdefs.h. */
30303 #include <math.h>
30305 main ()
30307 ceilf (0); floorf (0);
30309 return 0;
30311 _ACEOF
30312 if ac_fn_cxx_try_compile "$LINENO"; then :
30313 glibcxx_cv_func_float_round_use=yes
30314 else
30315 glibcxx_cv_func_float_round_use=no
30317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30318 ac_ext=c
30319 ac_cpp='$CPP $CPPFLAGS'
30320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30327 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30328 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30329 for ac_func in ceilf floorf
30330 do :
30331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30333 eval as_val=\$$as_ac_var
30334 if test "x$as_val" = x""yes; then :
30335 cat >>confdefs.h <<_ACEOF
30336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30337 _ACEOF
30340 done
30342 else
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30344 $as_echo_n "checking for _float round functions... " >&6; }
30345 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30346 $as_echo_n "(cached) " >&6
30347 else
30350 ac_ext=cpp
30351 ac_cpp='$CXXCPP $CPPFLAGS'
30352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30357 /* end confdefs.h. */
30358 #include <math.h>
30360 main ()
30362 _ceilf (0); _floorf (0);
30364 return 0;
30366 _ACEOF
30367 if ac_fn_cxx_try_compile "$LINENO"; then :
30368 glibcxx_cv_func__float_round_use=yes
30369 else
30370 glibcxx_cv_func__float_round_use=no
30372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30373 ac_ext=c
30374 ac_cpp='$CPP $CPPFLAGS'
30375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30382 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30383 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30384 for ac_func in _ceilf _floorf
30385 do :
30386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30388 eval as_val=\$$as_ac_var
30389 if test "x$as_val" = x""yes; then :
30390 cat >>confdefs.h <<_ACEOF
30391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30392 _ACEOF
30395 done
30405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30406 $as_echo_n "checking for expf declaration... " >&6; }
30407 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30408 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30409 $as_echo_n "(cached) " >&6
30410 else
30413 ac_ext=cpp
30414 ac_cpp='$CXXCPP $CPPFLAGS'
30415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30420 /* end confdefs.h. */
30421 #include <math.h>
30422 #ifdef HAVE_IEEEFP_H
30423 #include <ieeefp.h>
30424 #endif
30427 main ()
30429 expf(0);
30431 return 0;
30433 _ACEOF
30434 if ac_fn_cxx_try_compile "$LINENO"; then :
30435 glibcxx_cv_func_expf_use=yes
30436 else
30437 glibcxx_cv_func_expf_use=no
30439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30440 ac_ext=c
30441 ac_cpp='$CPP $CPPFLAGS'
30442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30451 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30453 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30454 for ac_func in expf
30455 do :
30456 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30457 if test "x$ac_cv_func_expf" = x""yes; then :
30458 cat >>confdefs.h <<_ACEOF
30459 #define HAVE_EXPF 1
30460 _ACEOF
30463 done
30465 else
30467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30468 $as_echo_n "checking for _expf declaration... " >&6; }
30469 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30470 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30471 $as_echo_n "(cached) " >&6
30472 else
30475 ac_ext=cpp
30476 ac_cpp='$CXXCPP $CPPFLAGS'
30477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30482 /* end confdefs.h. */
30483 #include <math.h>
30484 #ifdef HAVE_IEEEFP_H
30485 #include <ieeefp.h>
30486 #endif
30489 main ()
30491 _expf(0);
30493 return 0;
30495 _ACEOF
30496 if ac_fn_cxx_try_compile "$LINENO"; then :
30497 glibcxx_cv_func__expf_use=yes
30498 else
30499 glibcxx_cv_func__expf_use=no
30501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30502 ac_ext=c
30503 ac_cpp='$CPP $CPPFLAGS'
30504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30513 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30515 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30516 for ac_func in _expf
30517 do :
30518 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30519 if test "x$ac_cv_func__expf" = x""yes; then :
30520 cat >>confdefs.h <<_ACEOF
30521 #define HAVE__EXPF 1
30522 _ACEOF
30525 done
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30535 $as_echo_n "checking for isnanf declaration... " >&6; }
30536 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30537 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30538 $as_echo_n "(cached) " >&6
30539 else
30542 ac_ext=cpp
30543 ac_cpp='$CXXCPP $CPPFLAGS'
30544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30549 /* end confdefs.h. */
30550 #include <math.h>
30551 #ifdef HAVE_IEEEFP_H
30552 #include <ieeefp.h>
30553 #endif
30556 main ()
30558 isnanf(0);
30560 return 0;
30562 _ACEOF
30563 if ac_fn_cxx_try_compile "$LINENO"; then :
30564 glibcxx_cv_func_isnanf_use=yes
30565 else
30566 glibcxx_cv_func_isnanf_use=no
30568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30569 ac_ext=c
30570 ac_cpp='$CPP $CPPFLAGS'
30571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30580 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30582 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30583 for ac_func in isnanf
30584 do :
30585 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30586 if test "x$ac_cv_func_isnanf" = x""yes; then :
30587 cat >>confdefs.h <<_ACEOF
30588 #define HAVE_ISNANF 1
30589 _ACEOF
30592 done
30594 else
30596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30597 $as_echo_n "checking for _isnanf declaration... " >&6; }
30598 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30599 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30600 $as_echo_n "(cached) " >&6
30601 else
30604 ac_ext=cpp
30605 ac_cpp='$CXXCPP $CPPFLAGS'
30606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30611 /* end confdefs.h. */
30612 #include <math.h>
30613 #ifdef HAVE_IEEEFP_H
30614 #include <ieeefp.h>
30615 #endif
30618 main ()
30620 _isnanf(0);
30622 return 0;
30624 _ACEOF
30625 if ac_fn_cxx_try_compile "$LINENO"; then :
30626 glibcxx_cv_func__isnanf_use=yes
30627 else
30628 glibcxx_cv_func__isnanf_use=no
30630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30631 ac_ext=c
30632 ac_cpp='$CPP $CPPFLAGS'
30633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30642 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30644 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30645 for ac_func in _isnanf
30646 do :
30647 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30648 if test "x$ac_cv_func__isnanf" = x""yes; then :
30649 cat >>confdefs.h <<_ACEOF
30650 #define HAVE__ISNANF 1
30651 _ACEOF
30654 done
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30664 $as_echo_n "checking for isinff declaration... " >&6; }
30665 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30666 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30667 $as_echo_n "(cached) " >&6
30668 else
30671 ac_ext=cpp
30672 ac_cpp='$CXXCPP $CPPFLAGS'
30673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30678 /* end confdefs.h. */
30679 #include <math.h>
30680 #ifdef HAVE_IEEEFP_H
30681 #include <ieeefp.h>
30682 #endif
30685 main ()
30687 isinff(0);
30689 return 0;
30691 _ACEOF
30692 if ac_fn_cxx_try_compile "$LINENO"; then :
30693 glibcxx_cv_func_isinff_use=yes
30694 else
30695 glibcxx_cv_func_isinff_use=no
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30698 ac_ext=c
30699 ac_cpp='$CPP $CPPFLAGS'
30700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30709 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30711 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30712 for ac_func in isinff
30713 do :
30714 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30715 if test "x$ac_cv_func_isinff" = x""yes; then :
30716 cat >>confdefs.h <<_ACEOF
30717 #define HAVE_ISINFF 1
30718 _ACEOF
30721 done
30723 else
30725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30726 $as_echo_n "checking for _isinff declaration... " >&6; }
30727 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30728 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30729 $as_echo_n "(cached) " >&6
30730 else
30733 ac_ext=cpp
30734 ac_cpp='$CXXCPP $CPPFLAGS'
30735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30740 /* end confdefs.h. */
30741 #include <math.h>
30742 #ifdef HAVE_IEEEFP_H
30743 #include <ieeefp.h>
30744 #endif
30747 main ()
30749 _isinff(0);
30751 return 0;
30753 _ACEOF
30754 if ac_fn_cxx_try_compile "$LINENO"; then :
30755 glibcxx_cv_func__isinff_use=yes
30756 else
30757 glibcxx_cv_func__isinff_use=no
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760 ac_ext=c
30761 ac_cpp='$CPP $CPPFLAGS'
30762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30771 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30773 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30774 for ac_func in _isinff
30775 do :
30776 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30777 if test "x$ac_cv_func__isinff" = x""yes; then :
30778 cat >>confdefs.h <<_ACEOF
30779 #define HAVE__ISINFF 1
30780 _ACEOF
30783 done
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30793 $as_echo_n "checking for atan2f declaration... " >&6; }
30794 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30795 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30796 $as_echo_n "(cached) " >&6
30797 else
30800 ac_ext=cpp
30801 ac_cpp='$CXXCPP $CPPFLAGS'
30802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30807 /* end confdefs.h. */
30808 #include <math.h>
30810 main ()
30812 atan2f(0, 0);
30814 return 0;
30816 _ACEOF
30817 if ac_fn_cxx_try_compile "$LINENO"; then :
30818 glibcxx_cv_func_atan2f_use=yes
30819 else
30820 glibcxx_cv_func_atan2f_use=no
30822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30823 ac_ext=c
30824 ac_cpp='$CPP $CPPFLAGS'
30825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30834 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30836 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30837 for ac_func in atan2f
30838 do :
30839 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30840 if test "x$ac_cv_func_atan2f" = x""yes; then :
30841 cat >>confdefs.h <<_ACEOF
30842 #define HAVE_ATAN2F 1
30843 _ACEOF
30846 done
30848 else
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30851 $as_echo_n "checking for _atan2f declaration... " >&6; }
30852 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30853 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30854 $as_echo_n "(cached) " >&6
30855 else
30858 ac_ext=cpp
30859 ac_cpp='$CXXCPP $CPPFLAGS'
30860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30865 /* end confdefs.h. */
30866 #include <math.h>
30868 main ()
30870 _atan2f(0, 0);
30872 return 0;
30874 _ACEOF
30875 if ac_fn_cxx_try_compile "$LINENO"; then :
30876 glibcxx_cv_func__atan2f_use=yes
30877 else
30878 glibcxx_cv_func__atan2f_use=no
30880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30881 ac_ext=c
30882 ac_cpp='$CPP $CPPFLAGS'
30883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30892 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30894 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30895 for ac_func in _atan2f
30896 do :
30897 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30898 if test "x$ac_cv_func__atan2f" = x""yes; then :
30899 cat >>confdefs.h <<_ACEOF
30900 #define HAVE__ATAN2F 1
30901 _ACEOF
30904 done
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30914 $as_echo_n "checking for fabsf declaration... " >&6; }
30915 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30916 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30917 $as_echo_n "(cached) " >&6
30918 else
30921 ac_ext=cpp
30922 ac_cpp='$CXXCPP $CPPFLAGS'
30923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30928 /* end confdefs.h. */
30929 #include <math.h>
30930 #ifdef HAVE_IEEEFP_H
30931 #include <ieeefp.h>
30932 #endif
30935 main ()
30937 fabsf(0);
30939 return 0;
30941 _ACEOF
30942 if ac_fn_cxx_try_compile "$LINENO"; then :
30943 glibcxx_cv_func_fabsf_use=yes
30944 else
30945 glibcxx_cv_func_fabsf_use=no
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948 ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30959 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30961 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30962 for ac_func in fabsf
30963 do :
30964 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30965 if test "x$ac_cv_func_fabsf" = x""yes; then :
30966 cat >>confdefs.h <<_ACEOF
30967 #define HAVE_FABSF 1
30968 _ACEOF
30971 done
30973 else
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30976 $as_echo_n "checking for _fabsf declaration... " >&6; }
30977 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30978 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30979 $as_echo_n "(cached) " >&6
30980 else
30983 ac_ext=cpp
30984 ac_cpp='$CXXCPP $CPPFLAGS'
30985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30990 /* end confdefs.h. */
30991 #include <math.h>
30992 #ifdef HAVE_IEEEFP_H
30993 #include <ieeefp.h>
30994 #endif
30997 main ()
30999 _fabsf(0);
31001 return 0;
31003 _ACEOF
31004 if ac_fn_cxx_try_compile "$LINENO"; then :
31005 glibcxx_cv_func__fabsf_use=yes
31006 else
31007 glibcxx_cv_func__fabsf_use=no
31009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31010 ac_ext=c
31011 ac_cpp='$CPP $CPPFLAGS'
31012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31021 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31023 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31024 for ac_func in _fabsf
31025 do :
31026 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31027 if test "x$ac_cv_func__fabsf" = x""yes; then :
31028 cat >>confdefs.h <<_ACEOF
31029 #define HAVE__FABSF 1
31030 _ACEOF
31033 done
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31043 $as_echo_n "checking for fmodf declaration... " >&6; }
31044 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31045 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31046 $as_echo_n "(cached) " >&6
31047 else
31050 ac_ext=cpp
31051 ac_cpp='$CXXCPP $CPPFLAGS'
31052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31058 #include <math.h>
31060 main ()
31062 fmodf(0, 0);
31064 return 0;
31066 _ACEOF
31067 if ac_fn_cxx_try_compile "$LINENO"; then :
31068 glibcxx_cv_func_fmodf_use=yes
31069 else
31070 glibcxx_cv_func_fmodf_use=no
31072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31073 ac_ext=c
31074 ac_cpp='$CPP $CPPFLAGS'
31075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31084 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31086 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31087 for ac_func in fmodf
31088 do :
31089 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31090 if test "x$ac_cv_func_fmodf" = x""yes; then :
31091 cat >>confdefs.h <<_ACEOF
31092 #define HAVE_FMODF 1
31093 _ACEOF
31096 done
31098 else
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31101 $as_echo_n "checking for _fmodf declaration... " >&6; }
31102 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31103 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31104 $as_echo_n "(cached) " >&6
31105 else
31108 ac_ext=cpp
31109 ac_cpp='$CXXCPP $CPPFLAGS'
31110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31115 /* end confdefs.h. */
31116 #include <math.h>
31118 main ()
31120 _fmodf(0, 0);
31122 return 0;
31124 _ACEOF
31125 if ac_fn_cxx_try_compile "$LINENO"; then :
31126 glibcxx_cv_func__fmodf_use=yes
31127 else
31128 glibcxx_cv_func__fmodf_use=no
31130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31142 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31144 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31145 for ac_func in _fmodf
31146 do :
31147 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31148 if test "x$ac_cv_func__fmodf" = x""yes; then :
31149 cat >>confdefs.h <<_ACEOF
31150 #define HAVE__FMODF 1
31151 _ACEOF
31154 done
31163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31164 $as_echo_n "checking for frexpf declaration... " >&6; }
31165 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31166 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31167 $as_echo_n "(cached) " >&6
31168 else
31171 ac_ext=cpp
31172 ac_cpp='$CXXCPP $CPPFLAGS'
31173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31178 /* end confdefs.h. */
31179 #include <math.h>
31181 main ()
31183 frexpf(0, 0);
31185 return 0;
31187 _ACEOF
31188 if ac_fn_cxx_try_compile "$LINENO"; then :
31189 glibcxx_cv_func_frexpf_use=yes
31190 else
31191 glibcxx_cv_func_frexpf_use=no
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31194 ac_ext=c
31195 ac_cpp='$CPP $CPPFLAGS'
31196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31205 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31207 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31208 for ac_func in frexpf
31209 do :
31210 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31211 if test "x$ac_cv_func_frexpf" = x""yes; then :
31212 cat >>confdefs.h <<_ACEOF
31213 #define HAVE_FREXPF 1
31214 _ACEOF
31217 done
31219 else
31221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31222 $as_echo_n "checking for _frexpf declaration... " >&6; }
31223 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31224 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31225 $as_echo_n "(cached) " >&6
31226 else
31229 ac_ext=cpp
31230 ac_cpp='$CXXCPP $CPPFLAGS'
31231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31236 /* end confdefs.h. */
31237 #include <math.h>
31239 main ()
31241 _frexpf(0, 0);
31243 return 0;
31245 _ACEOF
31246 if ac_fn_cxx_try_compile "$LINENO"; then :
31247 glibcxx_cv_func__frexpf_use=yes
31248 else
31249 glibcxx_cv_func__frexpf_use=no
31251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31252 ac_ext=c
31253 ac_cpp='$CPP $CPPFLAGS'
31254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31263 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31265 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31266 for ac_func in _frexpf
31267 do :
31268 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31269 if test "x$ac_cv_func__frexpf" = x""yes; then :
31270 cat >>confdefs.h <<_ACEOF
31271 #define HAVE__FREXPF 1
31272 _ACEOF
31275 done
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31285 $as_echo_n "checking for hypotf declaration... " >&6; }
31286 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31287 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31288 $as_echo_n "(cached) " >&6
31289 else
31292 ac_ext=cpp
31293 ac_cpp='$CXXCPP $CPPFLAGS'
31294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31300 #include <math.h>
31302 main ()
31304 hypotf(0, 0);
31306 return 0;
31308 _ACEOF
31309 if ac_fn_cxx_try_compile "$LINENO"; then :
31310 glibcxx_cv_func_hypotf_use=yes
31311 else
31312 glibcxx_cv_func_hypotf_use=no
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31326 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31328 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31329 for ac_func in hypotf
31330 do :
31331 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31332 if test "x$ac_cv_func_hypotf" = x""yes; then :
31333 cat >>confdefs.h <<_ACEOF
31334 #define HAVE_HYPOTF 1
31335 _ACEOF
31338 done
31340 else
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31343 $as_echo_n "checking for _hypotf declaration... " >&6; }
31344 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31345 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31346 $as_echo_n "(cached) " >&6
31347 else
31350 ac_ext=cpp
31351 ac_cpp='$CXXCPP $CPPFLAGS'
31352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31357 /* end confdefs.h. */
31358 #include <math.h>
31360 main ()
31362 _hypotf(0, 0);
31364 return 0;
31366 _ACEOF
31367 if ac_fn_cxx_try_compile "$LINENO"; then :
31368 glibcxx_cv_func__hypotf_use=yes
31369 else
31370 glibcxx_cv_func__hypotf_use=no
31372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31373 ac_ext=c
31374 ac_cpp='$CPP $CPPFLAGS'
31375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31384 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31386 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31387 for ac_func in _hypotf
31388 do :
31389 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31390 if test "x$ac_cv_func__hypotf" = x""yes; then :
31391 cat >>confdefs.h <<_ACEOF
31392 #define HAVE__HYPOTF 1
31393 _ACEOF
31396 done
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31406 $as_echo_n "checking for ldexpf declaration... " >&6; }
31407 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31408 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31409 $as_echo_n "(cached) " >&6
31410 else
31413 ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31421 #include <math.h>
31423 main ()
31425 ldexpf(0, 0);
31427 return 0;
31429 _ACEOF
31430 if ac_fn_cxx_try_compile "$LINENO"; then :
31431 glibcxx_cv_func_ldexpf_use=yes
31432 else
31433 glibcxx_cv_func_ldexpf_use=no
31435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436 ac_ext=c
31437 ac_cpp='$CPP $CPPFLAGS'
31438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31447 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31449 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31450 for ac_func in ldexpf
31451 do :
31452 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31453 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31454 cat >>confdefs.h <<_ACEOF
31455 #define HAVE_LDEXPF 1
31456 _ACEOF
31459 done
31461 else
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31464 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31465 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31466 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31467 $as_echo_n "(cached) " >&6
31468 else
31471 ac_ext=cpp
31472 ac_cpp='$CXXCPP $CPPFLAGS'
31473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h. */
31479 #include <math.h>
31481 main ()
31483 _ldexpf(0, 0);
31485 return 0;
31487 _ACEOF
31488 if ac_fn_cxx_try_compile "$LINENO"; then :
31489 glibcxx_cv_func__ldexpf_use=yes
31490 else
31491 glibcxx_cv_func__ldexpf_use=no
31493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494 ac_ext=c
31495 ac_cpp='$CPP $CPPFLAGS'
31496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31505 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31507 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31508 for ac_func in _ldexpf
31509 do :
31510 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31511 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31512 cat >>confdefs.h <<_ACEOF
31513 #define HAVE__LDEXPF 1
31514 _ACEOF
31517 done
31526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31527 $as_echo_n "checking for logf declaration... " >&6; }
31528 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31529 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31530 $as_echo_n "(cached) " >&6
31531 else
31534 ac_ext=cpp
31535 ac_cpp='$CXXCPP $CPPFLAGS'
31536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31542 #include <math.h>
31543 #ifdef HAVE_IEEEFP_H
31544 #include <ieeefp.h>
31545 #endif
31548 main ()
31550 logf(0);
31552 return 0;
31554 _ACEOF
31555 if ac_fn_cxx_try_compile "$LINENO"; then :
31556 glibcxx_cv_func_logf_use=yes
31557 else
31558 glibcxx_cv_func_logf_use=no
31560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31561 ac_ext=c
31562 ac_cpp='$CPP $CPPFLAGS'
31563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31572 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31574 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31575 for ac_func in logf
31576 do :
31577 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31578 if test "x$ac_cv_func_logf" = x""yes; then :
31579 cat >>confdefs.h <<_ACEOF
31580 #define HAVE_LOGF 1
31581 _ACEOF
31584 done
31586 else
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31589 $as_echo_n "checking for _logf declaration... " >&6; }
31590 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31591 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31592 $as_echo_n "(cached) " >&6
31593 else
31596 ac_ext=cpp
31597 ac_cpp='$CXXCPP $CPPFLAGS'
31598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31603 /* end confdefs.h. */
31604 #include <math.h>
31605 #ifdef HAVE_IEEEFP_H
31606 #include <ieeefp.h>
31607 #endif
31610 main ()
31612 _logf(0);
31614 return 0;
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func__logf_use=yes
31619 else
31620 glibcxx_cv_func__logf_use=no
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31634 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31636 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31637 for ac_func in _logf
31638 do :
31639 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31640 if test "x$ac_cv_func__logf" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE__LOGF 1
31643 _ACEOF
31646 done
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31656 $as_echo_n "checking for log10f declaration... " >&6; }
31657 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31658 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31659 $as_echo_n "(cached) " >&6
31660 else
31663 ac_ext=cpp
31664 ac_cpp='$CXXCPP $CPPFLAGS'
31665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31670 /* end confdefs.h. */
31671 #include <math.h>
31672 #ifdef HAVE_IEEEFP_H
31673 #include <ieeefp.h>
31674 #endif
31677 main ()
31679 log10f(0);
31681 return 0;
31683 _ACEOF
31684 if ac_fn_cxx_try_compile "$LINENO"; then :
31685 glibcxx_cv_func_log10f_use=yes
31686 else
31687 glibcxx_cv_func_log10f_use=no
31689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31690 ac_ext=c
31691 ac_cpp='$CPP $CPPFLAGS'
31692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31701 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31703 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31704 for ac_func in log10f
31705 do :
31706 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31707 if test "x$ac_cv_func_log10f" = x""yes; then :
31708 cat >>confdefs.h <<_ACEOF
31709 #define HAVE_LOG10F 1
31710 _ACEOF
31713 done
31715 else
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31718 $as_echo_n "checking for _log10f declaration... " >&6; }
31719 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31720 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31721 $as_echo_n "(cached) " >&6
31722 else
31725 ac_ext=cpp
31726 ac_cpp='$CXXCPP $CPPFLAGS'
31727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 /* end confdefs.h. */
31733 #include <math.h>
31734 #ifdef HAVE_IEEEFP_H
31735 #include <ieeefp.h>
31736 #endif
31739 main ()
31741 _log10f(0);
31743 return 0;
31745 _ACEOF
31746 if ac_fn_cxx_try_compile "$LINENO"; then :
31747 glibcxx_cv_func__log10f_use=yes
31748 else
31749 glibcxx_cv_func__log10f_use=no
31751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31752 ac_ext=c
31753 ac_cpp='$CPP $CPPFLAGS'
31754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31763 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31765 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31766 for ac_func in _log10f
31767 do :
31768 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31769 if test "x$ac_cv_func__log10f" = x""yes; then :
31770 cat >>confdefs.h <<_ACEOF
31771 #define HAVE__LOG10F 1
31772 _ACEOF
31775 done
31784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31785 $as_echo_n "checking for modff declaration... " >&6; }
31786 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31787 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31788 $as_echo_n "(cached) " >&6
31789 else
31792 ac_ext=cpp
31793 ac_cpp='$CXXCPP $CPPFLAGS'
31794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31800 #include <math.h>
31802 main ()
31804 modff(0, 0);
31806 return 0;
31808 _ACEOF
31809 if ac_fn_cxx_try_compile "$LINENO"; then :
31810 glibcxx_cv_func_modff_use=yes
31811 else
31812 glibcxx_cv_func_modff_use=no
31814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31815 ac_ext=c
31816 ac_cpp='$CPP $CPPFLAGS'
31817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31826 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31828 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31829 for ac_func in modff
31830 do :
31831 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31832 if test "x$ac_cv_func_modff" = x""yes; then :
31833 cat >>confdefs.h <<_ACEOF
31834 #define HAVE_MODFF 1
31835 _ACEOF
31838 done
31840 else
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31843 $as_echo_n "checking for _modff declaration... " >&6; }
31844 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31845 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31846 $as_echo_n "(cached) " >&6
31847 else
31850 ac_ext=cpp
31851 ac_cpp='$CXXCPP $CPPFLAGS'
31852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31857 /* end confdefs.h. */
31858 #include <math.h>
31860 main ()
31862 _modff(0, 0);
31864 return 0;
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868 glibcxx_cv_func__modff_use=yes
31869 else
31870 glibcxx_cv_func__modff_use=no
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31884 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31886 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31887 for ac_func in _modff
31888 do :
31889 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31890 if test "x$ac_cv_func__modff" = x""yes; then :
31891 cat >>confdefs.h <<_ACEOF
31892 #define HAVE__MODFF 1
31893 _ACEOF
31896 done
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31906 $as_echo_n "checking for modf declaration... " >&6; }
31907 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31908 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31909 $as_echo_n "(cached) " >&6
31910 else
31913 ac_ext=cpp
31914 ac_cpp='$CXXCPP $CPPFLAGS'
31915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 /* end confdefs.h. */
31921 #include <math.h>
31923 main ()
31925 modf(0, 0);
31927 return 0;
31929 _ACEOF
31930 if ac_fn_cxx_try_compile "$LINENO"; then :
31931 glibcxx_cv_func_modf_use=yes
31932 else
31933 glibcxx_cv_func_modf_use=no
31935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31936 ac_ext=c
31937 ac_cpp='$CPP $CPPFLAGS'
31938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31947 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31949 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31950 for ac_func in modf
31951 do :
31952 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31953 if test "x$ac_cv_func_modf" = x""yes; then :
31954 cat >>confdefs.h <<_ACEOF
31955 #define HAVE_MODF 1
31956 _ACEOF
31959 done
31961 else
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31964 $as_echo_n "checking for _modf declaration... " >&6; }
31965 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31966 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31967 $as_echo_n "(cached) " >&6
31968 else
31971 ac_ext=cpp
31972 ac_cpp='$CXXCPP $CPPFLAGS'
31973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31978 /* end confdefs.h. */
31979 #include <math.h>
31981 main ()
31983 _modf(0, 0);
31985 return 0;
31987 _ACEOF
31988 if ac_fn_cxx_try_compile "$LINENO"; then :
31989 glibcxx_cv_func__modf_use=yes
31990 else
31991 glibcxx_cv_func__modf_use=no
31993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31994 ac_ext=c
31995 ac_cpp='$CPP $CPPFLAGS'
31996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32005 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32007 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32008 for ac_func in _modf
32009 do :
32010 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32011 if test "x$ac_cv_func__modf" = x""yes; then :
32012 cat >>confdefs.h <<_ACEOF
32013 #define HAVE__MODF 1
32014 _ACEOF
32017 done
32026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32027 $as_echo_n "checking for powf declaration... " >&6; }
32028 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32029 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32030 $as_echo_n "(cached) " >&6
32031 else
32034 ac_ext=cpp
32035 ac_cpp='$CXXCPP $CPPFLAGS'
32036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32041 /* end confdefs.h. */
32042 #include <math.h>
32044 main ()
32046 powf(0, 0);
32048 return 0;
32050 _ACEOF
32051 if ac_fn_cxx_try_compile "$LINENO"; then :
32052 glibcxx_cv_func_powf_use=yes
32053 else
32054 glibcxx_cv_func_powf_use=no
32056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32068 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32070 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32071 for ac_func in powf
32072 do :
32073 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32074 if test "x$ac_cv_func_powf" = x""yes; then :
32075 cat >>confdefs.h <<_ACEOF
32076 #define HAVE_POWF 1
32077 _ACEOF
32080 done
32082 else
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32085 $as_echo_n "checking for _powf declaration... " >&6; }
32086 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32087 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32088 $as_echo_n "(cached) " >&6
32089 else
32092 ac_ext=cpp
32093 ac_cpp='$CXXCPP $CPPFLAGS'
32094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32099 /* end confdefs.h. */
32100 #include <math.h>
32102 main ()
32104 _powf(0, 0);
32106 return 0;
32108 _ACEOF
32109 if ac_fn_cxx_try_compile "$LINENO"; then :
32110 glibcxx_cv_func__powf_use=yes
32111 else
32112 glibcxx_cv_func__powf_use=no
32114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32115 ac_ext=c
32116 ac_cpp='$CPP $CPPFLAGS'
32117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32126 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32128 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32129 for ac_func in _powf
32130 do :
32131 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32132 if test "x$ac_cv_func__powf" = x""yes; then :
32133 cat >>confdefs.h <<_ACEOF
32134 #define HAVE__POWF 1
32135 _ACEOF
32138 done
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32148 $as_echo_n "checking for sqrtf declaration... " >&6; }
32149 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32150 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32151 $as_echo_n "(cached) " >&6
32152 else
32155 ac_ext=cpp
32156 ac_cpp='$CXXCPP $CPPFLAGS'
32157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32162 /* end confdefs.h. */
32163 #include <math.h>
32164 #ifdef HAVE_IEEEFP_H
32165 #include <ieeefp.h>
32166 #endif
32169 main ()
32171 sqrtf(0);
32173 return 0;
32175 _ACEOF
32176 if ac_fn_cxx_try_compile "$LINENO"; then :
32177 glibcxx_cv_func_sqrtf_use=yes
32178 else
32179 glibcxx_cv_func_sqrtf_use=no
32181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32182 ac_ext=c
32183 ac_cpp='$CPP $CPPFLAGS'
32184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32193 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32195 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32196 for ac_func in sqrtf
32197 do :
32198 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32199 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32200 cat >>confdefs.h <<_ACEOF
32201 #define HAVE_SQRTF 1
32202 _ACEOF
32205 done
32207 else
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32210 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32211 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32212 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32213 $as_echo_n "(cached) " >&6
32214 else
32217 ac_ext=cpp
32218 ac_cpp='$CXXCPP $CPPFLAGS'
32219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32224 /* end confdefs.h. */
32225 #include <math.h>
32226 #ifdef HAVE_IEEEFP_H
32227 #include <ieeefp.h>
32228 #endif
32231 main ()
32233 _sqrtf(0);
32235 return 0;
32237 _ACEOF
32238 if ac_fn_cxx_try_compile "$LINENO"; then :
32239 glibcxx_cv_func__sqrtf_use=yes
32240 else
32241 glibcxx_cv_func__sqrtf_use=no
32243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32244 ac_ext=c
32245 ac_cpp='$CPP $CPPFLAGS'
32246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32255 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32257 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32258 for ac_func in _sqrtf
32259 do :
32260 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32261 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32262 cat >>confdefs.h <<_ACEOF
32263 #define HAVE__SQRTF 1
32264 _ACEOF
32267 done
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32277 $as_echo_n "checking for sincosf declaration... " >&6; }
32278 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32279 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32280 $as_echo_n "(cached) " >&6
32281 else
32284 ac_ext=cpp
32285 ac_cpp='$CXXCPP $CPPFLAGS'
32286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32291 /* end confdefs.h. */
32292 #include <math.h>
32294 main ()
32296 sincosf(0, 0, 0);
32298 return 0;
32300 _ACEOF
32301 if ac_fn_cxx_try_compile "$LINENO"; then :
32302 glibcxx_cv_func_sincosf_use=yes
32303 else
32304 glibcxx_cv_func_sincosf_use=no
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307 ac_ext=c
32308 ac_cpp='$CPP $CPPFLAGS'
32309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32318 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32320 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32321 for ac_func in sincosf
32322 do :
32323 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32324 if test "x$ac_cv_func_sincosf" = x""yes; then :
32325 cat >>confdefs.h <<_ACEOF
32326 #define HAVE_SINCOSF 1
32327 _ACEOF
32330 done
32332 else
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32335 $as_echo_n "checking for _sincosf declaration... " >&6; }
32336 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32337 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32338 $as_echo_n "(cached) " >&6
32339 else
32342 ac_ext=cpp
32343 ac_cpp='$CXXCPP $CPPFLAGS'
32344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32349 /* end confdefs.h. */
32350 #include <math.h>
32352 main ()
32354 _sincosf(0, 0, 0);
32356 return 0;
32358 _ACEOF
32359 if ac_fn_cxx_try_compile "$LINENO"; then :
32360 glibcxx_cv_func__sincosf_use=yes
32361 else
32362 glibcxx_cv_func__sincosf_use=no
32364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32376 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32378 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32379 for ac_func in _sincosf
32380 do :
32381 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32382 if test "x$ac_cv_func__sincosf" = x""yes; then :
32383 cat >>confdefs.h <<_ACEOF
32384 #define HAVE__SINCOSF 1
32385 _ACEOF
32388 done
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32398 $as_echo_n "checking for finitef declaration... " >&6; }
32399 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32400 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32401 $as_echo_n "(cached) " >&6
32402 else
32405 ac_ext=cpp
32406 ac_cpp='$CXXCPP $CPPFLAGS'
32407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 #include <math.h>
32414 #ifdef HAVE_IEEEFP_H
32415 #include <ieeefp.h>
32416 #endif
32419 main ()
32421 finitef(0);
32423 return 0;
32425 _ACEOF
32426 if ac_fn_cxx_try_compile "$LINENO"; then :
32427 glibcxx_cv_func_finitef_use=yes
32428 else
32429 glibcxx_cv_func_finitef_use=no
32431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32432 ac_ext=c
32433 ac_cpp='$CPP $CPPFLAGS'
32434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32443 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32445 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32446 for ac_func in finitef
32447 do :
32448 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32449 if test "x$ac_cv_func_finitef" = x""yes; then :
32450 cat >>confdefs.h <<_ACEOF
32451 #define HAVE_FINITEF 1
32452 _ACEOF
32455 done
32457 else
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32460 $as_echo_n "checking for _finitef declaration... " >&6; }
32461 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32462 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32463 $as_echo_n "(cached) " >&6
32464 else
32467 ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h. */
32475 #include <math.h>
32476 #ifdef HAVE_IEEEFP_H
32477 #include <ieeefp.h>
32478 #endif
32481 main ()
32483 _finitef(0);
32485 return 0;
32487 _ACEOF
32488 if ac_fn_cxx_try_compile "$LINENO"; then :
32489 glibcxx_cv_func__finitef_use=yes
32490 else
32491 glibcxx_cv_func__finitef_use=no
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494 ac_ext=c
32495 ac_cpp='$CPP $CPPFLAGS'
32496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32505 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32507 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32508 for ac_func in _finitef
32509 do :
32510 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32511 if test "x$ac_cv_func__finitef" = x""yes; then :
32512 cat >>confdefs.h <<_ACEOF
32513 #define HAVE__FINITEF 1
32514 _ACEOF
32517 done
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32527 $as_echo_n "checking for long double trig functions... " >&6; }
32528 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32529 $as_echo_n "(cached) " >&6
32530 else
32533 ac_ext=cpp
32534 ac_cpp='$CXXCPP $CPPFLAGS'
32535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32540 /* end confdefs.h. */
32541 #include <math.h>
32543 main ()
32545 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32547 return 0;
32549 _ACEOF
32550 if ac_fn_cxx_try_compile "$LINENO"; then :
32551 glibcxx_cv_func_long_double_trig_use=yes
32552 else
32553 glibcxx_cv_func_long_double_trig_use=no
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32556 ac_ext=c
32557 ac_cpp='$CPP $CPPFLAGS'
32558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32565 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32566 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32567 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32568 do :
32569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32571 eval as_val=\$$as_ac_var
32572 if test "x$as_val" = x""yes; then :
32573 cat >>confdefs.h <<_ACEOF
32574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32575 _ACEOF
32578 done
32580 else
32581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32582 $as_echo_n "checking for _long double trig functions... " >&6; }
32583 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32584 $as_echo_n "(cached) " >&6
32585 else
32588 ac_ext=cpp
32589 ac_cpp='$CXXCPP $CPPFLAGS'
32590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32595 /* end confdefs.h. */
32596 #include <math.h>
32598 main ()
32600 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32602 return 0;
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606 glibcxx_cv_func__long_double_trig_use=yes
32607 else
32608 glibcxx_cv_func__long_double_trig_use=no
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32620 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32621 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32622 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32623 do :
32624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32626 eval as_val=\$$as_ac_var
32627 if test "x$as_val" = x""yes; then :
32628 cat >>confdefs.h <<_ACEOF
32629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32630 _ACEOF
32633 done
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32643 $as_echo_n "checking for long double round functions... " >&6; }
32644 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32645 $as_echo_n "(cached) " >&6
32646 else
32649 ac_ext=cpp
32650 ac_cpp='$CXXCPP $CPPFLAGS'
32651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32656 /* end confdefs.h. */
32657 #include <math.h>
32659 main ()
32661 ceill (0); floorl (0);
32663 return 0;
32665 _ACEOF
32666 if ac_fn_cxx_try_compile "$LINENO"; then :
32667 glibcxx_cv_func_long_double_round_use=yes
32668 else
32669 glibcxx_cv_func_long_double_round_use=no
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32672 ac_ext=c
32673 ac_cpp='$CPP $CPPFLAGS'
32674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32681 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32682 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32683 for ac_func in ceill floorl
32684 do :
32685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32687 eval as_val=\$$as_ac_var
32688 if test "x$as_val" = x""yes; then :
32689 cat >>confdefs.h <<_ACEOF
32690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32691 _ACEOF
32694 done
32696 else
32697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32698 $as_echo_n "checking for _long double round functions... " >&6; }
32699 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32700 $as_echo_n "(cached) " >&6
32701 else
32704 ac_ext=cpp
32705 ac_cpp='$CXXCPP $CPPFLAGS'
32706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32711 /* end confdefs.h. */
32712 #include <math.h>
32714 main ()
32716 _ceill (0); _floorl (0);
32718 return 0;
32720 _ACEOF
32721 if ac_fn_cxx_try_compile "$LINENO"; then :
32722 glibcxx_cv_func__long_double_round_use=yes
32723 else
32724 glibcxx_cv_func__long_double_round_use=no
32726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32727 ac_ext=c
32728 ac_cpp='$CPP $CPPFLAGS'
32729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32736 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32737 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32738 for ac_func in _ceill _floorl
32739 do :
32740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32742 eval as_val=\$$as_ac_var
32743 if test "x$as_val" = x""yes; then :
32744 cat >>confdefs.h <<_ACEOF
32745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32746 _ACEOF
32749 done
32759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32760 $as_echo_n "checking for isnanl declaration... " >&6; }
32761 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32762 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32763 $as_echo_n "(cached) " >&6
32764 else
32767 ac_ext=cpp
32768 ac_cpp='$CXXCPP $CPPFLAGS'
32769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32774 /* end confdefs.h. */
32775 #include <math.h>
32776 #ifdef HAVE_IEEEFP_H
32777 #include <ieeefp.h>
32778 #endif
32781 main ()
32783 isnanl(0);
32785 return 0;
32787 _ACEOF
32788 if ac_fn_cxx_try_compile "$LINENO"; then :
32789 glibcxx_cv_func_isnanl_use=yes
32790 else
32791 glibcxx_cv_func_isnanl_use=no
32793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32794 ac_ext=c
32795 ac_cpp='$CPP $CPPFLAGS'
32796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32805 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32807 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32808 for ac_func in isnanl
32809 do :
32810 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32811 if test "x$ac_cv_func_isnanl" = x""yes; then :
32812 cat >>confdefs.h <<_ACEOF
32813 #define HAVE_ISNANL 1
32814 _ACEOF
32817 done
32819 else
32821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32822 $as_echo_n "checking for _isnanl declaration... " >&6; }
32823 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32824 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32825 $as_echo_n "(cached) " >&6
32826 else
32829 ac_ext=cpp
32830 ac_cpp='$CXXCPP $CPPFLAGS'
32831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32836 /* end confdefs.h. */
32837 #include <math.h>
32838 #ifdef HAVE_IEEEFP_H
32839 #include <ieeefp.h>
32840 #endif
32843 main ()
32845 _isnanl(0);
32847 return 0;
32849 _ACEOF
32850 if ac_fn_cxx_try_compile "$LINENO"; then :
32851 glibcxx_cv_func__isnanl_use=yes
32852 else
32853 glibcxx_cv_func__isnanl_use=no
32855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32856 ac_ext=c
32857 ac_cpp='$CPP $CPPFLAGS'
32858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32867 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32869 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32870 for ac_func in _isnanl
32871 do :
32872 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32873 if test "x$ac_cv_func__isnanl" = x""yes; then :
32874 cat >>confdefs.h <<_ACEOF
32875 #define HAVE__ISNANL 1
32876 _ACEOF
32879 done
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32889 $as_echo_n "checking for isinfl declaration... " >&6; }
32890 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32891 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32892 $as_echo_n "(cached) " >&6
32893 else
32896 ac_ext=cpp
32897 ac_cpp='$CXXCPP $CPPFLAGS'
32898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32903 /* end confdefs.h. */
32904 #include <math.h>
32905 #ifdef HAVE_IEEEFP_H
32906 #include <ieeefp.h>
32907 #endif
32910 main ()
32912 isinfl(0);
32914 return 0;
32916 _ACEOF
32917 if ac_fn_cxx_try_compile "$LINENO"; then :
32918 glibcxx_cv_func_isinfl_use=yes
32919 else
32920 glibcxx_cv_func_isinfl_use=no
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32923 ac_ext=c
32924 ac_cpp='$CPP $CPPFLAGS'
32925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32934 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32936 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32937 for ac_func in isinfl
32938 do :
32939 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32940 if test "x$ac_cv_func_isinfl" = x""yes; then :
32941 cat >>confdefs.h <<_ACEOF
32942 #define HAVE_ISINFL 1
32943 _ACEOF
32946 done
32948 else
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32951 $as_echo_n "checking for _isinfl declaration... " >&6; }
32952 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32953 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32954 $as_echo_n "(cached) " >&6
32955 else
32958 ac_ext=cpp
32959 ac_cpp='$CXXCPP $CPPFLAGS'
32960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32965 /* end confdefs.h. */
32966 #include <math.h>
32967 #ifdef HAVE_IEEEFP_H
32968 #include <ieeefp.h>
32969 #endif
32972 main ()
32974 _isinfl(0);
32976 return 0;
32978 _ACEOF
32979 if ac_fn_cxx_try_compile "$LINENO"; then :
32980 glibcxx_cv_func__isinfl_use=yes
32981 else
32982 glibcxx_cv_func__isinfl_use=no
32984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32985 ac_ext=c
32986 ac_cpp='$CPP $CPPFLAGS'
32987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32996 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32998 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32999 for ac_func in _isinfl
33000 do :
33001 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33002 if test "x$ac_cv_func__isinfl" = x""yes; then :
33003 cat >>confdefs.h <<_ACEOF
33004 #define HAVE__ISINFL 1
33005 _ACEOF
33008 done
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33018 $as_echo_n "checking for atan2l declaration... " >&6; }
33019 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33020 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <math.h>
33035 main ()
33037 atan2l(0, 0);
33039 return 0;
33041 _ACEOF
33042 if ac_fn_cxx_try_compile "$LINENO"; then :
33043 glibcxx_cv_func_atan2l_use=yes
33044 else
33045 glibcxx_cv_func_atan2l_use=no
33047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33048 ac_ext=c
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33059 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33061 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33062 for ac_func in atan2l
33063 do :
33064 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33065 if test "x$ac_cv_func_atan2l" = x""yes; then :
33066 cat >>confdefs.h <<_ACEOF
33067 #define HAVE_ATAN2L 1
33068 _ACEOF
33071 done
33073 else
33075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33076 $as_echo_n "checking for _atan2l declaration... " >&6; }
33077 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33078 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33079 $as_echo_n "(cached) " >&6
33080 else
33083 ac_ext=cpp
33084 ac_cpp='$CXXCPP $CPPFLAGS'
33085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33090 /* end confdefs.h. */
33091 #include <math.h>
33093 main ()
33095 _atan2l(0, 0);
33097 return 0;
33099 _ACEOF
33100 if ac_fn_cxx_try_compile "$LINENO"; then :
33101 glibcxx_cv_func__atan2l_use=yes
33102 else
33103 glibcxx_cv_func__atan2l_use=no
33105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33106 ac_ext=c
33107 ac_cpp='$CPP $CPPFLAGS'
33108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33117 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33119 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33120 for ac_func in _atan2l
33121 do :
33122 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33123 if test "x$ac_cv_func__atan2l" = x""yes; then :
33124 cat >>confdefs.h <<_ACEOF
33125 #define HAVE__ATAN2L 1
33126 _ACEOF
33129 done
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33139 $as_echo_n "checking for expl declaration... " >&6; }
33140 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33141 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33142 $as_echo_n "(cached) " >&6
33143 else
33146 ac_ext=cpp
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h. */
33154 #include <math.h>
33155 #ifdef HAVE_IEEEFP_H
33156 #include <ieeefp.h>
33157 #endif
33160 main ()
33162 expl(0);
33164 return 0;
33166 _ACEOF
33167 if ac_fn_cxx_try_compile "$LINENO"; then :
33168 glibcxx_cv_func_expl_use=yes
33169 else
33170 glibcxx_cv_func_expl_use=no
33172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33173 ac_ext=c
33174 ac_cpp='$CPP $CPPFLAGS'
33175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33184 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33186 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33187 for ac_func in expl
33188 do :
33189 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33190 if test "x$ac_cv_func_expl" = x""yes; then :
33191 cat >>confdefs.h <<_ACEOF
33192 #define HAVE_EXPL 1
33193 _ACEOF
33196 done
33198 else
33200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33201 $as_echo_n "checking for _expl declaration... " >&6; }
33202 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33203 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33204 $as_echo_n "(cached) " >&6
33205 else
33208 ac_ext=cpp
33209 ac_cpp='$CXXCPP $CPPFLAGS'
33210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33215 /* end confdefs.h. */
33216 #include <math.h>
33217 #ifdef HAVE_IEEEFP_H
33218 #include <ieeefp.h>
33219 #endif
33222 main ()
33224 _expl(0);
33226 return 0;
33228 _ACEOF
33229 if ac_fn_cxx_try_compile "$LINENO"; then :
33230 glibcxx_cv_func__expl_use=yes
33231 else
33232 glibcxx_cv_func__expl_use=no
33234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33235 ac_ext=c
33236 ac_cpp='$CPP $CPPFLAGS'
33237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33246 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33248 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33249 for ac_func in _expl
33250 do :
33251 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33252 if test "x$ac_cv_func__expl" = x""yes; then :
33253 cat >>confdefs.h <<_ACEOF
33254 #define HAVE__EXPL 1
33255 _ACEOF
33258 done
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33268 $as_echo_n "checking for fabsl declaration... " >&6; }
33269 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33270 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33271 $as_echo_n "(cached) " >&6
33272 else
33275 ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 #include <math.h>
33284 #ifdef HAVE_IEEEFP_H
33285 #include <ieeefp.h>
33286 #endif
33289 main ()
33291 fabsl(0);
33293 return 0;
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297 glibcxx_cv_func_fabsl_use=yes
33298 else
33299 glibcxx_cv_func_fabsl_use=no
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302 ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33313 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33315 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33316 for ac_func in fabsl
33317 do :
33318 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33319 if test "x$ac_cv_func_fabsl" = x""yes; then :
33320 cat >>confdefs.h <<_ACEOF
33321 #define HAVE_FABSL 1
33322 _ACEOF
33325 done
33327 else
33329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33330 $as_echo_n "checking for _fabsl declaration... " >&6; }
33331 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33332 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33333 $as_echo_n "(cached) " >&6
33334 else
33337 ac_ext=cpp
33338 ac_cpp='$CXXCPP $CPPFLAGS'
33339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33344 /* end confdefs.h. */
33345 #include <math.h>
33346 #ifdef HAVE_IEEEFP_H
33347 #include <ieeefp.h>
33348 #endif
33351 main ()
33353 _fabsl(0);
33355 return 0;
33357 _ACEOF
33358 if ac_fn_cxx_try_compile "$LINENO"; then :
33359 glibcxx_cv_func__fabsl_use=yes
33360 else
33361 glibcxx_cv_func__fabsl_use=no
33363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33364 ac_ext=c
33365 ac_cpp='$CPP $CPPFLAGS'
33366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33375 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33377 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33378 for ac_func in _fabsl
33379 do :
33380 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33381 if test "x$ac_cv_func__fabsl" = x""yes; then :
33382 cat >>confdefs.h <<_ACEOF
33383 #define HAVE__FABSL 1
33384 _ACEOF
33387 done
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33397 $as_echo_n "checking for fmodl declaration... " >&6; }
33398 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33399 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33400 $as_echo_n "(cached) " >&6
33401 else
33404 ac_ext=cpp
33405 ac_cpp='$CXXCPP $CPPFLAGS'
33406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33411 /* end confdefs.h. */
33412 #include <math.h>
33414 main ()
33416 fmodl(0, 0);
33418 return 0;
33420 _ACEOF
33421 if ac_fn_cxx_try_compile "$LINENO"; then :
33422 glibcxx_cv_func_fmodl_use=yes
33423 else
33424 glibcxx_cv_func_fmodl_use=no
33426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33427 ac_ext=c
33428 ac_cpp='$CPP $CPPFLAGS'
33429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33438 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33440 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33441 for ac_func in fmodl
33442 do :
33443 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33444 if test "x$ac_cv_func_fmodl" = x""yes; then :
33445 cat >>confdefs.h <<_ACEOF
33446 #define HAVE_FMODL 1
33447 _ACEOF
33450 done
33452 else
33454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33455 $as_echo_n "checking for _fmodl declaration... " >&6; }
33456 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33457 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33458 $as_echo_n "(cached) " >&6
33459 else
33462 ac_ext=cpp
33463 ac_cpp='$CXXCPP $CPPFLAGS'
33464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33469 /* end confdefs.h. */
33470 #include <math.h>
33472 main ()
33474 _fmodl(0, 0);
33476 return 0;
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480 glibcxx_cv_func__fmodl_use=yes
33481 else
33482 glibcxx_cv_func__fmodl_use=no
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33496 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33498 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33499 for ac_func in _fmodl
33500 do :
33501 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33502 if test "x$ac_cv_func__fmodl" = x""yes; then :
33503 cat >>confdefs.h <<_ACEOF
33504 #define HAVE__FMODL 1
33505 _ACEOF
33508 done
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33518 $as_echo_n "checking for frexpl declaration... " >&6; }
33519 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33520 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33521 $as_echo_n "(cached) " >&6
33522 else
33525 ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h. */
33533 #include <math.h>
33535 main ()
33537 frexpl(0, 0);
33539 return 0;
33541 _ACEOF
33542 if ac_fn_cxx_try_compile "$LINENO"; then :
33543 glibcxx_cv_func_frexpl_use=yes
33544 else
33545 glibcxx_cv_func_frexpl_use=no
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 ac_ext=c
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33559 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33561 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33562 for ac_func in frexpl
33563 do :
33564 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33565 if test "x$ac_cv_func_frexpl" = x""yes; then :
33566 cat >>confdefs.h <<_ACEOF
33567 #define HAVE_FREXPL 1
33568 _ACEOF
33571 done
33573 else
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33576 $as_echo_n "checking for _frexpl declaration... " >&6; }
33577 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33578 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33579 $as_echo_n "(cached) " >&6
33580 else
33583 ac_ext=cpp
33584 ac_cpp='$CXXCPP $CPPFLAGS'
33585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33590 /* end confdefs.h. */
33591 #include <math.h>
33593 main ()
33595 _frexpl(0, 0);
33597 return 0;
33599 _ACEOF
33600 if ac_fn_cxx_try_compile "$LINENO"; then :
33601 glibcxx_cv_func__frexpl_use=yes
33602 else
33603 glibcxx_cv_func__frexpl_use=no
33605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33606 ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33617 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33619 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33620 for ac_func in _frexpl
33621 do :
33622 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33623 if test "x$ac_cv_func__frexpl" = x""yes; then :
33624 cat >>confdefs.h <<_ACEOF
33625 #define HAVE__FREXPL 1
33626 _ACEOF
33629 done
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33639 $as_echo_n "checking for hypotl declaration... " >&6; }
33640 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33641 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33642 $as_echo_n "(cached) " >&6
33643 else
33646 ac_ext=cpp
33647 ac_cpp='$CXXCPP $CPPFLAGS'
33648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33653 /* end confdefs.h. */
33654 #include <math.h>
33656 main ()
33658 hypotl(0, 0);
33660 return 0;
33662 _ACEOF
33663 if ac_fn_cxx_try_compile "$LINENO"; then :
33664 glibcxx_cv_func_hypotl_use=yes
33665 else
33666 glibcxx_cv_func_hypotl_use=no
33668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33669 ac_ext=c
33670 ac_cpp='$CPP $CPPFLAGS'
33671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33680 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33682 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33683 for ac_func in hypotl
33684 do :
33685 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33686 if test "x$ac_cv_func_hypotl" = x""yes; then :
33687 cat >>confdefs.h <<_ACEOF
33688 #define HAVE_HYPOTL 1
33689 _ACEOF
33692 done
33694 else
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33697 $as_echo_n "checking for _hypotl declaration... " >&6; }
33698 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33699 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33700 $as_echo_n "(cached) " >&6
33701 else
33704 ac_ext=cpp
33705 ac_cpp='$CXXCPP $CPPFLAGS'
33706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33711 /* end confdefs.h. */
33712 #include <math.h>
33714 main ()
33716 _hypotl(0, 0);
33718 return 0;
33720 _ACEOF
33721 if ac_fn_cxx_try_compile "$LINENO"; then :
33722 glibcxx_cv_func__hypotl_use=yes
33723 else
33724 glibcxx_cv_func__hypotl_use=no
33726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33727 ac_ext=c
33728 ac_cpp='$CPP $CPPFLAGS'
33729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33738 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33740 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33741 for ac_func in _hypotl
33742 do :
33743 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33744 if test "x$ac_cv_func__hypotl" = x""yes; then :
33745 cat >>confdefs.h <<_ACEOF
33746 #define HAVE__HYPOTL 1
33747 _ACEOF
33750 done
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33760 $as_echo_n "checking for ldexpl declaration... " >&6; }
33761 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33762 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33763 $as_echo_n "(cached) " >&6
33764 else
33767 ac_ext=cpp
33768 ac_cpp='$CXXCPP $CPPFLAGS'
33769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33774 /* end confdefs.h. */
33775 #include <math.h>
33777 main ()
33779 ldexpl(0, 0);
33781 return 0;
33783 _ACEOF
33784 if ac_fn_cxx_try_compile "$LINENO"; then :
33785 glibcxx_cv_func_ldexpl_use=yes
33786 else
33787 glibcxx_cv_func_ldexpl_use=no
33789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33790 ac_ext=c
33791 ac_cpp='$CPP $CPPFLAGS'
33792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33801 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33803 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33804 for ac_func in ldexpl
33805 do :
33806 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33807 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33808 cat >>confdefs.h <<_ACEOF
33809 #define HAVE_LDEXPL 1
33810 _ACEOF
33813 done
33815 else
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33818 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33819 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33820 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33821 $as_echo_n "(cached) " >&6
33822 else
33825 ac_ext=cpp
33826 ac_cpp='$CXXCPP $CPPFLAGS'
33827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33832 /* end confdefs.h. */
33833 #include <math.h>
33835 main ()
33837 _ldexpl(0, 0);
33839 return 0;
33841 _ACEOF
33842 if ac_fn_cxx_try_compile "$LINENO"; then :
33843 glibcxx_cv_func__ldexpl_use=yes
33844 else
33845 glibcxx_cv_func__ldexpl_use=no
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848 ac_ext=c
33849 ac_cpp='$CPP $CPPFLAGS'
33850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33859 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33861 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33862 for ac_func in _ldexpl
33863 do :
33864 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33865 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33866 cat >>confdefs.h <<_ACEOF
33867 #define HAVE__LDEXPL 1
33868 _ACEOF
33871 done
33880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33881 $as_echo_n "checking for logl declaration... " >&6; }
33882 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33883 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33884 $as_echo_n "(cached) " >&6
33885 else
33888 ac_ext=cpp
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895 /* end confdefs.h. */
33896 #include <math.h>
33897 #ifdef HAVE_IEEEFP_H
33898 #include <ieeefp.h>
33899 #endif
33902 main ()
33904 logl(0);
33906 return 0;
33908 _ACEOF
33909 if ac_fn_cxx_try_compile "$LINENO"; then :
33910 glibcxx_cv_func_logl_use=yes
33911 else
33912 glibcxx_cv_func_logl_use=no
33914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33915 ac_ext=c
33916 ac_cpp='$CPP $CPPFLAGS'
33917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33926 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33928 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33929 for ac_func in logl
33930 do :
33931 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33932 if test "x$ac_cv_func_logl" = x""yes; then :
33933 cat >>confdefs.h <<_ACEOF
33934 #define HAVE_LOGL 1
33935 _ACEOF
33938 done
33940 else
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33943 $as_echo_n "checking for _logl declaration... " >&6; }
33944 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33945 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33946 $as_echo_n "(cached) " >&6
33947 else
33950 ac_ext=cpp
33951 ac_cpp='$CXXCPP $CPPFLAGS'
33952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33957 /* end confdefs.h. */
33958 #include <math.h>
33959 #ifdef HAVE_IEEEFP_H
33960 #include <ieeefp.h>
33961 #endif
33964 main ()
33966 _logl(0);
33968 return 0;
33970 _ACEOF
33971 if ac_fn_cxx_try_compile "$LINENO"; then :
33972 glibcxx_cv_func__logl_use=yes
33973 else
33974 glibcxx_cv_func__logl_use=no
33976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33977 ac_ext=c
33978 ac_cpp='$CPP $CPPFLAGS'
33979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33988 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33990 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33991 for ac_func in _logl
33992 do :
33993 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33994 if test "x$ac_cv_func__logl" = x""yes; then :
33995 cat >>confdefs.h <<_ACEOF
33996 #define HAVE__LOGL 1
33997 _ACEOF
34000 done
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34010 $as_echo_n "checking for log10l declaration... " >&6; }
34011 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34012 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34013 $as_echo_n "(cached) " >&6
34014 else
34017 ac_ext=cpp
34018 ac_cpp='$CXXCPP $CPPFLAGS'
34019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34025 #include <math.h>
34026 #ifdef HAVE_IEEEFP_H
34027 #include <ieeefp.h>
34028 #endif
34031 main ()
34033 log10l(0);
34035 return 0;
34037 _ACEOF
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039 glibcxx_cv_func_log10l_use=yes
34040 else
34041 glibcxx_cv_func_log10l_use=no
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34044 ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34055 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34057 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34058 for ac_func in log10l
34059 do :
34060 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34061 if test "x$ac_cv_func_log10l" = x""yes; then :
34062 cat >>confdefs.h <<_ACEOF
34063 #define HAVE_LOG10L 1
34064 _ACEOF
34067 done
34069 else
34071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34072 $as_echo_n "checking for _log10l declaration... " >&6; }
34073 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34074 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34075 $as_echo_n "(cached) " >&6
34076 else
34079 ac_ext=cpp
34080 ac_cpp='$CXXCPP $CPPFLAGS'
34081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34086 /* end confdefs.h. */
34087 #include <math.h>
34088 #ifdef HAVE_IEEEFP_H
34089 #include <ieeefp.h>
34090 #endif
34093 main ()
34095 _log10l(0);
34097 return 0;
34099 _ACEOF
34100 if ac_fn_cxx_try_compile "$LINENO"; then :
34101 glibcxx_cv_func__log10l_use=yes
34102 else
34103 glibcxx_cv_func__log10l_use=no
34105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34106 ac_ext=c
34107 ac_cpp='$CPP $CPPFLAGS'
34108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34117 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34119 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34120 for ac_func in _log10l
34121 do :
34122 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34123 if test "x$ac_cv_func__log10l" = x""yes; then :
34124 cat >>confdefs.h <<_ACEOF
34125 #define HAVE__LOG10L 1
34126 _ACEOF
34129 done
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34139 $as_echo_n "checking for modfl declaration... " >&6; }
34140 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34141 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34142 $as_echo_n "(cached) " >&6
34143 else
34146 ac_ext=cpp
34147 ac_cpp='$CXXCPP $CPPFLAGS'
34148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34153 /* end confdefs.h. */
34154 #include <math.h>
34156 main ()
34158 modfl(0, 0);
34160 return 0;
34162 _ACEOF
34163 if ac_fn_cxx_try_compile "$LINENO"; then :
34164 glibcxx_cv_func_modfl_use=yes
34165 else
34166 glibcxx_cv_func_modfl_use=no
34168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34169 ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34180 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34182 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34183 for ac_func in modfl
34184 do :
34185 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34186 if test "x$ac_cv_func_modfl" = x""yes; then :
34187 cat >>confdefs.h <<_ACEOF
34188 #define HAVE_MODFL 1
34189 _ACEOF
34192 done
34194 else
34196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34197 $as_echo_n "checking for _modfl declaration... " >&6; }
34198 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34199 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34200 $as_echo_n "(cached) " >&6
34201 else
34204 ac_ext=cpp
34205 ac_cpp='$CXXCPP $CPPFLAGS'
34206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34211 /* end confdefs.h. */
34212 #include <math.h>
34214 main ()
34216 _modfl(0, 0);
34218 return 0;
34220 _ACEOF
34221 if ac_fn_cxx_try_compile "$LINENO"; then :
34222 glibcxx_cv_func__modfl_use=yes
34223 else
34224 glibcxx_cv_func__modfl_use=no
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34227 ac_ext=c
34228 ac_cpp='$CPP $CPPFLAGS'
34229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34238 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34240 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34241 for ac_func in _modfl
34242 do :
34243 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34244 if test "x$ac_cv_func__modfl" = x""yes; then :
34245 cat >>confdefs.h <<_ACEOF
34246 #define HAVE__MODFL 1
34247 _ACEOF
34250 done
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34260 $as_echo_n "checking for powl declaration... " >&6; }
34261 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34262 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34264 else
34267 ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34275 #include <math.h>
34277 main ()
34279 powl(0, 0);
34281 return 0;
34283 _ACEOF
34284 if ac_fn_cxx_try_compile "$LINENO"; then :
34285 glibcxx_cv_func_powl_use=yes
34286 else
34287 glibcxx_cv_func_powl_use=no
34289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34290 ac_ext=c
34291 ac_cpp='$CPP $CPPFLAGS'
34292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34301 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34303 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34304 for ac_func in powl
34305 do :
34306 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34307 if test "x$ac_cv_func_powl" = x""yes; then :
34308 cat >>confdefs.h <<_ACEOF
34309 #define HAVE_POWL 1
34310 _ACEOF
34313 done
34315 else
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34318 $as_echo_n "checking for _powl declaration... " >&6; }
34319 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34320 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34321 $as_echo_n "(cached) " >&6
34322 else
34325 ac_ext=cpp
34326 ac_cpp='$CXXCPP $CPPFLAGS'
34327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34332 /* end confdefs.h. */
34333 #include <math.h>
34335 main ()
34337 _powl(0, 0);
34339 return 0;
34341 _ACEOF
34342 if ac_fn_cxx_try_compile "$LINENO"; then :
34343 glibcxx_cv_func__powl_use=yes
34344 else
34345 glibcxx_cv_func__powl_use=no
34347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34348 ac_ext=c
34349 ac_cpp='$CPP $CPPFLAGS'
34350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34359 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34361 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34362 for ac_func in _powl
34363 do :
34364 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34365 if test "x$ac_cv_func__powl" = x""yes; then :
34366 cat >>confdefs.h <<_ACEOF
34367 #define HAVE__POWL 1
34368 _ACEOF
34371 done
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34381 $as_echo_n "checking for sqrtl declaration... " >&6; }
34382 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34383 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34384 $as_echo_n "(cached) " >&6
34385 else
34388 ac_ext=cpp
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395 /* end confdefs.h. */
34396 #include <math.h>
34397 #ifdef HAVE_IEEEFP_H
34398 #include <ieeefp.h>
34399 #endif
34402 main ()
34404 sqrtl(0);
34406 return 0;
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410 glibcxx_cv_func_sqrtl_use=yes
34411 else
34412 glibcxx_cv_func_sqrtl_use=no
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415 ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34426 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34428 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34429 for ac_func in sqrtl
34430 do :
34431 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34432 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34433 cat >>confdefs.h <<_ACEOF
34434 #define HAVE_SQRTL 1
34435 _ACEOF
34438 done
34440 else
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34443 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34444 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34445 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34446 $as_echo_n "(cached) " >&6
34447 else
34450 ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h. */
34458 #include <math.h>
34459 #ifdef HAVE_IEEEFP_H
34460 #include <ieeefp.h>
34461 #endif
34464 main ()
34466 _sqrtl(0);
34468 return 0;
34470 _ACEOF
34471 if ac_fn_cxx_try_compile "$LINENO"; then :
34472 glibcxx_cv_func__sqrtl_use=yes
34473 else
34474 glibcxx_cv_func__sqrtl_use=no
34476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 ac_ext=c
34478 ac_cpp='$CPP $CPPFLAGS'
34479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34488 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34490 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34491 for ac_func in _sqrtl
34492 do :
34493 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34494 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34495 cat >>confdefs.h <<_ACEOF
34496 #define HAVE__SQRTL 1
34497 _ACEOF
34500 done
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34510 $as_echo_n "checking for sincosl declaration... " >&6; }
34511 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34512 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34513 $as_echo_n "(cached) " >&6
34514 else
34517 ac_ext=cpp
34518 ac_cpp='$CXXCPP $CPPFLAGS'
34519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34524 /* end confdefs.h. */
34525 #include <math.h>
34527 main ()
34529 sincosl(0, 0, 0);
34531 return 0;
34533 _ACEOF
34534 if ac_fn_cxx_try_compile "$LINENO"; then :
34535 glibcxx_cv_func_sincosl_use=yes
34536 else
34537 glibcxx_cv_func_sincosl_use=no
34539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34540 ac_ext=c
34541 ac_cpp='$CPP $CPPFLAGS'
34542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34551 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34553 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34554 for ac_func in sincosl
34555 do :
34556 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34557 if test "x$ac_cv_func_sincosl" = x""yes; then :
34558 cat >>confdefs.h <<_ACEOF
34559 #define HAVE_SINCOSL 1
34560 _ACEOF
34563 done
34565 else
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34568 $as_echo_n "checking for _sincosl declaration... " >&6; }
34569 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34570 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34571 $as_echo_n "(cached) " >&6
34572 else
34575 ac_ext=cpp
34576 ac_cpp='$CXXCPP $CPPFLAGS'
34577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34582 /* end confdefs.h. */
34583 #include <math.h>
34585 main ()
34587 _sincosl(0, 0, 0);
34589 return 0;
34591 _ACEOF
34592 if ac_fn_cxx_try_compile "$LINENO"; then :
34593 glibcxx_cv_func__sincosl_use=yes
34594 else
34595 glibcxx_cv_func__sincosl_use=no
34597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34598 ac_ext=c
34599 ac_cpp='$CPP $CPPFLAGS'
34600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34609 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34611 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34612 for ac_func in _sincosl
34613 do :
34614 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34615 if test "x$ac_cv_func__sincosl" = x""yes; then :
34616 cat >>confdefs.h <<_ACEOF
34617 #define HAVE__SINCOSL 1
34618 _ACEOF
34621 done
34630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34631 $as_echo_n "checking for finitel declaration... " >&6; }
34632 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34633 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34634 $as_echo_n "(cached) " >&6
34635 else
34638 ac_ext=cpp
34639 ac_cpp='$CXXCPP $CPPFLAGS'
34640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34645 /* end confdefs.h. */
34646 #include <math.h>
34647 #ifdef HAVE_IEEEFP_H
34648 #include <ieeefp.h>
34649 #endif
34652 main ()
34654 finitel(0);
34656 return 0;
34658 _ACEOF
34659 if ac_fn_cxx_try_compile "$LINENO"; then :
34660 glibcxx_cv_func_finitel_use=yes
34661 else
34662 glibcxx_cv_func_finitel_use=no
34664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34665 ac_ext=c
34666 ac_cpp='$CPP $CPPFLAGS'
34667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34676 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34678 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34679 for ac_func in finitel
34680 do :
34681 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34682 if test "x$ac_cv_func_finitel" = x""yes; then :
34683 cat >>confdefs.h <<_ACEOF
34684 #define HAVE_FINITEL 1
34685 _ACEOF
34688 done
34690 else
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34693 $as_echo_n "checking for _finitel declaration... " >&6; }
34694 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34695 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34696 $as_echo_n "(cached) " >&6
34697 else
34700 ac_ext=cpp
34701 ac_cpp='$CXXCPP $CPPFLAGS'
34702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34707 /* end confdefs.h. */
34708 #include <math.h>
34709 #ifdef HAVE_IEEEFP_H
34710 #include <ieeefp.h>
34711 #endif
34714 main ()
34716 _finitel(0);
34718 return 0;
34720 _ACEOF
34721 if ac_fn_cxx_try_compile "$LINENO"; then :
34722 glibcxx_cv_func__finitel_use=yes
34723 else
34724 glibcxx_cv_func__finitel_use=no
34726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34727 ac_ext=c
34728 ac_cpp='$CPP $CPPFLAGS'
34729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34738 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34740 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34741 for ac_func in _finitel
34742 do :
34743 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34744 if test "x$ac_cv_func__finitel" = x""yes; then :
34745 cat >>confdefs.h <<_ACEOF
34746 #define HAVE__FINITEL 1
34747 _ACEOF
34750 done
34758 LIBS="$ac_save_LIBS"
34759 CXXFLAGS="$ac_save_CXXFLAGS"
34762 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34763 ac_save_CXXFLAGS="$CXXFLAGS"
34764 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34768 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34769 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34770 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34771 $as_echo_n "(cached) " >&6
34772 else
34775 ac_ext=cpp
34776 ac_cpp='$CXXCPP $CPPFLAGS'
34777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34782 /* end confdefs.h. */
34783 #include <stdlib.h>
34785 main ()
34787 at_quick_exit(0);
34789 return 0;
34791 _ACEOF
34792 if ac_fn_cxx_try_compile "$LINENO"; then :
34793 glibcxx_cv_func_at_quick_exit_use=yes
34794 else
34795 glibcxx_cv_func_at_quick_exit_use=no
34797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34798 ac_ext=c
34799 ac_cpp='$CPP $CPPFLAGS'
34800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34809 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34810 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34811 for ac_func in at_quick_exit
34812 do :
34813 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34814 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34815 cat >>confdefs.h <<_ACEOF
34816 #define HAVE_AT_QUICK_EXIT 1
34817 _ACEOF
34820 done
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34826 $as_echo_n "checking for quick_exit declaration... " >&6; }
34827 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34828 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34829 $as_echo_n "(cached) " >&6
34830 else
34833 ac_ext=cpp
34834 ac_cpp='$CXXCPP $CPPFLAGS'
34835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34840 /* end confdefs.h. */
34841 #include <stdlib.h>
34843 main ()
34845 quick_exit(0);
34847 return 0;
34849 _ACEOF
34850 if ac_fn_cxx_try_compile "$LINENO"; then :
34851 glibcxx_cv_func_quick_exit_use=yes
34852 else
34853 glibcxx_cv_func_quick_exit_use=no
34855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34856 ac_ext=c
34857 ac_cpp='$CPP $CPPFLAGS'
34858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34867 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34868 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34869 for ac_func in quick_exit
34870 do :
34871 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34872 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34873 cat >>confdefs.h <<_ACEOF
34874 #define HAVE_QUICK_EXIT 1
34875 _ACEOF
34878 done
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34884 $as_echo_n "checking for strtold declaration... " >&6; }
34885 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34886 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34887 $as_echo_n "(cached) " >&6
34888 else
34891 ac_ext=cpp
34892 ac_cpp='$CXXCPP $CPPFLAGS'
34893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34898 /* end confdefs.h. */
34899 #include <stdlib.h>
34901 main ()
34903 strtold(0, 0);
34905 return 0;
34907 _ACEOF
34908 if ac_fn_cxx_try_compile "$LINENO"; then :
34909 glibcxx_cv_func_strtold_use=yes
34910 else
34911 glibcxx_cv_func_strtold_use=no
34913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34914 ac_ext=c
34915 ac_cpp='$CPP $CPPFLAGS'
34916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34925 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34926 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34927 for ac_func in strtold
34928 do :
34929 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34930 if test "x$ac_cv_func_strtold" = x""yes; then :
34931 cat >>confdefs.h <<_ACEOF
34932 #define HAVE_STRTOLD 1
34933 _ACEOF
34936 done
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34944 $as_echo_n "checking for strtof declaration... " >&6; }
34945 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34946 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34947 $as_echo_n "(cached) " >&6
34948 else
34951 ac_ext=cpp
34952 ac_cpp='$CXXCPP $CPPFLAGS'
34953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34958 /* end confdefs.h. */
34959 #include <stdlib.h>
34961 main ()
34963 strtof(0, 0);
34965 return 0;
34967 _ACEOF
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969 glibcxx_cv_func_strtof_use=yes
34970 else
34971 glibcxx_cv_func_strtof_use=no
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974 ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34985 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34986 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34987 for ac_func in strtof
34988 do :
34989 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34990 if test "x$ac_cv_func_strtof" = x""yes; then :
34991 cat >>confdefs.h <<_ACEOF
34992 #define HAVE_STRTOF 1
34993 _ACEOF
34996 done
35003 CXXFLAGS="$ac_save_CXXFLAGS"
35006 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35008 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35010 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35012 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35015 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35017 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35019 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35023 spu-*-elf*)
35025 # All these tests are for C++; save the language and the compiler flags.
35026 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35027 # found in GLIBCXX_CONFIGURE.
35029 ac_ext=cpp
35030 ac_cpp='$CXXCPP $CPPFLAGS'
35031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35035 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35036 ac_save_CXXFLAGS="$CXXFLAGS"
35038 # Check for -ffunction-sections -fdata-sections
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35040 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35041 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35043 /* end confdefs.h. */
35044 int foo; void bar() { };
35046 main ()
35050 return 0;
35052 _ACEOF
35053 if ac_fn_cxx_try_compile "$LINENO"; then :
35054 ac_fdsections=yes
35055 else
35056 ac_fdsections=no
35058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35059 if test "$ac_test_CXXFLAGS" = set; then
35060 CXXFLAGS="$ac_save_CXXFLAGS"
35061 else
35062 # this is the suspicious part
35063 CXXFLAGS=''
35065 if test x"$ac_fdsections" = x"yes"; then
35066 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35069 $as_echo "$ac_fdsections" >&6; }
35071 ac_ext=c
35072 ac_cpp='$CPP $CPPFLAGS'
35073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35080 # If we're not using GNU ld, then there's no point in even trying these
35081 # tests. Check for that first. We should have already tested for gld
35082 # by now (in libtool), but require it now just to be safe...
35083 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35084 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35088 # The name set by libtool depends on the version of libtool. Shame on us
35089 # for depending on an impl detail, but c'est la vie. Older versions used
35090 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35091 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35092 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35093 # set (hence we're using an older libtool), then set it.
35094 if test x${with_gnu_ld+set} != xset; then
35095 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35096 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35097 with_gnu_ld=no
35098 else
35099 with_gnu_ld=$ac_cv_prog_gnu_ld
35103 # Start by getting the version number. I think the libtool test already
35104 # does some of this, but throws away the result.
35105 glibcxx_ld_is_gold=no
35106 if test x"$with_gnu_ld" = x"yes"; then
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35108 $as_echo_n "checking for ld version... " >&6; }
35110 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35111 glibcxx_ld_is_gold=yes
35113 ldver=`$LD --version 2>/dev/null |
35114 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'`
35116 glibcxx_gnu_ld_version=`echo $ldver | \
35117 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35119 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35122 # Set --gc-sections.
35123 glibcxx_have_gc_sections=no
35124 if test "$glibcxx_ld_is_gold" = "yes"; then
35125 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35126 glibcxx_have_gc_sections=yes
35128 else
35129 glibcxx_gcsections_min_ld=21602
35130 if test x"$with_gnu_ld" = x"yes" &&
35131 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35132 glibcxx_have_gc_sections=yes
35135 if test "$glibcxx_have_gc_sections" = "yes"; then
35136 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35137 # NB: This flag only works reliably after 2.16.1. Configure tests
35138 # for this are difficult, so hard wire a value that should work.
35140 ac_test_CFLAGS="${CFLAGS+set}"
35141 ac_save_CFLAGS="$CFLAGS"
35142 CFLAGS='-Wl,--gc-sections'
35144 # Check for -Wl,--gc-sections
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35146 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35147 if test x$gcc_no_link = xyes; then
35148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35151 /* end confdefs.h. */
35152 int one(void) { return 1; }
35153 int two(void) { return 2; }
35156 main ()
35158 two();
35160 return 0;
35162 _ACEOF
35163 if ac_fn_c_try_link "$LINENO"; then :
35164 ac_gcsections=yes
35165 else
35166 ac_gcsections=no
35168 rm -f core conftest.err conftest.$ac_objext \
35169 conftest$ac_exeext conftest.$ac_ext
35170 if test "$ac_gcsections" = "yes"; then
35171 rm -f conftest.c
35172 touch conftest.c
35173 if $CC -c conftest.c; then
35174 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35175 grep "Warning: gc-sections option ignored" > /dev/null; then
35176 ac_gcsections=no
35179 rm -f conftest.c conftest.o conftest
35181 if test "$ac_gcsections" = "yes"; then
35182 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35185 $as_echo "$ac_gcsections" >&6; }
35187 if test "$ac_test_CFLAGS" = set; then
35188 CFLAGS="$ac_save_CFLAGS"
35189 else
35190 # this is the suspicious part
35191 CFLAGS=''
35195 # Set -z,relro.
35196 # Note this is only for shared objects.
35197 ac_ld_relro=no
35198 if test x"$with_gnu_ld" = x"yes"; then
35199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35200 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35201 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35202 if test -n "$cxx_z_relo"; then
35203 OPT_LDFLAGS="-Wl,-z,relro"
35204 ac_ld_relro=yes
35206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35207 $as_echo "$ac_ld_relro" >&6; }
35210 # Set linker optimization flags.
35211 if test x"$with_gnu_ld" = x"yes"; then
35212 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35219 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35220 ac_save_CXXFLAGS="$CXXFLAGS"
35221 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35224 $as_echo_n "checking for sin in -lm... " >&6; }
35225 if test "${ac_cv_lib_m_sin+set}" = set; then :
35226 $as_echo_n "(cached) " >&6
35227 else
35228 ac_check_lib_save_LIBS=$LIBS
35229 LIBS="-lm $LIBS"
35230 if test x$gcc_no_link = xyes; then
35231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35234 /* end confdefs.h. */
35236 /* Override any GCC internal prototype to avoid an error.
35237 Use char because int might match the return type of a GCC
35238 builtin and then its argument prototype would still apply. */
35239 #ifdef __cplusplus
35240 extern "C"
35241 #endif
35242 char sin ();
35244 main ()
35246 return sin ();
35248 return 0;
35250 _ACEOF
35251 if ac_fn_c_try_link "$LINENO"; then :
35252 ac_cv_lib_m_sin=yes
35253 else
35254 ac_cv_lib_m_sin=no
35256 rm -f core conftest.err conftest.$ac_objext \
35257 conftest$ac_exeext conftest.$ac_ext
35258 LIBS=$ac_check_lib_save_LIBS
35260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35261 $as_echo "$ac_cv_lib_m_sin" >&6; }
35262 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35263 libm="-lm"
35266 ac_save_LIBS="$LIBS"
35267 LIBS="$LIBS $libm"
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35272 $as_echo_n "checking for isinf declaration... " >&6; }
35273 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35274 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35275 $as_echo_n "(cached) " >&6
35276 else
35279 ac_ext=cpp
35280 ac_cpp='$CXXCPP $CPPFLAGS'
35281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35286 /* end confdefs.h. */
35287 #include <math.h>
35288 #ifdef HAVE_IEEEFP_H
35289 #include <ieeefp.h>
35290 #endif
35293 main ()
35295 isinf(0);
35297 return 0;
35299 _ACEOF
35300 if ac_fn_cxx_try_compile "$LINENO"; then :
35301 glibcxx_cv_func_isinf_use=yes
35302 else
35303 glibcxx_cv_func_isinf_use=no
35305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35306 ac_ext=c
35307 ac_cpp='$CPP $CPPFLAGS'
35308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35317 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35319 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35320 for ac_func in isinf
35321 do :
35322 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35323 if test "x$ac_cv_func_isinf" = x""yes; then :
35324 cat >>confdefs.h <<_ACEOF
35325 #define HAVE_ISINF 1
35326 _ACEOF
35329 done
35331 else
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35334 $as_echo_n "checking for _isinf declaration... " >&6; }
35335 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35336 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35337 $as_echo_n "(cached) " >&6
35338 else
35341 ac_ext=cpp
35342 ac_cpp='$CXXCPP $CPPFLAGS'
35343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35348 /* end confdefs.h. */
35349 #include <math.h>
35350 #ifdef HAVE_IEEEFP_H
35351 #include <ieeefp.h>
35352 #endif
35355 main ()
35357 _isinf(0);
35359 return 0;
35361 _ACEOF
35362 if ac_fn_cxx_try_compile "$LINENO"; then :
35363 glibcxx_cv_func__isinf_use=yes
35364 else
35365 glibcxx_cv_func__isinf_use=no
35367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35368 ac_ext=c
35369 ac_cpp='$CPP $CPPFLAGS'
35370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35379 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35381 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35382 for ac_func in _isinf
35383 do :
35384 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35385 if test "x$ac_cv_func__isinf" = x""yes; then :
35386 cat >>confdefs.h <<_ACEOF
35387 #define HAVE__ISINF 1
35388 _ACEOF
35391 done
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35401 $as_echo_n "checking for isnan declaration... " >&6; }
35402 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35403 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35404 $as_echo_n "(cached) " >&6
35405 else
35408 ac_ext=cpp
35409 ac_cpp='$CXXCPP $CPPFLAGS'
35410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35415 /* end confdefs.h. */
35416 #include <math.h>
35417 #ifdef HAVE_IEEEFP_H
35418 #include <ieeefp.h>
35419 #endif
35422 main ()
35424 isnan(0);
35426 return 0;
35428 _ACEOF
35429 if ac_fn_cxx_try_compile "$LINENO"; then :
35430 glibcxx_cv_func_isnan_use=yes
35431 else
35432 glibcxx_cv_func_isnan_use=no
35434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35435 ac_ext=c
35436 ac_cpp='$CPP $CPPFLAGS'
35437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35446 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35448 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35449 for ac_func in isnan
35450 do :
35451 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35452 if test "x$ac_cv_func_isnan" = x""yes; then :
35453 cat >>confdefs.h <<_ACEOF
35454 #define HAVE_ISNAN 1
35455 _ACEOF
35458 done
35460 else
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35463 $as_echo_n "checking for _isnan declaration... " >&6; }
35464 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35465 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35466 $as_echo_n "(cached) " >&6
35467 else
35470 ac_ext=cpp
35471 ac_cpp='$CXXCPP $CPPFLAGS'
35472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35477 /* end confdefs.h. */
35478 #include <math.h>
35479 #ifdef HAVE_IEEEFP_H
35480 #include <ieeefp.h>
35481 #endif
35484 main ()
35486 _isnan(0);
35488 return 0;
35490 _ACEOF
35491 if ac_fn_cxx_try_compile "$LINENO"; then :
35492 glibcxx_cv_func__isnan_use=yes
35493 else
35494 glibcxx_cv_func__isnan_use=no
35496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35497 ac_ext=c
35498 ac_cpp='$CPP $CPPFLAGS'
35499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35508 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35510 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35511 for ac_func in _isnan
35512 do :
35513 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35514 if test "x$ac_cv_func__isnan" = x""yes; then :
35515 cat >>confdefs.h <<_ACEOF
35516 #define HAVE__ISNAN 1
35517 _ACEOF
35520 done
35529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35530 $as_echo_n "checking for finite declaration... " >&6; }
35531 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35532 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35533 $as_echo_n "(cached) " >&6
35534 else
35537 ac_ext=cpp
35538 ac_cpp='$CXXCPP $CPPFLAGS'
35539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35544 /* end confdefs.h. */
35545 #include <math.h>
35546 #ifdef HAVE_IEEEFP_H
35547 #include <ieeefp.h>
35548 #endif
35551 main ()
35553 finite(0);
35555 return 0;
35557 _ACEOF
35558 if ac_fn_cxx_try_compile "$LINENO"; then :
35559 glibcxx_cv_func_finite_use=yes
35560 else
35561 glibcxx_cv_func_finite_use=no
35563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35564 ac_ext=c
35565 ac_cpp='$CPP $CPPFLAGS'
35566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35575 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35577 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35578 for ac_func in finite
35579 do :
35580 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35581 if test "x$ac_cv_func_finite" = x""yes; then :
35582 cat >>confdefs.h <<_ACEOF
35583 #define HAVE_FINITE 1
35584 _ACEOF
35587 done
35589 else
35591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35592 $as_echo_n "checking for _finite declaration... " >&6; }
35593 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35594 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35595 $as_echo_n "(cached) " >&6
35596 else
35599 ac_ext=cpp
35600 ac_cpp='$CXXCPP $CPPFLAGS'
35601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35606 /* end confdefs.h. */
35607 #include <math.h>
35608 #ifdef HAVE_IEEEFP_H
35609 #include <ieeefp.h>
35610 #endif
35613 main ()
35615 _finite(0);
35617 return 0;
35619 _ACEOF
35620 if ac_fn_cxx_try_compile "$LINENO"; then :
35621 glibcxx_cv_func__finite_use=yes
35622 else
35623 glibcxx_cv_func__finite_use=no
35625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35626 ac_ext=c
35627 ac_cpp='$CPP $CPPFLAGS'
35628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35637 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35639 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35640 for ac_func in _finite
35641 do :
35642 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35643 if test "x$ac_cv_func__finite" = x""yes; then :
35644 cat >>confdefs.h <<_ACEOF
35645 #define HAVE__FINITE 1
35646 _ACEOF
35649 done
35658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35659 $as_echo_n "checking for sincos declaration... " >&6; }
35660 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35661 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35662 $as_echo_n "(cached) " >&6
35663 else
35666 ac_ext=cpp
35667 ac_cpp='$CXXCPP $CPPFLAGS'
35668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35673 /* end confdefs.h. */
35674 #include <math.h>
35676 main ()
35678 sincos(0, 0, 0);
35680 return 0;
35682 _ACEOF
35683 if ac_fn_cxx_try_compile "$LINENO"; then :
35684 glibcxx_cv_func_sincos_use=yes
35685 else
35686 glibcxx_cv_func_sincos_use=no
35688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35689 ac_ext=c
35690 ac_cpp='$CPP $CPPFLAGS'
35691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35700 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35702 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35703 for ac_func in sincos
35704 do :
35705 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35706 if test "x$ac_cv_func_sincos" = x""yes; then :
35707 cat >>confdefs.h <<_ACEOF
35708 #define HAVE_SINCOS 1
35709 _ACEOF
35712 done
35714 else
35716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35717 $as_echo_n "checking for _sincos declaration... " >&6; }
35718 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35719 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35720 $as_echo_n "(cached) " >&6
35721 else
35724 ac_ext=cpp
35725 ac_cpp='$CXXCPP $CPPFLAGS'
35726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35731 /* end confdefs.h. */
35732 #include <math.h>
35734 main ()
35736 _sincos(0, 0, 0);
35738 return 0;
35740 _ACEOF
35741 if ac_fn_cxx_try_compile "$LINENO"; then :
35742 glibcxx_cv_func__sincos_use=yes
35743 else
35744 glibcxx_cv_func__sincos_use=no
35746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35747 ac_ext=c
35748 ac_cpp='$CPP $CPPFLAGS'
35749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35758 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35760 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35761 for ac_func in _sincos
35762 do :
35763 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35764 if test "x$ac_cv_func__sincos" = x""yes; then :
35765 cat >>confdefs.h <<_ACEOF
35766 #define HAVE__SINCOS 1
35767 _ACEOF
35770 done
35779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35780 $as_echo_n "checking for fpclass declaration... " >&6; }
35781 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35782 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35783 $as_echo_n "(cached) " >&6
35784 else
35787 ac_ext=cpp
35788 ac_cpp='$CXXCPP $CPPFLAGS'
35789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35794 /* end confdefs.h. */
35795 #include <math.h>
35796 #ifdef HAVE_IEEEFP_H
35797 #include <ieeefp.h>
35798 #endif
35801 main ()
35803 fpclass(0);
35805 return 0;
35807 _ACEOF
35808 if ac_fn_cxx_try_compile "$LINENO"; then :
35809 glibcxx_cv_func_fpclass_use=yes
35810 else
35811 glibcxx_cv_func_fpclass_use=no
35813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35814 ac_ext=c
35815 ac_cpp='$CPP $CPPFLAGS'
35816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35825 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35827 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35828 for ac_func in fpclass
35829 do :
35830 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35831 if test "x$ac_cv_func_fpclass" = x""yes; then :
35832 cat >>confdefs.h <<_ACEOF
35833 #define HAVE_FPCLASS 1
35834 _ACEOF
35837 done
35839 else
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35842 $as_echo_n "checking for _fpclass declaration... " >&6; }
35843 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35844 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35845 $as_echo_n "(cached) " >&6
35846 else
35849 ac_ext=cpp
35850 ac_cpp='$CXXCPP $CPPFLAGS'
35851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35856 /* end confdefs.h. */
35857 #include <math.h>
35858 #ifdef HAVE_IEEEFP_H
35859 #include <ieeefp.h>
35860 #endif
35863 main ()
35865 _fpclass(0);
35867 return 0;
35869 _ACEOF
35870 if ac_fn_cxx_try_compile "$LINENO"; then :
35871 glibcxx_cv_func__fpclass_use=yes
35872 else
35873 glibcxx_cv_func__fpclass_use=no
35875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35876 ac_ext=c
35877 ac_cpp='$CPP $CPPFLAGS'
35878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35887 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35889 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35890 for ac_func in _fpclass
35891 do :
35892 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35893 if test "x$ac_cv_func__fpclass" = x""yes; then :
35894 cat >>confdefs.h <<_ACEOF
35895 #define HAVE__FPCLASS 1
35896 _ACEOF
35899 done
35908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35909 $as_echo_n "checking for qfpclass declaration... " >&6; }
35910 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35911 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35912 $as_echo_n "(cached) " >&6
35913 else
35916 ac_ext=cpp
35917 ac_cpp='$CXXCPP $CPPFLAGS'
35918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35923 /* end confdefs.h. */
35924 #include <math.h>
35925 #ifdef HAVE_IEEEFP_H
35926 #include <ieeefp.h>
35927 #endif
35930 main ()
35932 qfpclass(0);
35934 return 0;
35936 _ACEOF
35937 if ac_fn_cxx_try_compile "$LINENO"; then :
35938 glibcxx_cv_func_qfpclass_use=yes
35939 else
35940 glibcxx_cv_func_qfpclass_use=no
35942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35943 ac_ext=c
35944 ac_cpp='$CPP $CPPFLAGS'
35945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35954 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35956 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35957 for ac_func in qfpclass
35958 do :
35959 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35960 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35961 cat >>confdefs.h <<_ACEOF
35962 #define HAVE_QFPCLASS 1
35963 _ACEOF
35966 done
35968 else
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35971 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35972 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35973 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35974 $as_echo_n "(cached) " >&6
35975 else
35978 ac_ext=cpp
35979 ac_cpp='$CXXCPP $CPPFLAGS'
35980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35985 /* end confdefs.h. */
35986 #include <math.h>
35987 #ifdef HAVE_IEEEFP_H
35988 #include <ieeefp.h>
35989 #endif
35992 main ()
35994 _qfpclass(0);
35996 return 0;
35998 _ACEOF
35999 if ac_fn_cxx_try_compile "$LINENO"; then :
36000 glibcxx_cv_func__qfpclass_use=yes
36001 else
36002 glibcxx_cv_func__qfpclass_use=no
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36005 ac_ext=c
36006 ac_cpp='$CPP $CPPFLAGS'
36007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36016 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36018 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36019 for ac_func in _qfpclass
36020 do :
36021 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36022 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36023 cat >>confdefs.h <<_ACEOF
36024 #define HAVE__QFPCLASS 1
36025 _ACEOF
36028 done
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36038 $as_echo_n "checking for hypot declaration... " >&6; }
36039 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36040 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36041 $as_echo_n "(cached) " >&6
36042 else
36045 ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h. */
36053 #include <math.h>
36055 main ()
36057 hypot(0, 0);
36059 return 0;
36061 _ACEOF
36062 if ac_fn_cxx_try_compile "$LINENO"; then :
36063 glibcxx_cv_func_hypot_use=yes
36064 else
36065 glibcxx_cv_func_hypot_use=no
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 ac_ext=c
36069 ac_cpp='$CPP $CPPFLAGS'
36070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36079 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36081 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36082 for ac_func in hypot
36083 do :
36084 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36085 if test "x$ac_cv_func_hypot" = x""yes; then :
36086 cat >>confdefs.h <<_ACEOF
36087 #define HAVE_HYPOT 1
36088 _ACEOF
36091 done
36093 else
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36096 $as_echo_n "checking for _hypot declaration... " >&6; }
36097 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36098 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36099 $as_echo_n "(cached) " >&6
36100 else
36103 ac_ext=cpp
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36110 /* end confdefs.h. */
36111 #include <math.h>
36113 main ()
36115 _hypot(0, 0);
36117 return 0;
36119 _ACEOF
36120 if ac_fn_cxx_try_compile "$LINENO"; then :
36121 glibcxx_cv_func__hypot_use=yes
36122 else
36123 glibcxx_cv_func__hypot_use=no
36125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36126 ac_ext=c
36127 ac_cpp='$CPP $CPPFLAGS'
36128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36137 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36139 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36140 for ac_func in _hypot
36141 do :
36142 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36143 if test "x$ac_cv_func__hypot" = x""yes; then :
36144 cat >>confdefs.h <<_ACEOF
36145 #define HAVE__HYPOT 1
36146 _ACEOF
36149 done
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36159 $as_echo_n "checking for float trig functions... " >&6; }
36160 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36161 $as_echo_n "(cached) " >&6
36162 else
36165 ac_ext=cpp
36166 ac_cpp='$CXXCPP $CPPFLAGS'
36167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36172 /* end confdefs.h. */
36173 #include <math.h>
36175 main ()
36177 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36179 return 0;
36181 _ACEOF
36182 if ac_fn_cxx_try_compile "$LINENO"; then :
36183 glibcxx_cv_func_float_trig_use=yes
36184 else
36185 glibcxx_cv_func_float_trig_use=no
36187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36188 ac_ext=c
36189 ac_cpp='$CPP $CPPFLAGS'
36190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36197 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36198 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36199 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36200 do :
36201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36203 eval as_val=\$$as_ac_var
36204 if test "x$as_val" = x""yes; then :
36205 cat >>confdefs.h <<_ACEOF
36206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36207 _ACEOF
36210 done
36212 else
36213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36214 $as_echo_n "checking for _float trig functions... " >&6; }
36215 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36216 $as_echo_n "(cached) " >&6
36217 else
36220 ac_ext=cpp
36221 ac_cpp='$CXXCPP $CPPFLAGS'
36222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36227 /* end confdefs.h. */
36228 #include <math.h>
36230 main ()
36232 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36234 return 0;
36236 _ACEOF
36237 if ac_fn_cxx_try_compile "$LINENO"; then :
36238 glibcxx_cv_func__float_trig_use=yes
36239 else
36240 glibcxx_cv_func__float_trig_use=no
36242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36243 ac_ext=c
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36252 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36253 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36254 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36255 do :
36256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36258 eval as_val=\$$as_ac_var
36259 if test "x$as_val" = x""yes; then :
36260 cat >>confdefs.h <<_ACEOF
36261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36262 _ACEOF
36265 done
36274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36275 $as_echo_n "checking for float round functions... " >&6; }
36276 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36277 $as_echo_n "(cached) " >&6
36278 else
36281 ac_ext=cpp
36282 ac_cpp='$CXXCPP $CPPFLAGS'
36283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36288 /* end confdefs.h. */
36289 #include <math.h>
36291 main ()
36293 ceilf (0); floorf (0);
36295 return 0;
36297 _ACEOF
36298 if ac_fn_cxx_try_compile "$LINENO"; then :
36299 glibcxx_cv_func_float_round_use=yes
36300 else
36301 glibcxx_cv_func_float_round_use=no
36303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36304 ac_ext=c
36305 ac_cpp='$CPP $CPPFLAGS'
36306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36313 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36314 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36315 for ac_func in ceilf floorf
36316 do :
36317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36319 eval as_val=\$$as_ac_var
36320 if test "x$as_val" = x""yes; then :
36321 cat >>confdefs.h <<_ACEOF
36322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36323 _ACEOF
36326 done
36328 else
36329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36330 $as_echo_n "checking for _float round functions... " >&6; }
36331 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36332 $as_echo_n "(cached) " >&6
36333 else
36336 ac_ext=cpp
36337 ac_cpp='$CXXCPP $CPPFLAGS'
36338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36343 /* end confdefs.h. */
36344 #include <math.h>
36346 main ()
36348 _ceilf (0); _floorf (0);
36350 return 0;
36352 _ACEOF
36353 if ac_fn_cxx_try_compile "$LINENO"; then :
36354 glibcxx_cv_func__float_round_use=yes
36355 else
36356 glibcxx_cv_func__float_round_use=no
36358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36359 ac_ext=c
36360 ac_cpp='$CPP $CPPFLAGS'
36361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36368 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36369 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36370 for ac_func in _ceilf _floorf
36371 do :
36372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36374 eval as_val=\$$as_ac_var
36375 if test "x$as_val" = x""yes; then :
36376 cat >>confdefs.h <<_ACEOF
36377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36378 _ACEOF
36381 done
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36392 $as_echo_n "checking for expf declaration... " >&6; }
36393 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36394 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36395 $as_echo_n "(cached) " >&6
36396 else
36399 ac_ext=cpp
36400 ac_cpp='$CXXCPP $CPPFLAGS'
36401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36406 /* end confdefs.h. */
36407 #include <math.h>
36408 #ifdef HAVE_IEEEFP_H
36409 #include <ieeefp.h>
36410 #endif
36413 main ()
36415 expf(0);
36417 return 0;
36419 _ACEOF
36420 if ac_fn_cxx_try_compile "$LINENO"; then :
36421 glibcxx_cv_func_expf_use=yes
36422 else
36423 glibcxx_cv_func_expf_use=no
36425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36426 ac_ext=c
36427 ac_cpp='$CPP $CPPFLAGS'
36428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36437 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36439 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36440 for ac_func in expf
36441 do :
36442 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36443 if test "x$ac_cv_func_expf" = x""yes; then :
36444 cat >>confdefs.h <<_ACEOF
36445 #define HAVE_EXPF 1
36446 _ACEOF
36449 done
36451 else
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36454 $as_echo_n "checking for _expf declaration... " >&6; }
36455 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36456 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36457 $as_echo_n "(cached) " >&6
36458 else
36461 ac_ext=cpp
36462 ac_cpp='$CXXCPP $CPPFLAGS'
36463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36468 /* end confdefs.h. */
36469 #include <math.h>
36470 #ifdef HAVE_IEEEFP_H
36471 #include <ieeefp.h>
36472 #endif
36475 main ()
36477 _expf(0);
36479 return 0;
36481 _ACEOF
36482 if ac_fn_cxx_try_compile "$LINENO"; then :
36483 glibcxx_cv_func__expf_use=yes
36484 else
36485 glibcxx_cv_func__expf_use=no
36487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36488 ac_ext=c
36489 ac_cpp='$CPP $CPPFLAGS'
36490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36499 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36501 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36502 for ac_func in _expf
36503 do :
36504 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36505 if test "x$ac_cv_func__expf" = x""yes; then :
36506 cat >>confdefs.h <<_ACEOF
36507 #define HAVE__EXPF 1
36508 _ACEOF
36511 done
36520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36521 $as_echo_n "checking for isnanf declaration... " >&6; }
36522 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36523 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36524 $as_echo_n "(cached) " >&6
36525 else
36528 ac_ext=cpp
36529 ac_cpp='$CXXCPP $CPPFLAGS'
36530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36535 /* end confdefs.h. */
36536 #include <math.h>
36537 #ifdef HAVE_IEEEFP_H
36538 #include <ieeefp.h>
36539 #endif
36542 main ()
36544 isnanf(0);
36546 return 0;
36548 _ACEOF
36549 if ac_fn_cxx_try_compile "$LINENO"; then :
36550 glibcxx_cv_func_isnanf_use=yes
36551 else
36552 glibcxx_cv_func_isnanf_use=no
36554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36555 ac_ext=c
36556 ac_cpp='$CPP $CPPFLAGS'
36557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36566 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36568 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36569 for ac_func in isnanf
36570 do :
36571 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36572 if test "x$ac_cv_func_isnanf" = x""yes; then :
36573 cat >>confdefs.h <<_ACEOF
36574 #define HAVE_ISNANF 1
36575 _ACEOF
36578 done
36580 else
36582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36583 $as_echo_n "checking for _isnanf declaration... " >&6; }
36584 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36585 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36586 $as_echo_n "(cached) " >&6
36587 else
36590 ac_ext=cpp
36591 ac_cpp='$CXXCPP $CPPFLAGS'
36592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36597 /* end confdefs.h. */
36598 #include <math.h>
36599 #ifdef HAVE_IEEEFP_H
36600 #include <ieeefp.h>
36601 #endif
36604 main ()
36606 _isnanf(0);
36608 return 0;
36610 _ACEOF
36611 if ac_fn_cxx_try_compile "$LINENO"; then :
36612 glibcxx_cv_func__isnanf_use=yes
36613 else
36614 glibcxx_cv_func__isnanf_use=no
36616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36617 ac_ext=c
36618 ac_cpp='$CPP $CPPFLAGS'
36619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36628 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36630 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36631 for ac_func in _isnanf
36632 do :
36633 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36634 if test "x$ac_cv_func__isnanf" = x""yes; then :
36635 cat >>confdefs.h <<_ACEOF
36636 #define HAVE__ISNANF 1
36637 _ACEOF
36640 done
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36650 $as_echo_n "checking for isinff declaration... " >&6; }
36651 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36652 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36653 $as_echo_n "(cached) " >&6
36654 else
36657 ac_ext=cpp
36658 ac_cpp='$CXXCPP $CPPFLAGS'
36659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36664 /* end confdefs.h. */
36665 #include <math.h>
36666 #ifdef HAVE_IEEEFP_H
36667 #include <ieeefp.h>
36668 #endif
36671 main ()
36673 isinff(0);
36675 return 0;
36677 _ACEOF
36678 if ac_fn_cxx_try_compile "$LINENO"; then :
36679 glibcxx_cv_func_isinff_use=yes
36680 else
36681 glibcxx_cv_func_isinff_use=no
36683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36684 ac_ext=c
36685 ac_cpp='$CPP $CPPFLAGS'
36686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36695 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36697 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36698 for ac_func in isinff
36699 do :
36700 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36701 if test "x$ac_cv_func_isinff" = x""yes; then :
36702 cat >>confdefs.h <<_ACEOF
36703 #define HAVE_ISINFF 1
36704 _ACEOF
36707 done
36709 else
36711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36712 $as_echo_n "checking for _isinff declaration... " >&6; }
36713 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36714 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36715 $as_echo_n "(cached) " >&6
36716 else
36719 ac_ext=cpp
36720 ac_cpp='$CXXCPP $CPPFLAGS'
36721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36726 /* end confdefs.h. */
36727 #include <math.h>
36728 #ifdef HAVE_IEEEFP_H
36729 #include <ieeefp.h>
36730 #endif
36733 main ()
36735 _isinff(0);
36737 return 0;
36739 _ACEOF
36740 if ac_fn_cxx_try_compile "$LINENO"; then :
36741 glibcxx_cv_func__isinff_use=yes
36742 else
36743 glibcxx_cv_func__isinff_use=no
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 ac_ext=c
36747 ac_cpp='$CPP $CPPFLAGS'
36748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36757 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36759 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36760 for ac_func in _isinff
36761 do :
36762 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36763 if test "x$ac_cv_func__isinff" = x""yes; then :
36764 cat >>confdefs.h <<_ACEOF
36765 #define HAVE__ISINFF 1
36766 _ACEOF
36769 done
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36779 $as_echo_n "checking for atan2f declaration... " >&6; }
36780 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36781 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36782 $as_echo_n "(cached) " >&6
36783 else
36786 ac_ext=cpp
36787 ac_cpp='$CXXCPP $CPPFLAGS'
36788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36793 /* end confdefs.h. */
36794 #include <math.h>
36796 main ()
36798 atan2f(0, 0);
36800 return 0;
36802 _ACEOF
36803 if ac_fn_cxx_try_compile "$LINENO"; then :
36804 glibcxx_cv_func_atan2f_use=yes
36805 else
36806 glibcxx_cv_func_atan2f_use=no
36808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36809 ac_ext=c
36810 ac_cpp='$CPP $CPPFLAGS'
36811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36820 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36822 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36823 for ac_func in atan2f
36824 do :
36825 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36826 if test "x$ac_cv_func_atan2f" = x""yes; then :
36827 cat >>confdefs.h <<_ACEOF
36828 #define HAVE_ATAN2F 1
36829 _ACEOF
36832 done
36834 else
36836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36837 $as_echo_n "checking for _atan2f declaration... " >&6; }
36838 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36839 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36840 $as_echo_n "(cached) " >&6
36841 else
36844 ac_ext=cpp
36845 ac_cpp='$CXXCPP $CPPFLAGS'
36846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36851 /* end confdefs.h. */
36852 #include <math.h>
36854 main ()
36856 _atan2f(0, 0);
36858 return 0;
36860 _ACEOF
36861 if ac_fn_cxx_try_compile "$LINENO"; then :
36862 glibcxx_cv_func__atan2f_use=yes
36863 else
36864 glibcxx_cv_func__atan2f_use=no
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867 ac_ext=c
36868 ac_cpp='$CPP $CPPFLAGS'
36869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36878 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36880 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36881 for ac_func in _atan2f
36882 do :
36883 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36884 if test "x$ac_cv_func__atan2f" = x""yes; then :
36885 cat >>confdefs.h <<_ACEOF
36886 #define HAVE__ATAN2F 1
36887 _ACEOF
36890 done
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36900 $as_echo_n "checking for fabsf declaration... " >&6; }
36901 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36902 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36903 $as_echo_n "(cached) " >&6
36904 else
36907 ac_ext=cpp
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36914 /* end confdefs.h. */
36915 #include <math.h>
36916 #ifdef HAVE_IEEEFP_H
36917 #include <ieeefp.h>
36918 #endif
36921 main ()
36923 fabsf(0);
36925 return 0;
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func_fabsf_use=yes
36930 else
36931 glibcxx_cv_func_fabsf_use=no
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36945 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36947 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36948 for ac_func in fabsf
36949 do :
36950 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36951 if test "x$ac_cv_func_fabsf" = x""yes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE_FABSF 1
36954 _ACEOF
36957 done
36959 else
36961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36962 $as_echo_n "checking for _fabsf declaration... " >&6; }
36963 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36964 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36965 $as_echo_n "(cached) " >&6
36966 else
36969 ac_ext=cpp
36970 ac_cpp='$CXXCPP $CPPFLAGS'
36971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36976 /* end confdefs.h. */
36977 #include <math.h>
36978 #ifdef HAVE_IEEEFP_H
36979 #include <ieeefp.h>
36980 #endif
36983 main ()
36985 _fabsf(0);
36987 return 0;
36989 _ACEOF
36990 if ac_fn_cxx_try_compile "$LINENO"; then :
36991 glibcxx_cv_func__fabsf_use=yes
36992 else
36993 glibcxx_cv_func__fabsf_use=no
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996 ac_ext=c
36997 ac_cpp='$CPP $CPPFLAGS'
36998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37007 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37009 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37010 for ac_func in _fabsf
37011 do :
37012 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37013 if test "x$ac_cv_func__fabsf" = x""yes; then :
37014 cat >>confdefs.h <<_ACEOF
37015 #define HAVE__FABSF 1
37016 _ACEOF
37019 done
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37029 $as_echo_n "checking for fmodf declaration... " >&6; }
37030 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37031 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37046 main ()
37048 fmodf(0, 0);
37050 return 0;
37052 _ACEOF
37053 if ac_fn_cxx_try_compile "$LINENO"; then :
37054 glibcxx_cv_func_fmodf_use=yes
37055 else
37056 glibcxx_cv_func_fmodf_use=no
37058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059 ac_ext=c
37060 ac_cpp='$CPP $CPPFLAGS'
37061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37070 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37072 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37073 for ac_func in fmodf
37074 do :
37075 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37076 if test "x$ac_cv_func_fmodf" = x""yes; then :
37077 cat >>confdefs.h <<_ACEOF
37078 #define HAVE_FMODF 1
37079 _ACEOF
37082 done
37084 else
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37087 $as_echo_n "checking for _fmodf declaration... " >&6; }
37088 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37089 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37090 $as_echo_n "(cached) " >&6
37091 else
37094 ac_ext=cpp
37095 ac_cpp='$CXXCPP $CPPFLAGS'
37096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37101 /* end confdefs.h. */
37102 #include <math.h>
37104 main ()
37106 _fmodf(0, 0);
37108 return 0;
37110 _ACEOF
37111 if ac_fn_cxx_try_compile "$LINENO"; then :
37112 glibcxx_cv_func__fmodf_use=yes
37113 else
37114 glibcxx_cv_func__fmodf_use=no
37116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37117 ac_ext=c
37118 ac_cpp='$CPP $CPPFLAGS'
37119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37128 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37130 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37131 for ac_func in _fmodf
37132 do :
37133 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37134 if test "x$ac_cv_func__fmodf" = x""yes; then :
37135 cat >>confdefs.h <<_ACEOF
37136 #define HAVE__FMODF 1
37137 _ACEOF
37140 done
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37150 $as_echo_n "checking for frexpf declaration... " >&6; }
37151 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37152 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37153 $as_echo_n "(cached) " >&6
37154 else
37157 ac_ext=cpp
37158 ac_cpp='$CXXCPP $CPPFLAGS'
37159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37164 /* end confdefs.h. */
37165 #include <math.h>
37167 main ()
37169 frexpf(0, 0);
37171 return 0;
37173 _ACEOF
37174 if ac_fn_cxx_try_compile "$LINENO"; then :
37175 glibcxx_cv_func_frexpf_use=yes
37176 else
37177 glibcxx_cv_func_frexpf_use=no
37179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37180 ac_ext=c
37181 ac_cpp='$CPP $CPPFLAGS'
37182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37191 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37193 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37194 for ac_func in frexpf
37195 do :
37196 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37197 if test "x$ac_cv_func_frexpf" = x""yes; then :
37198 cat >>confdefs.h <<_ACEOF
37199 #define HAVE_FREXPF 1
37200 _ACEOF
37203 done
37205 else
37207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37208 $as_echo_n "checking for _frexpf declaration... " >&6; }
37209 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37210 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37211 $as_echo_n "(cached) " >&6
37212 else
37215 ac_ext=cpp
37216 ac_cpp='$CXXCPP $CPPFLAGS'
37217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37222 /* end confdefs.h. */
37223 #include <math.h>
37225 main ()
37227 _frexpf(0, 0);
37229 return 0;
37231 _ACEOF
37232 if ac_fn_cxx_try_compile "$LINENO"; then :
37233 glibcxx_cv_func__frexpf_use=yes
37234 else
37235 glibcxx_cv_func__frexpf_use=no
37237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37238 ac_ext=c
37239 ac_cpp='$CPP $CPPFLAGS'
37240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37249 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37251 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37252 for ac_func in _frexpf
37253 do :
37254 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37255 if test "x$ac_cv_func__frexpf" = x""yes; then :
37256 cat >>confdefs.h <<_ACEOF
37257 #define HAVE__FREXPF 1
37258 _ACEOF
37261 done
37270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37271 $as_echo_n "checking for hypotf declaration... " >&6; }
37272 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37273 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37274 $as_echo_n "(cached) " >&6
37275 else
37278 ac_ext=cpp
37279 ac_cpp='$CXXCPP $CPPFLAGS'
37280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37285 /* end confdefs.h. */
37286 #include <math.h>
37288 main ()
37290 hypotf(0, 0);
37292 return 0;
37294 _ACEOF
37295 if ac_fn_cxx_try_compile "$LINENO"; then :
37296 glibcxx_cv_func_hypotf_use=yes
37297 else
37298 glibcxx_cv_func_hypotf_use=no
37300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37301 ac_ext=c
37302 ac_cpp='$CPP $CPPFLAGS'
37303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37312 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37314 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37315 for ac_func in hypotf
37316 do :
37317 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37318 if test "x$ac_cv_func_hypotf" = x""yes; then :
37319 cat >>confdefs.h <<_ACEOF
37320 #define HAVE_HYPOTF 1
37321 _ACEOF
37324 done
37326 else
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37329 $as_echo_n "checking for _hypotf declaration... " >&6; }
37330 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37331 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37332 $as_echo_n "(cached) " >&6
37333 else
37336 ac_ext=cpp
37337 ac_cpp='$CXXCPP $CPPFLAGS'
37338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37343 /* end confdefs.h. */
37344 #include <math.h>
37346 main ()
37348 _hypotf(0, 0);
37350 return 0;
37352 _ACEOF
37353 if ac_fn_cxx_try_compile "$LINENO"; then :
37354 glibcxx_cv_func__hypotf_use=yes
37355 else
37356 glibcxx_cv_func__hypotf_use=no
37358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37359 ac_ext=c
37360 ac_cpp='$CPP $CPPFLAGS'
37361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37370 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37372 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37373 for ac_func in _hypotf
37374 do :
37375 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37376 if test "x$ac_cv_func__hypotf" = x""yes; then :
37377 cat >>confdefs.h <<_ACEOF
37378 #define HAVE__HYPOTF 1
37379 _ACEOF
37382 done
37391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37392 $as_echo_n "checking for ldexpf declaration... " >&6; }
37393 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37394 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37395 $as_echo_n "(cached) " >&6
37396 else
37399 ac_ext=cpp
37400 ac_cpp='$CXXCPP $CPPFLAGS'
37401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37406 /* end confdefs.h. */
37407 #include <math.h>
37409 main ()
37411 ldexpf(0, 0);
37413 return 0;
37415 _ACEOF
37416 if ac_fn_cxx_try_compile "$LINENO"; then :
37417 glibcxx_cv_func_ldexpf_use=yes
37418 else
37419 glibcxx_cv_func_ldexpf_use=no
37421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37422 ac_ext=c
37423 ac_cpp='$CPP $CPPFLAGS'
37424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37433 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37435 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37436 for ac_func in ldexpf
37437 do :
37438 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37439 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37440 cat >>confdefs.h <<_ACEOF
37441 #define HAVE_LDEXPF 1
37442 _ACEOF
37445 done
37447 else
37449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37450 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37451 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37452 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37453 $as_echo_n "(cached) " >&6
37454 else
37457 ac_ext=cpp
37458 ac_cpp='$CXXCPP $CPPFLAGS'
37459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37464 /* end confdefs.h. */
37465 #include <math.h>
37467 main ()
37469 _ldexpf(0, 0);
37471 return 0;
37473 _ACEOF
37474 if ac_fn_cxx_try_compile "$LINENO"; then :
37475 glibcxx_cv_func__ldexpf_use=yes
37476 else
37477 glibcxx_cv_func__ldexpf_use=no
37479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37480 ac_ext=c
37481 ac_cpp='$CPP $CPPFLAGS'
37482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37491 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37493 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37494 for ac_func in _ldexpf
37495 do :
37496 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37497 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37498 cat >>confdefs.h <<_ACEOF
37499 #define HAVE__LDEXPF 1
37500 _ACEOF
37503 done
37512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37513 $as_echo_n "checking for logf declaration... " >&6; }
37514 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37515 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37516 $as_echo_n "(cached) " >&6
37517 else
37520 ac_ext=cpp
37521 ac_cpp='$CXXCPP $CPPFLAGS'
37522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37527 /* end confdefs.h. */
37528 #include <math.h>
37529 #ifdef HAVE_IEEEFP_H
37530 #include <ieeefp.h>
37531 #endif
37534 main ()
37536 logf(0);
37538 return 0;
37540 _ACEOF
37541 if ac_fn_cxx_try_compile "$LINENO"; then :
37542 glibcxx_cv_func_logf_use=yes
37543 else
37544 glibcxx_cv_func_logf_use=no
37546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37547 ac_ext=c
37548 ac_cpp='$CPP $CPPFLAGS'
37549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37558 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37560 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37561 for ac_func in logf
37562 do :
37563 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37564 if test "x$ac_cv_func_logf" = x""yes; then :
37565 cat >>confdefs.h <<_ACEOF
37566 #define HAVE_LOGF 1
37567 _ACEOF
37570 done
37572 else
37574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37575 $as_echo_n "checking for _logf declaration... " >&6; }
37576 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37577 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37578 $as_echo_n "(cached) " >&6
37579 else
37582 ac_ext=cpp
37583 ac_cpp='$CXXCPP $CPPFLAGS'
37584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37589 /* end confdefs.h. */
37590 #include <math.h>
37591 #ifdef HAVE_IEEEFP_H
37592 #include <ieeefp.h>
37593 #endif
37596 main ()
37598 _logf(0);
37600 return 0;
37602 _ACEOF
37603 if ac_fn_cxx_try_compile "$LINENO"; then :
37604 glibcxx_cv_func__logf_use=yes
37605 else
37606 glibcxx_cv_func__logf_use=no
37608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37609 ac_ext=c
37610 ac_cpp='$CPP $CPPFLAGS'
37611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37620 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37622 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37623 for ac_func in _logf
37624 do :
37625 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37626 if test "x$ac_cv_func__logf" = x""yes; then :
37627 cat >>confdefs.h <<_ACEOF
37628 #define HAVE__LOGF 1
37629 _ACEOF
37632 done
37641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37642 $as_echo_n "checking for log10f declaration... " >&6; }
37643 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37644 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37645 $as_echo_n "(cached) " >&6
37646 else
37649 ac_ext=cpp
37650 ac_cpp='$CXXCPP $CPPFLAGS'
37651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37656 /* end confdefs.h. */
37657 #include <math.h>
37658 #ifdef HAVE_IEEEFP_H
37659 #include <ieeefp.h>
37660 #endif
37663 main ()
37665 log10f(0);
37667 return 0;
37669 _ACEOF
37670 if ac_fn_cxx_try_compile "$LINENO"; then :
37671 glibcxx_cv_func_log10f_use=yes
37672 else
37673 glibcxx_cv_func_log10f_use=no
37675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37676 ac_ext=c
37677 ac_cpp='$CPP $CPPFLAGS'
37678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37687 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37689 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37690 for ac_func in log10f
37691 do :
37692 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37693 if test "x$ac_cv_func_log10f" = x""yes; then :
37694 cat >>confdefs.h <<_ACEOF
37695 #define HAVE_LOG10F 1
37696 _ACEOF
37699 done
37701 else
37703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37704 $as_echo_n "checking for _log10f declaration... " >&6; }
37705 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37706 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37707 $as_echo_n "(cached) " >&6
37708 else
37711 ac_ext=cpp
37712 ac_cpp='$CXXCPP $CPPFLAGS'
37713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37718 /* end confdefs.h. */
37719 #include <math.h>
37720 #ifdef HAVE_IEEEFP_H
37721 #include <ieeefp.h>
37722 #endif
37725 main ()
37727 _log10f(0);
37729 return 0;
37731 _ACEOF
37732 if ac_fn_cxx_try_compile "$LINENO"; then :
37733 glibcxx_cv_func__log10f_use=yes
37734 else
37735 glibcxx_cv_func__log10f_use=no
37737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37738 ac_ext=c
37739 ac_cpp='$CPP $CPPFLAGS'
37740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37749 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37751 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37752 for ac_func in _log10f
37753 do :
37754 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37755 if test "x$ac_cv_func__log10f" = x""yes; then :
37756 cat >>confdefs.h <<_ACEOF
37757 #define HAVE__LOG10F 1
37758 _ACEOF
37761 done
37770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37771 $as_echo_n "checking for modff declaration... " >&6; }
37772 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37773 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37774 $as_echo_n "(cached) " >&6
37775 else
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37785 /* end confdefs.h. */
37786 #include <math.h>
37788 main ()
37790 modff(0, 0);
37792 return 0;
37794 _ACEOF
37795 if ac_fn_cxx_try_compile "$LINENO"; then :
37796 glibcxx_cv_func_modff_use=yes
37797 else
37798 glibcxx_cv_func_modff_use=no
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37812 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37814 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37815 for ac_func in modff
37816 do :
37817 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37818 if test "x$ac_cv_func_modff" = x""yes; then :
37819 cat >>confdefs.h <<_ACEOF
37820 #define HAVE_MODFF 1
37821 _ACEOF
37824 done
37826 else
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37829 $as_echo_n "checking for _modff declaration... " >&6; }
37830 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37831 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37832 $as_echo_n "(cached) " >&6
37833 else
37836 ac_ext=cpp
37837 ac_cpp='$CXXCPP $CPPFLAGS'
37838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37843 /* end confdefs.h. */
37844 #include <math.h>
37846 main ()
37848 _modff(0, 0);
37850 return 0;
37852 _ACEOF
37853 if ac_fn_cxx_try_compile "$LINENO"; then :
37854 glibcxx_cv_func__modff_use=yes
37855 else
37856 glibcxx_cv_func__modff_use=no
37858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37859 ac_ext=c
37860 ac_cpp='$CPP $CPPFLAGS'
37861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37870 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37872 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37873 for ac_func in _modff
37874 do :
37875 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37876 if test "x$ac_cv_func__modff" = x""yes; then :
37877 cat >>confdefs.h <<_ACEOF
37878 #define HAVE__MODFF 1
37879 _ACEOF
37882 done
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37892 $as_echo_n "checking for modf declaration... " >&6; }
37893 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37894 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37895 $as_echo_n "(cached) " >&6
37896 else
37899 ac_ext=cpp
37900 ac_cpp='$CXXCPP $CPPFLAGS'
37901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37906 /* end confdefs.h. */
37907 #include <math.h>
37909 main ()
37911 modf(0, 0);
37913 return 0;
37915 _ACEOF
37916 if ac_fn_cxx_try_compile "$LINENO"; then :
37917 glibcxx_cv_func_modf_use=yes
37918 else
37919 glibcxx_cv_func_modf_use=no
37921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37922 ac_ext=c
37923 ac_cpp='$CPP $CPPFLAGS'
37924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37933 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37935 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37936 for ac_func in modf
37937 do :
37938 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37939 if test "x$ac_cv_func_modf" = x""yes; then :
37940 cat >>confdefs.h <<_ACEOF
37941 #define HAVE_MODF 1
37942 _ACEOF
37945 done
37947 else
37949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37950 $as_echo_n "checking for _modf declaration... " >&6; }
37951 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37952 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37953 $as_echo_n "(cached) " >&6
37954 else
37957 ac_ext=cpp
37958 ac_cpp='$CXXCPP $CPPFLAGS'
37959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37964 /* end confdefs.h. */
37965 #include <math.h>
37967 main ()
37969 _modf(0, 0);
37971 return 0;
37973 _ACEOF
37974 if ac_fn_cxx_try_compile "$LINENO"; then :
37975 glibcxx_cv_func__modf_use=yes
37976 else
37977 glibcxx_cv_func__modf_use=no
37979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37980 ac_ext=c
37981 ac_cpp='$CPP $CPPFLAGS'
37982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37991 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37993 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37994 for ac_func in _modf
37995 do :
37996 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37997 if test "x$ac_cv_func__modf" = x""yes; then :
37998 cat >>confdefs.h <<_ACEOF
37999 #define HAVE__MODF 1
38000 _ACEOF
38003 done
38012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38013 $as_echo_n "checking for powf declaration... " >&6; }
38014 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38015 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38016 $as_echo_n "(cached) " >&6
38017 else
38020 ac_ext=cpp
38021 ac_cpp='$CXXCPP $CPPFLAGS'
38022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38027 /* end confdefs.h. */
38028 #include <math.h>
38030 main ()
38032 powf(0, 0);
38034 return 0;
38036 _ACEOF
38037 if ac_fn_cxx_try_compile "$LINENO"; then :
38038 glibcxx_cv_func_powf_use=yes
38039 else
38040 glibcxx_cv_func_powf_use=no
38042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38043 ac_ext=c
38044 ac_cpp='$CPP $CPPFLAGS'
38045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38054 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38056 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38057 for ac_func in powf
38058 do :
38059 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38060 if test "x$ac_cv_func_powf" = x""yes; then :
38061 cat >>confdefs.h <<_ACEOF
38062 #define HAVE_POWF 1
38063 _ACEOF
38066 done
38068 else
38070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38071 $as_echo_n "checking for _powf declaration... " >&6; }
38072 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38073 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38074 $as_echo_n "(cached) " >&6
38075 else
38078 ac_ext=cpp
38079 ac_cpp='$CXXCPP $CPPFLAGS'
38080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38085 /* end confdefs.h. */
38086 #include <math.h>
38088 main ()
38090 _powf(0, 0);
38092 return 0;
38094 _ACEOF
38095 if ac_fn_cxx_try_compile "$LINENO"; then :
38096 glibcxx_cv_func__powf_use=yes
38097 else
38098 glibcxx_cv_func__powf_use=no
38100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38101 ac_ext=c
38102 ac_cpp='$CPP $CPPFLAGS'
38103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38112 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38114 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38115 for ac_func in _powf
38116 do :
38117 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38118 if test "x$ac_cv_func__powf" = x""yes; then :
38119 cat >>confdefs.h <<_ACEOF
38120 #define HAVE__POWF 1
38121 _ACEOF
38124 done
38133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38134 $as_echo_n "checking for sqrtf declaration... " >&6; }
38135 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38136 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38137 $as_echo_n "(cached) " >&6
38138 else
38141 ac_ext=cpp
38142 ac_cpp='$CXXCPP $CPPFLAGS'
38143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38148 /* end confdefs.h. */
38149 #include <math.h>
38150 #ifdef HAVE_IEEEFP_H
38151 #include <ieeefp.h>
38152 #endif
38155 main ()
38157 sqrtf(0);
38159 return 0;
38161 _ACEOF
38162 if ac_fn_cxx_try_compile "$LINENO"; then :
38163 glibcxx_cv_func_sqrtf_use=yes
38164 else
38165 glibcxx_cv_func_sqrtf_use=no
38167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38168 ac_ext=c
38169 ac_cpp='$CPP $CPPFLAGS'
38170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38179 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38181 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38182 for ac_func in sqrtf
38183 do :
38184 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38185 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38186 cat >>confdefs.h <<_ACEOF
38187 #define HAVE_SQRTF 1
38188 _ACEOF
38191 done
38193 else
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38196 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38197 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38198 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38199 $as_echo_n "(cached) " >&6
38200 else
38203 ac_ext=cpp
38204 ac_cpp='$CXXCPP $CPPFLAGS'
38205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38210 /* end confdefs.h. */
38211 #include <math.h>
38212 #ifdef HAVE_IEEEFP_H
38213 #include <ieeefp.h>
38214 #endif
38217 main ()
38219 _sqrtf(0);
38221 return 0;
38223 _ACEOF
38224 if ac_fn_cxx_try_compile "$LINENO"; then :
38225 glibcxx_cv_func__sqrtf_use=yes
38226 else
38227 glibcxx_cv_func__sqrtf_use=no
38229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38230 ac_ext=c
38231 ac_cpp='$CPP $CPPFLAGS'
38232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38241 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38243 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38244 for ac_func in _sqrtf
38245 do :
38246 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38247 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38248 cat >>confdefs.h <<_ACEOF
38249 #define HAVE__SQRTF 1
38250 _ACEOF
38253 done
38262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38263 $as_echo_n "checking for sincosf declaration... " >&6; }
38264 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38265 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38266 $as_echo_n "(cached) " >&6
38267 else
38270 ac_ext=cpp
38271 ac_cpp='$CXXCPP $CPPFLAGS'
38272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38277 /* end confdefs.h. */
38278 #include <math.h>
38280 main ()
38282 sincosf(0, 0, 0);
38284 return 0;
38286 _ACEOF
38287 if ac_fn_cxx_try_compile "$LINENO"; then :
38288 glibcxx_cv_func_sincosf_use=yes
38289 else
38290 glibcxx_cv_func_sincosf_use=no
38292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38293 ac_ext=c
38294 ac_cpp='$CPP $CPPFLAGS'
38295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38304 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38306 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38307 for ac_func in sincosf
38308 do :
38309 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38310 if test "x$ac_cv_func_sincosf" = x""yes; then :
38311 cat >>confdefs.h <<_ACEOF
38312 #define HAVE_SINCOSF 1
38313 _ACEOF
38316 done
38318 else
38320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38321 $as_echo_n "checking for _sincosf declaration... " >&6; }
38322 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38323 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38324 $as_echo_n "(cached) " >&6
38325 else
38328 ac_ext=cpp
38329 ac_cpp='$CXXCPP $CPPFLAGS'
38330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38335 /* end confdefs.h. */
38336 #include <math.h>
38338 main ()
38340 _sincosf(0, 0, 0);
38342 return 0;
38344 _ACEOF
38345 if ac_fn_cxx_try_compile "$LINENO"; then :
38346 glibcxx_cv_func__sincosf_use=yes
38347 else
38348 glibcxx_cv_func__sincosf_use=no
38350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38351 ac_ext=c
38352 ac_cpp='$CPP $CPPFLAGS'
38353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38362 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38364 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38365 for ac_func in _sincosf
38366 do :
38367 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38368 if test "x$ac_cv_func__sincosf" = x""yes; then :
38369 cat >>confdefs.h <<_ACEOF
38370 #define HAVE__SINCOSF 1
38371 _ACEOF
38374 done
38383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38384 $as_echo_n "checking for finitef declaration... " >&6; }
38385 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38386 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38387 $as_echo_n "(cached) " >&6
38388 else
38391 ac_ext=cpp
38392 ac_cpp='$CXXCPP $CPPFLAGS'
38393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38398 /* end confdefs.h. */
38399 #include <math.h>
38400 #ifdef HAVE_IEEEFP_H
38401 #include <ieeefp.h>
38402 #endif
38405 main ()
38407 finitef(0);
38409 return 0;
38411 _ACEOF
38412 if ac_fn_cxx_try_compile "$LINENO"; then :
38413 glibcxx_cv_func_finitef_use=yes
38414 else
38415 glibcxx_cv_func_finitef_use=no
38417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38418 ac_ext=c
38419 ac_cpp='$CPP $CPPFLAGS'
38420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38429 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38431 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38432 for ac_func in finitef
38433 do :
38434 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38435 if test "x$ac_cv_func_finitef" = x""yes; then :
38436 cat >>confdefs.h <<_ACEOF
38437 #define HAVE_FINITEF 1
38438 _ACEOF
38441 done
38443 else
38445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38446 $as_echo_n "checking for _finitef declaration... " >&6; }
38447 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38448 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38449 $as_echo_n "(cached) " >&6
38450 else
38453 ac_ext=cpp
38454 ac_cpp='$CXXCPP $CPPFLAGS'
38455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38460 /* end confdefs.h. */
38461 #include <math.h>
38462 #ifdef HAVE_IEEEFP_H
38463 #include <ieeefp.h>
38464 #endif
38467 main ()
38469 _finitef(0);
38471 return 0;
38473 _ACEOF
38474 if ac_fn_cxx_try_compile "$LINENO"; then :
38475 glibcxx_cv_func__finitef_use=yes
38476 else
38477 glibcxx_cv_func__finitef_use=no
38479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38480 ac_ext=c
38481 ac_cpp='$CPP $CPPFLAGS'
38482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38491 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38493 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38494 for ac_func in _finitef
38495 do :
38496 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38497 if test "x$ac_cv_func__finitef" = x""yes; then :
38498 cat >>confdefs.h <<_ACEOF
38499 #define HAVE__FINITEF 1
38500 _ACEOF
38503 done
38512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38513 $as_echo_n "checking for long double trig functions... " >&6; }
38514 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38515 $as_echo_n "(cached) " >&6
38516 else
38519 ac_ext=cpp
38520 ac_cpp='$CXXCPP $CPPFLAGS'
38521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38526 /* end confdefs.h. */
38527 #include <math.h>
38529 main ()
38531 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38533 return 0;
38535 _ACEOF
38536 if ac_fn_cxx_try_compile "$LINENO"; then :
38537 glibcxx_cv_func_long_double_trig_use=yes
38538 else
38539 glibcxx_cv_func_long_double_trig_use=no
38541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38542 ac_ext=c
38543 ac_cpp='$CPP $CPPFLAGS'
38544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38551 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38552 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38553 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38554 do :
38555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38557 eval as_val=\$$as_ac_var
38558 if test "x$as_val" = x""yes; then :
38559 cat >>confdefs.h <<_ACEOF
38560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38561 _ACEOF
38564 done
38566 else
38567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38568 $as_echo_n "checking for _long double trig functions... " >&6; }
38569 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38570 $as_echo_n "(cached) " >&6
38571 else
38574 ac_ext=cpp
38575 ac_cpp='$CXXCPP $CPPFLAGS'
38576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38581 /* end confdefs.h. */
38582 #include <math.h>
38584 main ()
38586 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38588 return 0;
38590 _ACEOF
38591 if ac_fn_cxx_try_compile "$LINENO"; then :
38592 glibcxx_cv_func__long_double_trig_use=yes
38593 else
38594 glibcxx_cv_func__long_double_trig_use=no
38596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38597 ac_ext=c
38598 ac_cpp='$CPP $CPPFLAGS'
38599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38606 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38607 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38608 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38609 do :
38610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38612 eval as_val=\$$as_ac_var
38613 if test "x$as_val" = x""yes; then :
38614 cat >>confdefs.h <<_ACEOF
38615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38616 _ACEOF
38619 done
38628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38629 $as_echo_n "checking for long double round functions... " >&6; }
38630 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38631 $as_echo_n "(cached) " >&6
38632 else
38635 ac_ext=cpp
38636 ac_cpp='$CXXCPP $CPPFLAGS'
38637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38642 /* end confdefs.h. */
38643 #include <math.h>
38645 main ()
38647 ceill (0); floorl (0);
38649 return 0;
38651 _ACEOF
38652 if ac_fn_cxx_try_compile "$LINENO"; then :
38653 glibcxx_cv_func_long_double_round_use=yes
38654 else
38655 glibcxx_cv_func_long_double_round_use=no
38657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38658 ac_ext=c
38659 ac_cpp='$CPP $CPPFLAGS'
38660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38667 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38668 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38669 for ac_func in ceill floorl
38670 do :
38671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38673 eval as_val=\$$as_ac_var
38674 if test "x$as_val" = x""yes; then :
38675 cat >>confdefs.h <<_ACEOF
38676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38677 _ACEOF
38680 done
38682 else
38683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38684 $as_echo_n "checking for _long double round functions... " >&6; }
38685 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38686 $as_echo_n "(cached) " >&6
38687 else
38690 ac_ext=cpp
38691 ac_cpp='$CXXCPP $CPPFLAGS'
38692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 /* end confdefs.h. */
38698 #include <math.h>
38700 main ()
38702 _ceill (0); _floorl (0);
38704 return 0;
38706 _ACEOF
38707 if ac_fn_cxx_try_compile "$LINENO"; then :
38708 glibcxx_cv_func__long_double_round_use=yes
38709 else
38710 glibcxx_cv_func__long_double_round_use=no
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38713 ac_ext=c
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38722 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38723 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38724 for ac_func in _ceill _floorl
38725 do :
38726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38728 eval as_val=\$$as_ac_var
38729 if test "x$as_val" = x""yes; then :
38730 cat >>confdefs.h <<_ACEOF
38731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38732 _ACEOF
38735 done
38745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38746 $as_echo_n "checking for isnanl declaration... " >&6; }
38747 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38748 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38749 $as_echo_n "(cached) " >&6
38750 else
38753 ac_ext=cpp
38754 ac_cpp='$CXXCPP $CPPFLAGS'
38755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38760 /* end confdefs.h. */
38761 #include <math.h>
38762 #ifdef HAVE_IEEEFP_H
38763 #include <ieeefp.h>
38764 #endif
38767 main ()
38769 isnanl(0);
38771 return 0;
38773 _ACEOF
38774 if ac_fn_cxx_try_compile "$LINENO"; then :
38775 glibcxx_cv_func_isnanl_use=yes
38776 else
38777 glibcxx_cv_func_isnanl_use=no
38779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38780 ac_ext=c
38781 ac_cpp='$CPP $CPPFLAGS'
38782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38791 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38793 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38794 for ac_func in isnanl
38795 do :
38796 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38797 if test "x$ac_cv_func_isnanl" = x""yes; then :
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_ISNANL 1
38800 _ACEOF
38803 done
38805 else
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38808 $as_echo_n "checking for _isnanl declaration... " >&6; }
38809 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38810 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38812 else
38815 ac_ext=cpp
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38823 #include <math.h>
38824 #ifdef HAVE_IEEEFP_H
38825 #include <ieeefp.h>
38826 #endif
38829 main ()
38831 _isnanl(0);
38833 return 0;
38835 _ACEOF
38836 if ac_fn_cxx_try_compile "$LINENO"; then :
38837 glibcxx_cv_func__isnanl_use=yes
38838 else
38839 glibcxx_cv_func__isnanl_use=no
38841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38842 ac_ext=c
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38853 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38855 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38856 for ac_func in _isnanl
38857 do :
38858 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38859 if test "x$ac_cv_func__isnanl" = x""yes; then :
38860 cat >>confdefs.h <<_ACEOF
38861 #define HAVE__ISNANL 1
38862 _ACEOF
38865 done
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38875 $as_echo_n "checking for isinfl declaration... " >&6; }
38876 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38877 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38878 $as_echo_n "(cached) " >&6
38879 else
38882 ac_ext=cpp
38883 ac_cpp='$CXXCPP $CPPFLAGS'
38884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38889 /* end confdefs.h. */
38890 #include <math.h>
38891 #ifdef HAVE_IEEEFP_H
38892 #include <ieeefp.h>
38893 #endif
38896 main ()
38898 isinfl(0);
38900 return 0;
38902 _ACEOF
38903 if ac_fn_cxx_try_compile "$LINENO"; then :
38904 glibcxx_cv_func_isinfl_use=yes
38905 else
38906 glibcxx_cv_func_isinfl_use=no
38908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38909 ac_ext=c
38910 ac_cpp='$CPP $CPPFLAGS'
38911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38920 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38922 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38923 for ac_func in isinfl
38924 do :
38925 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38926 if test "x$ac_cv_func_isinfl" = x""yes; then :
38927 cat >>confdefs.h <<_ACEOF
38928 #define HAVE_ISINFL 1
38929 _ACEOF
38932 done
38934 else
38936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38937 $as_echo_n "checking for _isinfl declaration... " >&6; }
38938 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38939 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38940 $as_echo_n "(cached) " >&6
38941 else
38944 ac_ext=cpp
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951 /* end confdefs.h. */
38952 #include <math.h>
38953 #ifdef HAVE_IEEEFP_H
38954 #include <ieeefp.h>
38955 #endif
38958 main ()
38960 _isinfl(0);
38962 return 0;
38964 _ACEOF
38965 if ac_fn_cxx_try_compile "$LINENO"; then :
38966 glibcxx_cv_func__isinfl_use=yes
38967 else
38968 glibcxx_cv_func__isinfl_use=no
38970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38971 ac_ext=c
38972 ac_cpp='$CPP $CPPFLAGS'
38973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38982 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38984 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38985 for ac_func in _isinfl
38986 do :
38987 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38988 if test "x$ac_cv_func__isinfl" = x""yes; then :
38989 cat >>confdefs.h <<_ACEOF
38990 #define HAVE__ISINFL 1
38991 _ACEOF
38994 done
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39004 $as_echo_n "checking for atan2l declaration... " >&6; }
39005 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39006 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39007 $as_echo_n "(cached) " >&6
39008 else
39011 ac_ext=cpp
39012 ac_cpp='$CXXCPP $CPPFLAGS'
39013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39018 /* end confdefs.h. */
39019 #include <math.h>
39021 main ()
39023 atan2l(0, 0);
39025 return 0;
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func_atan2l_use=yes
39030 else
39031 glibcxx_cv_func_atan2l_use=no
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39045 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39047 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39048 for ac_func in atan2l
39049 do :
39050 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39051 if test "x$ac_cv_func_atan2l" = x""yes; then :
39052 cat >>confdefs.h <<_ACEOF
39053 #define HAVE_ATAN2L 1
39054 _ACEOF
39057 done
39059 else
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39062 $as_echo_n "checking for _atan2l declaration... " >&6; }
39063 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39064 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39065 $as_echo_n "(cached) " >&6
39066 else
39069 ac_ext=cpp
39070 ac_cpp='$CXXCPP $CPPFLAGS'
39071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39076 /* end confdefs.h. */
39077 #include <math.h>
39079 main ()
39081 _atan2l(0, 0);
39083 return 0;
39085 _ACEOF
39086 if ac_fn_cxx_try_compile "$LINENO"; then :
39087 glibcxx_cv_func__atan2l_use=yes
39088 else
39089 glibcxx_cv_func__atan2l_use=no
39091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39092 ac_ext=c
39093 ac_cpp='$CPP $CPPFLAGS'
39094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39103 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39105 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39106 for ac_func in _atan2l
39107 do :
39108 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39109 if test "x$ac_cv_func__atan2l" = x""yes; then :
39110 cat >>confdefs.h <<_ACEOF
39111 #define HAVE__ATAN2L 1
39112 _ACEOF
39115 done
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39125 $as_echo_n "checking for expl declaration... " >&6; }
39126 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39127 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39128 $as_echo_n "(cached) " >&6
39129 else
39132 ac_ext=cpp
39133 ac_cpp='$CXXCPP $CPPFLAGS'
39134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39139 /* end confdefs.h. */
39140 #include <math.h>
39141 #ifdef HAVE_IEEEFP_H
39142 #include <ieeefp.h>
39143 #endif
39146 main ()
39148 expl(0);
39150 return 0;
39152 _ACEOF
39153 if ac_fn_cxx_try_compile "$LINENO"; then :
39154 glibcxx_cv_func_expl_use=yes
39155 else
39156 glibcxx_cv_func_expl_use=no
39158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39159 ac_ext=c
39160 ac_cpp='$CPP $CPPFLAGS'
39161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39170 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39172 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39173 for ac_func in expl
39174 do :
39175 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39176 if test "x$ac_cv_func_expl" = x""yes; then :
39177 cat >>confdefs.h <<_ACEOF
39178 #define HAVE_EXPL 1
39179 _ACEOF
39182 done
39184 else
39186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39187 $as_echo_n "checking for _expl declaration... " >&6; }
39188 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39189 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39190 $as_echo_n "(cached) " >&6
39191 else
39194 ac_ext=cpp
39195 ac_cpp='$CXXCPP $CPPFLAGS'
39196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39201 /* end confdefs.h. */
39202 #include <math.h>
39203 #ifdef HAVE_IEEEFP_H
39204 #include <ieeefp.h>
39205 #endif
39208 main ()
39210 _expl(0);
39212 return 0;
39214 _ACEOF
39215 if ac_fn_cxx_try_compile "$LINENO"; then :
39216 glibcxx_cv_func__expl_use=yes
39217 else
39218 glibcxx_cv_func__expl_use=no
39220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39221 ac_ext=c
39222 ac_cpp='$CPP $CPPFLAGS'
39223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39232 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39234 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39235 for ac_func in _expl
39236 do :
39237 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39238 if test "x$ac_cv_func__expl" = x""yes; then :
39239 cat >>confdefs.h <<_ACEOF
39240 #define HAVE__EXPL 1
39241 _ACEOF
39244 done
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39254 $as_echo_n "checking for fabsl declaration... " >&6; }
39255 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39256 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39257 $as_echo_n "(cached) " >&6
39258 else
39261 ac_ext=cpp
39262 ac_cpp='$CXXCPP $CPPFLAGS'
39263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39268 /* end confdefs.h. */
39269 #include <math.h>
39270 #ifdef HAVE_IEEEFP_H
39271 #include <ieeefp.h>
39272 #endif
39275 main ()
39277 fabsl(0);
39279 return 0;
39281 _ACEOF
39282 if ac_fn_cxx_try_compile "$LINENO"; then :
39283 glibcxx_cv_func_fabsl_use=yes
39284 else
39285 glibcxx_cv_func_fabsl_use=no
39287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39288 ac_ext=c
39289 ac_cpp='$CPP $CPPFLAGS'
39290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39299 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39301 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39302 for ac_func in fabsl
39303 do :
39304 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39305 if test "x$ac_cv_func_fabsl" = x""yes; then :
39306 cat >>confdefs.h <<_ACEOF
39307 #define HAVE_FABSL 1
39308 _ACEOF
39311 done
39313 else
39315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39316 $as_echo_n "checking for _fabsl declaration... " >&6; }
39317 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39318 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39319 $as_echo_n "(cached) " >&6
39320 else
39323 ac_ext=cpp
39324 ac_cpp='$CXXCPP $CPPFLAGS'
39325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39330 /* end confdefs.h. */
39331 #include <math.h>
39332 #ifdef HAVE_IEEEFP_H
39333 #include <ieeefp.h>
39334 #endif
39337 main ()
39339 _fabsl(0);
39341 return 0;
39343 _ACEOF
39344 if ac_fn_cxx_try_compile "$LINENO"; then :
39345 glibcxx_cv_func__fabsl_use=yes
39346 else
39347 glibcxx_cv_func__fabsl_use=no
39349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39350 ac_ext=c
39351 ac_cpp='$CPP $CPPFLAGS'
39352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39361 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39363 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39364 for ac_func in _fabsl
39365 do :
39366 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39367 if test "x$ac_cv_func__fabsl" = x""yes; then :
39368 cat >>confdefs.h <<_ACEOF
39369 #define HAVE__FABSL 1
39370 _ACEOF
39373 done
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39383 $as_echo_n "checking for fmodl declaration... " >&6; }
39384 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39385 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39386 $as_echo_n "(cached) " >&6
39387 else
39390 ac_ext=cpp
39391 ac_cpp='$CXXCPP $CPPFLAGS'
39392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39397 /* end confdefs.h. */
39398 #include <math.h>
39400 main ()
39402 fmodl(0, 0);
39404 return 0;
39406 _ACEOF
39407 if ac_fn_cxx_try_compile "$LINENO"; then :
39408 glibcxx_cv_func_fmodl_use=yes
39409 else
39410 glibcxx_cv_func_fmodl_use=no
39412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39413 ac_ext=c
39414 ac_cpp='$CPP $CPPFLAGS'
39415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39424 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39426 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39427 for ac_func in fmodl
39428 do :
39429 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39430 if test "x$ac_cv_func_fmodl" = x""yes; then :
39431 cat >>confdefs.h <<_ACEOF
39432 #define HAVE_FMODL 1
39433 _ACEOF
39436 done
39438 else
39440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39441 $as_echo_n "checking for _fmodl declaration... " >&6; }
39442 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39443 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39444 $as_echo_n "(cached) " >&6
39445 else
39448 ac_ext=cpp
39449 ac_cpp='$CXXCPP $CPPFLAGS'
39450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39455 /* end confdefs.h. */
39456 #include <math.h>
39458 main ()
39460 _fmodl(0, 0);
39462 return 0;
39464 _ACEOF
39465 if ac_fn_cxx_try_compile "$LINENO"; then :
39466 glibcxx_cv_func__fmodl_use=yes
39467 else
39468 glibcxx_cv_func__fmodl_use=no
39470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39471 ac_ext=c
39472 ac_cpp='$CPP $CPPFLAGS'
39473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39482 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39484 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39485 for ac_func in _fmodl
39486 do :
39487 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39488 if test "x$ac_cv_func__fmodl" = x""yes; then :
39489 cat >>confdefs.h <<_ACEOF
39490 #define HAVE__FMODL 1
39491 _ACEOF
39494 done
39503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39504 $as_echo_n "checking for frexpl declaration... " >&6; }
39505 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39506 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39507 $as_echo_n "(cached) " >&6
39508 else
39511 ac_ext=cpp
39512 ac_cpp='$CXXCPP $CPPFLAGS'
39513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39518 /* end confdefs.h. */
39519 #include <math.h>
39521 main ()
39523 frexpl(0, 0);
39525 return 0;
39527 _ACEOF
39528 if ac_fn_cxx_try_compile "$LINENO"; then :
39529 glibcxx_cv_func_frexpl_use=yes
39530 else
39531 glibcxx_cv_func_frexpl_use=no
39533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39534 ac_ext=c
39535 ac_cpp='$CPP $CPPFLAGS'
39536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39545 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39547 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39548 for ac_func in frexpl
39549 do :
39550 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39551 if test "x$ac_cv_func_frexpl" = x""yes; then :
39552 cat >>confdefs.h <<_ACEOF
39553 #define HAVE_FREXPL 1
39554 _ACEOF
39557 done
39559 else
39561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39562 $as_echo_n "checking for _frexpl declaration... " >&6; }
39563 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39564 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39565 $as_echo_n "(cached) " >&6
39566 else
39569 ac_ext=cpp
39570 ac_cpp='$CXXCPP $CPPFLAGS'
39571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39576 /* end confdefs.h. */
39577 #include <math.h>
39579 main ()
39581 _frexpl(0, 0);
39583 return 0;
39585 _ACEOF
39586 if ac_fn_cxx_try_compile "$LINENO"; then :
39587 glibcxx_cv_func__frexpl_use=yes
39588 else
39589 glibcxx_cv_func__frexpl_use=no
39591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39592 ac_ext=c
39593 ac_cpp='$CPP $CPPFLAGS'
39594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39603 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39605 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39606 for ac_func in _frexpl
39607 do :
39608 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39609 if test "x$ac_cv_func__frexpl" = x""yes; then :
39610 cat >>confdefs.h <<_ACEOF
39611 #define HAVE__FREXPL 1
39612 _ACEOF
39615 done
39624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39625 $as_echo_n "checking for hypotl declaration... " >&6; }
39626 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39627 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39628 $as_echo_n "(cached) " >&6
39629 else
39632 ac_ext=cpp
39633 ac_cpp='$CXXCPP $CPPFLAGS'
39634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39639 /* end confdefs.h. */
39640 #include <math.h>
39642 main ()
39644 hypotl(0, 0);
39646 return 0;
39648 _ACEOF
39649 if ac_fn_cxx_try_compile "$LINENO"; then :
39650 glibcxx_cv_func_hypotl_use=yes
39651 else
39652 glibcxx_cv_func_hypotl_use=no
39654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39655 ac_ext=c
39656 ac_cpp='$CPP $CPPFLAGS'
39657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39666 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39668 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39669 for ac_func in hypotl
39670 do :
39671 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39672 if test "x$ac_cv_func_hypotl" = x""yes; then :
39673 cat >>confdefs.h <<_ACEOF
39674 #define HAVE_HYPOTL 1
39675 _ACEOF
39678 done
39680 else
39682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39683 $as_echo_n "checking for _hypotl declaration... " >&6; }
39684 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39685 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39686 $as_echo_n "(cached) " >&6
39687 else
39690 ac_ext=cpp
39691 ac_cpp='$CXXCPP $CPPFLAGS'
39692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39697 /* end confdefs.h. */
39698 #include <math.h>
39700 main ()
39702 _hypotl(0, 0);
39704 return 0;
39706 _ACEOF
39707 if ac_fn_cxx_try_compile "$LINENO"; then :
39708 glibcxx_cv_func__hypotl_use=yes
39709 else
39710 glibcxx_cv_func__hypotl_use=no
39712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39713 ac_ext=c
39714 ac_cpp='$CPP $CPPFLAGS'
39715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39724 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39726 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39727 for ac_func in _hypotl
39728 do :
39729 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39730 if test "x$ac_cv_func__hypotl" = x""yes; then :
39731 cat >>confdefs.h <<_ACEOF
39732 #define HAVE__HYPOTL 1
39733 _ACEOF
39736 done
39745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39746 $as_echo_n "checking for ldexpl declaration... " >&6; }
39747 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39748 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39749 $as_echo_n "(cached) " >&6
39750 else
39753 ac_ext=cpp
39754 ac_cpp='$CXXCPP $CPPFLAGS'
39755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39760 /* end confdefs.h. */
39761 #include <math.h>
39763 main ()
39765 ldexpl(0, 0);
39767 return 0;
39769 _ACEOF
39770 if ac_fn_cxx_try_compile "$LINENO"; then :
39771 glibcxx_cv_func_ldexpl_use=yes
39772 else
39773 glibcxx_cv_func_ldexpl_use=no
39775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39776 ac_ext=c
39777 ac_cpp='$CPP $CPPFLAGS'
39778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39787 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39789 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39790 for ac_func in ldexpl
39791 do :
39792 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39793 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39794 cat >>confdefs.h <<_ACEOF
39795 #define HAVE_LDEXPL 1
39796 _ACEOF
39799 done
39801 else
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39804 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39805 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39806 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39807 $as_echo_n "(cached) " >&6
39808 else
39811 ac_ext=cpp
39812 ac_cpp='$CXXCPP $CPPFLAGS'
39813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39818 /* end confdefs.h. */
39819 #include <math.h>
39821 main ()
39823 _ldexpl(0, 0);
39825 return 0;
39827 _ACEOF
39828 if ac_fn_cxx_try_compile "$LINENO"; then :
39829 glibcxx_cv_func__ldexpl_use=yes
39830 else
39831 glibcxx_cv_func__ldexpl_use=no
39833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39834 ac_ext=c
39835 ac_cpp='$CPP $CPPFLAGS'
39836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39845 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39847 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39848 for ac_func in _ldexpl
39849 do :
39850 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39851 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39852 cat >>confdefs.h <<_ACEOF
39853 #define HAVE__LDEXPL 1
39854 _ACEOF
39857 done
39866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39867 $as_echo_n "checking for logl declaration... " >&6; }
39868 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39869 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39870 $as_echo_n "(cached) " >&6
39871 else
39874 ac_ext=cpp
39875 ac_cpp='$CXXCPP $CPPFLAGS'
39876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39881 /* end confdefs.h. */
39882 #include <math.h>
39883 #ifdef HAVE_IEEEFP_H
39884 #include <ieeefp.h>
39885 #endif
39888 main ()
39890 logl(0);
39892 return 0;
39894 _ACEOF
39895 if ac_fn_cxx_try_compile "$LINENO"; then :
39896 glibcxx_cv_func_logl_use=yes
39897 else
39898 glibcxx_cv_func_logl_use=no
39900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39901 ac_ext=c
39902 ac_cpp='$CPP $CPPFLAGS'
39903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39912 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39914 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39915 for ac_func in logl
39916 do :
39917 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39918 if test "x$ac_cv_func_logl" = x""yes; then :
39919 cat >>confdefs.h <<_ACEOF
39920 #define HAVE_LOGL 1
39921 _ACEOF
39924 done
39926 else
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39929 $as_echo_n "checking for _logl declaration... " >&6; }
39930 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39931 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39932 $as_echo_n "(cached) " >&6
39933 else
39936 ac_ext=cpp
39937 ac_cpp='$CXXCPP $CPPFLAGS'
39938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39943 /* end confdefs.h. */
39944 #include <math.h>
39945 #ifdef HAVE_IEEEFP_H
39946 #include <ieeefp.h>
39947 #endif
39950 main ()
39952 _logl(0);
39954 return 0;
39956 _ACEOF
39957 if ac_fn_cxx_try_compile "$LINENO"; then :
39958 glibcxx_cv_func__logl_use=yes
39959 else
39960 glibcxx_cv_func__logl_use=no
39962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39963 ac_ext=c
39964 ac_cpp='$CPP $CPPFLAGS'
39965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39974 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39976 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39977 for ac_func in _logl
39978 do :
39979 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39980 if test "x$ac_cv_func__logl" = x""yes; then :
39981 cat >>confdefs.h <<_ACEOF
39982 #define HAVE__LOGL 1
39983 _ACEOF
39986 done
39995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39996 $as_echo_n "checking for log10l declaration... " >&6; }
39997 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39998 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39999 $as_echo_n "(cached) " >&6
40000 else
40003 ac_ext=cpp
40004 ac_cpp='$CXXCPP $CPPFLAGS'
40005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40010 /* end confdefs.h. */
40011 #include <math.h>
40012 #ifdef HAVE_IEEEFP_H
40013 #include <ieeefp.h>
40014 #endif
40017 main ()
40019 log10l(0);
40021 return 0;
40023 _ACEOF
40024 if ac_fn_cxx_try_compile "$LINENO"; then :
40025 glibcxx_cv_func_log10l_use=yes
40026 else
40027 glibcxx_cv_func_log10l_use=no
40029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40030 ac_ext=c
40031 ac_cpp='$CPP $CPPFLAGS'
40032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40041 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40043 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40044 for ac_func in log10l
40045 do :
40046 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40047 if test "x$ac_cv_func_log10l" = x""yes; then :
40048 cat >>confdefs.h <<_ACEOF
40049 #define HAVE_LOG10L 1
40050 _ACEOF
40053 done
40055 else
40057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40058 $as_echo_n "checking for _log10l declaration... " >&6; }
40059 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40060 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40061 $as_echo_n "(cached) " >&6
40062 else
40065 ac_ext=cpp
40066 ac_cpp='$CXXCPP $CPPFLAGS'
40067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40072 /* end confdefs.h. */
40073 #include <math.h>
40074 #ifdef HAVE_IEEEFP_H
40075 #include <ieeefp.h>
40076 #endif
40079 main ()
40081 _log10l(0);
40083 return 0;
40085 _ACEOF
40086 if ac_fn_cxx_try_compile "$LINENO"; then :
40087 glibcxx_cv_func__log10l_use=yes
40088 else
40089 glibcxx_cv_func__log10l_use=no
40091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40092 ac_ext=c
40093 ac_cpp='$CPP $CPPFLAGS'
40094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40103 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40105 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40106 for ac_func in _log10l
40107 do :
40108 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40109 if test "x$ac_cv_func__log10l" = x""yes; then :
40110 cat >>confdefs.h <<_ACEOF
40111 #define HAVE__LOG10L 1
40112 _ACEOF
40115 done
40124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40125 $as_echo_n "checking for modfl declaration... " >&6; }
40126 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40127 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40128 $as_echo_n "(cached) " >&6
40129 else
40132 ac_ext=cpp
40133 ac_cpp='$CXXCPP $CPPFLAGS'
40134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40139 /* end confdefs.h. */
40140 #include <math.h>
40142 main ()
40144 modfl(0, 0);
40146 return 0;
40148 _ACEOF
40149 if ac_fn_cxx_try_compile "$LINENO"; then :
40150 glibcxx_cv_func_modfl_use=yes
40151 else
40152 glibcxx_cv_func_modfl_use=no
40154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 ac_ext=c
40156 ac_cpp='$CPP $CPPFLAGS'
40157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40166 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40168 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40169 for ac_func in modfl
40170 do :
40171 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40172 if test "x$ac_cv_func_modfl" = x""yes; then :
40173 cat >>confdefs.h <<_ACEOF
40174 #define HAVE_MODFL 1
40175 _ACEOF
40178 done
40180 else
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40183 $as_echo_n "checking for _modfl declaration... " >&6; }
40184 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40185 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40186 $as_echo_n "(cached) " >&6
40187 else
40190 ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h. */
40198 #include <math.h>
40200 main ()
40202 _modfl(0, 0);
40204 return 0;
40206 _ACEOF
40207 if ac_fn_cxx_try_compile "$LINENO"; then :
40208 glibcxx_cv_func__modfl_use=yes
40209 else
40210 glibcxx_cv_func__modfl_use=no
40212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40213 ac_ext=c
40214 ac_cpp='$CPP $CPPFLAGS'
40215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40224 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40226 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40227 for ac_func in _modfl
40228 do :
40229 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40230 if test "x$ac_cv_func__modfl" = x""yes; then :
40231 cat >>confdefs.h <<_ACEOF
40232 #define HAVE__MODFL 1
40233 _ACEOF
40236 done
40245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40246 $as_echo_n "checking for powl declaration... " >&6; }
40247 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40248 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40249 $as_echo_n "(cached) " >&6
40250 else
40253 ac_ext=cpp
40254 ac_cpp='$CXXCPP $CPPFLAGS'
40255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40260 /* end confdefs.h. */
40261 #include <math.h>
40263 main ()
40265 powl(0, 0);
40267 return 0;
40269 _ACEOF
40270 if ac_fn_cxx_try_compile "$LINENO"; then :
40271 glibcxx_cv_func_powl_use=yes
40272 else
40273 glibcxx_cv_func_powl_use=no
40275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40276 ac_ext=c
40277 ac_cpp='$CPP $CPPFLAGS'
40278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40287 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40289 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40290 for ac_func in powl
40291 do :
40292 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40293 if test "x$ac_cv_func_powl" = x""yes; then :
40294 cat >>confdefs.h <<_ACEOF
40295 #define HAVE_POWL 1
40296 _ACEOF
40299 done
40301 else
40303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40304 $as_echo_n "checking for _powl declaration... " >&6; }
40305 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40306 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40307 $as_echo_n "(cached) " >&6
40308 else
40311 ac_ext=cpp
40312 ac_cpp='$CXXCPP $CPPFLAGS'
40313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40318 /* end confdefs.h. */
40319 #include <math.h>
40321 main ()
40323 _powl(0, 0);
40325 return 0;
40327 _ACEOF
40328 if ac_fn_cxx_try_compile "$LINENO"; then :
40329 glibcxx_cv_func__powl_use=yes
40330 else
40331 glibcxx_cv_func__powl_use=no
40333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40334 ac_ext=c
40335 ac_cpp='$CPP $CPPFLAGS'
40336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40345 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40347 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40348 for ac_func in _powl
40349 do :
40350 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40351 if test "x$ac_cv_func__powl" = x""yes; then :
40352 cat >>confdefs.h <<_ACEOF
40353 #define HAVE__POWL 1
40354 _ACEOF
40357 done
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40367 $as_echo_n "checking for sqrtl declaration... " >&6; }
40368 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40369 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40370 $as_echo_n "(cached) " >&6
40371 else
40374 ac_ext=cpp
40375 ac_cpp='$CXXCPP $CPPFLAGS'
40376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40381 /* end confdefs.h. */
40382 #include <math.h>
40383 #ifdef HAVE_IEEEFP_H
40384 #include <ieeefp.h>
40385 #endif
40388 main ()
40390 sqrtl(0);
40392 return 0;
40394 _ACEOF
40395 if ac_fn_cxx_try_compile "$LINENO"; then :
40396 glibcxx_cv_func_sqrtl_use=yes
40397 else
40398 glibcxx_cv_func_sqrtl_use=no
40400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40401 ac_ext=c
40402 ac_cpp='$CPP $CPPFLAGS'
40403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40412 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40414 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40415 for ac_func in sqrtl
40416 do :
40417 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40418 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40419 cat >>confdefs.h <<_ACEOF
40420 #define HAVE_SQRTL 1
40421 _ACEOF
40424 done
40426 else
40428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40429 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40430 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40431 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40432 $as_echo_n "(cached) " >&6
40433 else
40436 ac_ext=cpp
40437 ac_cpp='$CXXCPP $CPPFLAGS'
40438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40443 /* end confdefs.h. */
40444 #include <math.h>
40445 #ifdef HAVE_IEEEFP_H
40446 #include <ieeefp.h>
40447 #endif
40450 main ()
40452 _sqrtl(0);
40454 return 0;
40456 _ACEOF
40457 if ac_fn_cxx_try_compile "$LINENO"; then :
40458 glibcxx_cv_func__sqrtl_use=yes
40459 else
40460 glibcxx_cv_func__sqrtl_use=no
40462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40463 ac_ext=c
40464 ac_cpp='$CPP $CPPFLAGS'
40465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40474 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40476 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40477 for ac_func in _sqrtl
40478 do :
40479 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40480 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40481 cat >>confdefs.h <<_ACEOF
40482 #define HAVE__SQRTL 1
40483 _ACEOF
40486 done
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40496 $as_echo_n "checking for sincosl declaration... " >&6; }
40497 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40498 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40499 $as_echo_n "(cached) " >&6
40500 else
40503 ac_ext=cpp
40504 ac_cpp='$CXXCPP $CPPFLAGS'
40505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40510 /* end confdefs.h. */
40511 #include <math.h>
40513 main ()
40515 sincosl(0, 0, 0);
40517 return 0;
40519 _ACEOF
40520 if ac_fn_cxx_try_compile "$LINENO"; then :
40521 glibcxx_cv_func_sincosl_use=yes
40522 else
40523 glibcxx_cv_func_sincosl_use=no
40525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40526 ac_ext=c
40527 ac_cpp='$CPP $CPPFLAGS'
40528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40537 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40539 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40540 for ac_func in sincosl
40541 do :
40542 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40543 if test "x$ac_cv_func_sincosl" = x""yes; then :
40544 cat >>confdefs.h <<_ACEOF
40545 #define HAVE_SINCOSL 1
40546 _ACEOF
40549 done
40551 else
40553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40554 $as_echo_n "checking for _sincosl declaration... " >&6; }
40555 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40556 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40557 $as_echo_n "(cached) " >&6
40558 else
40561 ac_ext=cpp
40562 ac_cpp='$CXXCPP $CPPFLAGS'
40563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40568 /* end confdefs.h. */
40569 #include <math.h>
40571 main ()
40573 _sincosl(0, 0, 0);
40575 return 0;
40577 _ACEOF
40578 if ac_fn_cxx_try_compile "$LINENO"; then :
40579 glibcxx_cv_func__sincosl_use=yes
40580 else
40581 glibcxx_cv_func__sincosl_use=no
40583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40584 ac_ext=c
40585 ac_cpp='$CPP $CPPFLAGS'
40586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40595 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40597 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40598 for ac_func in _sincosl
40599 do :
40600 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40601 if test "x$ac_cv_func__sincosl" = x""yes; then :
40602 cat >>confdefs.h <<_ACEOF
40603 #define HAVE__SINCOSL 1
40604 _ACEOF
40607 done
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40617 $as_echo_n "checking for finitel declaration... " >&6; }
40618 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40619 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40620 $as_echo_n "(cached) " >&6
40621 else
40624 ac_ext=cpp
40625 ac_cpp='$CXXCPP $CPPFLAGS'
40626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40631 /* end confdefs.h. */
40632 #include <math.h>
40633 #ifdef HAVE_IEEEFP_H
40634 #include <ieeefp.h>
40635 #endif
40638 main ()
40640 finitel(0);
40642 return 0;
40644 _ACEOF
40645 if ac_fn_cxx_try_compile "$LINENO"; then :
40646 glibcxx_cv_func_finitel_use=yes
40647 else
40648 glibcxx_cv_func_finitel_use=no
40650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40651 ac_ext=c
40652 ac_cpp='$CPP $CPPFLAGS'
40653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40662 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40664 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40665 for ac_func in finitel
40666 do :
40667 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40668 if test "x$ac_cv_func_finitel" = x""yes; then :
40669 cat >>confdefs.h <<_ACEOF
40670 #define HAVE_FINITEL 1
40671 _ACEOF
40674 done
40676 else
40678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40679 $as_echo_n "checking for _finitel declaration... " >&6; }
40680 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40681 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40682 $as_echo_n "(cached) " >&6
40683 else
40686 ac_ext=cpp
40687 ac_cpp='$CXXCPP $CPPFLAGS'
40688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40693 /* end confdefs.h. */
40694 #include <math.h>
40695 #ifdef HAVE_IEEEFP_H
40696 #include <ieeefp.h>
40697 #endif
40700 main ()
40702 _finitel(0);
40704 return 0;
40706 _ACEOF
40707 if ac_fn_cxx_try_compile "$LINENO"; then :
40708 glibcxx_cv_func__finitel_use=yes
40709 else
40710 glibcxx_cv_func__finitel_use=no
40712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40713 ac_ext=c
40714 ac_cpp='$CPP $CPPFLAGS'
40715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40724 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40726 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40727 for ac_func in _finitel
40728 do :
40729 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40730 if test "x$ac_cv_func__finitel" = x""yes; then :
40731 cat >>confdefs.h <<_ACEOF
40732 #define HAVE__FINITEL 1
40733 _ACEOF
40736 done
40744 LIBS="$ac_save_LIBS"
40745 CXXFLAGS="$ac_save_CXXFLAGS"
40748 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40749 ac_save_CXXFLAGS="$CXXFLAGS"
40750 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40754 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40755 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40756 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40757 $as_echo_n "(cached) " >&6
40758 else
40761 ac_ext=cpp
40762 ac_cpp='$CXXCPP $CPPFLAGS'
40763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40768 /* end confdefs.h. */
40769 #include <stdlib.h>
40771 main ()
40773 at_quick_exit(0);
40775 return 0;
40777 _ACEOF
40778 if ac_fn_cxx_try_compile "$LINENO"; then :
40779 glibcxx_cv_func_at_quick_exit_use=yes
40780 else
40781 glibcxx_cv_func_at_quick_exit_use=no
40783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40784 ac_ext=c
40785 ac_cpp='$CPP $CPPFLAGS'
40786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40795 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40796 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40797 for ac_func in at_quick_exit
40798 do :
40799 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40800 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40801 cat >>confdefs.h <<_ACEOF
40802 #define HAVE_AT_QUICK_EXIT 1
40803 _ACEOF
40806 done
40811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40812 $as_echo_n "checking for quick_exit declaration... " >&6; }
40813 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40814 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40815 $as_echo_n "(cached) " >&6
40816 else
40819 ac_ext=cpp
40820 ac_cpp='$CXXCPP $CPPFLAGS'
40821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40826 /* end confdefs.h. */
40827 #include <stdlib.h>
40829 main ()
40831 quick_exit(0);
40833 return 0;
40835 _ACEOF
40836 if ac_fn_cxx_try_compile "$LINENO"; then :
40837 glibcxx_cv_func_quick_exit_use=yes
40838 else
40839 glibcxx_cv_func_quick_exit_use=no
40841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40842 ac_ext=c
40843 ac_cpp='$CPP $CPPFLAGS'
40844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40853 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40854 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40855 for ac_func in quick_exit
40856 do :
40857 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40858 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40859 cat >>confdefs.h <<_ACEOF
40860 #define HAVE_QUICK_EXIT 1
40861 _ACEOF
40864 done
40869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40870 $as_echo_n "checking for strtold declaration... " >&6; }
40871 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40872 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40873 $as_echo_n "(cached) " >&6
40874 else
40877 ac_ext=cpp
40878 ac_cpp='$CXXCPP $CPPFLAGS'
40879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40884 /* end confdefs.h. */
40885 #include <stdlib.h>
40887 main ()
40889 strtold(0, 0);
40891 return 0;
40893 _ACEOF
40894 if ac_fn_cxx_try_compile "$LINENO"; then :
40895 glibcxx_cv_func_strtold_use=yes
40896 else
40897 glibcxx_cv_func_strtold_use=no
40899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40900 ac_ext=c
40901 ac_cpp='$CPP $CPPFLAGS'
40902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40911 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40912 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40913 for ac_func in strtold
40914 do :
40915 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40916 if test "x$ac_cv_func_strtold" = x""yes; then :
40917 cat >>confdefs.h <<_ACEOF
40918 #define HAVE_STRTOLD 1
40919 _ACEOF
40922 done
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40930 $as_echo_n "checking for strtof declaration... " >&6; }
40931 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40932 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40933 $as_echo_n "(cached) " >&6
40934 else
40937 ac_ext=cpp
40938 ac_cpp='$CXXCPP $CPPFLAGS'
40939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40944 /* end confdefs.h. */
40945 #include <stdlib.h>
40947 main ()
40949 strtof(0, 0);
40951 return 0;
40953 _ACEOF
40954 if ac_fn_cxx_try_compile "$LINENO"; then :
40955 glibcxx_cv_func_strtof_use=yes
40956 else
40957 glibcxx_cv_func_strtof_use=no
40959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40960 ac_ext=c
40961 ac_cpp='$CPP $CPPFLAGS'
40962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40971 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40972 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40973 for ac_func in strtof
40974 do :
40975 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40976 if test "x$ac_cv_func_strtof" = x""yes; then :
40977 cat >>confdefs.h <<_ACEOF
40978 #define HAVE_STRTOF 1
40979 _ACEOF
40982 done
40989 CXXFLAGS="$ac_save_CXXFLAGS"
40996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40997 $as_echo_n "checking for iconv... " >&6; }
40998 if test "${am_cv_func_iconv+set}" = set; then :
40999 $as_echo_n "(cached) " >&6
41000 else
41002 am_cv_func_iconv="no, consider installing GNU libiconv"
41003 am_cv_lib_iconv=no
41004 am_save_CPPFLAGS="$CPPFLAGS"
41005 CPPFLAGS="$CPPFLAGS $INCICONV"
41006 if test x$gcc_no_link = xyes; then
41007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41010 /* end confdefs.h. */
41011 #include <stdlib.h>
41012 #include <iconv.h>
41014 main ()
41016 iconv_t cd = iconv_open("","");
41017 iconv(cd,NULL,NULL,NULL,NULL);
41018 iconv_close(cd);
41020 return 0;
41022 _ACEOF
41023 if ac_fn_c_try_link "$LINENO"; then :
41024 am_cv_func_iconv=yes
41026 rm -f core conftest.err conftest.$ac_objext \
41027 conftest$ac_exeext conftest.$ac_ext
41028 CPPFLAGS="$am_save_CPPFLAGS"
41030 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41031 for _libs in .libs _libs; do
41032 am_save_CPPFLAGS="$CPPFLAGS"
41033 am_save_LIBS="$LIBS"
41034 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41035 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41036 if test x$gcc_no_link = xyes; then
41037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41040 /* end confdefs.h. */
41041 #include <stdlib.h>
41042 #include <iconv.h>
41044 main ()
41046 iconv_t cd = iconv_open("","");
41047 iconv(cd,NULL,NULL,NULL,NULL);
41048 iconv_close(cd);
41050 return 0;
41052 _ACEOF
41053 if ac_fn_c_try_link "$LINENO"; then :
41054 INCICONV="-I../libiconv/include"
41055 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41056 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41057 am_cv_lib_iconv=yes
41058 am_cv_func_iconv=yes
41060 rm -f core conftest.err conftest.$ac_objext \
41061 conftest$ac_exeext conftest.$ac_ext
41062 CPPFLAGS="$am_save_CPPFLAGS"
41063 LIBS="$am_save_LIBS"
41064 if test "$am_cv_func_iconv" = "yes"; then
41065 break
41067 done
41070 if test "$am_cv_func_iconv" != yes; then
41071 am_save_CPPFLAGS="$CPPFLAGS"
41072 am_save_LIBS="$LIBS"
41073 CPPFLAGS="$LIBS $INCICONV"
41074 LIBS="$LIBS $LIBICONV"
41075 if test x$gcc_no_link = xyes; then
41076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41079 /* end confdefs.h. */
41080 #include <stdlib.h>
41081 #include <iconv.h>
41083 main ()
41085 iconv_t cd = iconv_open("","");
41086 iconv(cd,NULL,NULL,NULL,NULL);
41087 iconv_close(cd);
41089 return 0;
41091 _ACEOF
41092 if ac_fn_c_try_link "$LINENO"; then :
41093 am_cv_lib_iconv=yes
41094 am_cv_func_iconv=yes
41096 rm -f core conftest.err conftest.$ac_objext \
41097 conftest$ac_exeext conftest.$ac_ext
41098 CPPFLAGS="$am_save_CPPFLAGS"
41099 LIBS="$am_save_LIBS"
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41104 $as_echo "$am_cv_func_iconv" >&6; }
41105 if test "$am_cv_func_iconv" = yes; then
41107 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41110 if test "$am_cv_lib_iconv" = yes; then
41112 for element in $INCICONV; do
41113 haveit=
41114 for x in $CPPFLAGS; do
41116 acl_save_prefix="$prefix"
41117 prefix="$acl_final_prefix"
41118 acl_save_exec_prefix="$exec_prefix"
41119 exec_prefix="$acl_final_exec_prefix"
41120 eval x=\"$x\"
41121 exec_prefix="$acl_save_exec_prefix"
41122 prefix="$acl_save_prefix"
41124 if test "X$x" = "X$element"; then
41125 haveit=yes
41126 break
41128 done
41129 if test -z "$haveit"; then
41130 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41132 done
41134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41135 $as_echo_n "checking how to link with libiconv... " >&6; }
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41137 $as_echo "$LIBICONV" >&6; }
41138 else
41139 LIBICONV=
41140 LTLIBICONV=
41145 if test "$am_cv_func_iconv" = yes; then
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41147 $as_echo_n "checking for iconv declaration... " >&6; }
41148 if test "${am_cv_proto_iconv+set}" = set; then :
41149 $as_echo_n "(cached) " >&6
41150 else
41152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41153 /* end confdefs.h. */
41155 #include <stdlib.h>
41156 #include <iconv.h>
41157 extern
41158 #ifdef __cplusplus
41160 #endif
41161 #if defined(__STDC__) || defined(__cplusplus)
41162 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41163 #else
41164 size_t iconv();
41165 #endif
41168 main ()
41172 return 0;
41174 _ACEOF
41175 if ac_fn_c_try_compile "$LINENO"; then :
41176 am_cv_proto_iconv_arg1=""
41177 else
41178 am_cv_proto_iconv_arg1="const"
41180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41181 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);"
41184 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41186 }$am_cv_proto_iconv" >&5
41187 $as_echo "${ac_t:-
41188 }$am_cv_proto_iconv" >&6; }
41190 cat >>confdefs.h <<_ACEOF
41191 #define ICONV_CONST $am_cv_proto_iconv_arg1
41192 _ACEOF
41198 *-aix*)
41200 # If we're not using GNU ld, then there's no point in even trying these
41201 # tests. Check for that first. We should have already tested for gld
41202 # by now (in libtool), but require it now just to be safe...
41203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41208 # The name set by libtool depends on the version of libtool. Shame on us
41209 # for depending on an impl detail, but c'est la vie. Older versions used
41210 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41211 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41212 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41213 # set (hence we're using an older libtool), then set it.
41214 if test x${with_gnu_ld+set} != xset; then
41215 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41216 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41217 with_gnu_ld=no
41218 else
41219 with_gnu_ld=$ac_cv_prog_gnu_ld
41223 # Start by getting the version number. I think the libtool test already
41224 # does some of this, but throws away the result.
41225 glibcxx_ld_is_gold=no
41226 if test x"$with_gnu_ld" = x"yes"; then
41227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41228 $as_echo_n "checking for ld version... " >&6; }
41230 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41231 glibcxx_ld_is_gold=yes
41233 ldver=`$LD --version 2>/dev/null |
41234 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'`
41236 glibcxx_gnu_ld_version=`echo $ldver | \
41237 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41239 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41242 # Set --gc-sections.
41243 glibcxx_have_gc_sections=no
41244 if test "$glibcxx_ld_is_gold" = "yes"; then
41245 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41246 glibcxx_have_gc_sections=yes
41248 else
41249 glibcxx_gcsections_min_ld=21602
41250 if test x"$with_gnu_ld" = x"yes" &&
41251 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41252 glibcxx_have_gc_sections=yes
41255 if test "$glibcxx_have_gc_sections" = "yes"; then
41256 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41257 # NB: This flag only works reliably after 2.16.1. Configure tests
41258 # for this are difficult, so hard wire a value that should work.
41260 ac_test_CFLAGS="${CFLAGS+set}"
41261 ac_save_CFLAGS="$CFLAGS"
41262 CFLAGS='-Wl,--gc-sections'
41264 # Check for -Wl,--gc-sections
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41266 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41267 if test x$gcc_no_link = xyes; then
41268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41271 /* end confdefs.h. */
41272 int one(void) { return 1; }
41273 int two(void) { return 2; }
41276 main ()
41278 two();
41280 return 0;
41282 _ACEOF
41283 if ac_fn_c_try_link "$LINENO"; then :
41284 ac_gcsections=yes
41285 else
41286 ac_gcsections=no
41288 rm -f core conftest.err conftest.$ac_objext \
41289 conftest$ac_exeext conftest.$ac_ext
41290 if test "$ac_gcsections" = "yes"; then
41291 rm -f conftest.c
41292 touch conftest.c
41293 if $CC -c conftest.c; then
41294 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41295 grep "Warning: gc-sections option ignored" > /dev/null; then
41296 ac_gcsections=no
41299 rm -f conftest.c conftest.o conftest
41301 if test "$ac_gcsections" = "yes"; then
41302 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41305 $as_echo "$ac_gcsections" >&6; }
41307 if test "$ac_test_CFLAGS" = set; then
41308 CFLAGS="$ac_save_CFLAGS"
41309 else
41310 # this is the suspicious part
41311 CFLAGS=''
41315 # Set -z,relro.
41316 # Note this is only for shared objects.
41317 ac_ld_relro=no
41318 if test x"$with_gnu_ld" = x"yes"; then
41319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41322 if test -n "$cxx_z_relo"; then
41323 OPT_LDFLAGS="-Wl,-z,relro"
41324 ac_ld_relro=yes
41326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41327 $as_echo "$ac_ld_relro" >&6; }
41330 # Set linker optimization flags.
41331 if test x"$with_gnu_ld" = x"yes"; then
41332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41340 ac_save_CXXFLAGS="$CXXFLAGS"
41341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41344 $as_echo_n "checking for sin in -lm... " >&6; }
41345 if test "${ac_cv_lib_m_sin+set}" = set; then :
41346 $as_echo_n "(cached) " >&6
41347 else
41348 ac_check_lib_save_LIBS=$LIBS
41349 LIBS="-lm $LIBS"
41350 if test x$gcc_no_link = xyes; then
41351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41354 /* end confdefs.h. */
41356 /* Override any GCC internal prototype to avoid an error.
41357 Use char because int might match the return type of a GCC
41358 builtin and then its argument prototype would still apply. */
41359 #ifdef __cplusplus
41360 extern "C"
41361 #endif
41362 char sin ();
41364 main ()
41366 return sin ();
41368 return 0;
41370 _ACEOF
41371 if ac_fn_c_try_link "$LINENO"; then :
41372 ac_cv_lib_m_sin=yes
41373 else
41374 ac_cv_lib_m_sin=no
41376 rm -f core conftest.err conftest.$ac_objext \
41377 conftest$ac_exeext conftest.$ac_ext
41378 LIBS=$ac_check_lib_save_LIBS
41380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41381 $as_echo "$ac_cv_lib_m_sin" >&6; }
41382 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41383 libm="-lm"
41386 ac_save_LIBS="$LIBS"
41387 LIBS="$LIBS $libm"
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41392 $as_echo_n "checking for isinf declaration... " >&6; }
41393 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41394 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41395 $as_echo_n "(cached) " >&6
41396 else
41399 ac_ext=cpp
41400 ac_cpp='$CXXCPP $CPPFLAGS'
41401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41406 /* end confdefs.h. */
41407 #include <math.h>
41408 #ifdef HAVE_IEEEFP_H
41409 #include <ieeefp.h>
41410 #endif
41413 main ()
41415 isinf(0);
41417 return 0;
41419 _ACEOF
41420 if ac_fn_cxx_try_compile "$LINENO"; then :
41421 glibcxx_cv_func_isinf_use=yes
41422 else
41423 glibcxx_cv_func_isinf_use=no
41425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41426 ac_ext=c
41427 ac_cpp='$CPP $CPPFLAGS'
41428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41437 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41439 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41440 for ac_func in isinf
41441 do :
41442 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41443 if test "x$ac_cv_func_isinf" = x""yes; then :
41444 cat >>confdefs.h <<_ACEOF
41445 #define HAVE_ISINF 1
41446 _ACEOF
41449 done
41451 else
41453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41454 $as_echo_n "checking for _isinf declaration... " >&6; }
41455 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41456 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41457 $as_echo_n "(cached) " >&6
41458 else
41461 ac_ext=cpp
41462 ac_cpp='$CXXCPP $CPPFLAGS'
41463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41468 /* end confdefs.h. */
41469 #include <math.h>
41470 #ifdef HAVE_IEEEFP_H
41471 #include <ieeefp.h>
41472 #endif
41475 main ()
41477 _isinf(0);
41479 return 0;
41481 _ACEOF
41482 if ac_fn_cxx_try_compile "$LINENO"; then :
41483 glibcxx_cv_func__isinf_use=yes
41484 else
41485 glibcxx_cv_func__isinf_use=no
41487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41488 ac_ext=c
41489 ac_cpp='$CPP $CPPFLAGS'
41490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41499 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41501 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41502 for ac_func in _isinf
41503 do :
41504 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41505 if test "x$ac_cv_func__isinf" = x""yes; then :
41506 cat >>confdefs.h <<_ACEOF
41507 #define HAVE__ISINF 1
41508 _ACEOF
41511 done
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41521 $as_echo_n "checking for isnan declaration... " >&6; }
41522 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41523 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41524 $as_echo_n "(cached) " >&6
41525 else
41528 ac_ext=cpp
41529 ac_cpp='$CXXCPP $CPPFLAGS'
41530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41535 /* end confdefs.h. */
41536 #include <math.h>
41537 #ifdef HAVE_IEEEFP_H
41538 #include <ieeefp.h>
41539 #endif
41542 main ()
41544 isnan(0);
41546 return 0;
41548 _ACEOF
41549 if ac_fn_cxx_try_compile "$LINENO"; then :
41550 glibcxx_cv_func_isnan_use=yes
41551 else
41552 glibcxx_cv_func_isnan_use=no
41554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41555 ac_ext=c
41556 ac_cpp='$CPP $CPPFLAGS'
41557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41566 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41568 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41569 for ac_func in isnan
41570 do :
41571 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41572 if test "x$ac_cv_func_isnan" = x""yes; then :
41573 cat >>confdefs.h <<_ACEOF
41574 #define HAVE_ISNAN 1
41575 _ACEOF
41578 done
41580 else
41582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41583 $as_echo_n "checking for _isnan declaration... " >&6; }
41584 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41585 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41586 $as_echo_n "(cached) " >&6
41587 else
41590 ac_ext=cpp
41591 ac_cpp='$CXXCPP $CPPFLAGS'
41592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41597 /* end confdefs.h. */
41598 #include <math.h>
41599 #ifdef HAVE_IEEEFP_H
41600 #include <ieeefp.h>
41601 #endif
41604 main ()
41606 _isnan(0);
41608 return 0;
41610 _ACEOF
41611 if ac_fn_cxx_try_compile "$LINENO"; then :
41612 glibcxx_cv_func__isnan_use=yes
41613 else
41614 glibcxx_cv_func__isnan_use=no
41616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41617 ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41628 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41630 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41631 for ac_func in _isnan
41632 do :
41633 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41634 if test "x$ac_cv_func__isnan" = x""yes; then :
41635 cat >>confdefs.h <<_ACEOF
41636 #define HAVE__ISNAN 1
41637 _ACEOF
41640 done
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41650 $as_echo_n "checking for finite declaration... " >&6; }
41651 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41652 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41653 $as_echo_n "(cached) " >&6
41654 else
41657 ac_ext=cpp
41658 ac_cpp='$CXXCPP $CPPFLAGS'
41659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41664 /* end confdefs.h. */
41665 #include <math.h>
41666 #ifdef HAVE_IEEEFP_H
41667 #include <ieeefp.h>
41668 #endif
41671 main ()
41673 finite(0);
41675 return 0;
41677 _ACEOF
41678 if ac_fn_cxx_try_compile "$LINENO"; then :
41679 glibcxx_cv_func_finite_use=yes
41680 else
41681 glibcxx_cv_func_finite_use=no
41683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41684 ac_ext=c
41685 ac_cpp='$CPP $CPPFLAGS'
41686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41695 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41697 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41698 for ac_func in finite
41699 do :
41700 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41701 if test "x$ac_cv_func_finite" = x""yes; then :
41702 cat >>confdefs.h <<_ACEOF
41703 #define HAVE_FINITE 1
41704 _ACEOF
41707 done
41709 else
41711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41712 $as_echo_n "checking for _finite declaration... " >&6; }
41713 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41714 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41715 $as_echo_n "(cached) " >&6
41716 else
41719 ac_ext=cpp
41720 ac_cpp='$CXXCPP $CPPFLAGS'
41721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41726 /* end confdefs.h. */
41727 #include <math.h>
41728 #ifdef HAVE_IEEEFP_H
41729 #include <ieeefp.h>
41730 #endif
41733 main ()
41735 _finite(0);
41737 return 0;
41739 _ACEOF
41740 if ac_fn_cxx_try_compile "$LINENO"; then :
41741 glibcxx_cv_func__finite_use=yes
41742 else
41743 glibcxx_cv_func__finite_use=no
41745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41746 ac_ext=c
41747 ac_cpp='$CPP $CPPFLAGS'
41748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41757 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41759 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41760 for ac_func in _finite
41761 do :
41762 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41763 if test "x$ac_cv_func__finite" = x""yes; then :
41764 cat >>confdefs.h <<_ACEOF
41765 #define HAVE__FINITE 1
41766 _ACEOF
41769 done
41778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41779 $as_echo_n "checking for sincos declaration... " >&6; }
41780 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41781 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41782 $as_echo_n "(cached) " >&6
41783 else
41786 ac_ext=cpp
41787 ac_cpp='$CXXCPP $CPPFLAGS'
41788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41793 /* end confdefs.h. */
41794 #include <math.h>
41796 main ()
41798 sincos(0, 0, 0);
41800 return 0;
41802 _ACEOF
41803 if ac_fn_cxx_try_compile "$LINENO"; then :
41804 glibcxx_cv_func_sincos_use=yes
41805 else
41806 glibcxx_cv_func_sincos_use=no
41808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41809 ac_ext=c
41810 ac_cpp='$CPP $CPPFLAGS'
41811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41820 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41822 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41823 for ac_func in sincos
41824 do :
41825 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41826 if test "x$ac_cv_func_sincos" = x""yes; then :
41827 cat >>confdefs.h <<_ACEOF
41828 #define HAVE_SINCOS 1
41829 _ACEOF
41832 done
41834 else
41836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41837 $as_echo_n "checking for _sincos declaration... " >&6; }
41838 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41839 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41840 $as_echo_n "(cached) " >&6
41841 else
41844 ac_ext=cpp
41845 ac_cpp='$CXXCPP $CPPFLAGS'
41846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41851 /* end confdefs.h. */
41852 #include <math.h>
41854 main ()
41856 _sincos(0, 0, 0);
41858 return 0;
41860 _ACEOF
41861 if ac_fn_cxx_try_compile "$LINENO"; then :
41862 glibcxx_cv_func__sincos_use=yes
41863 else
41864 glibcxx_cv_func__sincos_use=no
41866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41867 ac_ext=c
41868 ac_cpp='$CPP $CPPFLAGS'
41869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41878 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41880 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41881 for ac_func in _sincos
41882 do :
41883 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41884 if test "x$ac_cv_func__sincos" = x""yes; then :
41885 cat >>confdefs.h <<_ACEOF
41886 #define HAVE__SINCOS 1
41887 _ACEOF
41890 done
41899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41900 $as_echo_n "checking for fpclass declaration... " >&6; }
41901 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41902 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41903 $as_echo_n "(cached) " >&6
41904 else
41907 ac_ext=cpp
41908 ac_cpp='$CXXCPP $CPPFLAGS'
41909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41914 /* end confdefs.h. */
41915 #include <math.h>
41916 #ifdef HAVE_IEEEFP_H
41917 #include <ieeefp.h>
41918 #endif
41921 main ()
41923 fpclass(0);
41925 return 0;
41927 _ACEOF
41928 if ac_fn_cxx_try_compile "$LINENO"; then :
41929 glibcxx_cv_func_fpclass_use=yes
41930 else
41931 glibcxx_cv_func_fpclass_use=no
41933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41934 ac_ext=c
41935 ac_cpp='$CPP $CPPFLAGS'
41936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41945 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41947 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41948 for ac_func in fpclass
41949 do :
41950 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41951 if test "x$ac_cv_func_fpclass" = x""yes; then :
41952 cat >>confdefs.h <<_ACEOF
41953 #define HAVE_FPCLASS 1
41954 _ACEOF
41957 done
41959 else
41961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41962 $as_echo_n "checking for _fpclass declaration... " >&6; }
41963 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41964 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41965 $as_echo_n "(cached) " >&6
41966 else
41969 ac_ext=cpp
41970 ac_cpp='$CXXCPP $CPPFLAGS'
41971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41976 /* end confdefs.h. */
41977 #include <math.h>
41978 #ifdef HAVE_IEEEFP_H
41979 #include <ieeefp.h>
41980 #endif
41983 main ()
41985 _fpclass(0);
41987 return 0;
41989 _ACEOF
41990 if ac_fn_cxx_try_compile "$LINENO"; then :
41991 glibcxx_cv_func__fpclass_use=yes
41992 else
41993 glibcxx_cv_func__fpclass_use=no
41995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41996 ac_ext=c
41997 ac_cpp='$CPP $CPPFLAGS'
41998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42007 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42009 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42010 for ac_func in _fpclass
42011 do :
42012 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42013 if test "x$ac_cv_func__fpclass" = x""yes; then :
42014 cat >>confdefs.h <<_ACEOF
42015 #define HAVE__FPCLASS 1
42016 _ACEOF
42019 done
42028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42029 $as_echo_n "checking for qfpclass declaration... " >&6; }
42030 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42031 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42032 $as_echo_n "(cached) " >&6
42033 else
42036 ac_ext=cpp
42037 ac_cpp='$CXXCPP $CPPFLAGS'
42038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42043 /* end confdefs.h. */
42044 #include <math.h>
42045 #ifdef HAVE_IEEEFP_H
42046 #include <ieeefp.h>
42047 #endif
42050 main ()
42052 qfpclass(0);
42054 return 0;
42056 _ACEOF
42057 if ac_fn_cxx_try_compile "$LINENO"; then :
42058 glibcxx_cv_func_qfpclass_use=yes
42059 else
42060 glibcxx_cv_func_qfpclass_use=no
42062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42063 ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42074 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42076 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42077 for ac_func in qfpclass
42078 do :
42079 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42080 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42081 cat >>confdefs.h <<_ACEOF
42082 #define HAVE_QFPCLASS 1
42083 _ACEOF
42086 done
42088 else
42090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42091 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42092 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42093 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42094 $as_echo_n "(cached) " >&6
42095 else
42098 ac_ext=cpp
42099 ac_cpp='$CXXCPP $CPPFLAGS'
42100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42105 /* end confdefs.h. */
42106 #include <math.h>
42107 #ifdef HAVE_IEEEFP_H
42108 #include <ieeefp.h>
42109 #endif
42112 main ()
42114 _qfpclass(0);
42116 return 0;
42118 _ACEOF
42119 if ac_fn_cxx_try_compile "$LINENO"; then :
42120 glibcxx_cv_func__qfpclass_use=yes
42121 else
42122 glibcxx_cv_func__qfpclass_use=no
42124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42125 ac_ext=c
42126 ac_cpp='$CPP $CPPFLAGS'
42127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42136 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42138 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42139 for ac_func in _qfpclass
42140 do :
42141 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42142 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42143 cat >>confdefs.h <<_ACEOF
42144 #define HAVE__QFPCLASS 1
42145 _ACEOF
42148 done
42157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42158 $as_echo_n "checking for hypot declaration... " >&6; }
42159 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42160 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42161 $as_echo_n "(cached) " >&6
42162 else
42165 ac_ext=cpp
42166 ac_cpp='$CXXCPP $CPPFLAGS'
42167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42172 /* end confdefs.h. */
42173 #include <math.h>
42175 main ()
42177 hypot(0, 0);
42179 return 0;
42181 _ACEOF
42182 if ac_fn_cxx_try_compile "$LINENO"; then :
42183 glibcxx_cv_func_hypot_use=yes
42184 else
42185 glibcxx_cv_func_hypot_use=no
42187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42188 ac_ext=c
42189 ac_cpp='$CPP $CPPFLAGS'
42190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42199 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42201 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42202 for ac_func in hypot
42203 do :
42204 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42205 if test "x$ac_cv_func_hypot" = x""yes; then :
42206 cat >>confdefs.h <<_ACEOF
42207 #define HAVE_HYPOT 1
42208 _ACEOF
42211 done
42213 else
42215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42216 $as_echo_n "checking for _hypot declaration... " >&6; }
42217 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42218 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42219 $as_echo_n "(cached) " >&6
42220 else
42223 ac_ext=cpp
42224 ac_cpp='$CXXCPP $CPPFLAGS'
42225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42230 /* end confdefs.h. */
42231 #include <math.h>
42233 main ()
42235 _hypot(0, 0);
42237 return 0;
42239 _ACEOF
42240 if ac_fn_cxx_try_compile "$LINENO"; then :
42241 glibcxx_cv_func__hypot_use=yes
42242 else
42243 glibcxx_cv_func__hypot_use=no
42245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42246 ac_ext=c
42247 ac_cpp='$CPP $CPPFLAGS'
42248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42257 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42259 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42260 for ac_func in _hypot
42261 do :
42262 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42263 if test "x$ac_cv_func__hypot" = x""yes; then :
42264 cat >>confdefs.h <<_ACEOF
42265 #define HAVE__HYPOT 1
42266 _ACEOF
42269 done
42278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42279 $as_echo_n "checking for float trig functions... " >&6; }
42280 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42281 $as_echo_n "(cached) " >&6
42282 else
42285 ac_ext=cpp
42286 ac_cpp='$CXXCPP $CPPFLAGS'
42287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42292 /* end confdefs.h. */
42293 #include <math.h>
42295 main ()
42297 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42299 return 0;
42301 _ACEOF
42302 if ac_fn_cxx_try_compile "$LINENO"; then :
42303 glibcxx_cv_func_float_trig_use=yes
42304 else
42305 glibcxx_cv_func_float_trig_use=no
42307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42308 ac_ext=c
42309 ac_cpp='$CPP $CPPFLAGS'
42310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42317 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42318 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42319 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42320 do :
42321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42323 eval as_val=\$$as_ac_var
42324 if test "x$as_val" = x""yes; then :
42325 cat >>confdefs.h <<_ACEOF
42326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42327 _ACEOF
42330 done
42332 else
42333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42334 $as_echo_n "checking for _float trig functions... " >&6; }
42335 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42336 $as_echo_n "(cached) " >&6
42337 else
42340 ac_ext=cpp
42341 ac_cpp='$CXXCPP $CPPFLAGS'
42342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42347 /* end confdefs.h. */
42348 #include <math.h>
42350 main ()
42352 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42354 return 0;
42356 _ACEOF
42357 if ac_fn_cxx_try_compile "$LINENO"; then :
42358 glibcxx_cv_func__float_trig_use=yes
42359 else
42360 glibcxx_cv_func__float_trig_use=no
42362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42363 ac_ext=c
42364 ac_cpp='$CPP $CPPFLAGS'
42365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42372 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42373 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42374 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42375 do :
42376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42378 eval as_val=\$$as_ac_var
42379 if test "x$as_val" = x""yes; then :
42380 cat >>confdefs.h <<_ACEOF
42381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42382 _ACEOF
42385 done
42394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42395 $as_echo_n "checking for float round functions... " >&6; }
42396 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42397 $as_echo_n "(cached) " >&6
42398 else
42401 ac_ext=cpp
42402 ac_cpp='$CXXCPP $CPPFLAGS'
42403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42408 /* end confdefs.h. */
42409 #include <math.h>
42411 main ()
42413 ceilf (0); floorf (0);
42415 return 0;
42417 _ACEOF
42418 if ac_fn_cxx_try_compile "$LINENO"; then :
42419 glibcxx_cv_func_float_round_use=yes
42420 else
42421 glibcxx_cv_func_float_round_use=no
42423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42424 ac_ext=c
42425 ac_cpp='$CPP $CPPFLAGS'
42426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42433 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42434 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42435 for ac_func in ceilf floorf
42436 do :
42437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42439 eval as_val=\$$as_ac_var
42440 if test "x$as_val" = x""yes; then :
42441 cat >>confdefs.h <<_ACEOF
42442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42443 _ACEOF
42446 done
42448 else
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42450 $as_echo_n "checking for _float round functions... " >&6; }
42451 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42452 $as_echo_n "(cached) " >&6
42453 else
42456 ac_ext=cpp
42457 ac_cpp='$CXXCPP $CPPFLAGS'
42458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42463 /* end confdefs.h. */
42464 #include <math.h>
42466 main ()
42468 _ceilf (0); _floorf (0);
42470 return 0;
42472 _ACEOF
42473 if ac_fn_cxx_try_compile "$LINENO"; then :
42474 glibcxx_cv_func__float_round_use=yes
42475 else
42476 glibcxx_cv_func__float_round_use=no
42478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42479 ac_ext=c
42480 ac_cpp='$CPP $CPPFLAGS'
42481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42488 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42489 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42490 for ac_func in _ceilf _floorf
42491 do :
42492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42494 eval as_val=\$$as_ac_var
42495 if test "x$as_val" = x""yes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42498 _ACEOF
42501 done
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42512 $as_echo_n "checking for expf declaration... " >&6; }
42513 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42514 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42515 $as_echo_n "(cached) " >&6
42516 else
42519 ac_ext=cpp
42520 ac_cpp='$CXXCPP $CPPFLAGS'
42521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42526 /* end confdefs.h. */
42527 #include <math.h>
42528 #ifdef HAVE_IEEEFP_H
42529 #include <ieeefp.h>
42530 #endif
42533 main ()
42535 expf(0);
42537 return 0;
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541 glibcxx_cv_func_expf_use=yes
42542 else
42543 glibcxx_cv_func_expf_use=no
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42557 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42559 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42560 for ac_func in expf
42561 do :
42562 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42563 if test "x$ac_cv_func_expf" = x""yes; then :
42564 cat >>confdefs.h <<_ACEOF
42565 #define HAVE_EXPF 1
42566 _ACEOF
42569 done
42571 else
42573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42574 $as_echo_n "checking for _expf declaration... " >&6; }
42575 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42576 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42577 $as_echo_n "(cached) " >&6
42578 else
42581 ac_ext=cpp
42582 ac_cpp='$CXXCPP $CPPFLAGS'
42583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42588 /* end confdefs.h. */
42589 #include <math.h>
42590 #ifdef HAVE_IEEEFP_H
42591 #include <ieeefp.h>
42592 #endif
42595 main ()
42597 _expf(0);
42599 return 0;
42601 _ACEOF
42602 if ac_fn_cxx_try_compile "$LINENO"; then :
42603 glibcxx_cv_func__expf_use=yes
42604 else
42605 glibcxx_cv_func__expf_use=no
42607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42608 ac_ext=c
42609 ac_cpp='$CPP $CPPFLAGS'
42610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42619 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42621 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42622 for ac_func in _expf
42623 do :
42624 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42625 if test "x$ac_cv_func__expf" = x""yes; then :
42626 cat >>confdefs.h <<_ACEOF
42627 #define HAVE__EXPF 1
42628 _ACEOF
42631 done
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42641 $as_echo_n "checking for isnanf declaration... " >&6; }
42642 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42643 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42644 $as_echo_n "(cached) " >&6
42645 else
42648 ac_ext=cpp
42649 ac_cpp='$CXXCPP $CPPFLAGS'
42650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42655 /* end confdefs.h. */
42656 #include <math.h>
42657 #ifdef HAVE_IEEEFP_H
42658 #include <ieeefp.h>
42659 #endif
42662 main ()
42664 isnanf(0);
42666 return 0;
42668 _ACEOF
42669 if ac_fn_cxx_try_compile "$LINENO"; then :
42670 glibcxx_cv_func_isnanf_use=yes
42671 else
42672 glibcxx_cv_func_isnanf_use=no
42674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42675 ac_ext=c
42676 ac_cpp='$CPP $CPPFLAGS'
42677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42686 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42688 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42689 for ac_func in isnanf
42690 do :
42691 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42692 if test "x$ac_cv_func_isnanf" = x""yes; then :
42693 cat >>confdefs.h <<_ACEOF
42694 #define HAVE_ISNANF 1
42695 _ACEOF
42698 done
42700 else
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42703 $as_echo_n "checking for _isnanf declaration... " >&6; }
42704 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42705 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42706 $as_echo_n "(cached) " >&6
42707 else
42710 ac_ext=cpp
42711 ac_cpp='$CXXCPP $CPPFLAGS'
42712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42717 /* end confdefs.h. */
42718 #include <math.h>
42719 #ifdef HAVE_IEEEFP_H
42720 #include <ieeefp.h>
42721 #endif
42724 main ()
42726 _isnanf(0);
42728 return 0;
42730 _ACEOF
42731 if ac_fn_cxx_try_compile "$LINENO"; then :
42732 glibcxx_cv_func__isnanf_use=yes
42733 else
42734 glibcxx_cv_func__isnanf_use=no
42736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42737 ac_ext=c
42738 ac_cpp='$CPP $CPPFLAGS'
42739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42748 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42750 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42751 for ac_func in _isnanf
42752 do :
42753 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42754 if test "x$ac_cv_func__isnanf" = x""yes; then :
42755 cat >>confdefs.h <<_ACEOF
42756 #define HAVE__ISNANF 1
42757 _ACEOF
42760 done
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42770 $as_echo_n "checking for isinff declaration... " >&6; }
42771 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42772 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42773 $as_echo_n "(cached) " >&6
42774 else
42777 ac_ext=cpp
42778 ac_cpp='$CXXCPP $CPPFLAGS'
42779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42784 /* end confdefs.h. */
42785 #include <math.h>
42786 #ifdef HAVE_IEEEFP_H
42787 #include <ieeefp.h>
42788 #endif
42791 main ()
42793 isinff(0);
42795 return 0;
42797 _ACEOF
42798 if ac_fn_cxx_try_compile "$LINENO"; then :
42799 glibcxx_cv_func_isinff_use=yes
42800 else
42801 glibcxx_cv_func_isinff_use=no
42803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42804 ac_ext=c
42805 ac_cpp='$CPP $CPPFLAGS'
42806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42815 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42817 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42818 for ac_func in isinff
42819 do :
42820 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42821 if test "x$ac_cv_func_isinff" = x""yes; then :
42822 cat >>confdefs.h <<_ACEOF
42823 #define HAVE_ISINFF 1
42824 _ACEOF
42827 done
42829 else
42831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42832 $as_echo_n "checking for _isinff declaration... " >&6; }
42833 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42834 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42835 $as_echo_n "(cached) " >&6
42836 else
42839 ac_ext=cpp
42840 ac_cpp='$CXXCPP $CPPFLAGS'
42841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42846 /* end confdefs.h. */
42847 #include <math.h>
42848 #ifdef HAVE_IEEEFP_H
42849 #include <ieeefp.h>
42850 #endif
42853 main ()
42855 _isinff(0);
42857 return 0;
42859 _ACEOF
42860 if ac_fn_cxx_try_compile "$LINENO"; then :
42861 glibcxx_cv_func__isinff_use=yes
42862 else
42863 glibcxx_cv_func__isinff_use=no
42865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42866 ac_ext=c
42867 ac_cpp='$CPP $CPPFLAGS'
42868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42877 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42879 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42880 for ac_func in _isinff
42881 do :
42882 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42883 if test "x$ac_cv_func__isinff" = x""yes; then :
42884 cat >>confdefs.h <<_ACEOF
42885 #define HAVE__ISINFF 1
42886 _ACEOF
42889 done
42898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42899 $as_echo_n "checking for atan2f declaration... " >&6; }
42900 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42901 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42902 $as_echo_n "(cached) " >&6
42903 else
42906 ac_ext=cpp
42907 ac_cpp='$CXXCPP $CPPFLAGS'
42908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42913 /* end confdefs.h. */
42914 #include <math.h>
42916 main ()
42918 atan2f(0, 0);
42920 return 0;
42922 _ACEOF
42923 if ac_fn_cxx_try_compile "$LINENO"; then :
42924 glibcxx_cv_func_atan2f_use=yes
42925 else
42926 glibcxx_cv_func_atan2f_use=no
42928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42929 ac_ext=c
42930 ac_cpp='$CPP $CPPFLAGS'
42931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42940 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42942 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42943 for ac_func in atan2f
42944 do :
42945 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42946 if test "x$ac_cv_func_atan2f" = x""yes; then :
42947 cat >>confdefs.h <<_ACEOF
42948 #define HAVE_ATAN2F 1
42949 _ACEOF
42952 done
42954 else
42956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42957 $as_echo_n "checking for _atan2f declaration... " >&6; }
42958 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42959 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42960 $as_echo_n "(cached) " >&6
42961 else
42964 ac_ext=cpp
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42971 /* end confdefs.h. */
42972 #include <math.h>
42974 main ()
42976 _atan2f(0, 0);
42978 return 0;
42980 _ACEOF
42981 if ac_fn_cxx_try_compile "$LINENO"; then :
42982 glibcxx_cv_func__atan2f_use=yes
42983 else
42984 glibcxx_cv_func__atan2f_use=no
42986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42987 ac_ext=c
42988 ac_cpp='$CPP $CPPFLAGS'
42989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42998 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43000 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43001 for ac_func in _atan2f
43002 do :
43003 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43004 if test "x$ac_cv_func__atan2f" = x""yes; then :
43005 cat >>confdefs.h <<_ACEOF
43006 #define HAVE__ATAN2F 1
43007 _ACEOF
43010 done
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43020 $as_echo_n "checking for fabsf declaration... " >&6; }
43021 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43022 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43023 $as_echo_n "(cached) " >&6
43024 else
43027 ac_ext=cpp
43028 ac_cpp='$CXXCPP $CPPFLAGS'
43029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43034 /* end confdefs.h. */
43035 #include <math.h>
43036 #ifdef HAVE_IEEEFP_H
43037 #include <ieeefp.h>
43038 #endif
43041 main ()
43043 fabsf(0);
43045 return 0;
43047 _ACEOF
43048 if ac_fn_cxx_try_compile "$LINENO"; then :
43049 glibcxx_cv_func_fabsf_use=yes
43050 else
43051 glibcxx_cv_func_fabsf_use=no
43053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054 ac_ext=c
43055 ac_cpp='$CPP $CPPFLAGS'
43056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43065 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43067 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43068 for ac_func in fabsf
43069 do :
43070 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43071 if test "x$ac_cv_func_fabsf" = x""yes; then :
43072 cat >>confdefs.h <<_ACEOF
43073 #define HAVE_FABSF 1
43074 _ACEOF
43077 done
43079 else
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43082 $as_echo_n "checking for _fabsf declaration... " >&6; }
43083 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43084 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43085 $as_echo_n "(cached) " >&6
43086 else
43089 ac_ext=cpp
43090 ac_cpp='$CXXCPP $CPPFLAGS'
43091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43096 /* end confdefs.h. */
43097 #include <math.h>
43098 #ifdef HAVE_IEEEFP_H
43099 #include <ieeefp.h>
43100 #endif
43103 main ()
43105 _fabsf(0);
43107 return 0;
43109 _ACEOF
43110 if ac_fn_cxx_try_compile "$LINENO"; then :
43111 glibcxx_cv_func__fabsf_use=yes
43112 else
43113 glibcxx_cv_func__fabsf_use=no
43115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43116 ac_ext=c
43117 ac_cpp='$CPP $CPPFLAGS'
43118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43127 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43129 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43130 for ac_func in _fabsf
43131 do :
43132 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43133 if test "x$ac_cv_func__fabsf" = x""yes; then :
43134 cat >>confdefs.h <<_ACEOF
43135 #define HAVE__FABSF 1
43136 _ACEOF
43139 done
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43149 $as_echo_n "checking for fmodf declaration... " >&6; }
43150 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43151 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43152 $as_echo_n "(cached) " >&6
43153 else
43156 ac_ext=cpp
43157 ac_cpp='$CXXCPP $CPPFLAGS'
43158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43163 /* end confdefs.h. */
43164 #include <math.h>
43166 main ()
43168 fmodf(0, 0);
43170 return 0;
43172 _ACEOF
43173 if ac_fn_cxx_try_compile "$LINENO"; then :
43174 glibcxx_cv_func_fmodf_use=yes
43175 else
43176 glibcxx_cv_func_fmodf_use=no
43178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43179 ac_ext=c
43180 ac_cpp='$CPP $CPPFLAGS'
43181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43190 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43192 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43193 for ac_func in fmodf
43194 do :
43195 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43196 if test "x$ac_cv_func_fmodf" = x""yes; then :
43197 cat >>confdefs.h <<_ACEOF
43198 #define HAVE_FMODF 1
43199 _ACEOF
43202 done
43204 else
43206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43207 $as_echo_n "checking for _fmodf declaration... " >&6; }
43208 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43209 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43210 $as_echo_n "(cached) " >&6
43211 else
43214 ac_ext=cpp
43215 ac_cpp='$CXXCPP $CPPFLAGS'
43216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43221 /* end confdefs.h. */
43222 #include <math.h>
43224 main ()
43226 _fmodf(0, 0);
43228 return 0;
43230 _ACEOF
43231 if ac_fn_cxx_try_compile "$LINENO"; then :
43232 glibcxx_cv_func__fmodf_use=yes
43233 else
43234 glibcxx_cv_func__fmodf_use=no
43236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43237 ac_ext=c
43238 ac_cpp='$CPP $CPPFLAGS'
43239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43248 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43250 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43251 for ac_func in _fmodf
43252 do :
43253 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43254 if test "x$ac_cv_func__fmodf" = x""yes; then :
43255 cat >>confdefs.h <<_ACEOF
43256 #define HAVE__FMODF 1
43257 _ACEOF
43260 done
43269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43270 $as_echo_n "checking for frexpf declaration... " >&6; }
43271 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43272 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43273 $as_echo_n "(cached) " >&6
43274 else
43277 ac_ext=cpp
43278 ac_cpp='$CXXCPP $CPPFLAGS'
43279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43284 /* end confdefs.h. */
43285 #include <math.h>
43287 main ()
43289 frexpf(0, 0);
43291 return 0;
43293 _ACEOF
43294 if ac_fn_cxx_try_compile "$LINENO"; then :
43295 glibcxx_cv_func_frexpf_use=yes
43296 else
43297 glibcxx_cv_func_frexpf_use=no
43299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43300 ac_ext=c
43301 ac_cpp='$CPP $CPPFLAGS'
43302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43311 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43313 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43314 for ac_func in frexpf
43315 do :
43316 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43317 if test "x$ac_cv_func_frexpf" = x""yes; then :
43318 cat >>confdefs.h <<_ACEOF
43319 #define HAVE_FREXPF 1
43320 _ACEOF
43323 done
43325 else
43327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43328 $as_echo_n "checking for _frexpf declaration... " >&6; }
43329 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43330 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43331 $as_echo_n "(cached) " >&6
43332 else
43335 ac_ext=cpp
43336 ac_cpp='$CXXCPP $CPPFLAGS'
43337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43342 /* end confdefs.h. */
43343 #include <math.h>
43345 main ()
43347 _frexpf(0, 0);
43349 return 0;
43351 _ACEOF
43352 if ac_fn_cxx_try_compile "$LINENO"; then :
43353 glibcxx_cv_func__frexpf_use=yes
43354 else
43355 glibcxx_cv_func__frexpf_use=no
43357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43358 ac_ext=c
43359 ac_cpp='$CPP $CPPFLAGS'
43360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43369 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43371 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43372 for ac_func in _frexpf
43373 do :
43374 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43375 if test "x$ac_cv_func__frexpf" = x""yes; then :
43376 cat >>confdefs.h <<_ACEOF
43377 #define HAVE__FREXPF 1
43378 _ACEOF
43381 done
43390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43391 $as_echo_n "checking for hypotf declaration... " >&6; }
43392 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43393 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43394 $as_echo_n "(cached) " >&6
43395 else
43398 ac_ext=cpp
43399 ac_cpp='$CXXCPP $CPPFLAGS'
43400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43405 /* end confdefs.h. */
43406 #include <math.h>
43408 main ()
43410 hypotf(0, 0);
43412 return 0;
43414 _ACEOF
43415 if ac_fn_cxx_try_compile "$LINENO"; then :
43416 glibcxx_cv_func_hypotf_use=yes
43417 else
43418 glibcxx_cv_func_hypotf_use=no
43420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43421 ac_ext=c
43422 ac_cpp='$CPP $CPPFLAGS'
43423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43432 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43434 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43435 for ac_func in hypotf
43436 do :
43437 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43438 if test "x$ac_cv_func_hypotf" = x""yes; then :
43439 cat >>confdefs.h <<_ACEOF
43440 #define HAVE_HYPOTF 1
43441 _ACEOF
43444 done
43446 else
43448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43449 $as_echo_n "checking for _hypotf declaration... " >&6; }
43450 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43451 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43452 $as_echo_n "(cached) " >&6
43453 else
43456 ac_ext=cpp
43457 ac_cpp='$CXXCPP $CPPFLAGS'
43458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43463 /* end confdefs.h. */
43464 #include <math.h>
43466 main ()
43468 _hypotf(0, 0);
43470 return 0;
43472 _ACEOF
43473 if ac_fn_cxx_try_compile "$LINENO"; then :
43474 glibcxx_cv_func__hypotf_use=yes
43475 else
43476 glibcxx_cv_func__hypotf_use=no
43478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43479 ac_ext=c
43480 ac_cpp='$CPP $CPPFLAGS'
43481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43490 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43492 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43493 for ac_func in _hypotf
43494 do :
43495 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43496 if test "x$ac_cv_func__hypotf" = x""yes; then :
43497 cat >>confdefs.h <<_ACEOF
43498 #define HAVE__HYPOTF 1
43499 _ACEOF
43502 done
43511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43512 $as_echo_n "checking for ldexpf declaration... " >&6; }
43513 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43514 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43515 $as_echo_n "(cached) " >&6
43516 else
43519 ac_ext=cpp
43520 ac_cpp='$CXXCPP $CPPFLAGS'
43521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43526 /* end confdefs.h. */
43527 #include <math.h>
43529 main ()
43531 ldexpf(0, 0);
43533 return 0;
43535 _ACEOF
43536 if ac_fn_cxx_try_compile "$LINENO"; then :
43537 glibcxx_cv_func_ldexpf_use=yes
43538 else
43539 glibcxx_cv_func_ldexpf_use=no
43541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43542 ac_ext=c
43543 ac_cpp='$CPP $CPPFLAGS'
43544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43553 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43555 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43556 for ac_func in ldexpf
43557 do :
43558 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43559 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43560 cat >>confdefs.h <<_ACEOF
43561 #define HAVE_LDEXPF 1
43562 _ACEOF
43565 done
43567 else
43569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43570 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43571 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43572 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43573 $as_echo_n "(cached) " >&6
43574 else
43577 ac_ext=cpp
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43584 /* end confdefs.h. */
43585 #include <math.h>
43587 main ()
43589 _ldexpf(0, 0);
43591 return 0;
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func__ldexpf_use=yes
43596 else
43597 glibcxx_cv_func__ldexpf_use=no
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43611 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43613 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43614 for ac_func in _ldexpf
43615 do :
43616 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43617 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define HAVE__LDEXPF 1
43620 _ACEOF
43623 done
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43633 $as_echo_n "checking for logf declaration... " >&6; }
43634 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43635 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43636 $as_echo_n "(cached) " >&6
43637 else
43640 ac_ext=cpp
43641 ac_cpp='$CXXCPP $CPPFLAGS'
43642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43647 /* end confdefs.h. */
43648 #include <math.h>
43649 #ifdef HAVE_IEEEFP_H
43650 #include <ieeefp.h>
43651 #endif
43654 main ()
43656 logf(0);
43658 return 0;
43660 _ACEOF
43661 if ac_fn_cxx_try_compile "$LINENO"; then :
43662 glibcxx_cv_func_logf_use=yes
43663 else
43664 glibcxx_cv_func_logf_use=no
43666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43667 ac_ext=c
43668 ac_cpp='$CPP $CPPFLAGS'
43669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43678 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43680 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43681 for ac_func in logf
43682 do :
43683 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43684 if test "x$ac_cv_func_logf" = x""yes; then :
43685 cat >>confdefs.h <<_ACEOF
43686 #define HAVE_LOGF 1
43687 _ACEOF
43690 done
43692 else
43694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43695 $as_echo_n "checking for _logf declaration... " >&6; }
43696 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43697 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43698 $as_echo_n "(cached) " >&6
43699 else
43702 ac_ext=cpp
43703 ac_cpp='$CXXCPP $CPPFLAGS'
43704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43709 /* end confdefs.h. */
43710 #include <math.h>
43711 #ifdef HAVE_IEEEFP_H
43712 #include <ieeefp.h>
43713 #endif
43716 main ()
43718 _logf(0);
43720 return 0;
43722 _ACEOF
43723 if ac_fn_cxx_try_compile "$LINENO"; then :
43724 glibcxx_cv_func__logf_use=yes
43725 else
43726 glibcxx_cv_func__logf_use=no
43728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43729 ac_ext=c
43730 ac_cpp='$CPP $CPPFLAGS'
43731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43740 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43742 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43743 for ac_func in _logf
43744 do :
43745 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43746 if test "x$ac_cv_func__logf" = x""yes; then :
43747 cat >>confdefs.h <<_ACEOF
43748 #define HAVE__LOGF 1
43749 _ACEOF
43752 done
43761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43762 $as_echo_n "checking for log10f declaration... " >&6; }
43763 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43764 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43765 $as_echo_n "(cached) " >&6
43766 else
43769 ac_ext=cpp
43770 ac_cpp='$CXXCPP $CPPFLAGS'
43771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43776 /* end confdefs.h. */
43777 #include <math.h>
43778 #ifdef HAVE_IEEEFP_H
43779 #include <ieeefp.h>
43780 #endif
43783 main ()
43785 log10f(0);
43787 return 0;
43789 _ACEOF
43790 if ac_fn_cxx_try_compile "$LINENO"; then :
43791 glibcxx_cv_func_log10f_use=yes
43792 else
43793 glibcxx_cv_func_log10f_use=no
43795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43796 ac_ext=c
43797 ac_cpp='$CPP $CPPFLAGS'
43798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43807 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43809 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43810 for ac_func in log10f
43811 do :
43812 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43813 if test "x$ac_cv_func_log10f" = x""yes; then :
43814 cat >>confdefs.h <<_ACEOF
43815 #define HAVE_LOG10F 1
43816 _ACEOF
43819 done
43821 else
43823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43824 $as_echo_n "checking for _log10f declaration... " >&6; }
43825 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43826 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43827 $as_echo_n "(cached) " >&6
43828 else
43831 ac_ext=cpp
43832 ac_cpp='$CXXCPP $CPPFLAGS'
43833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43838 /* end confdefs.h. */
43839 #include <math.h>
43840 #ifdef HAVE_IEEEFP_H
43841 #include <ieeefp.h>
43842 #endif
43845 main ()
43847 _log10f(0);
43849 return 0;
43851 _ACEOF
43852 if ac_fn_cxx_try_compile "$LINENO"; then :
43853 glibcxx_cv_func__log10f_use=yes
43854 else
43855 glibcxx_cv_func__log10f_use=no
43857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43858 ac_ext=c
43859 ac_cpp='$CPP $CPPFLAGS'
43860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43869 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43871 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43872 for ac_func in _log10f
43873 do :
43874 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43875 if test "x$ac_cv_func__log10f" = x""yes; then :
43876 cat >>confdefs.h <<_ACEOF
43877 #define HAVE__LOG10F 1
43878 _ACEOF
43881 done
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43891 $as_echo_n "checking for modff declaration... " >&6; }
43892 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43893 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43894 $as_echo_n "(cached) " >&6
43895 else
43898 ac_ext=cpp
43899 ac_cpp='$CXXCPP $CPPFLAGS'
43900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43905 /* end confdefs.h. */
43906 #include <math.h>
43908 main ()
43910 modff(0, 0);
43912 return 0;
43914 _ACEOF
43915 if ac_fn_cxx_try_compile "$LINENO"; then :
43916 glibcxx_cv_func_modff_use=yes
43917 else
43918 glibcxx_cv_func_modff_use=no
43920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43921 ac_ext=c
43922 ac_cpp='$CPP $CPPFLAGS'
43923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43932 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43934 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43935 for ac_func in modff
43936 do :
43937 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43938 if test "x$ac_cv_func_modff" = x""yes; then :
43939 cat >>confdefs.h <<_ACEOF
43940 #define HAVE_MODFF 1
43941 _ACEOF
43944 done
43946 else
43948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43949 $as_echo_n "checking for _modff declaration... " >&6; }
43950 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43951 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43952 $as_echo_n "(cached) " >&6
43953 else
43956 ac_ext=cpp
43957 ac_cpp='$CXXCPP $CPPFLAGS'
43958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43963 /* end confdefs.h. */
43964 #include <math.h>
43966 main ()
43968 _modff(0, 0);
43970 return 0;
43972 _ACEOF
43973 if ac_fn_cxx_try_compile "$LINENO"; then :
43974 glibcxx_cv_func__modff_use=yes
43975 else
43976 glibcxx_cv_func__modff_use=no
43978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43979 ac_ext=c
43980 ac_cpp='$CPP $CPPFLAGS'
43981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43990 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43992 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43993 for ac_func in _modff
43994 do :
43995 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43996 if test "x$ac_cv_func__modff" = x""yes; then :
43997 cat >>confdefs.h <<_ACEOF
43998 #define HAVE__MODFF 1
43999 _ACEOF
44002 done
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44012 $as_echo_n "checking for modf declaration... " >&6; }
44013 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44014 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44015 $as_echo_n "(cached) " >&6
44016 else
44019 ac_ext=cpp
44020 ac_cpp='$CXXCPP $CPPFLAGS'
44021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44026 /* end confdefs.h. */
44027 #include <math.h>
44029 main ()
44031 modf(0, 0);
44033 return 0;
44035 _ACEOF
44036 if ac_fn_cxx_try_compile "$LINENO"; then :
44037 glibcxx_cv_func_modf_use=yes
44038 else
44039 glibcxx_cv_func_modf_use=no
44041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44042 ac_ext=c
44043 ac_cpp='$CPP $CPPFLAGS'
44044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44053 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44055 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44056 for ac_func in modf
44057 do :
44058 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44059 if test "x$ac_cv_func_modf" = x""yes; then :
44060 cat >>confdefs.h <<_ACEOF
44061 #define HAVE_MODF 1
44062 _ACEOF
44065 done
44067 else
44069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44070 $as_echo_n "checking for _modf declaration... " >&6; }
44071 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44072 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44073 $as_echo_n "(cached) " >&6
44074 else
44077 ac_ext=cpp
44078 ac_cpp='$CXXCPP $CPPFLAGS'
44079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44084 /* end confdefs.h. */
44085 #include <math.h>
44087 main ()
44089 _modf(0, 0);
44091 return 0;
44093 _ACEOF
44094 if ac_fn_cxx_try_compile "$LINENO"; then :
44095 glibcxx_cv_func__modf_use=yes
44096 else
44097 glibcxx_cv_func__modf_use=no
44099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44100 ac_ext=c
44101 ac_cpp='$CPP $CPPFLAGS'
44102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44111 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44113 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44114 for ac_func in _modf
44115 do :
44116 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44117 if test "x$ac_cv_func__modf" = x""yes; then :
44118 cat >>confdefs.h <<_ACEOF
44119 #define HAVE__MODF 1
44120 _ACEOF
44123 done
44132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44133 $as_echo_n "checking for powf declaration... " >&6; }
44134 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44135 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44136 $as_echo_n "(cached) " >&6
44137 else
44140 ac_ext=cpp
44141 ac_cpp='$CXXCPP $CPPFLAGS'
44142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44147 /* end confdefs.h. */
44148 #include <math.h>
44150 main ()
44152 powf(0, 0);
44154 return 0;
44156 _ACEOF
44157 if ac_fn_cxx_try_compile "$LINENO"; then :
44158 glibcxx_cv_func_powf_use=yes
44159 else
44160 glibcxx_cv_func_powf_use=no
44162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44163 ac_ext=c
44164 ac_cpp='$CPP $CPPFLAGS'
44165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44174 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44176 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44177 for ac_func in powf
44178 do :
44179 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44180 if test "x$ac_cv_func_powf" = x""yes; then :
44181 cat >>confdefs.h <<_ACEOF
44182 #define HAVE_POWF 1
44183 _ACEOF
44186 done
44188 else
44190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44191 $as_echo_n "checking for _powf declaration... " >&6; }
44192 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44193 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44194 $as_echo_n "(cached) " >&6
44195 else
44198 ac_ext=cpp
44199 ac_cpp='$CXXCPP $CPPFLAGS'
44200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44205 /* end confdefs.h. */
44206 #include <math.h>
44208 main ()
44210 _powf(0, 0);
44212 return 0;
44214 _ACEOF
44215 if ac_fn_cxx_try_compile "$LINENO"; then :
44216 glibcxx_cv_func__powf_use=yes
44217 else
44218 glibcxx_cv_func__powf_use=no
44220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44221 ac_ext=c
44222 ac_cpp='$CPP $CPPFLAGS'
44223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44232 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44234 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44235 for ac_func in _powf
44236 do :
44237 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44238 if test "x$ac_cv_func__powf" = x""yes; then :
44239 cat >>confdefs.h <<_ACEOF
44240 #define HAVE__POWF 1
44241 _ACEOF
44244 done
44253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44254 $as_echo_n "checking for sqrtf declaration... " >&6; }
44255 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44256 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44257 $as_echo_n "(cached) " >&6
44258 else
44261 ac_ext=cpp
44262 ac_cpp='$CXXCPP $CPPFLAGS'
44263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44268 /* end confdefs.h. */
44269 #include <math.h>
44270 #ifdef HAVE_IEEEFP_H
44271 #include <ieeefp.h>
44272 #endif
44275 main ()
44277 sqrtf(0);
44279 return 0;
44281 _ACEOF
44282 if ac_fn_cxx_try_compile "$LINENO"; then :
44283 glibcxx_cv_func_sqrtf_use=yes
44284 else
44285 glibcxx_cv_func_sqrtf_use=no
44287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44288 ac_ext=c
44289 ac_cpp='$CPP $CPPFLAGS'
44290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44299 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44301 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44302 for ac_func in sqrtf
44303 do :
44304 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44305 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44306 cat >>confdefs.h <<_ACEOF
44307 #define HAVE_SQRTF 1
44308 _ACEOF
44311 done
44313 else
44315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44316 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44317 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44318 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44319 $as_echo_n "(cached) " >&6
44320 else
44323 ac_ext=cpp
44324 ac_cpp='$CXXCPP $CPPFLAGS'
44325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44330 /* end confdefs.h. */
44331 #include <math.h>
44332 #ifdef HAVE_IEEEFP_H
44333 #include <ieeefp.h>
44334 #endif
44337 main ()
44339 _sqrtf(0);
44341 return 0;
44343 _ACEOF
44344 if ac_fn_cxx_try_compile "$LINENO"; then :
44345 glibcxx_cv_func__sqrtf_use=yes
44346 else
44347 glibcxx_cv_func__sqrtf_use=no
44349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44350 ac_ext=c
44351 ac_cpp='$CPP $CPPFLAGS'
44352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44361 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44363 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44364 for ac_func in _sqrtf
44365 do :
44366 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44367 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44368 cat >>confdefs.h <<_ACEOF
44369 #define HAVE__SQRTF 1
44370 _ACEOF
44373 done
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44383 $as_echo_n "checking for sincosf declaration... " >&6; }
44384 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44385 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44386 $as_echo_n "(cached) " >&6
44387 else
44390 ac_ext=cpp
44391 ac_cpp='$CXXCPP $CPPFLAGS'
44392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44397 /* end confdefs.h. */
44398 #include <math.h>
44400 main ()
44402 sincosf(0, 0, 0);
44404 return 0;
44406 _ACEOF
44407 if ac_fn_cxx_try_compile "$LINENO"; then :
44408 glibcxx_cv_func_sincosf_use=yes
44409 else
44410 glibcxx_cv_func_sincosf_use=no
44412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44413 ac_ext=c
44414 ac_cpp='$CPP $CPPFLAGS'
44415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44424 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44426 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44427 for ac_func in sincosf
44428 do :
44429 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44430 if test "x$ac_cv_func_sincosf" = x""yes; then :
44431 cat >>confdefs.h <<_ACEOF
44432 #define HAVE_SINCOSF 1
44433 _ACEOF
44436 done
44438 else
44440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44441 $as_echo_n "checking for _sincosf declaration... " >&6; }
44442 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44443 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44444 $as_echo_n "(cached) " >&6
44445 else
44448 ac_ext=cpp
44449 ac_cpp='$CXXCPP $CPPFLAGS'
44450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44455 /* end confdefs.h. */
44456 #include <math.h>
44458 main ()
44460 _sincosf(0, 0, 0);
44462 return 0;
44464 _ACEOF
44465 if ac_fn_cxx_try_compile "$LINENO"; then :
44466 glibcxx_cv_func__sincosf_use=yes
44467 else
44468 glibcxx_cv_func__sincosf_use=no
44470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44471 ac_ext=c
44472 ac_cpp='$CPP $CPPFLAGS'
44473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44482 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44484 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44485 for ac_func in _sincosf
44486 do :
44487 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44488 if test "x$ac_cv_func__sincosf" = x""yes; then :
44489 cat >>confdefs.h <<_ACEOF
44490 #define HAVE__SINCOSF 1
44491 _ACEOF
44494 done
44503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44504 $as_echo_n "checking for finitef declaration... " >&6; }
44505 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44506 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44507 $as_echo_n "(cached) " >&6
44508 else
44511 ac_ext=cpp
44512 ac_cpp='$CXXCPP $CPPFLAGS'
44513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44518 /* end confdefs.h. */
44519 #include <math.h>
44520 #ifdef HAVE_IEEEFP_H
44521 #include <ieeefp.h>
44522 #endif
44525 main ()
44527 finitef(0);
44529 return 0;
44531 _ACEOF
44532 if ac_fn_cxx_try_compile "$LINENO"; then :
44533 glibcxx_cv_func_finitef_use=yes
44534 else
44535 glibcxx_cv_func_finitef_use=no
44537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44538 ac_ext=c
44539 ac_cpp='$CPP $CPPFLAGS'
44540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44549 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44551 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44552 for ac_func in finitef
44553 do :
44554 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44555 if test "x$ac_cv_func_finitef" = x""yes; then :
44556 cat >>confdefs.h <<_ACEOF
44557 #define HAVE_FINITEF 1
44558 _ACEOF
44561 done
44563 else
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44566 $as_echo_n "checking for _finitef declaration... " >&6; }
44567 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44568 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44569 $as_echo_n "(cached) " >&6
44570 else
44573 ac_ext=cpp
44574 ac_cpp='$CXXCPP $CPPFLAGS'
44575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44580 /* end confdefs.h. */
44581 #include <math.h>
44582 #ifdef HAVE_IEEEFP_H
44583 #include <ieeefp.h>
44584 #endif
44587 main ()
44589 _finitef(0);
44591 return 0;
44593 _ACEOF
44594 if ac_fn_cxx_try_compile "$LINENO"; then :
44595 glibcxx_cv_func__finitef_use=yes
44596 else
44597 glibcxx_cv_func__finitef_use=no
44599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44600 ac_ext=c
44601 ac_cpp='$CPP $CPPFLAGS'
44602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44611 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44613 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44614 for ac_func in _finitef
44615 do :
44616 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44617 if test "x$ac_cv_func__finitef" = x""yes; then :
44618 cat >>confdefs.h <<_ACEOF
44619 #define HAVE__FINITEF 1
44620 _ACEOF
44623 done
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44633 $as_echo_n "checking for long double trig functions... " >&6; }
44634 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44635 $as_echo_n "(cached) " >&6
44636 else
44639 ac_ext=cpp
44640 ac_cpp='$CXXCPP $CPPFLAGS'
44641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44646 /* end confdefs.h. */
44647 #include <math.h>
44649 main ()
44651 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44653 return 0;
44655 _ACEOF
44656 if ac_fn_cxx_try_compile "$LINENO"; then :
44657 glibcxx_cv_func_long_double_trig_use=yes
44658 else
44659 glibcxx_cv_func_long_double_trig_use=no
44661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44662 ac_ext=c
44663 ac_cpp='$CPP $CPPFLAGS'
44664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44671 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44672 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44673 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44674 do :
44675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44677 eval as_val=\$$as_ac_var
44678 if test "x$as_val" = x""yes; then :
44679 cat >>confdefs.h <<_ACEOF
44680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44681 _ACEOF
44684 done
44686 else
44687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44688 $as_echo_n "checking for _long double trig functions... " >&6; }
44689 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44690 $as_echo_n "(cached) " >&6
44691 else
44694 ac_ext=cpp
44695 ac_cpp='$CXXCPP $CPPFLAGS'
44696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44701 /* end confdefs.h. */
44702 #include <math.h>
44704 main ()
44706 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44708 return 0;
44710 _ACEOF
44711 if ac_fn_cxx_try_compile "$LINENO"; then :
44712 glibcxx_cv_func__long_double_trig_use=yes
44713 else
44714 glibcxx_cv_func__long_double_trig_use=no
44716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44717 ac_ext=c
44718 ac_cpp='$CPP $CPPFLAGS'
44719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44726 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44727 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44728 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44729 do :
44730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44732 eval as_val=\$$as_ac_var
44733 if test "x$as_val" = x""yes; then :
44734 cat >>confdefs.h <<_ACEOF
44735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44736 _ACEOF
44739 done
44748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44749 $as_echo_n "checking for long double round functions... " >&6; }
44750 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44751 $as_echo_n "(cached) " >&6
44752 else
44755 ac_ext=cpp
44756 ac_cpp='$CXXCPP $CPPFLAGS'
44757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44762 /* end confdefs.h. */
44763 #include <math.h>
44765 main ()
44767 ceill (0); floorl (0);
44769 return 0;
44771 _ACEOF
44772 if ac_fn_cxx_try_compile "$LINENO"; then :
44773 glibcxx_cv_func_long_double_round_use=yes
44774 else
44775 glibcxx_cv_func_long_double_round_use=no
44777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44778 ac_ext=c
44779 ac_cpp='$CPP $CPPFLAGS'
44780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44787 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44788 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44789 for ac_func in ceill floorl
44790 do :
44791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44793 eval as_val=\$$as_ac_var
44794 if test "x$as_val" = x""yes; then :
44795 cat >>confdefs.h <<_ACEOF
44796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44797 _ACEOF
44800 done
44802 else
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44804 $as_echo_n "checking for _long double round functions... " >&6; }
44805 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44806 $as_echo_n "(cached) " >&6
44807 else
44810 ac_ext=cpp
44811 ac_cpp='$CXXCPP $CPPFLAGS'
44812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44817 /* end confdefs.h. */
44818 #include <math.h>
44820 main ()
44822 _ceill (0); _floorl (0);
44824 return 0;
44826 _ACEOF
44827 if ac_fn_cxx_try_compile "$LINENO"; then :
44828 glibcxx_cv_func__long_double_round_use=yes
44829 else
44830 glibcxx_cv_func__long_double_round_use=no
44832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44833 ac_ext=c
44834 ac_cpp='$CPP $CPPFLAGS'
44835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44842 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44843 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44844 for ac_func in _ceill _floorl
44845 do :
44846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44848 eval as_val=\$$as_ac_var
44849 if test "x$as_val" = x""yes; then :
44850 cat >>confdefs.h <<_ACEOF
44851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44852 _ACEOF
44855 done
44865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44866 $as_echo_n "checking for isnanl declaration... " >&6; }
44867 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44868 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44869 $as_echo_n "(cached) " >&6
44870 else
44873 ac_ext=cpp
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44880 /* end confdefs.h. */
44881 #include <math.h>
44882 #ifdef HAVE_IEEEFP_H
44883 #include <ieeefp.h>
44884 #endif
44887 main ()
44889 isnanl(0);
44891 return 0;
44893 _ACEOF
44894 if ac_fn_cxx_try_compile "$LINENO"; then :
44895 glibcxx_cv_func_isnanl_use=yes
44896 else
44897 glibcxx_cv_func_isnanl_use=no
44899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44900 ac_ext=c
44901 ac_cpp='$CPP $CPPFLAGS'
44902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44911 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44913 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44914 for ac_func in isnanl
44915 do :
44916 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44917 if test "x$ac_cv_func_isnanl" = x""yes; then :
44918 cat >>confdefs.h <<_ACEOF
44919 #define HAVE_ISNANL 1
44920 _ACEOF
44923 done
44925 else
44927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44928 $as_echo_n "checking for _isnanl declaration... " >&6; }
44929 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44930 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44931 $as_echo_n "(cached) " >&6
44932 else
44935 ac_ext=cpp
44936 ac_cpp='$CXXCPP $CPPFLAGS'
44937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44942 /* end confdefs.h. */
44943 #include <math.h>
44944 #ifdef HAVE_IEEEFP_H
44945 #include <ieeefp.h>
44946 #endif
44949 main ()
44951 _isnanl(0);
44953 return 0;
44955 _ACEOF
44956 if ac_fn_cxx_try_compile "$LINENO"; then :
44957 glibcxx_cv_func__isnanl_use=yes
44958 else
44959 glibcxx_cv_func__isnanl_use=no
44961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44962 ac_ext=c
44963 ac_cpp='$CPP $CPPFLAGS'
44964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44973 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44975 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44976 for ac_func in _isnanl
44977 do :
44978 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44979 if test "x$ac_cv_func__isnanl" = x""yes; then :
44980 cat >>confdefs.h <<_ACEOF
44981 #define HAVE__ISNANL 1
44982 _ACEOF
44985 done
44994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44995 $as_echo_n "checking for isinfl declaration... " >&6; }
44996 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44997 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44998 $as_echo_n "(cached) " >&6
44999 else
45002 ac_ext=cpp
45003 ac_cpp='$CXXCPP $CPPFLAGS'
45004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45009 /* end confdefs.h. */
45010 #include <math.h>
45011 #ifdef HAVE_IEEEFP_H
45012 #include <ieeefp.h>
45013 #endif
45016 main ()
45018 isinfl(0);
45020 return 0;
45022 _ACEOF
45023 if ac_fn_cxx_try_compile "$LINENO"; then :
45024 glibcxx_cv_func_isinfl_use=yes
45025 else
45026 glibcxx_cv_func_isinfl_use=no
45028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45029 ac_ext=c
45030 ac_cpp='$CPP $CPPFLAGS'
45031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45040 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45042 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45043 for ac_func in isinfl
45044 do :
45045 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45046 if test "x$ac_cv_func_isinfl" = x""yes; then :
45047 cat >>confdefs.h <<_ACEOF
45048 #define HAVE_ISINFL 1
45049 _ACEOF
45052 done
45054 else
45056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45057 $as_echo_n "checking for _isinfl declaration... " >&6; }
45058 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45059 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45060 $as_echo_n "(cached) " >&6
45061 else
45064 ac_ext=cpp
45065 ac_cpp='$CXXCPP $CPPFLAGS'
45066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45071 /* end confdefs.h. */
45072 #include <math.h>
45073 #ifdef HAVE_IEEEFP_H
45074 #include <ieeefp.h>
45075 #endif
45078 main ()
45080 _isinfl(0);
45082 return 0;
45084 _ACEOF
45085 if ac_fn_cxx_try_compile "$LINENO"; then :
45086 glibcxx_cv_func__isinfl_use=yes
45087 else
45088 glibcxx_cv_func__isinfl_use=no
45090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45091 ac_ext=c
45092 ac_cpp='$CPP $CPPFLAGS'
45093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45102 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45104 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45105 for ac_func in _isinfl
45106 do :
45107 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45108 if test "x$ac_cv_func__isinfl" = x""yes; then :
45109 cat >>confdefs.h <<_ACEOF
45110 #define HAVE__ISINFL 1
45111 _ACEOF
45114 done
45123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45124 $as_echo_n "checking for atan2l declaration... " >&6; }
45125 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45126 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45127 $as_echo_n "(cached) " >&6
45128 else
45131 ac_ext=cpp
45132 ac_cpp='$CXXCPP $CPPFLAGS'
45133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45138 /* end confdefs.h. */
45139 #include <math.h>
45141 main ()
45143 atan2l(0, 0);
45145 return 0;
45147 _ACEOF
45148 if ac_fn_cxx_try_compile "$LINENO"; then :
45149 glibcxx_cv_func_atan2l_use=yes
45150 else
45151 glibcxx_cv_func_atan2l_use=no
45153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45154 ac_ext=c
45155 ac_cpp='$CPP $CPPFLAGS'
45156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45165 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45167 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45168 for ac_func in atan2l
45169 do :
45170 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45171 if test "x$ac_cv_func_atan2l" = x""yes; then :
45172 cat >>confdefs.h <<_ACEOF
45173 #define HAVE_ATAN2L 1
45174 _ACEOF
45177 done
45179 else
45181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45182 $as_echo_n "checking for _atan2l declaration... " >&6; }
45183 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45184 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45185 $as_echo_n "(cached) " >&6
45186 else
45189 ac_ext=cpp
45190 ac_cpp='$CXXCPP $CPPFLAGS'
45191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45196 /* end confdefs.h. */
45197 #include <math.h>
45199 main ()
45201 _atan2l(0, 0);
45203 return 0;
45205 _ACEOF
45206 if ac_fn_cxx_try_compile "$LINENO"; then :
45207 glibcxx_cv_func__atan2l_use=yes
45208 else
45209 glibcxx_cv_func__atan2l_use=no
45211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45212 ac_ext=c
45213 ac_cpp='$CPP $CPPFLAGS'
45214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45223 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45225 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45226 for ac_func in _atan2l
45227 do :
45228 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45229 if test "x$ac_cv_func__atan2l" = x""yes; then :
45230 cat >>confdefs.h <<_ACEOF
45231 #define HAVE__ATAN2L 1
45232 _ACEOF
45235 done
45244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45245 $as_echo_n "checking for expl declaration... " >&6; }
45246 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45247 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45248 $as_echo_n "(cached) " >&6
45249 else
45252 ac_ext=cpp
45253 ac_cpp='$CXXCPP $CPPFLAGS'
45254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45259 /* end confdefs.h. */
45260 #include <math.h>
45261 #ifdef HAVE_IEEEFP_H
45262 #include <ieeefp.h>
45263 #endif
45266 main ()
45268 expl(0);
45270 return 0;
45272 _ACEOF
45273 if ac_fn_cxx_try_compile "$LINENO"; then :
45274 glibcxx_cv_func_expl_use=yes
45275 else
45276 glibcxx_cv_func_expl_use=no
45278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45279 ac_ext=c
45280 ac_cpp='$CPP $CPPFLAGS'
45281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45290 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45292 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45293 for ac_func in expl
45294 do :
45295 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45296 if test "x$ac_cv_func_expl" = x""yes; then :
45297 cat >>confdefs.h <<_ACEOF
45298 #define HAVE_EXPL 1
45299 _ACEOF
45302 done
45304 else
45306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45307 $as_echo_n "checking for _expl declaration... " >&6; }
45308 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45309 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45310 $as_echo_n "(cached) " >&6
45311 else
45314 ac_ext=cpp
45315 ac_cpp='$CXXCPP $CPPFLAGS'
45316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45321 /* end confdefs.h. */
45322 #include <math.h>
45323 #ifdef HAVE_IEEEFP_H
45324 #include <ieeefp.h>
45325 #endif
45328 main ()
45330 _expl(0);
45332 return 0;
45334 _ACEOF
45335 if ac_fn_cxx_try_compile "$LINENO"; then :
45336 glibcxx_cv_func__expl_use=yes
45337 else
45338 glibcxx_cv_func__expl_use=no
45340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45341 ac_ext=c
45342 ac_cpp='$CPP $CPPFLAGS'
45343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45352 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45354 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45355 for ac_func in _expl
45356 do :
45357 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45358 if test "x$ac_cv_func__expl" = x""yes; then :
45359 cat >>confdefs.h <<_ACEOF
45360 #define HAVE__EXPL 1
45361 _ACEOF
45364 done
45373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45374 $as_echo_n "checking for fabsl declaration... " >&6; }
45375 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45376 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45377 $as_echo_n "(cached) " >&6
45378 else
45381 ac_ext=cpp
45382 ac_cpp='$CXXCPP $CPPFLAGS'
45383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45388 /* end confdefs.h. */
45389 #include <math.h>
45390 #ifdef HAVE_IEEEFP_H
45391 #include <ieeefp.h>
45392 #endif
45395 main ()
45397 fabsl(0);
45399 return 0;
45401 _ACEOF
45402 if ac_fn_cxx_try_compile "$LINENO"; then :
45403 glibcxx_cv_func_fabsl_use=yes
45404 else
45405 glibcxx_cv_func_fabsl_use=no
45407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45408 ac_ext=c
45409 ac_cpp='$CPP $CPPFLAGS'
45410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45419 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45421 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45422 for ac_func in fabsl
45423 do :
45424 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45425 if test "x$ac_cv_func_fabsl" = x""yes; then :
45426 cat >>confdefs.h <<_ACEOF
45427 #define HAVE_FABSL 1
45428 _ACEOF
45431 done
45433 else
45435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45436 $as_echo_n "checking for _fabsl declaration... " >&6; }
45437 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45438 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45439 $as_echo_n "(cached) " >&6
45440 else
45443 ac_ext=cpp
45444 ac_cpp='$CXXCPP $CPPFLAGS'
45445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45450 /* end confdefs.h. */
45451 #include <math.h>
45452 #ifdef HAVE_IEEEFP_H
45453 #include <ieeefp.h>
45454 #endif
45457 main ()
45459 _fabsl(0);
45461 return 0;
45463 _ACEOF
45464 if ac_fn_cxx_try_compile "$LINENO"; then :
45465 glibcxx_cv_func__fabsl_use=yes
45466 else
45467 glibcxx_cv_func__fabsl_use=no
45469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45470 ac_ext=c
45471 ac_cpp='$CPP $CPPFLAGS'
45472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45481 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45483 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45484 for ac_func in _fabsl
45485 do :
45486 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45487 if test "x$ac_cv_func__fabsl" = x""yes; then :
45488 cat >>confdefs.h <<_ACEOF
45489 #define HAVE__FABSL 1
45490 _ACEOF
45493 done
45502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45503 $as_echo_n "checking for fmodl declaration... " >&6; }
45504 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45505 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45506 $as_echo_n "(cached) " >&6
45507 else
45510 ac_ext=cpp
45511 ac_cpp='$CXXCPP $CPPFLAGS'
45512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45517 /* end confdefs.h. */
45518 #include <math.h>
45520 main ()
45522 fmodl(0, 0);
45524 return 0;
45526 _ACEOF
45527 if ac_fn_cxx_try_compile "$LINENO"; then :
45528 glibcxx_cv_func_fmodl_use=yes
45529 else
45530 glibcxx_cv_func_fmodl_use=no
45532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45533 ac_ext=c
45534 ac_cpp='$CPP $CPPFLAGS'
45535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45544 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45546 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45547 for ac_func in fmodl
45548 do :
45549 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45550 if test "x$ac_cv_func_fmodl" = x""yes; then :
45551 cat >>confdefs.h <<_ACEOF
45552 #define HAVE_FMODL 1
45553 _ACEOF
45556 done
45558 else
45560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45561 $as_echo_n "checking for _fmodl declaration... " >&6; }
45562 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45563 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45564 $as_echo_n "(cached) " >&6
45565 else
45568 ac_ext=cpp
45569 ac_cpp='$CXXCPP $CPPFLAGS'
45570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45575 /* end confdefs.h. */
45576 #include <math.h>
45578 main ()
45580 _fmodl(0, 0);
45582 return 0;
45584 _ACEOF
45585 if ac_fn_cxx_try_compile "$LINENO"; then :
45586 glibcxx_cv_func__fmodl_use=yes
45587 else
45588 glibcxx_cv_func__fmodl_use=no
45590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45591 ac_ext=c
45592 ac_cpp='$CPP $CPPFLAGS'
45593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45602 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45604 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45605 for ac_func in _fmodl
45606 do :
45607 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45608 if test "x$ac_cv_func__fmodl" = x""yes; then :
45609 cat >>confdefs.h <<_ACEOF
45610 #define HAVE__FMODL 1
45611 _ACEOF
45614 done
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45624 $as_echo_n "checking for frexpl declaration... " >&6; }
45625 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45626 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45627 $as_echo_n "(cached) " >&6
45628 else
45631 ac_ext=cpp
45632 ac_cpp='$CXXCPP $CPPFLAGS'
45633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45638 /* end confdefs.h. */
45639 #include <math.h>
45641 main ()
45643 frexpl(0, 0);
45645 return 0;
45647 _ACEOF
45648 if ac_fn_cxx_try_compile "$LINENO"; then :
45649 glibcxx_cv_func_frexpl_use=yes
45650 else
45651 glibcxx_cv_func_frexpl_use=no
45653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45654 ac_ext=c
45655 ac_cpp='$CPP $CPPFLAGS'
45656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45665 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45667 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45668 for ac_func in frexpl
45669 do :
45670 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45671 if test "x$ac_cv_func_frexpl" = x""yes; then :
45672 cat >>confdefs.h <<_ACEOF
45673 #define HAVE_FREXPL 1
45674 _ACEOF
45677 done
45679 else
45681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45682 $as_echo_n "checking for _frexpl declaration... " >&6; }
45683 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45684 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45685 $as_echo_n "(cached) " >&6
45686 else
45689 ac_ext=cpp
45690 ac_cpp='$CXXCPP $CPPFLAGS'
45691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45696 /* end confdefs.h. */
45697 #include <math.h>
45699 main ()
45701 _frexpl(0, 0);
45703 return 0;
45705 _ACEOF
45706 if ac_fn_cxx_try_compile "$LINENO"; then :
45707 glibcxx_cv_func__frexpl_use=yes
45708 else
45709 glibcxx_cv_func__frexpl_use=no
45711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45712 ac_ext=c
45713 ac_cpp='$CPP $CPPFLAGS'
45714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45723 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45725 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45726 for ac_func in _frexpl
45727 do :
45728 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45729 if test "x$ac_cv_func__frexpl" = x""yes; then :
45730 cat >>confdefs.h <<_ACEOF
45731 #define HAVE__FREXPL 1
45732 _ACEOF
45735 done
45744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45745 $as_echo_n "checking for hypotl declaration... " >&6; }
45746 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45747 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45748 $as_echo_n "(cached) " >&6
45749 else
45752 ac_ext=cpp
45753 ac_cpp='$CXXCPP $CPPFLAGS'
45754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45759 /* end confdefs.h. */
45760 #include <math.h>
45762 main ()
45764 hypotl(0, 0);
45766 return 0;
45768 _ACEOF
45769 if ac_fn_cxx_try_compile "$LINENO"; then :
45770 glibcxx_cv_func_hypotl_use=yes
45771 else
45772 glibcxx_cv_func_hypotl_use=no
45774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45775 ac_ext=c
45776 ac_cpp='$CPP $CPPFLAGS'
45777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45786 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45788 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45789 for ac_func in hypotl
45790 do :
45791 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45792 if test "x$ac_cv_func_hypotl" = x""yes; then :
45793 cat >>confdefs.h <<_ACEOF
45794 #define HAVE_HYPOTL 1
45795 _ACEOF
45798 done
45800 else
45802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45803 $as_echo_n "checking for _hypotl declaration... " >&6; }
45804 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45805 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45806 $as_echo_n "(cached) " >&6
45807 else
45810 ac_ext=cpp
45811 ac_cpp='$CXXCPP $CPPFLAGS'
45812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45817 /* end confdefs.h. */
45818 #include <math.h>
45820 main ()
45822 _hypotl(0, 0);
45824 return 0;
45826 _ACEOF
45827 if ac_fn_cxx_try_compile "$LINENO"; then :
45828 glibcxx_cv_func__hypotl_use=yes
45829 else
45830 glibcxx_cv_func__hypotl_use=no
45832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45844 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45846 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45847 for ac_func in _hypotl
45848 do :
45849 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45850 if test "x$ac_cv_func__hypotl" = x""yes; then :
45851 cat >>confdefs.h <<_ACEOF
45852 #define HAVE__HYPOTL 1
45853 _ACEOF
45856 done
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45866 $as_echo_n "checking for ldexpl declaration... " >&6; }
45867 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45868 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45869 $as_echo_n "(cached) " >&6
45870 else
45873 ac_ext=cpp
45874 ac_cpp='$CXXCPP $CPPFLAGS'
45875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45880 /* end confdefs.h. */
45881 #include <math.h>
45883 main ()
45885 ldexpl(0, 0);
45887 return 0;
45889 _ACEOF
45890 if ac_fn_cxx_try_compile "$LINENO"; then :
45891 glibcxx_cv_func_ldexpl_use=yes
45892 else
45893 glibcxx_cv_func_ldexpl_use=no
45895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45896 ac_ext=c
45897 ac_cpp='$CPP $CPPFLAGS'
45898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45907 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45909 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45910 for ac_func in ldexpl
45911 do :
45912 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45913 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45914 cat >>confdefs.h <<_ACEOF
45915 #define HAVE_LDEXPL 1
45916 _ACEOF
45919 done
45921 else
45923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45924 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45925 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45926 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45927 $as_echo_n "(cached) " >&6
45928 else
45931 ac_ext=cpp
45932 ac_cpp='$CXXCPP $CPPFLAGS'
45933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45938 /* end confdefs.h. */
45939 #include <math.h>
45941 main ()
45943 _ldexpl(0, 0);
45945 return 0;
45947 _ACEOF
45948 if ac_fn_cxx_try_compile "$LINENO"; then :
45949 glibcxx_cv_func__ldexpl_use=yes
45950 else
45951 glibcxx_cv_func__ldexpl_use=no
45953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45954 ac_ext=c
45955 ac_cpp='$CPP $CPPFLAGS'
45956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45965 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45967 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45968 for ac_func in _ldexpl
45969 do :
45970 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45971 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45972 cat >>confdefs.h <<_ACEOF
45973 #define HAVE__LDEXPL 1
45974 _ACEOF
45977 done
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45987 $as_echo_n "checking for logl declaration... " >&6; }
45988 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45989 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45990 $as_echo_n "(cached) " >&6
45991 else
45994 ac_ext=cpp
45995 ac_cpp='$CXXCPP $CPPFLAGS'
45996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46001 /* end confdefs.h. */
46002 #include <math.h>
46003 #ifdef HAVE_IEEEFP_H
46004 #include <ieeefp.h>
46005 #endif
46008 main ()
46010 logl(0);
46012 return 0;
46014 _ACEOF
46015 if ac_fn_cxx_try_compile "$LINENO"; then :
46016 glibcxx_cv_func_logl_use=yes
46017 else
46018 glibcxx_cv_func_logl_use=no
46020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46032 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46034 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46035 for ac_func in logl
46036 do :
46037 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46038 if test "x$ac_cv_func_logl" = x""yes; then :
46039 cat >>confdefs.h <<_ACEOF
46040 #define HAVE_LOGL 1
46041 _ACEOF
46044 done
46046 else
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46049 $as_echo_n "checking for _logl declaration... " >&6; }
46050 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46051 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46052 $as_echo_n "(cached) " >&6
46053 else
46056 ac_ext=cpp
46057 ac_cpp='$CXXCPP $CPPFLAGS'
46058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46063 /* end confdefs.h. */
46064 #include <math.h>
46065 #ifdef HAVE_IEEEFP_H
46066 #include <ieeefp.h>
46067 #endif
46070 main ()
46072 _logl(0);
46074 return 0;
46076 _ACEOF
46077 if ac_fn_cxx_try_compile "$LINENO"; then :
46078 glibcxx_cv_func__logl_use=yes
46079 else
46080 glibcxx_cv_func__logl_use=no
46082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46083 ac_ext=c
46084 ac_cpp='$CPP $CPPFLAGS'
46085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46094 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46096 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46097 for ac_func in _logl
46098 do :
46099 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46100 if test "x$ac_cv_func__logl" = x""yes; then :
46101 cat >>confdefs.h <<_ACEOF
46102 #define HAVE__LOGL 1
46103 _ACEOF
46106 done
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46116 $as_echo_n "checking for log10l declaration... " >&6; }
46117 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46118 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46119 $as_echo_n "(cached) " >&6
46120 else
46123 ac_ext=cpp
46124 ac_cpp='$CXXCPP $CPPFLAGS'
46125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46130 /* end confdefs.h. */
46131 #include <math.h>
46132 #ifdef HAVE_IEEEFP_H
46133 #include <ieeefp.h>
46134 #endif
46137 main ()
46139 log10l(0);
46141 return 0;
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145 glibcxx_cv_func_log10l_use=yes
46146 else
46147 glibcxx_cv_func_log10l_use=no
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150 ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46161 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46163 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46164 for ac_func in log10l
46165 do :
46166 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46167 if test "x$ac_cv_func_log10l" = x""yes; then :
46168 cat >>confdefs.h <<_ACEOF
46169 #define HAVE_LOG10L 1
46170 _ACEOF
46173 done
46175 else
46177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46178 $as_echo_n "checking for _log10l declaration... " >&6; }
46179 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46180 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46181 $as_echo_n "(cached) " >&6
46182 else
46185 ac_ext=cpp
46186 ac_cpp='$CXXCPP $CPPFLAGS'
46187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46192 /* end confdefs.h. */
46193 #include <math.h>
46194 #ifdef HAVE_IEEEFP_H
46195 #include <ieeefp.h>
46196 #endif
46199 main ()
46201 _log10l(0);
46203 return 0;
46205 _ACEOF
46206 if ac_fn_cxx_try_compile "$LINENO"; then :
46207 glibcxx_cv_func__log10l_use=yes
46208 else
46209 glibcxx_cv_func__log10l_use=no
46211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46223 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46225 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46226 for ac_func in _log10l
46227 do :
46228 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46229 if test "x$ac_cv_func__log10l" = x""yes; then :
46230 cat >>confdefs.h <<_ACEOF
46231 #define HAVE__LOG10L 1
46232 _ACEOF
46235 done
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46245 $as_echo_n "checking for modfl declaration... " >&6; }
46246 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46247 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46262 main ()
46264 modfl(0, 0);
46266 return 0;
46268 _ACEOF
46269 if ac_fn_cxx_try_compile "$LINENO"; then :
46270 glibcxx_cv_func_modfl_use=yes
46271 else
46272 glibcxx_cv_func_modfl_use=no
46274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46275 ac_ext=c
46276 ac_cpp='$CPP $CPPFLAGS'
46277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46286 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46288 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46289 for ac_func in modfl
46290 do :
46291 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46292 if test "x$ac_cv_func_modfl" = x""yes; then :
46293 cat >>confdefs.h <<_ACEOF
46294 #define HAVE_MODFL 1
46295 _ACEOF
46298 done
46300 else
46302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46303 $as_echo_n "checking for _modfl declaration... " >&6; }
46304 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46305 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46306 $as_echo_n "(cached) " >&6
46307 else
46310 ac_ext=cpp
46311 ac_cpp='$CXXCPP $CPPFLAGS'
46312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46317 /* end confdefs.h. */
46318 #include <math.h>
46320 main ()
46322 _modfl(0, 0);
46324 return 0;
46326 _ACEOF
46327 if ac_fn_cxx_try_compile "$LINENO"; then :
46328 glibcxx_cv_func__modfl_use=yes
46329 else
46330 glibcxx_cv_func__modfl_use=no
46332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46333 ac_ext=c
46334 ac_cpp='$CPP $CPPFLAGS'
46335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46344 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46346 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46347 for ac_func in _modfl
46348 do :
46349 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46350 if test "x$ac_cv_func__modfl" = x""yes; then :
46351 cat >>confdefs.h <<_ACEOF
46352 #define HAVE__MODFL 1
46353 _ACEOF
46356 done
46365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46366 $as_echo_n "checking for powl declaration... " >&6; }
46367 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46368 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46369 $as_echo_n "(cached) " >&6
46370 else
46373 ac_ext=cpp
46374 ac_cpp='$CXXCPP $CPPFLAGS'
46375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46380 /* end confdefs.h. */
46381 #include <math.h>
46383 main ()
46385 powl(0, 0);
46387 return 0;
46389 _ACEOF
46390 if ac_fn_cxx_try_compile "$LINENO"; then :
46391 glibcxx_cv_func_powl_use=yes
46392 else
46393 glibcxx_cv_func_powl_use=no
46395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46396 ac_ext=c
46397 ac_cpp='$CPP $CPPFLAGS'
46398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46407 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46409 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46410 for ac_func in powl
46411 do :
46412 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46413 if test "x$ac_cv_func_powl" = x""yes; then :
46414 cat >>confdefs.h <<_ACEOF
46415 #define HAVE_POWL 1
46416 _ACEOF
46419 done
46421 else
46423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46424 $as_echo_n "checking for _powl declaration... " >&6; }
46425 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46426 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46427 $as_echo_n "(cached) " >&6
46428 else
46431 ac_ext=cpp
46432 ac_cpp='$CXXCPP $CPPFLAGS'
46433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46438 /* end confdefs.h. */
46439 #include <math.h>
46441 main ()
46443 _powl(0, 0);
46445 return 0;
46447 _ACEOF
46448 if ac_fn_cxx_try_compile "$LINENO"; then :
46449 glibcxx_cv_func__powl_use=yes
46450 else
46451 glibcxx_cv_func__powl_use=no
46453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46454 ac_ext=c
46455 ac_cpp='$CPP $CPPFLAGS'
46456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46465 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46467 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46468 for ac_func in _powl
46469 do :
46470 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46471 if test "x$ac_cv_func__powl" = x""yes; then :
46472 cat >>confdefs.h <<_ACEOF
46473 #define HAVE__POWL 1
46474 _ACEOF
46477 done
46486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46487 $as_echo_n "checking for sqrtl declaration... " >&6; }
46488 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46489 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46490 $as_echo_n "(cached) " >&6
46491 else
46494 ac_ext=cpp
46495 ac_cpp='$CXXCPP $CPPFLAGS'
46496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46501 /* end confdefs.h. */
46502 #include <math.h>
46503 #ifdef HAVE_IEEEFP_H
46504 #include <ieeefp.h>
46505 #endif
46508 main ()
46510 sqrtl(0);
46512 return 0;
46514 _ACEOF
46515 if ac_fn_cxx_try_compile "$LINENO"; then :
46516 glibcxx_cv_func_sqrtl_use=yes
46517 else
46518 glibcxx_cv_func_sqrtl_use=no
46520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46521 ac_ext=c
46522 ac_cpp='$CPP $CPPFLAGS'
46523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46532 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46534 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46535 for ac_func in sqrtl
46536 do :
46537 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46538 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46539 cat >>confdefs.h <<_ACEOF
46540 #define HAVE_SQRTL 1
46541 _ACEOF
46544 done
46546 else
46548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46549 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46550 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46551 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46552 $as_echo_n "(cached) " >&6
46553 else
46556 ac_ext=cpp
46557 ac_cpp='$CXXCPP $CPPFLAGS'
46558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46563 /* end confdefs.h. */
46564 #include <math.h>
46565 #ifdef HAVE_IEEEFP_H
46566 #include <ieeefp.h>
46567 #endif
46570 main ()
46572 _sqrtl(0);
46574 return 0;
46576 _ACEOF
46577 if ac_fn_cxx_try_compile "$LINENO"; then :
46578 glibcxx_cv_func__sqrtl_use=yes
46579 else
46580 glibcxx_cv_func__sqrtl_use=no
46582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46583 ac_ext=c
46584 ac_cpp='$CPP $CPPFLAGS'
46585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46594 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46596 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46597 for ac_func in _sqrtl
46598 do :
46599 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46600 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46601 cat >>confdefs.h <<_ACEOF
46602 #define HAVE__SQRTL 1
46603 _ACEOF
46606 done
46615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46616 $as_echo_n "checking for sincosl declaration... " >&6; }
46617 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46618 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46619 $as_echo_n "(cached) " >&6
46620 else
46623 ac_ext=cpp
46624 ac_cpp='$CXXCPP $CPPFLAGS'
46625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46630 /* end confdefs.h. */
46631 #include <math.h>
46633 main ()
46635 sincosl(0, 0, 0);
46637 return 0;
46639 _ACEOF
46640 if ac_fn_cxx_try_compile "$LINENO"; then :
46641 glibcxx_cv_func_sincosl_use=yes
46642 else
46643 glibcxx_cv_func_sincosl_use=no
46645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46646 ac_ext=c
46647 ac_cpp='$CPP $CPPFLAGS'
46648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46657 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46659 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46660 for ac_func in sincosl
46661 do :
46662 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46663 if test "x$ac_cv_func_sincosl" = x""yes; then :
46664 cat >>confdefs.h <<_ACEOF
46665 #define HAVE_SINCOSL 1
46666 _ACEOF
46669 done
46671 else
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46674 $as_echo_n "checking for _sincosl declaration... " >&6; }
46675 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46676 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46677 $as_echo_n "(cached) " >&6
46678 else
46681 ac_ext=cpp
46682 ac_cpp='$CXXCPP $CPPFLAGS'
46683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46688 /* end confdefs.h. */
46689 #include <math.h>
46691 main ()
46693 _sincosl(0, 0, 0);
46695 return 0;
46697 _ACEOF
46698 if ac_fn_cxx_try_compile "$LINENO"; then :
46699 glibcxx_cv_func__sincosl_use=yes
46700 else
46701 glibcxx_cv_func__sincosl_use=no
46703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46704 ac_ext=c
46705 ac_cpp='$CPP $CPPFLAGS'
46706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46715 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46717 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46718 for ac_func in _sincosl
46719 do :
46720 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46721 if test "x$ac_cv_func__sincosl" = x""yes; then :
46722 cat >>confdefs.h <<_ACEOF
46723 #define HAVE__SINCOSL 1
46724 _ACEOF
46727 done
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46737 $as_echo_n "checking for finitel declaration... " >&6; }
46738 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46739 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46740 $as_echo_n "(cached) " >&6
46741 else
46744 ac_ext=cpp
46745 ac_cpp='$CXXCPP $CPPFLAGS'
46746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46751 /* end confdefs.h. */
46752 #include <math.h>
46753 #ifdef HAVE_IEEEFP_H
46754 #include <ieeefp.h>
46755 #endif
46758 main ()
46760 finitel(0);
46762 return 0;
46764 _ACEOF
46765 if ac_fn_cxx_try_compile "$LINENO"; then :
46766 glibcxx_cv_func_finitel_use=yes
46767 else
46768 glibcxx_cv_func_finitel_use=no
46770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46771 ac_ext=c
46772 ac_cpp='$CPP $CPPFLAGS'
46773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46782 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46784 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46785 for ac_func in finitel
46786 do :
46787 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46788 if test "x$ac_cv_func_finitel" = x""yes; then :
46789 cat >>confdefs.h <<_ACEOF
46790 #define HAVE_FINITEL 1
46791 _ACEOF
46794 done
46796 else
46798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46799 $as_echo_n "checking for _finitel declaration... " >&6; }
46800 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46801 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46802 $as_echo_n "(cached) " >&6
46803 else
46806 ac_ext=cpp
46807 ac_cpp='$CXXCPP $CPPFLAGS'
46808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46813 /* end confdefs.h. */
46814 #include <math.h>
46815 #ifdef HAVE_IEEEFP_H
46816 #include <ieeefp.h>
46817 #endif
46820 main ()
46822 _finitel(0);
46824 return 0;
46826 _ACEOF
46827 if ac_fn_cxx_try_compile "$LINENO"; then :
46828 glibcxx_cv_func__finitel_use=yes
46829 else
46830 glibcxx_cv_func__finitel_use=no
46832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833 ac_ext=c
46834 ac_cpp='$CPP $CPPFLAGS'
46835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46844 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46846 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46847 for ac_func in _finitel
46848 do :
46849 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46850 if test "x$ac_cv_func__finitel" = x""yes; then :
46851 cat >>confdefs.h <<_ACEOF
46852 #define HAVE__FINITEL 1
46853 _ACEOF
46856 done
46864 LIBS="$ac_save_LIBS"
46865 CXXFLAGS="$ac_save_CXXFLAGS"
46868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46869 ac_save_CXXFLAGS="$CXXFLAGS"
46870 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46874 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46875 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46876 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46877 $as_echo_n "(cached) " >&6
46878 else
46881 ac_ext=cpp
46882 ac_cpp='$CXXCPP $CPPFLAGS'
46883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46888 /* end confdefs.h. */
46889 #include <stdlib.h>
46891 main ()
46893 at_quick_exit(0);
46895 return 0;
46897 _ACEOF
46898 if ac_fn_cxx_try_compile "$LINENO"; then :
46899 glibcxx_cv_func_at_quick_exit_use=yes
46900 else
46901 glibcxx_cv_func_at_quick_exit_use=no
46903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46904 ac_ext=c
46905 ac_cpp='$CPP $CPPFLAGS'
46906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46915 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46916 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46917 for ac_func in at_quick_exit
46918 do :
46919 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46920 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46921 cat >>confdefs.h <<_ACEOF
46922 #define HAVE_AT_QUICK_EXIT 1
46923 _ACEOF
46926 done
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46932 $as_echo_n "checking for quick_exit declaration... " >&6; }
46933 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46934 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46935 $as_echo_n "(cached) " >&6
46936 else
46939 ac_ext=cpp
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h. */
46947 #include <stdlib.h>
46949 main ()
46951 quick_exit(0);
46953 return 0;
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957 glibcxx_cv_func_quick_exit_use=yes
46958 else
46959 glibcxx_cv_func_quick_exit_use=no
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962 ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46973 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46974 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46975 for ac_func in quick_exit
46976 do :
46977 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46978 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46979 cat >>confdefs.h <<_ACEOF
46980 #define HAVE_QUICK_EXIT 1
46981 _ACEOF
46984 done
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46990 $as_echo_n "checking for strtold declaration... " >&6; }
46991 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46992 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46993 $as_echo_n "(cached) " >&6
46994 else
46997 ac_ext=cpp
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <stdlib.h>
47007 main ()
47009 strtold(0, 0);
47011 return 0;
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func_strtold_use=yes
47016 else
47017 glibcxx_cv_func_strtold_use=no
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47031 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47032 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47033 for ac_func in strtold
47034 do :
47035 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47036 if test "x$ac_cv_func_strtold" = x""yes; then :
47037 cat >>confdefs.h <<_ACEOF
47038 #define HAVE_STRTOLD 1
47039 _ACEOF
47042 done
47049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47050 $as_echo_n "checking for strtof declaration... " >&6; }
47051 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47052 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47053 $as_echo_n "(cached) " >&6
47054 else
47057 ac_ext=cpp
47058 ac_cpp='$CXXCPP $CPPFLAGS'
47059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47064 /* end confdefs.h. */
47065 #include <stdlib.h>
47067 main ()
47069 strtof(0, 0);
47071 return 0;
47073 _ACEOF
47074 if ac_fn_cxx_try_compile "$LINENO"; then :
47075 glibcxx_cv_func_strtof_use=yes
47076 else
47077 glibcxx_cv_func_strtof_use=no
47079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47080 ac_ext=c
47081 ac_cpp='$CPP $CPPFLAGS'
47082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47091 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47092 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47093 for ac_func in strtof
47094 do :
47095 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47096 if test "x$ac_cv_func_strtof" = x""yes; then :
47097 cat >>confdefs.h <<_ACEOF
47098 #define HAVE_STRTOF 1
47099 _ACEOF
47102 done
47109 CXXFLAGS="$ac_save_CXXFLAGS"
47111 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47113 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47115 # We don't yet support AIX's TLS ABI.
47116 #GCC_CHECK_TLS
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47123 $as_echo_n "checking for iconv... " >&6; }
47124 if test "${am_cv_func_iconv+set}" = set; then :
47125 $as_echo_n "(cached) " >&6
47126 else
47128 am_cv_func_iconv="no, consider installing GNU libiconv"
47129 am_cv_lib_iconv=no
47130 am_save_CPPFLAGS="$CPPFLAGS"
47131 CPPFLAGS="$CPPFLAGS $INCICONV"
47132 if test x$gcc_no_link = xyes; then
47133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47136 /* end confdefs.h. */
47137 #include <stdlib.h>
47138 #include <iconv.h>
47140 main ()
47142 iconv_t cd = iconv_open("","");
47143 iconv(cd,NULL,NULL,NULL,NULL);
47144 iconv_close(cd);
47146 return 0;
47148 _ACEOF
47149 if ac_fn_c_try_link "$LINENO"; then :
47150 am_cv_func_iconv=yes
47152 rm -f core conftest.err conftest.$ac_objext \
47153 conftest$ac_exeext conftest.$ac_ext
47154 CPPFLAGS="$am_save_CPPFLAGS"
47156 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47157 for _libs in .libs _libs; do
47158 am_save_CPPFLAGS="$CPPFLAGS"
47159 am_save_LIBS="$LIBS"
47160 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47161 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47162 if test x$gcc_no_link = xyes; then
47163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47166 /* end confdefs.h. */
47167 #include <stdlib.h>
47168 #include <iconv.h>
47170 main ()
47172 iconv_t cd = iconv_open("","");
47173 iconv(cd,NULL,NULL,NULL,NULL);
47174 iconv_close(cd);
47176 return 0;
47178 _ACEOF
47179 if ac_fn_c_try_link "$LINENO"; then :
47180 INCICONV="-I../libiconv/include"
47181 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47182 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47183 am_cv_lib_iconv=yes
47184 am_cv_func_iconv=yes
47186 rm -f core conftest.err conftest.$ac_objext \
47187 conftest$ac_exeext conftest.$ac_ext
47188 CPPFLAGS="$am_save_CPPFLAGS"
47189 LIBS="$am_save_LIBS"
47190 if test "$am_cv_func_iconv" = "yes"; then
47191 break
47193 done
47196 if test "$am_cv_func_iconv" != yes; then
47197 am_save_CPPFLAGS="$CPPFLAGS"
47198 am_save_LIBS="$LIBS"
47199 CPPFLAGS="$LIBS $INCICONV"
47200 LIBS="$LIBS $LIBICONV"
47201 if test x$gcc_no_link = xyes; then
47202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47205 /* end confdefs.h. */
47206 #include <stdlib.h>
47207 #include <iconv.h>
47209 main ()
47211 iconv_t cd = iconv_open("","");
47212 iconv(cd,NULL,NULL,NULL,NULL);
47213 iconv_close(cd);
47215 return 0;
47217 _ACEOF
47218 if ac_fn_c_try_link "$LINENO"; then :
47219 am_cv_lib_iconv=yes
47220 am_cv_func_iconv=yes
47222 rm -f core conftest.err conftest.$ac_objext \
47223 conftest$ac_exeext conftest.$ac_ext
47224 CPPFLAGS="$am_save_CPPFLAGS"
47225 LIBS="$am_save_LIBS"
47229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47230 $as_echo "$am_cv_func_iconv" >&6; }
47231 if test "$am_cv_func_iconv" = yes; then
47233 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47236 if test "$am_cv_lib_iconv" = yes; then
47238 for element in $INCICONV; do
47239 haveit=
47240 for x in $CPPFLAGS; do
47242 acl_save_prefix="$prefix"
47243 prefix="$acl_final_prefix"
47244 acl_save_exec_prefix="$exec_prefix"
47245 exec_prefix="$acl_final_exec_prefix"
47246 eval x=\"$x\"
47247 exec_prefix="$acl_save_exec_prefix"
47248 prefix="$acl_save_prefix"
47250 if test "X$x" = "X$element"; then
47251 haveit=yes
47252 break
47254 done
47255 if test -z "$haveit"; then
47256 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47258 done
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47261 $as_echo_n "checking how to link with libiconv... " >&6; }
47262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47263 $as_echo "$LIBICONV" >&6; }
47264 else
47265 LIBICONV=
47266 LTLIBICONV=
47271 if test "$am_cv_func_iconv" = yes; then
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47273 $as_echo_n "checking for iconv declaration... " >&6; }
47274 if test "${am_cv_proto_iconv+set}" = set; then :
47275 $as_echo_n "(cached) " >&6
47276 else
47278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47279 /* end confdefs.h. */
47281 #include <stdlib.h>
47282 #include <iconv.h>
47283 extern
47284 #ifdef __cplusplus
47286 #endif
47287 #if defined(__STDC__) || defined(__cplusplus)
47288 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47289 #else
47290 size_t iconv();
47291 #endif
47294 main ()
47298 return 0;
47300 _ACEOF
47301 if ac_fn_c_try_compile "$LINENO"; then :
47302 am_cv_proto_iconv_arg1=""
47303 else
47304 am_cv_proto_iconv_arg1="const"
47306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47307 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);"
47310 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47312 }$am_cv_proto_iconv" >&5
47313 $as_echo "${ac_t:-
47314 }$am_cv_proto_iconv" >&6; }
47316 cat >>confdefs.h <<_ACEOF
47317 #define ICONV_CONST $am_cv_proto_iconv_arg1
47318 _ACEOF
47324 *-darwin*)
47325 # Darwin versions vary, but the linker should work in a cross environment,
47326 # so we just check for all the features here.
47327 # Check for available headers.
47329 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47331 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47332 ac_save_CXXFLAGS="$CXXFLAGS"
47333 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47336 $as_echo_n "checking for sin in -lm... " >&6; }
47337 if test "${ac_cv_lib_m_sin+set}" = set; then :
47338 $as_echo_n "(cached) " >&6
47339 else
47340 ac_check_lib_save_LIBS=$LIBS
47341 LIBS="-lm $LIBS"
47342 if test x$gcc_no_link = xyes; then
47343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47346 /* end confdefs.h. */
47348 /* Override any GCC internal prototype to avoid an error.
47349 Use char because int might match the return type of a GCC
47350 builtin and then its argument prototype would still apply. */
47351 #ifdef __cplusplus
47352 extern "C"
47353 #endif
47354 char sin ();
47356 main ()
47358 return sin ();
47360 return 0;
47362 _ACEOF
47363 if ac_fn_c_try_link "$LINENO"; then :
47364 ac_cv_lib_m_sin=yes
47365 else
47366 ac_cv_lib_m_sin=no
47368 rm -f core conftest.err conftest.$ac_objext \
47369 conftest$ac_exeext conftest.$ac_ext
47370 LIBS=$ac_check_lib_save_LIBS
47372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47373 $as_echo "$ac_cv_lib_m_sin" >&6; }
47374 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47375 libm="-lm"
47378 ac_save_LIBS="$LIBS"
47379 LIBS="$LIBS $libm"
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47384 $as_echo_n "checking for isinf declaration... " >&6; }
47385 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47386 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47387 $as_echo_n "(cached) " >&6
47388 else
47391 ac_ext=cpp
47392 ac_cpp='$CXXCPP $CPPFLAGS'
47393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47398 /* end confdefs.h. */
47399 #include <math.h>
47400 #ifdef HAVE_IEEEFP_H
47401 #include <ieeefp.h>
47402 #endif
47405 main ()
47407 isinf(0);
47409 return 0;
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func_isinf_use=yes
47414 else
47415 glibcxx_cv_func_isinf_use=no
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47429 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47431 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47432 for ac_func in isinf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47435 if test "x$ac_cv_func_isinf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE_ISINF 1
47438 _ACEOF
47441 done
47443 else
47445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47446 $as_echo_n "checking for _isinf declaration... " >&6; }
47447 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47448 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47449 $as_echo_n "(cached) " >&6
47450 else
47453 ac_ext=cpp
47454 ac_cpp='$CXXCPP $CPPFLAGS'
47455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47460 /* end confdefs.h. */
47461 #include <math.h>
47462 #ifdef HAVE_IEEEFP_H
47463 #include <ieeefp.h>
47464 #endif
47467 main ()
47469 _isinf(0);
47471 return 0;
47473 _ACEOF
47474 if ac_fn_cxx_try_compile "$LINENO"; then :
47475 glibcxx_cv_func__isinf_use=yes
47476 else
47477 glibcxx_cv_func__isinf_use=no
47479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47480 ac_ext=c
47481 ac_cpp='$CPP $CPPFLAGS'
47482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47491 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47493 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47494 for ac_func in _isinf
47495 do :
47496 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47497 if test "x$ac_cv_func__isinf" = x""yes; then :
47498 cat >>confdefs.h <<_ACEOF
47499 #define HAVE__ISINF 1
47500 _ACEOF
47503 done
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47513 $as_echo_n "checking for isnan declaration... " >&6; }
47514 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47515 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47516 $as_echo_n "(cached) " >&6
47517 else
47520 ac_ext=cpp
47521 ac_cpp='$CXXCPP $CPPFLAGS'
47522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527 /* end confdefs.h. */
47528 #include <math.h>
47529 #ifdef HAVE_IEEEFP_H
47530 #include <ieeefp.h>
47531 #endif
47534 main ()
47536 isnan(0);
47538 return 0;
47540 _ACEOF
47541 if ac_fn_cxx_try_compile "$LINENO"; then :
47542 glibcxx_cv_func_isnan_use=yes
47543 else
47544 glibcxx_cv_func_isnan_use=no
47546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47547 ac_ext=c
47548 ac_cpp='$CPP $CPPFLAGS'
47549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47558 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47560 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47561 for ac_func in isnan
47562 do :
47563 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47564 if test "x$ac_cv_func_isnan" = x""yes; then :
47565 cat >>confdefs.h <<_ACEOF
47566 #define HAVE_ISNAN 1
47567 _ACEOF
47570 done
47572 else
47574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47575 $as_echo_n "checking for _isnan declaration... " >&6; }
47576 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47577 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47578 $as_echo_n "(cached) " >&6
47579 else
47582 ac_ext=cpp
47583 ac_cpp='$CXXCPP $CPPFLAGS'
47584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47589 /* end confdefs.h. */
47590 #include <math.h>
47591 #ifdef HAVE_IEEEFP_H
47592 #include <ieeefp.h>
47593 #endif
47596 main ()
47598 _isnan(0);
47600 return 0;
47602 _ACEOF
47603 if ac_fn_cxx_try_compile "$LINENO"; then :
47604 glibcxx_cv_func__isnan_use=yes
47605 else
47606 glibcxx_cv_func__isnan_use=no
47608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47609 ac_ext=c
47610 ac_cpp='$CPP $CPPFLAGS'
47611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47620 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47622 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47623 for ac_func in _isnan
47624 do :
47625 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47626 if test "x$ac_cv_func__isnan" = x""yes; then :
47627 cat >>confdefs.h <<_ACEOF
47628 #define HAVE__ISNAN 1
47629 _ACEOF
47632 done
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47642 $as_echo_n "checking for finite declaration... " >&6; }
47643 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47644 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47658 #ifdef HAVE_IEEEFP_H
47659 #include <ieeefp.h>
47660 #endif
47663 main ()
47665 finite(0);
47667 return 0;
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func_finite_use=yes
47672 else
47673 glibcxx_cv_func_finite_use=no
47675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_ext=c
47677 ac_cpp='$CPP $CPPFLAGS'
47678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47687 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47689 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47690 for ac_func in finite
47691 do :
47692 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47693 if test "x$ac_cv_func_finite" = x""yes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE_FINITE 1
47696 _ACEOF
47699 done
47701 else
47703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47704 $as_echo_n "checking for _finite declaration... " >&6; }
47705 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47706 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47707 $as_echo_n "(cached) " >&6
47708 else
47711 ac_ext=cpp
47712 ac_cpp='$CXXCPP $CPPFLAGS'
47713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47718 /* end confdefs.h. */
47719 #include <math.h>
47720 #ifdef HAVE_IEEEFP_H
47721 #include <ieeefp.h>
47722 #endif
47725 main ()
47727 _finite(0);
47729 return 0;
47731 _ACEOF
47732 if ac_fn_cxx_try_compile "$LINENO"; then :
47733 glibcxx_cv_func__finite_use=yes
47734 else
47735 glibcxx_cv_func__finite_use=no
47737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47738 ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47749 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47751 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47752 for ac_func in _finite
47753 do :
47754 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47755 if test "x$ac_cv_func__finite" = x""yes; then :
47756 cat >>confdefs.h <<_ACEOF
47757 #define HAVE__FINITE 1
47758 _ACEOF
47761 done
47770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47771 $as_echo_n "checking for sincos declaration... " >&6; }
47772 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47773 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47774 $as_echo_n "(cached) " >&6
47775 else
47778 ac_ext=cpp
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h. */
47786 #include <math.h>
47788 main ()
47790 sincos(0, 0, 0);
47792 return 0;
47794 _ACEOF
47795 if ac_fn_cxx_try_compile "$LINENO"; then :
47796 glibcxx_cv_func_sincos_use=yes
47797 else
47798 glibcxx_cv_func_sincos_use=no
47800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47801 ac_ext=c
47802 ac_cpp='$CPP $CPPFLAGS'
47803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47812 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47814 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47815 for ac_func in sincos
47816 do :
47817 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47818 if test "x$ac_cv_func_sincos" = x""yes; then :
47819 cat >>confdefs.h <<_ACEOF
47820 #define HAVE_SINCOS 1
47821 _ACEOF
47824 done
47826 else
47828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47829 $as_echo_n "checking for _sincos declaration... " >&6; }
47830 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47831 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47832 $as_echo_n "(cached) " >&6
47833 else
47836 ac_ext=cpp
47837 ac_cpp='$CXXCPP $CPPFLAGS'
47838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47843 /* end confdefs.h. */
47844 #include <math.h>
47846 main ()
47848 _sincos(0, 0, 0);
47850 return 0;
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 glibcxx_cv_func__sincos_use=yes
47855 else
47856 glibcxx_cv_func__sincos_use=no
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47870 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47872 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47873 for ac_func in _sincos
47874 do :
47875 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47876 if test "x$ac_cv_func__sincos" = x""yes; then :
47877 cat >>confdefs.h <<_ACEOF
47878 #define HAVE__SINCOS 1
47879 _ACEOF
47882 done
47891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47892 $as_echo_n "checking for fpclass declaration... " >&6; }
47893 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47894 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47895 $as_echo_n "(cached) " >&6
47896 else
47899 ac_ext=cpp
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h. */
47907 #include <math.h>
47908 #ifdef HAVE_IEEEFP_H
47909 #include <ieeefp.h>
47910 #endif
47913 main ()
47915 fpclass(0);
47917 return 0;
47919 _ACEOF
47920 if ac_fn_cxx_try_compile "$LINENO"; then :
47921 glibcxx_cv_func_fpclass_use=yes
47922 else
47923 glibcxx_cv_func_fpclass_use=no
47925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47926 ac_ext=c
47927 ac_cpp='$CPP $CPPFLAGS'
47928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47937 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47939 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47940 for ac_func in fpclass
47941 do :
47942 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47943 if test "x$ac_cv_func_fpclass" = x""yes; then :
47944 cat >>confdefs.h <<_ACEOF
47945 #define HAVE_FPCLASS 1
47946 _ACEOF
47949 done
47951 else
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47954 $as_echo_n "checking for _fpclass declaration... " >&6; }
47955 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47956 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47957 $as_echo_n "(cached) " >&6
47958 else
47961 ac_ext=cpp
47962 ac_cpp='$CXXCPP $CPPFLAGS'
47963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47968 /* end confdefs.h. */
47969 #include <math.h>
47970 #ifdef HAVE_IEEEFP_H
47971 #include <ieeefp.h>
47972 #endif
47975 main ()
47977 _fpclass(0);
47979 return 0;
47981 _ACEOF
47982 if ac_fn_cxx_try_compile "$LINENO"; then :
47983 glibcxx_cv_func__fpclass_use=yes
47984 else
47985 glibcxx_cv_func__fpclass_use=no
47987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47988 ac_ext=c
47989 ac_cpp='$CPP $CPPFLAGS'
47990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47999 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48001 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48002 for ac_func in _fpclass
48003 do :
48004 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48005 if test "x$ac_cv_func__fpclass" = x""yes; then :
48006 cat >>confdefs.h <<_ACEOF
48007 #define HAVE__FPCLASS 1
48008 _ACEOF
48011 done
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48021 $as_echo_n "checking for qfpclass declaration... " >&6; }
48022 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48023 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48024 $as_echo_n "(cached) " >&6
48025 else
48028 ac_ext=cpp
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48035 /* end confdefs.h. */
48036 #include <math.h>
48037 #ifdef HAVE_IEEEFP_H
48038 #include <ieeefp.h>
48039 #endif
48042 main ()
48044 qfpclass(0);
48046 return 0;
48048 _ACEOF
48049 if ac_fn_cxx_try_compile "$LINENO"; then :
48050 glibcxx_cv_func_qfpclass_use=yes
48051 else
48052 glibcxx_cv_func_qfpclass_use=no
48054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48055 ac_ext=c
48056 ac_cpp='$CPP $CPPFLAGS'
48057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48066 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48068 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48069 for ac_func in qfpclass
48070 do :
48071 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48072 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48073 cat >>confdefs.h <<_ACEOF
48074 #define HAVE_QFPCLASS 1
48075 _ACEOF
48078 done
48080 else
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48083 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48084 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48085 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48086 $as_echo_n "(cached) " >&6
48087 else
48090 ac_ext=cpp
48091 ac_cpp='$CXXCPP $CPPFLAGS'
48092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48097 /* end confdefs.h. */
48098 #include <math.h>
48099 #ifdef HAVE_IEEEFP_H
48100 #include <ieeefp.h>
48101 #endif
48104 main ()
48106 _qfpclass(0);
48108 return 0;
48110 _ACEOF
48111 if ac_fn_cxx_try_compile "$LINENO"; then :
48112 glibcxx_cv_func__qfpclass_use=yes
48113 else
48114 glibcxx_cv_func__qfpclass_use=no
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117 ac_ext=c
48118 ac_cpp='$CPP $CPPFLAGS'
48119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48128 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48130 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48131 for ac_func in _qfpclass
48132 do :
48133 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48134 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48135 cat >>confdefs.h <<_ACEOF
48136 #define HAVE__QFPCLASS 1
48137 _ACEOF
48140 done
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48150 $as_echo_n "checking for hypot declaration... " >&6; }
48151 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48152 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48153 $as_echo_n "(cached) " >&6
48154 else
48157 ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h. */
48165 #include <math.h>
48167 main ()
48169 hypot(0, 0);
48171 return 0;
48173 _ACEOF
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175 glibcxx_cv_func_hypot_use=yes
48176 else
48177 glibcxx_cv_func_hypot_use=no
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48180 ac_ext=c
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48191 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48193 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48194 for ac_func in hypot
48195 do :
48196 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48197 if test "x$ac_cv_func_hypot" = x""yes; then :
48198 cat >>confdefs.h <<_ACEOF
48199 #define HAVE_HYPOT 1
48200 _ACEOF
48203 done
48205 else
48207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48208 $as_echo_n "checking for _hypot declaration... " >&6; }
48209 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48210 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48211 $as_echo_n "(cached) " >&6
48212 else
48215 ac_ext=cpp
48216 ac_cpp='$CXXCPP $CPPFLAGS'
48217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48222 /* end confdefs.h. */
48223 #include <math.h>
48225 main ()
48227 _hypot(0, 0);
48229 return 0;
48231 _ACEOF
48232 if ac_fn_cxx_try_compile "$LINENO"; then :
48233 glibcxx_cv_func__hypot_use=yes
48234 else
48235 glibcxx_cv_func__hypot_use=no
48237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48238 ac_ext=c
48239 ac_cpp='$CPP $CPPFLAGS'
48240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48249 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48251 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48252 for ac_func in _hypot
48253 do :
48254 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48255 if test "x$ac_cv_func__hypot" = x""yes; then :
48256 cat >>confdefs.h <<_ACEOF
48257 #define HAVE__HYPOT 1
48258 _ACEOF
48261 done
48270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48271 $as_echo_n "checking for float trig functions... " >&6; }
48272 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48273 $as_echo_n "(cached) " >&6
48274 else
48277 ac_ext=cpp
48278 ac_cpp='$CXXCPP $CPPFLAGS'
48279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48284 /* end confdefs.h. */
48285 #include <math.h>
48287 main ()
48289 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48291 return 0;
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295 glibcxx_cv_func_float_trig_use=yes
48296 else
48297 glibcxx_cv_func_float_trig_use=no
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300 ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48309 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48310 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48311 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48312 do :
48313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48315 eval as_val=\$$as_ac_var
48316 if test "x$as_val" = x""yes; then :
48317 cat >>confdefs.h <<_ACEOF
48318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48319 _ACEOF
48322 done
48324 else
48325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48326 $as_echo_n "checking for _float trig functions... " >&6; }
48327 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48328 $as_echo_n "(cached) " >&6
48329 else
48332 ac_ext=cpp
48333 ac_cpp='$CXXCPP $CPPFLAGS'
48334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48339 /* end confdefs.h. */
48340 #include <math.h>
48342 main ()
48344 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48346 return 0;
48348 _ACEOF
48349 if ac_fn_cxx_try_compile "$LINENO"; then :
48350 glibcxx_cv_func__float_trig_use=yes
48351 else
48352 glibcxx_cv_func__float_trig_use=no
48354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48355 ac_ext=c
48356 ac_cpp='$CPP $CPPFLAGS'
48357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48364 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48365 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48366 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48367 do :
48368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48370 eval as_val=\$$as_ac_var
48371 if test "x$as_val" = x""yes; then :
48372 cat >>confdefs.h <<_ACEOF
48373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48374 _ACEOF
48377 done
48386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48387 $as_echo_n "checking for float round functions... " >&6; }
48388 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48389 $as_echo_n "(cached) " >&6
48390 else
48393 ac_ext=cpp
48394 ac_cpp='$CXXCPP $CPPFLAGS'
48395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48400 /* end confdefs.h. */
48401 #include <math.h>
48403 main ()
48405 ceilf (0); floorf (0);
48407 return 0;
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func_float_round_use=yes
48412 else
48413 glibcxx_cv_func_float_round_use=no
48415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48416 ac_ext=c
48417 ac_cpp='$CPP $CPPFLAGS'
48418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48425 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48426 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48427 for ac_func in ceilf floorf
48428 do :
48429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48431 eval as_val=\$$as_ac_var
48432 if test "x$as_val" = x""yes; then :
48433 cat >>confdefs.h <<_ACEOF
48434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48435 _ACEOF
48438 done
48440 else
48441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48442 $as_echo_n "checking for _float round functions... " >&6; }
48443 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48444 $as_echo_n "(cached) " >&6
48445 else
48448 ac_ext=cpp
48449 ac_cpp='$CXXCPP $CPPFLAGS'
48450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48455 /* end confdefs.h. */
48456 #include <math.h>
48458 main ()
48460 _ceilf (0); _floorf (0);
48462 return 0;
48464 _ACEOF
48465 if ac_fn_cxx_try_compile "$LINENO"; then :
48466 glibcxx_cv_func__float_round_use=yes
48467 else
48468 glibcxx_cv_func__float_round_use=no
48470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48471 ac_ext=c
48472 ac_cpp='$CPP $CPPFLAGS'
48473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48480 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48481 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48482 for ac_func in _ceilf _floorf
48483 do :
48484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48486 eval as_val=\$$as_ac_var
48487 if test "x$as_val" = x""yes; then :
48488 cat >>confdefs.h <<_ACEOF
48489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48490 _ACEOF
48493 done
48503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48504 $as_echo_n "checking for expf declaration... " >&6; }
48505 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48506 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48507 $as_echo_n "(cached) " >&6
48508 else
48511 ac_ext=cpp
48512 ac_cpp='$CXXCPP $CPPFLAGS'
48513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48518 /* end confdefs.h. */
48519 #include <math.h>
48520 #ifdef HAVE_IEEEFP_H
48521 #include <ieeefp.h>
48522 #endif
48525 main ()
48527 expf(0);
48529 return 0;
48531 _ACEOF
48532 if ac_fn_cxx_try_compile "$LINENO"; then :
48533 glibcxx_cv_func_expf_use=yes
48534 else
48535 glibcxx_cv_func_expf_use=no
48537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48538 ac_ext=c
48539 ac_cpp='$CPP $CPPFLAGS'
48540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48549 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48551 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48552 for ac_func in expf
48553 do :
48554 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48555 if test "x$ac_cv_func_expf" = x""yes; then :
48556 cat >>confdefs.h <<_ACEOF
48557 #define HAVE_EXPF 1
48558 _ACEOF
48561 done
48563 else
48565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48566 $as_echo_n "checking for _expf declaration... " >&6; }
48567 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48568 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48569 $as_echo_n "(cached) " >&6
48570 else
48573 ac_ext=cpp
48574 ac_cpp='$CXXCPP $CPPFLAGS'
48575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48580 /* end confdefs.h. */
48581 #include <math.h>
48582 #ifdef HAVE_IEEEFP_H
48583 #include <ieeefp.h>
48584 #endif
48587 main ()
48589 _expf(0);
48591 return 0;
48593 _ACEOF
48594 if ac_fn_cxx_try_compile "$LINENO"; then :
48595 glibcxx_cv_func__expf_use=yes
48596 else
48597 glibcxx_cv_func__expf_use=no
48599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48600 ac_ext=c
48601 ac_cpp='$CPP $CPPFLAGS'
48602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48611 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48613 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48614 for ac_func in _expf
48615 do :
48616 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48617 if test "x$ac_cv_func__expf" = x""yes; then :
48618 cat >>confdefs.h <<_ACEOF
48619 #define HAVE__EXPF 1
48620 _ACEOF
48623 done
48632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48633 $as_echo_n "checking for isnanf declaration... " >&6; }
48634 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48635 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48636 $as_echo_n "(cached) " >&6
48637 else
48640 ac_ext=cpp
48641 ac_cpp='$CXXCPP $CPPFLAGS'
48642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48647 /* end confdefs.h. */
48648 #include <math.h>
48649 #ifdef HAVE_IEEEFP_H
48650 #include <ieeefp.h>
48651 #endif
48654 main ()
48656 isnanf(0);
48658 return 0;
48660 _ACEOF
48661 if ac_fn_cxx_try_compile "$LINENO"; then :
48662 glibcxx_cv_func_isnanf_use=yes
48663 else
48664 glibcxx_cv_func_isnanf_use=no
48666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48667 ac_ext=c
48668 ac_cpp='$CPP $CPPFLAGS'
48669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48678 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48680 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48681 for ac_func in isnanf
48682 do :
48683 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48684 if test "x$ac_cv_func_isnanf" = x""yes; then :
48685 cat >>confdefs.h <<_ACEOF
48686 #define HAVE_ISNANF 1
48687 _ACEOF
48690 done
48692 else
48694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48695 $as_echo_n "checking for _isnanf declaration... " >&6; }
48696 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48697 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48698 $as_echo_n "(cached) " >&6
48699 else
48702 ac_ext=cpp
48703 ac_cpp='$CXXCPP $CPPFLAGS'
48704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48709 /* end confdefs.h. */
48710 #include <math.h>
48711 #ifdef HAVE_IEEEFP_H
48712 #include <ieeefp.h>
48713 #endif
48716 main ()
48718 _isnanf(0);
48720 return 0;
48722 _ACEOF
48723 if ac_fn_cxx_try_compile "$LINENO"; then :
48724 glibcxx_cv_func__isnanf_use=yes
48725 else
48726 glibcxx_cv_func__isnanf_use=no
48728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48729 ac_ext=c
48730 ac_cpp='$CPP $CPPFLAGS'
48731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48740 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48742 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48743 for ac_func in _isnanf
48744 do :
48745 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48746 if test "x$ac_cv_func__isnanf" = x""yes; then :
48747 cat >>confdefs.h <<_ACEOF
48748 #define HAVE__ISNANF 1
48749 _ACEOF
48752 done
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48762 $as_echo_n "checking for isinff declaration... " >&6; }
48763 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48764 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48765 $as_echo_n "(cached) " >&6
48766 else
48769 ac_ext=cpp
48770 ac_cpp='$CXXCPP $CPPFLAGS'
48771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48776 /* end confdefs.h. */
48777 #include <math.h>
48778 #ifdef HAVE_IEEEFP_H
48779 #include <ieeefp.h>
48780 #endif
48783 main ()
48785 isinff(0);
48787 return 0;
48789 _ACEOF
48790 if ac_fn_cxx_try_compile "$LINENO"; then :
48791 glibcxx_cv_func_isinff_use=yes
48792 else
48793 glibcxx_cv_func_isinff_use=no
48795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48796 ac_ext=c
48797 ac_cpp='$CPP $CPPFLAGS'
48798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48807 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48809 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48810 for ac_func in isinff
48811 do :
48812 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48813 if test "x$ac_cv_func_isinff" = x""yes; then :
48814 cat >>confdefs.h <<_ACEOF
48815 #define HAVE_ISINFF 1
48816 _ACEOF
48819 done
48821 else
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48824 $as_echo_n "checking for _isinff declaration... " >&6; }
48825 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48826 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48827 $as_echo_n "(cached) " >&6
48828 else
48831 ac_ext=cpp
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48838 /* end confdefs.h. */
48839 #include <math.h>
48840 #ifdef HAVE_IEEEFP_H
48841 #include <ieeefp.h>
48842 #endif
48845 main ()
48847 _isinff(0);
48849 return 0;
48851 _ACEOF
48852 if ac_fn_cxx_try_compile "$LINENO"; then :
48853 glibcxx_cv_func__isinff_use=yes
48854 else
48855 glibcxx_cv_func__isinff_use=no
48857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48858 ac_ext=c
48859 ac_cpp='$CPP $CPPFLAGS'
48860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48869 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48871 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48872 for ac_func in _isinff
48873 do :
48874 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48875 if test "x$ac_cv_func__isinff" = x""yes; then :
48876 cat >>confdefs.h <<_ACEOF
48877 #define HAVE__ISINFF 1
48878 _ACEOF
48881 done
48890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48891 $as_echo_n "checking for atan2f declaration... " >&6; }
48892 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48893 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48894 $as_echo_n "(cached) " >&6
48895 else
48898 ac_ext=cpp
48899 ac_cpp='$CXXCPP $CPPFLAGS'
48900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48905 /* end confdefs.h. */
48906 #include <math.h>
48908 main ()
48910 atan2f(0, 0);
48912 return 0;
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916 glibcxx_cv_func_atan2f_use=yes
48917 else
48918 glibcxx_cv_func_atan2f_use=no
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48932 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48934 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48935 for ac_func in atan2f
48936 do :
48937 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48938 if test "x$ac_cv_func_atan2f" = x""yes; then :
48939 cat >>confdefs.h <<_ACEOF
48940 #define HAVE_ATAN2F 1
48941 _ACEOF
48944 done
48946 else
48948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48949 $as_echo_n "checking for _atan2f declaration... " >&6; }
48950 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48951 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48952 $as_echo_n "(cached) " >&6
48953 else
48956 ac_ext=cpp
48957 ac_cpp='$CXXCPP $CPPFLAGS'
48958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48963 /* end confdefs.h. */
48964 #include <math.h>
48966 main ()
48968 _atan2f(0, 0);
48970 return 0;
48972 _ACEOF
48973 if ac_fn_cxx_try_compile "$LINENO"; then :
48974 glibcxx_cv_func__atan2f_use=yes
48975 else
48976 glibcxx_cv_func__atan2f_use=no
48978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48979 ac_ext=c
48980 ac_cpp='$CPP $CPPFLAGS'
48981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48990 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48992 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48993 for ac_func in _atan2f
48994 do :
48995 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48996 if test "x$ac_cv_func__atan2f" = x""yes; then :
48997 cat >>confdefs.h <<_ACEOF
48998 #define HAVE__ATAN2F 1
48999 _ACEOF
49002 done
49011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49012 $as_echo_n "checking for fabsf declaration... " >&6; }
49013 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49014 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49015 $as_echo_n "(cached) " >&6
49016 else
49019 ac_ext=cpp
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49026 /* end confdefs.h. */
49027 #include <math.h>
49028 #ifdef HAVE_IEEEFP_H
49029 #include <ieeefp.h>
49030 #endif
49033 main ()
49035 fabsf(0);
49037 return 0;
49039 _ACEOF
49040 if ac_fn_cxx_try_compile "$LINENO"; then :
49041 glibcxx_cv_func_fabsf_use=yes
49042 else
49043 glibcxx_cv_func_fabsf_use=no
49045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49046 ac_ext=c
49047 ac_cpp='$CPP $CPPFLAGS'
49048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49057 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49059 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49060 for ac_func in fabsf
49061 do :
49062 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49063 if test "x$ac_cv_func_fabsf" = x""yes; then :
49064 cat >>confdefs.h <<_ACEOF
49065 #define HAVE_FABSF 1
49066 _ACEOF
49069 done
49071 else
49073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49074 $as_echo_n "checking for _fabsf declaration... " >&6; }
49075 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49076 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49077 $as_echo_n "(cached) " >&6
49078 else
49081 ac_ext=cpp
49082 ac_cpp='$CXXCPP $CPPFLAGS'
49083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49088 /* end confdefs.h. */
49089 #include <math.h>
49090 #ifdef HAVE_IEEEFP_H
49091 #include <ieeefp.h>
49092 #endif
49095 main ()
49097 _fabsf(0);
49099 return 0;
49101 _ACEOF
49102 if ac_fn_cxx_try_compile "$LINENO"; then :
49103 glibcxx_cv_func__fabsf_use=yes
49104 else
49105 glibcxx_cv_func__fabsf_use=no
49107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49108 ac_ext=c
49109 ac_cpp='$CPP $CPPFLAGS'
49110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49119 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49121 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49122 for ac_func in _fabsf
49123 do :
49124 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49125 if test "x$ac_cv_func__fabsf" = x""yes; then :
49126 cat >>confdefs.h <<_ACEOF
49127 #define HAVE__FABSF 1
49128 _ACEOF
49131 done
49140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49141 $as_echo_n "checking for fmodf declaration... " >&6; }
49142 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49143 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49144 $as_echo_n "(cached) " >&6
49145 else
49148 ac_ext=cpp
49149 ac_cpp='$CXXCPP $CPPFLAGS'
49150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49155 /* end confdefs.h. */
49156 #include <math.h>
49158 main ()
49160 fmodf(0, 0);
49162 return 0;
49164 _ACEOF
49165 if ac_fn_cxx_try_compile "$LINENO"; then :
49166 glibcxx_cv_func_fmodf_use=yes
49167 else
49168 glibcxx_cv_func_fmodf_use=no
49170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49171 ac_ext=c
49172 ac_cpp='$CPP $CPPFLAGS'
49173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49182 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49184 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49185 for ac_func in fmodf
49186 do :
49187 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49188 if test "x$ac_cv_func_fmodf" = x""yes; then :
49189 cat >>confdefs.h <<_ACEOF
49190 #define HAVE_FMODF 1
49191 _ACEOF
49194 done
49196 else
49198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49199 $as_echo_n "checking for _fmodf declaration... " >&6; }
49200 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49201 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49202 $as_echo_n "(cached) " >&6
49203 else
49206 ac_ext=cpp
49207 ac_cpp='$CXXCPP $CPPFLAGS'
49208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49213 /* end confdefs.h. */
49214 #include <math.h>
49216 main ()
49218 _fmodf(0, 0);
49220 return 0;
49222 _ACEOF
49223 if ac_fn_cxx_try_compile "$LINENO"; then :
49224 glibcxx_cv_func__fmodf_use=yes
49225 else
49226 glibcxx_cv_func__fmodf_use=no
49228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49229 ac_ext=c
49230 ac_cpp='$CPP $CPPFLAGS'
49231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49240 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49242 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49243 for ac_func in _fmodf
49244 do :
49245 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49246 if test "x$ac_cv_func__fmodf" = x""yes; then :
49247 cat >>confdefs.h <<_ACEOF
49248 #define HAVE__FMODF 1
49249 _ACEOF
49252 done
49261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49262 $as_echo_n "checking for frexpf declaration... " >&6; }
49263 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49264 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49265 $as_echo_n "(cached) " >&6
49266 else
49269 ac_ext=cpp
49270 ac_cpp='$CXXCPP $CPPFLAGS'
49271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49276 /* end confdefs.h. */
49277 #include <math.h>
49279 main ()
49281 frexpf(0, 0);
49283 return 0;
49285 _ACEOF
49286 if ac_fn_cxx_try_compile "$LINENO"; then :
49287 glibcxx_cv_func_frexpf_use=yes
49288 else
49289 glibcxx_cv_func_frexpf_use=no
49291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49292 ac_ext=c
49293 ac_cpp='$CPP $CPPFLAGS'
49294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49303 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49305 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49306 for ac_func in frexpf
49307 do :
49308 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49309 if test "x$ac_cv_func_frexpf" = x""yes; then :
49310 cat >>confdefs.h <<_ACEOF
49311 #define HAVE_FREXPF 1
49312 _ACEOF
49315 done
49317 else
49319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49320 $as_echo_n "checking for _frexpf declaration... " >&6; }
49321 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49322 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49323 $as_echo_n "(cached) " >&6
49324 else
49327 ac_ext=cpp
49328 ac_cpp='$CXXCPP $CPPFLAGS'
49329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49334 /* end confdefs.h. */
49335 #include <math.h>
49337 main ()
49339 _frexpf(0, 0);
49341 return 0;
49343 _ACEOF
49344 if ac_fn_cxx_try_compile "$LINENO"; then :
49345 glibcxx_cv_func__frexpf_use=yes
49346 else
49347 glibcxx_cv_func__frexpf_use=no
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350 ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49361 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49363 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49364 for ac_func in _frexpf
49365 do :
49366 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49367 if test "x$ac_cv_func__frexpf" = x""yes; then :
49368 cat >>confdefs.h <<_ACEOF
49369 #define HAVE__FREXPF 1
49370 _ACEOF
49373 done
49382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49383 $as_echo_n "checking for hypotf declaration... " >&6; }
49384 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49385 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49386 $as_echo_n "(cached) " >&6
49387 else
49390 ac_ext=cpp
49391 ac_cpp='$CXXCPP $CPPFLAGS'
49392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49397 /* end confdefs.h. */
49398 #include <math.h>
49400 main ()
49402 hypotf(0, 0);
49404 return 0;
49406 _ACEOF
49407 if ac_fn_cxx_try_compile "$LINENO"; then :
49408 glibcxx_cv_func_hypotf_use=yes
49409 else
49410 glibcxx_cv_func_hypotf_use=no
49412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49413 ac_ext=c
49414 ac_cpp='$CPP $CPPFLAGS'
49415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49424 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49426 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49427 for ac_func in hypotf
49428 do :
49429 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49430 if test "x$ac_cv_func_hypotf" = x""yes; then :
49431 cat >>confdefs.h <<_ACEOF
49432 #define HAVE_HYPOTF 1
49433 _ACEOF
49436 done
49438 else
49440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49441 $as_echo_n "checking for _hypotf declaration... " >&6; }
49442 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49443 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49444 $as_echo_n "(cached) " >&6
49445 else
49448 ac_ext=cpp
49449 ac_cpp='$CXXCPP $CPPFLAGS'
49450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49455 /* end confdefs.h. */
49456 #include <math.h>
49458 main ()
49460 _hypotf(0, 0);
49462 return 0;
49464 _ACEOF
49465 if ac_fn_cxx_try_compile "$LINENO"; then :
49466 glibcxx_cv_func__hypotf_use=yes
49467 else
49468 glibcxx_cv_func__hypotf_use=no
49470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49471 ac_ext=c
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49482 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49484 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49485 for ac_func in _hypotf
49486 do :
49487 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49488 if test "x$ac_cv_func__hypotf" = x""yes; then :
49489 cat >>confdefs.h <<_ACEOF
49490 #define HAVE__HYPOTF 1
49491 _ACEOF
49494 done
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49504 $as_echo_n "checking for ldexpf declaration... " >&6; }
49505 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49506 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49507 $as_echo_n "(cached) " >&6
49508 else
49511 ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 #include <math.h>
49521 main ()
49523 ldexpf(0, 0);
49525 return 0;
49527 _ACEOF
49528 if ac_fn_cxx_try_compile "$LINENO"; then :
49529 glibcxx_cv_func_ldexpf_use=yes
49530 else
49531 glibcxx_cv_func_ldexpf_use=no
49533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49534 ac_ext=c
49535 ac_cpp='$CPP $CPPFLAGS'
49536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49545 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49547 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49548 for ac_func in ldexpf
49549 do :
49550 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49551 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49552 cat >>confdefs.h <<_ACEOF
49553 #define HAVE_LDEXPF 1
49554 _ACEOF
49557 done
49559 else
49561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49562 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49563 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49564 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49565 $as_echo_n "(cached) " >&6
49566 else
49569 ac_ext=cpp
49570 ac_cpp='$CXXCPP $CPPFLAGS'
49571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49576 /* end confdefs.h. */
49577 #include <math.h>
49579 main ()
49581 _ldexpf(0, 0);
49583 return 0;
49585 _ACEOF
49586 if ac_fn_cxx_try_compile "$LINENO"; then :
49587 glibcxx_cv_func__ldexpf_use=yes
49588 else
49589 glibcxx_cv_func__ldexpf_use=no
49591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49592 ac_ext=c
49593 ac_cpp='$CPP $CPPFLAGS'
49594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49603 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49605 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49606 for ac_func in _ldexpf
49607 do :
49608 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49609 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49610 cat >>confdefs.h <<_ACEOF
49611 #define HAVE__LDEXPF 1
49612 _ACEOF
49615 done
49624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49625 $as_echo_n "checking for logf declaration... " >&6; }
49626 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49627 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49628 $as_echo_n "(cached) " >&6
49629 else
49632 ac_ext=cpp
49633 ac_cpp='$CXXCPP $CPPFLAGS'
49634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49639 /* end confdefs.h. */
49640 #include <math.h>
49641 #ifdef HAVE_IEEEFP_H
49642 #include <ieeefp.h>
49643 #endif
49646 main ()
49648 logf(0);
49650 return 0;
49652 _ACEOF
49653 if ac_fn_cxx_try_compile "$LINENO"; then :
49654 glibcxx_cv_func_logf_use=yes
49655 else
49656 glibcxx_cv_func_logf_use=no
49658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49659 ac_ext=c
49660 ac_cpp='$CPP $CPPFLAGS'
49661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49670 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49672 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49673 for ac_func in logf
49674 do :
49675 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49676 if test "x$ac_cv_func_logf" = x""yes; then :
49677 cat >>confdefs.h <<_ACEOF
49678 #define HAVE_LOGF 1
49679 _ACEOF
49682 done
49684 else
49686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49687 $as_echo_n "checking for _logf declaration... " >&6; }
49688 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49689 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49690 $as_echo_n "(cached) " >&6
49691 else
49694 ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h. */
49702 #include <math.h>
49703 #ifdef HAVE_IEEEFP_H
49704 #include <ieeefp.h>
49705 #endif
49708 main ()
49710 _logf(0);
49712 return 0;
49714 _ACEOF
49715 if ac_fn_cxx_try_compile "$LINENO"; then :
49716 glibcxx_cv_func__logf_use=yes
49717 else
49718 glibcxx_cv_func__logf_use=no
49720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49721 ac_ext=c
49722 ac_cpp='$CPP $CPPFLAGS'
49723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49732 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49734 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49735 for ac_func in _logf
49736 do :
49737 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49738 if test "x$ac_cv_func__logf" = x""yes; then :
49739 cat >>confdefs.h <<_ACEOF
49740 #define HAVE__LOGF 1
49741 _ACEOF
49744 done
49753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49754 $as_echo_n "checking for log10f declaration... " >&6; }
49755 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49756 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49757 $as_echo_n "(cached) " >&6
49758 else
49761 ac_ext=cpp
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h. */
49769 #include <math.h>
49770 #ifdef HAVE_IEEEFP_H
49771 #include <ieeefp.h>
49772 #endif
49775 main ()
49777 log10f(0);
49779 return 0;
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func_log10f_use=yes
49784 else
49785 glibcxx_cv_func_log10f_use=no
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49799 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49801 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49802 for ac_func in log10f
49803 do :
49804 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49805 if test "x$ac_cv_func_log10f" = x""yes; then :
49806 cat >>confdefs.h <<_ACEOF
49807 #define HAVE_LOG10F 1
49808 _ACEOF
49811 done
49813 else
49815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49816 $as_echo_n "checking for _log10f declaration... " >&6; }
49817 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49818 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49819 $as_echo_n "(cached) " >&6
49820 else
49823 ac_ext=cpp
49824 ac_cpp='$CXXCPP $CPPFLAGS'
49825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49830 /* end confdefs.h. */
49831 #include <math.h>
49832 #ifdef HAVE_IEEEFP_H
49833 #include <ieeefp.h>
49834 #endif
49837 main ()
49839 _log10f(0);
49841 return 0;
49843 _ACEOF
49844 if ac_fn_cxx_try_compile "$LINENO"; then :
49845 glibcxx_cv_func__log10f_use=yes
49846 else
49847 glibcxx_cv_func__log10f_use=no
49849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49850 ac_ext=c
49851 ac_cpp='$CPP $CPPFLAGS'
49852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49861 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49863 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49864 for ac_func in _log10f
49865 do :
49866 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49867 if test "x$ac_cv_func__log10f" = x""yes; then :
49868 cat >>confdefs.h <<_ACEOF
49869 #define HAVE__LOG10F 1
49870 _ACEOF
49873 done
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49883 $as_echo_n "checking for modff declaration... " >&6; }
49884 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49885 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49886 $as_echo_n "(cached) " >&6
49887 else
49890 ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49898 #include <math.h>
49900 main ()
49902 modff(0, 0);
49904 return 0;
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func_modff_use=yes
49909 else
49910 glibcxx_cv_func_modff_use=no
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913 ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49924 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49926 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49927 for ac_func in modff
49928 do :
49929 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49930 if test "x$ac_cv_func_modff" = x""yes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE_MODFF 1
49933 _ACEOF
49936 done
49938 else
49940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49941 $as_echo_n "checking for _modff declaration... " >&6; }
49942 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49943 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49944 $as_echo_n "(cached) " >&6
49945 else
49948 ac_ext=cpp
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h. */
49956 #include <math.h>
49958 main ()
49960 _modff(0, 0);
49962 return 0;
49964 _ACEOF
49965 if ac_fn_cxx_try_compile "$LINENO"; then :
49966 glibcxx_cv_func__modff_use=yes
49967 else
49968 glibcxx_cv_func__modff_use=no
49970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49971 ac_ext=c
49972 ac_cpp='$CPP $CPPFLAGS'
49973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49982 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49984 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49985 for ac_func in _modff
49986 do :
49987 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49988 if test "x$ac_cv_func__modff" = x""yes; then :
49989 cat >>confdefs.h <<_ACEOF
49990 #define HAVE__MODFF 1
49991 _ACEOF
49994 done
50003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50004 $as_echo_n "checking for modf declaration... " >&6; }
50005 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50006 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50007 $as_echo_n "(cached) " >&6
50008 else
50011 ac_ext=cpp
50012 ac_cpp='$CXXCPP $CPPFLAGS'
50013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50018 /* end confdefs.h. */
50019 #include <math.h>
50021 main ()
50023 modf(0, 0);
50025 return 0;
50027 _ACEOF
50028 if ac_fn_cxx_try_compile "$LINENO"; then :
50029 glibcxx_cv_func_modf_use=yes
50030 else
50031 glibcxx_cv_func_modf_use=no
50033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50034 ac_ext=c
50035 ac_cpp='$CPP $CPPFLAGS'
50036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50045 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50047 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50048 for ac_func in modf
50049 do :
50050 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50051 if test "x$ac_cv_func_modf" = x""yes; then :
50052 cat >>confdefs.h <<_ACEOF
50053 #define HAVE_MODF 1
50054 _ACEOF
50057 done
50059 else
50061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50062 $as_echo_n "checking for _modf declaration... " >&6; }
50063 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50064 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50065 $as_echo_n "(cached) " >&6
50066 else
50069 ac_ext=cpp
50070 ac_cpp='$CXXCPP $CPPFLAGS'
50071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50076 /* end confdefs.h. */
50077 #include <math.h>
50079 main ()
50081 _modf(0, 0);
50083 return 0;
50085 _ACEOF
50086 if ac_fn_cxx_try_compile "$LINENO"; then :
50087 glibcxx_cv_func__modf_use=yes
50088 else
50089 glibcxx_cv_func__modf_use=no
50091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50092 ac_ext=c
50093 ac_cpp='$CPP $CPPFLAGS'
50094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50103 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50105 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50106 for ac_func in _modf
50107 do :
50108 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50109 if test "x$ac_cv_func__modf" = x""yes; then :
50110 cat >>confdefs.h <<_ACEOF
50111 #define HAVE__MODF 1
50112 _ACEOF
50115 done
50124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50125 $as_echo_n "checking for powf declaration... " >&6; }
50126 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50127 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50128 $as_echo_n "(cached) " >&6
50129 else
50132 ac_ext=cpp
50133 ac_cpp='$CXXCPP $CPPFLAGS'
50134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50139 /* end confdefs.h. */
50140 #include <math.h>
50142 main ()
50144 powf(0, 0);
50146 return 0;
50148 _ACEOF
50149 if ac_fn_cxx_try_compile "$LINENO"; then :
50150 glibcxx_cv_func_powf_use=yes
50151 else
50152 glibcxx_cv_func_powf_use=no
50154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50155 ac_ext=c
50156 ac_cpp='$CPP $CPPFLAGS'
50157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50166 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50168 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50169 for ac_func in powf
50170 do :
50171 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50172 if test "x$ac_cv_func_powf" = x""yes; then :
50173 cat >>confdefs.h <<_ACEOF
50174 #define HAVE_POWF 1
50175 _ACEOF
50178 done
50180 else
50182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50183 $as_echo_n "checking for _powf declaration... " >&6; }
50184 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50185 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50186 $as_echo_n "(cached) " >&6
50187 else
50190 ac_ext=cpp
50191 ac_cpp='$CXXCPP $CPPFLAGS'
50192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50197 /* end confdefs.h. */
50198 #include <math.h>
50200 main ()
50202 _powf(0, 0);
50204 return 0;
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func__powf_use=yes
50209 else
50210 glibcxx_cv_func__powf_use=no
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50224 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50226 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50227 for ac_func in _powf
50228 do :
50229 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50230 if test "x$ac_cv_func__powf" = x""yes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE__POWF 1
50233 _ACEOF
50236 done
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50246 $as_echo_n "checking for sqrtf declaration... " >&6; }
50247 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50248 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50249 $as_echo_n "(cached) " >&6
50250 else
50253 ac_ext=cpp
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h. */
50261 #include <math.h>
50262 #ifdef HAVE_IEEEFP_H
50263 #include <ieeefp.h>
50264 #endif
50267 main ()
50269 sqrtf(0);
50271 return 0;
50273 _ACEOF
50274 if ac_fn_cxx_try_compile "$LINENO"; then :
50275 glibcxx_cv_func_sqrtf_use=yes
50276 else
50277 glibcxx_cv_func_sqrtf_use=no
50279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50280 ac_ext=c
50281 ac_cpp='$CPP $CPPFLAGS'
50282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50291 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50293 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50294 for ac_func in sqrtf
50295 do :
50296 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50297 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50298 cat >>confdefs.h <<_ACEOF
50299 #define HAVE_SQRTF 1
50300 _ACEOF
50303 done
50305 else
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50308 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50309 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50310 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50311 $as_echo_n "(cached) " >&6
50312 else
50315 ac_ext=cpp
50316 ac_cpp='$CXXCPP $CPPFLAGS'
50317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50322 /* end confdefs.h. */
50323 #include <math.h>
50324 #ifdef HAVE_IEEEFP_H
50325 #include <ieeefp.h>
50326 #endif
50329 main ()
50331 _sqrtf(0);
50333 return 0;
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func__sqrtf_use=yes
50338 else
50339 glibcxx_cv_func__sqrtf_use=no
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50353 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50355 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50356 for ac_func in _sqrtf
50357 do :
50358 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50359 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE__SQRTF 1
50362 _ACEOF
50365 done
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50375 $as_echo_n "checking for sincosf declaration... " >&6; }
50376 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50377 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50378 $as_echo_n "(cached) " >&6
50379 else
50382 ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h. */
50390 #include <math.h>
50392 main ()
50394 sincosf(0, 0, 0);
50396 return 0;
50398 _ACEOF
50399 if ac_fn_cxx_try_compile "$LINENO"; then :
50400 glibcxx_cv_func_sincosf_use=yes
50401 else
50402 glibcxx_cv_func_sincosf_use=no
50404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50405 ac_ext=c
50406 ac_cpp='$CPP $CPPFLAGS'
50407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50416 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50418 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50419 for ac_func in sincosf
50420 do :
50421 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50422 if test "x$ac_cv_func_sincosf" = x""yes; then :
50423 cat >>confdefs.h <<_ACEOF
50424 #define HAVE_SINCOSF 1
50425 _ACEOF
50428 done
50430 else
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50433 $as_echo_n "checking for _sincosf declaration... " >&6; }
50434 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50435 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50436 $as_echo_n "(cached) " >&6
50437 else
50440 ac_ext=cpp
50441 ac_cpp='$CXXCPP $CPPFLAGS'
50442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50447 /* end confdefs.h. */
50448 #include <math.h>
50450 main ()
50452 _sincosf(0, 0, 0);
50454 return 0;
50456 _ACEOF
50457 if ac_fn_cxx_try_compile "$LINENO"; then :
50458 glibcxx_cv_func__sincosf_use=yes
50459 else
50460 glibcxx_cv_func__sincosf_use=no
50462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50463 ac_ext=c
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50474 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50476 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50477 for ac_func in _sincosf
50478 do :
50479 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50480 if test "x$ac_cv_func__sincosf" = x""yes; then :
50481 cat >>confdefs.h <<_ACEOF
50482 #define HAVE__SINCOSF 1
50483 _ACEOF
50486 done
50495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50496 $as_echo_n "checking for finitef declaration... " >&6; }
50497 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50498 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50499 $as_echo_n "(cached) " >&6
50500 else
50503 ac_ext=cpp
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h. */
50511 #include <math.h>
50512 #ifdef HAVE_IEEEFP_H
50513 #include <ieeefp.h>
50514 #endif
50517 main ()
50519 finitef(0);
50521 return 0;
50523 _ACEOF
50524 if ac_fn_cxx_try_compile "$LINENO"; then :
50525 glibcxx_cv_func_finitef_use=yes
50526 else
50527 glibcxx_cv_func_finitef_use=no
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50530 ac_ext=c
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50541 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50543 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50544 for ac_func in finitef
50545 do :
50546 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50547 if test "x$ac_cv_func_finitef" = x""yes; then :
50548 cat >>confdefs.h <<_ACEOF
50549 #define HAVE_FINITEF 1
50550 _ACEOF
50553 done
50555 else
50557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50558 $as_echo_n "checking for _finitef declaration... " >&6; }
50559 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50560 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50561 $as_echo_n "(cached) " >&6
50562 else
50565 ac_ext=cpp
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50572 /* end confdefs.h. */
50573 #include <math.h>
50574 #ifdef HAVE_IEEEFP_H
50575 #include <ieeefp.h>
50576 #endif
50579 main ()
50581 _finitef(0);
50583 return 0;
50585 _ACEOF
50586 if ac_fn_cxx_try_compile "$LINENO"; then :
50587 glibcxx_cv_func__finitef_use=yes
50588 else
50589 glibcxx_cv_func__finitef_use=no
50591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50592 ac_ext=c
50593 ac_cpp='$CPP $CPPFLAGS'
50594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50603 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50605 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50606 for ac_func in _finitef
50607 do :
50608 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50609 if test "x$ac_cv_func__finitef" = x""yes; then :
50610 cat >>confdefs.h <<_ACEOF
50611 #define HAVE__FINITEF 1
50612 _ACEOF
50615 done
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50625 $as_echo_n "checking for long double trig functions... " >&6; }
50626 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50627 $as_echo_n "(cached) " >&6
50628 else
50631 ac_ext=cpp
50632 ac_cpp='$CXXCPP $CPPFLAGS'
50633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50638 /* end confdefs.h. */
50639 #include <math.h>
50641 main ()
50643 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50645 return 0;
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649 glibcxx_cv_func_long_double_trig_use=yes
50650 else
50651 glibcxx_cv_func_long_double_trig_use=no
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50663 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50664 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50665 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50666 do :
50667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50669 eval as_val=\$$as_ac_var
50670 if test "x$as_val" = x""yes; then :
50671 cat >>confdefs.h <<_ACEOF
50672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50673 _ACEOF
50676 done
50678 else
50679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50680 $as_echo_n "checking for _long double trig functions... " >&6; }
50681 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50682 $as_echo_n "(cached) " >&6
50683 else
50686 ac_ext=cpp
50687 ac_cpp='$CXXCPP $CPPFLAGS'
50688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50693 /* end confdefs.h. */
50694 #include <math.h>
50696 main ()
50698 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50700 return 0;
50702 _ACEOF
50703 if ac_fn_cxx_try_compile "$LINENO"; then :
50704 glibcxx_cv_func__long_double_trig_use=yes
50705 else
50706 glibcxx_cv_func__long_double_trig_use=no
50708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50709 ac_ext=c
50710 ac_cpp='$CPP $CPPFLAGS'
50711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50718 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50719 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50720 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50721 do :
50722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50724 eval as_val=\$$as_ac_var
50725 if test "x$as_val" = x""yes; then :
50726 cat >>confdefs.h <<_ACEOF
50727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50728 _ACEOF
50731 done
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50741 $as_echo_n "checking for long double round functions... " >&6; }
50742 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50743 $as_echo_n "(cached) " >&6
50744 else
50747 ac_ext=cpp
50748 ac_cpp='$CXXCPP $CPPFLAGS'
50749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50754 /* end confdefs.h. */
50755 #include <math.h>
50757 main ()
50759 ceill (0); floorl (0);
50761 return 0;
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func_long_double_round_use=yes
50766 else
50767 glibcxx_cv_func_long_double_round_use=no
50769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50779 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50780 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50781 for ac_func in ceill floorl
50782 do :
50783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50785 eval as_val=\$$as_ac_var
50786 if test "x$as_val" = x""yes; then :
50787 cat >>confdefs.h <<_ACEOF
50788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50789 _ACEOF
50792 done
50794 else
50795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50796 $as_echo_n "checking for _long double round functions... " >&6; }
50797 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50798 $as_echo_n "(cached) " >&6
50799 else
50802 ac_ext=cpp
50803 ac_cpp='$CXXCPP $CPPFLAGS'
50804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50809 /* end confdefs.h. */
50810 #include <math.h>
50812 main ()
50814 _ceill (0); _floorl (0);
50816 return 0;
50818 _ACEOF
50819 if ac_fn_cxx_try_compile "$LINENO"; then :
50820 glibcxx_cv_func__long_double_round_use=yes
50821 else
50822 glibcxx_cv_func__long_double_round_use=no
50824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50825 ac_ext=c
50826 ac_cpp='$CPP $CPPFLAGS'
50827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50834 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50835 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50836 for ac_func in _ceill _floorl
50837 do :
50838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50840 eval as_val=\$$as_ac_var
50841 if test "x$as_val" = x""yes; then :
50842 cat >>confdefs.h <<_ACEOF
50843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50844 _ACEOF
50847 done
50857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50858 $as_echo_n "checking for isnanl declaration... " >&6; }
50859 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50860 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50861 $as_echo_n "(cached) " >&6
50862 else
50865 ac_ext=cpp
50866 ac_cpp='$CXXCPP $CPPFLAGS'
50867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50872 /* end confdefs.h. */
50873 #include <math.h>
50874 #ifdef HAVE_IEEEFP_H
50875 #include <ieeefp.h>
50876 #endif
50879 main ()
50881 isnanl(0);
50883 return 0;
50885 _ACEOF
50886 if ac_fn_cxx_try_compile "$LINENO"; then :
50887 glibcxx_cv_func_isnanl_use=yes
50888 else
50889 glibcxx_cv_func_isnanl_use=no
50891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50892 ac_ext=c
50893 ac_cpp='$CPP $CPPFLAGS'
50894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50903 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50905 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50906 for ac_func in isnanl
50907 do :
50908 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50909 if test "x$ac_cv_func_isnanl" = x""yes; then :
50910 cat >>confdefs.h <<_ACEOF
50911 #define HAVE_ISNANL 1
50912 _ACEOF
50915 done
50917 else
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50920 $as_echo_n "checking for _isnanl declaration... " >&6; }
50921 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50922 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50923 $as_echo_n "(cached) " >&6
50924 else
50927 ac_ext=cpp
50928 ac_cpp='$CXXCPP $CPPFLAGS'
50929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50934 /* end confdefs.h. */
50935 #include <math.h>
50936 #ifdef HAVE_IEEEFP_H
50937 #include <ieeefp.h>
50938 #endif
50941 main ()
50943 _isnanl(0);
50945 return 0;
50947 _ACEOF
50948 if ac_fn_cxx_try_compile "$LINENO"; then :
50949 glibcxx_cv_func__isnanl_use=yes
50950 else
50951 glibcxx_cv_func__isnanl_use=no
50953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50954 ac_ext=c
50955 ac_cpp='$CPP $CPPFLAGS'
50956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50965 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50967 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50968 for ac_func in _isnanl
50969 do :
50970 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50971 if test "x$ac_cv_func__isnanl" = x""yes; then :
50972 cat >>confdefs.h <<_ACEOF
50973 #define HAVE__ISNANL 1
50974 _ACEOF
50977 done
50986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50987 $as_echo_n "checking for isinfl declaration... " >&6; }
50988 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50989 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50990 $as_echo_n "(cached) " >&6
50991 else
50994 ac_ext=cpp
50995 ac_cpp='$CXXCPP $CPPFLAGS'
50996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51001 /* end confdefs.h. */
51002 #include <math.h>
51003 #ifdef HAVE_IEEEFP_H
51004 #include <ieeefp.h>
51005 #endif
51008 main ()
51010 isinfl(0);
51012 return 0;
51014 _ACEOF
51015 if ac_fn_cxx_try_compile "$LINENO"; then :
51016 glibcxx_cv_func_isinfl_use=yes
51017 else
51018 glibcxx_cv_func_isinfl_use=no
51020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51021 ac_ext=c
51022 ac_cpp='$CPP $CPPFLAGS'
51023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51032 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51034 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51035 for ac_func in isinfl
51036 do :
51037 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51038 if test "x$ac_cv_func_isinfl" = x""yes; then :
51039 cat >>confdefs.h <<_ACEOF
51040 #define HAVE_ISINFL 1
51041 _ACEOF
51044 done
51046 else
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51049 $as_echo_n "checking for _isinfl declaration... " >&6; }
51050 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51051 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51052 $as_echo_n "(cached) " >&6
51053 else
51056 ac_ext=cpp
51057 ac_cpp='$CXXCPP $CPPFLAGS'
51058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51063 /* end confdefs.h. */
51064 #include <math.h>
51065 #ifdef HAVE_IEEEFP_H
51066 #include <ieeefp.h>
51067 #endif
51070 main ()
51072 _isinfl(0);
51074 return 0;
51076 _ACEOF
51077 if ac_fn_cxx_try_compile "$LINENO"; then :
51078 glibcxx_cv_func__isinfl_use=yes
51079 else
51080 glibcxx_cv_func__isinfl_use=no
51082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51083 ac_ext=c
51084 ac_cpp='$CPP $CPPFLAGS'
51085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51094 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51096 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51097 for ac_func in _isinfl
51098 do :
51099 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51100 if test "x$ac_cv_func__isinfl" = x""yes; then :
51101 cat >>confdefs.h <<_ACEOF
51102 #define HAVE__ISINFL 1
51103 _ACEOF
51106 done
51115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51116 $as_echo_n "checking for atan2l declaration... " >&6; }
51117 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51118 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51119 $as_echo_n "(cached) " >&6
51120 else
51123 ac_ext=cpp
51124 ac_cpp='$CXXCPP $CPPFLAGS'
51125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51130 /* end confdefs.h. */
51131 #include <math.h>
51133 main ()
51135 atan2l(0, 0);
51137 return 0;
51139 _ACEOF
51140 if ac_fn_cxx_try_compile "$LINENO"; then :
51141 glibcxx_cv_func_atan2l_use=yes
51142 else
51143 glibcxx_cv_func_atan2l_use=no
51145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51146 ac_ext=c
51147 ac_cpp='$CPP $CPPFLAGS'
51148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51157 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51159 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51160 for ac_func in atan2l
51161 do :
51162 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51163 if test "x$ac_cv_func_atan2l" = x""yes; then :
51164 cat >>confdefs.h <<_ACEOF
51165 #define HAVE_ATAN2L 1
51166 _ACEOF
51169 done
51171 else
51173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51174 $as_echo_n "checking for _atan2l declaration... " >&6; }
51175 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51176 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51177 $as_echo_n "(cached) " >&6
51178 else
51181 ac_ext=cpp
51182 ac_cpp='$CXXCPP $CPPFLAGS'
51183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51188 /* end confdefs.h. */
51189 #include <math.h>
51191 main ()
51193 _atan2l(0, 0);
51195 return 0;
51197 _ACEOF
51198 if ac_fn_cxx_try_compile "$LINENO"; then :
51199 glibcxx_cv_func__atan2l_use=yes
51200 else
51201 glibcxx_cv_func__atan2l_use=no
51203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51204 ac_ext=c
51205 ac_cpp='$CPP $CPPFLAGS'
51206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51215 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51217 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51218 for ac_func in _atan2l
51219 do :
51220 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51221 if test "x$ac_cv_func__atan2l" = x""yes; then :
51222 cat >>confdefs.h <<_ACEOF
51223 #define HAVE__ATAN2L 1
51224 _ACEOF
51227 done
51236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51237 $as_echo_n "checking for expl declaration... " >&6; }
51238 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51239 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51240 $as_echo_n "(cached) " >&6
51241 else
51244 ac_ext=cpp
51245 ac_cpp='$CXXCPP $CPPFLAGS'
51246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51251 /* end confdefs.h. */
51252 #include <math.h>
51253 #ifdef HAVE_IEEEFP_H
51254 #include <ieeefp.h>
51255 #endif
51258 main ()
51260 expl(0);
51262 return 0;
51264 _ACEOF
51265 if ac_fn_cxx_try_compile "$LINENO"; then :
51266 glibcxx_cv_func_expl_use=yes
51267 else
51268 glibcxx_cv_func_expl_use=no
51270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51271 ac_ext=c
51272 ac_cpp='$CPP $CPPFLAGS'
51273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51282 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51284 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51285 for ac_func in expl
51286 do :
51287 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51288 if test "x$ac_cv_func_expl" = x""yes; then :
51289 cat >>confdefs.h <<_ACEOF
51290 #define HAVE_EXPL 1
51291 _ACEOF
51294 done
51296 else
51298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51299 $as_echo_n "checking for _expl declaration... " >&6; }
51300 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51301 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51302 $as_echo_n "(cached) " >&6
51303 else
51306 ac_ext=cpp
51307 ac_cpp='$CXXCPP $CPPFLAGS'
51308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51313 /* end confdefs.h. */
51314 #include <math.h>
51315 #ifdef HAVE_IEEEFP_H
51316 #include <ieeefp.h>
51317 #endif
51320 main ()
51322 _expl(0);
51324 return 0;
51326 _ACEOF
51327 if ac_fn_cxx_try_compile "$LINENO"; then :
51328 glibcxx_cv_func__expl_use=yes
51329 else
51330 glibcxx_cv_func__expl_use=no
51332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51333 ac_ext=c
51334 ac_cpp='$CPP $CPPFLAGS'
51335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51344 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51346 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51347 for ac_func in _expl
51348 do :
51349 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51350 if test "x$ac_cv_func__expl" = x""yes; then :
51351 cat >>confdefs.h <<_ACEOF
51352 #define HAVE__EXPL 1
51353 _ACEOF
51356 done
51365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51366 $as_echo_n "checking for fabsl declaration... " >&6; }
51367 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51368 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51369 $as_echo_n "(cached) " >&6
51370 else
51373 ac_ext=cpp
51374 ac_cpp='$CXXCPP $CPPFLAGS'
51375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51380 /* end confdefs.h. */
51381 #include <math.h>
51382 #ifdef HAVE_IEEEFP_H
51383 #include <ieeefp.h>
51384 #endif
51387 main ()
51389 fabsl(0);
51391 return 0;
51393 _ACEOF
51394 if ac_fn_cxx_try_compile "$LINENO"; then :
51395 glibcxx_cv_func_fabsl_use=yes
51396 else
51397 glibcxx_cv_func_fabsl_use=no
51399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51400 ac_ext=c
51401 ac_cpp='$CPP $CPPFLAGS'
51402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51411 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51413 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51414 for ac_func in fabsl
51415 do :
51416 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51417 if test "x$ac_cv_func_fabsl" = x""yes; then :
51418 cat >>confdefs.h <<_ACEOF
51419 #define HAVE_FABSL 1
51420 _ACEOF
51423 done
51425 else
51427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51428 $as_echo_n "checking for _fabsl declaration... " >&6; }
51429 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51430 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51431 $as_echo_n "(cached) " >&6
51432 else
51435 ac_ext=cpp
51436 ac_cpp='$CXXCPP $CPPFLAGS'
51437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51442 /* end confdefs.h. */
51443 #include <math.h>
51444 #ifdef HAVE_IEEEFP_H
51445 #include <ieeefp.h>
51446 #endif
51449 main ()
51451 _fabsl(0);
51453 return 0;
51455 _ACEOF
51456 if ac_fn_cxx_try_compile "$LINENO"; then :
51457 glibcxx_cv_func__fabsl_use=yes
51458 else
51459 glibcxx_cv_func__fabsl_use=no
51461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51462 ac_ext=c
51463 ac_cpp='$CPP $CPPFLAGS'
51464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51473 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51475 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51476 for ac_func in _fabsl
51477 do :
51478 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51479 if test "x$ac_cv_func__fabsl" = x""yes; then :
51480 cat >>confdefs.h <<_ACEOF
51481 #define HAVE__FABSL 1
51482 _ACEOF
51485 done
51494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51495 $as_echo_n "checking for fmodl declaration... " >&6; }
51496 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51497 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51498 $as_echo_n "(cached) " >&6
51499 else
51502 ac_ext=cpp
51503 ac_cpp='$CXXCPP $CPPFLAGS'
51504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51509 /* end confdefs.h. */
51510 #include <math.h>
51512 main ()
51514 fmodl(0, 0);
51516 return 0;
51518 _ACEOF
51519 if ac_fn_cxx_try_compile "$LINENO"; then :
51520 glibcxx_cv_func_fmodl_use=yes
51521 else
51522 glibcxx_cv_func_fmodl_use=no
51524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51525 ac_ext=c
51526 ac_cpp='$CPP $CPPFLAGS'
51527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51536 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51538 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51539 for ac_func in fmodl
51540 do :
51541 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51542 if test "x$ac_cv_func_fmodl" = x""yes; then :
51543 cat >>confdefs.h <<_ACEOF
51544 #define HAVE_FMODL 1
51545 _ACEOF
51548 done
51550 else
51552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51553 $as_echo_n "checking for _fmodl declaration... " >&6; }
51554 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51555 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51556 $as_echo_n "(cached) " >&6
51557 else
51560 ac_ext=cpp
51561 ac_cpp='$CXXCPP $CPPFLAGS'
51562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51567 /* end confdefs.h. */
51568 #include <math.h>
51570 main ()
51572 _fmodl(0, 0);
51574 return 0;
51576 _ACEOF
51577 if ac_fn_cxx_try_compile "$LINENO"; then :
51578 glibcxx_cv_func__fmodl_use=yes
51579 else
51580 glibcxx_cv_func__fmodl_use=no
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583 ac_ext=c
51584 ac_cpp='$CPP $CPPFLAGS'
51585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51594 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51596 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51597 for ac_func in _fmodl
51598 do :
51599 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51600 if test "x$ac_cv_func__fmodl" = x""yes; then :
51601 cat >>confdefs.h <<_ACEOF
51602 #define HAVE__FMODL 1
51603 _ACEOF
51606 done
51615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51616 $as_echo_n "checking for frexpl declaration... " >&6; }
51617 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51618 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51619 $as_echo_n "(cached) " >&6
51620 else
51623 ac_ext=cpp
51624 ac_cpp='$CXXCPP $CPPFLAGS'
51625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51630 /* end confdefs.h. */
51631 #include <math.h>
51633 main ()
51635 frexpl(0, 0);
51637 return 0;
51639 _ACEOF
51640 if ac_fn_cxx_try_compile "$LINENO"; then :
51641 glibcxx_cv_func_frexpl_use=yes
51642 else
51643 glibcxx_cv_func_frexpl_use=no
51645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51646 ac_ext=c
51647 ac_cpp='$CPP $CPPFLAGS'
51648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51657 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51659 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51660 for ac_func in frexpl
51661 do :
51662 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51663 if test "x$ac_cv_func_frexpl" = x""yes; then :
51664 cat >>confdefs.h <<_ACEOF
51665 #define HAVE_FREXPL 1
51666 _ACEOF
51669 done
51671 else
51673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51674 $as_echo_n "checking for _frexpl declaration... " >&6; }
51675 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51676 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51677 $as_echo_n "(cached) " >&6
51678 else
51681 ac_ext=cpp
51682 ac_cpp='$CXXCPP $CPPFLAGS'
51683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51688 /* end confdefs.h. */
51689 #include <math.h>
51691 main ()
51693 _frexpl(0, 0);
51695 return 0;
51697 _ACEOF
51698 if ac_fn_cxx_try_compile "$LINENO"; then :
51699 glibcxx_cv_func__frexpl_use=yes
51700 else
51701 glibcxx_cv_func__frexpl_use=no
51703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51704 ac_ext=c
51705 ac_cpp='$CPP $CPPFLAGS'
51706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51715 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51717 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51718 for ac_func in _frexpl
51719 do :
51720 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51721 if test "x$ac_cv_func__frexpl" = x""yes; then :
51722 cat >>confdefs.h <<_ACEOF
51723 #define HAVE__FREXPL 1
51724 _ACEOF
51727 done
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51737 $as_echo_n "checking for hypotl declaration... " >&6; }
51738 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51739 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51740 $as_echo_n "(cached) " >&6
51741 else
51744 ac_ext=cpp
51745 ac_cpp='$CXXCPP $CPPFLAGS'
51746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51751 /* end confdefs.h. */
51752 #include <math.h>
51754 main ()
51756 hypotl(0, 0);
51758 return 0;
51760 _ACEOF
51761 if ac_fn_cxx_try_compile "$LINENO"; then :
51762 glibcxx_cv_func_hypotl_use=yes
51763 else
51764 glibcxx_cv_func_hypotl_use=no
51766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51767 ac_ext=c
51768 ac_cpp='$CPP $CPPFLAGS'
51769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51778 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51780 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51781 for ac_func in hypotl
51782 do :
51783 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51784 if test "x$ac_cv_func_hypotl" = x""yes; then :
51785 cat >>confdefs.h <<_ACEOF
51786 #define HAVE_HYPOTL 1
51787 _ACEOF
51790 done
51792 else
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51795 $as_echo_n "checking for _hypotl declaration... " >&6; }
51796 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51797 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51798 $as_echo_n "(cached) " >&6
51799 else
51802 ac_ext=cpp
51803 ac_cpp='$CXXCPP $CPPFLAGS'
51804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51809 /* end confdefs.h. */
51810 #include <math.h>
51812 main ()
51814 _hypotl(0, 0);
51816 return 0;
51818 _ACEOF
51819 if ac_fn_cxx_try_compile "$LINENO"; then :
51820 glibcxx_cv_func__hypotl_use=yes
51821 else
51822 glibcxx_cv_func__hypotl_use=no
51824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51825 ac_ext=c
51826 ac_cpp='$CPP $CPPFLAGS'
51827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51836 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51838 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51839 for ac_func in _hypotl
51840 do :
51841 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51842 if test "x$ac_cv_func__hypotl" = x""yes; then :
51843 cat >>confdefs.h <<_ACEOF
51844 #define HAVE__HYPOTL 1
51845 _ACEOF
51848 done
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51858 $as_echo_n "checking for ldexpl declaration... " >&6; }
51859 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51860 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51861 $as_echo_n "(cached) " >&6
51862 else
51865 ac_ext=cpp
51866 ac_cpp='$CXXCPP $CPPFLAGS'
51867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51872 /* end confdefs.h. */
51873 #include <math.h>
51875 main ()
51877 ldexpl(0, 0);
51879 return 0;
51881 _ACEOF
51882 if ac_fn_cxx_try_compile "$LINENO"; then :
51883 glibcxx_cv_func_ldexpl_use=yes
51884 else
51885 glibcxx_cv_func_ldexpl_use=no
51887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51888 ac_ext=c
51889 ac_cpp='$CPP $CPPFLAGS'
51890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51899 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51901 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51902 for ac_func in ldexpl
51903 do :
51904 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51905 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51906 cat >>confdefs.h <<_ACEOF
51907 #define HAVE_LDEXPL 1
51908 _ACEOF
51911 done
51913 else
51915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51916 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51917 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51918 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51919 $as_echo_n "(cached) " >&6
51920 else
51923 ac_ext=cpp
51924 ac_cpp='$CXXCPP $CPPFLAGS'
51925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51930 /* end confdefs.h. */
51931 #include <math.h>
51933 main ()
51935 _ldexpl(0, 0);
51937 return 0;
51939 _ACEOF
51940 if ac_fn_cxx_try_compile "$LINENO"; then :
51941 glibcxx_cv_func__ldexpl_use=yes
51942 else
51943 glibcxx_cv_func__ldexpl_use=no
51945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51946 ac_ext=c
51947 ac_cpp='$CPP $CPPFLAGS'
51948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51957 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51959 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51960 for ac_func in _ldexpl
51961 do :
51962 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51963 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51964 cat >>confdefs.h <<_ACEOF
51965 #define HAVE__LDEXPL 1
51966 _ACEOF
51969 done
51978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51979 $as_echo_n "checking for logl declaration... " >&6; }
51980 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51981 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51982 $as_echo_n "(cached) " >&6
51983 else
51986 ac_ext=cpp
51987 ac_cpp='$CXXCPP $CPPFLAGS'
51988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51993 /* end confdefs.h. */
51994 #include <math.h>
51995 #ifdef HAVE_IEEEFP_H
51996 #include <ieeefp.h>
51997 #endif
52000 main ()
52002 logl(0);
52004 return 0;
52006 _ACEOF
52007 if ac_fn_cxx_try_compile "$LINENO"; then :
52008 glibcxx_cv_func_logl_use=yes
52009 else
52010 glibcxx_cv_func_logl_use=no
52012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52013 ac_ext=c
52014 ac_cpp='$CPP $CPPFLAGS'
52015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52024 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52026 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52027 for ac_func in logl
52028 do :
52029 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52030 if test "x$ac_cv_func_logl" = x""yes; then :
52031 cat >>confdefs.h <<_ACEOF
52032 #define HAVE_LOGL 1
52033 _ACEOF
52036 done
52038 else
52040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52041 $as_echo_n "checking for _logl declaration... " >&6; }
52042 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52043 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52044 $as_echo_n "(cached) " >&6
52045 else
52048 ac_ext=cpp
52049 ac_cpp='$CXXCPP $CPPFLAGS'
52050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52055 /* end confdefs.h. */
52056 #include <math.h>
52057 #ifdef HAVE_IEEEFP_H
52058 #include <ieeefp.h>
52059 #endif
52062 main ()
52064 _logl(0);
52066 return 0;
52068 _ACEOF
52069 if ac_fn_cxx_try_compile "$LINENO"; then :
52070 glibcxx_cv_func__logl_use=yes
52071 else
52072 glibcxx_cv_func__logl_use=no
52074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52075 ac_ext=c
52076 ac_cpp='$CPP $CPPFLAGS'
52077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52086 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52088 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52089 for ac_func in _logl
52090 do :
52091 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52092 if test "x$ac_cv_func__logl" = x""yes; then :
52093 cat >>confdefs.h <<_ACEOF
52094 #define HAVE__LOGL 1
52095 _ACEOF
52098 done
52107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52108 $as_echo_n "checking for log10l declaration... " >&6; }
52109 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52110 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52111 $as_echo_n "(cached) " >&6
52112 else
52115 ac_ext=cpp
52116 ac_cpp='$CXXCPP $CPPFLAGS'
52117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52122 /* end confdefs.h. */
52123 #include <math.h>
52124 #ifdef HAVE_IEEEFP_H
52125 #include <ieeefp.h>
52126 #endif
52129 main ()
52131 log10l(0);
52133 return 0;
52135 _ACEOF
52136 if ac_fn_cxx_try_compile "$LINENO"; then :
52137 glibcxx_cv_func_log10l_use=yes
52138 else
52139 glibcxx_cv_func_log10l_use=no
52141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52142 ac_ext=c
52143 ac_cpp='$CPP $CPPFLAGS'
52144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52153 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52155 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52156 for ac_func in log10l
52157 do :
52158 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52159 if test "x$ac_cv_func_log10l" = x""yes; then :
52160 cat >>confdefs.h <<_ACEOF
52161 #define HAVE_LOG10L 1
52162 _ACEOF
52165 done
52167 else
52169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52170 $as_echo_n "checking for _log10l declaration... " >&6; }
52171 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52172 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52173 $as_echo_n "(cached) " >&6
52174 else
52177 ac_ext=cpp
52178 ac_cpp='$CXXCPP $CPPFLAGS'
52179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52184 /* end confdefs.h. */
52185 #include <math.h>
52186 #ifdef HAVE_IEEEFP_H
52187 #include <ieeefp.h>
52188 #endif
52191 main ()
52193 _log10l(0);
52195 return 0;
52197 _ACEOF
52198 if ac_fn_cxx_try_compile "$LINENO"; then :
52199 glibcxx_cv_func__log10l_use=yes
52200 else
52201 glibcxx_cv_func__log10l_use=no
52203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52204 ac_ext=c
52205 ac_cpp='$CPP $CPPFLAGS'
52206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52215 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52217 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52218 for ac_func in _log10l
52219 do :
52220 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52221 if test "x$ac_cv_func__log10l" = x""yes; then :
52222 cat >>confdefs.h <<_ACEOF
52223 #define HAVE__LOG10L 1
52224 _ACEOF
52227 done
52236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52237 $as_echo_n "checking for modfl declaration... " >&6; }
52238 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52239 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52240 $as_echo_n "(cached) " >&6
52241 else
52244 ac_ext=cpp
52245 ac_cpp='$CXXCPP $CPPFLAGS'
52246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52251 /* end confdefs.h. */
52252 #include <math.h>
52254 main ()
52256 modfl(0, 0);
52258 return 0;
52260 _ACEOF
52261 if ac_fn_cxx_try_compile "$LINENO"; then :
52262 glibcxx_cv_func_modfl_use=yes
52263 else
52264 glibcxx_cv_func_modfl_use=no
52266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52267 ac_ext=c
52268 ac_cpp='$CPP $CPPFLAGS'
52269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52278 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52280 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52281 for ac_func in modfl
52282 do :
52283 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52284 if test "x$ac_cv_func_modfl" = x""yes; then :
52285 cat >>confdefs.h <<_ACEOF
52286 #define HAVE_MODFL 1
52287 _ACEOF
52290 done
52292 else
52294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52295 $as_echo_n "checking for _modfl declaration... " >&6; }
52296 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52297 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52298 $as_echo_n "(cached) " >&6
52299 else
52302 ac_ext=cpp
52303 ac_cpp='$CXXCPP $CPPFLAGS'
52304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 #include <math.h>
52312 main ()
52314 _modfl(0, 0);
52316 return 0;
52318 _ACEOF
52319 if ac_fn_cxx_try_compile "$LINENO"; then :
52320 glibcxx_cv_func__modfl_use=yes
52321 else
52322 glibcxx_cv_func__modfl_use=no
52324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52325 ac_ext=c
52326 ac_cpp='$CPP $CPPFLAGS'
52327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52336 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52338 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52339 for ac_func in _modfl
52340 do :
52341 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52342 if test "x$ac_cv_func__modfl" = x""yes; then :
52343 cat >>confdefs.h <<_ACEOF
52344 #define HAVE__MODFL 1
52345 _ACEOF
52348 done
52357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52358 $as_echo_n "checking for powl declaration... " >&6; }
52359 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52360 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52361 $as_echo_n "(cached) " >&6
52362 else
52365 ac_ext=cpp
52366 ac_cpp='$CXXCPP $CPPFLAGS'
52367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 #include <math.h>
52375 main ()
52377 powl(0, 0);
52379 return 0;
52381 _ACEOF
52382 if ac_fn_cxx_try_compile "$LINENO"; then :
52383 glibcxx_cv_func_powl_use=yes
52384 else
52385 glibcxx_cv_func_powl_use=no
52387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52388 ac_ext=c
52389 ac_cpp='$CPP $CPPFLAGS'
52390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52399 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52401 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52402 for ac_func in powl
52403 do :
52404 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52405 if test "x$ac_cv_func_powl" = x""yes; then :
52406 cat >>confdefs.h <<_ACEOF
52407 #define HAVE_POWL 1
52408 _ACEOF
52411 done
52413 else
52415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52416 $as_echo_n "checking for _powl declaration... " >&6; }
52417 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52418 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52419 $as_echo_n "(cached) " >&6
52420 else
52423 ac_ext=cpp
52424 ac_cpp='$CXXCPP $CPPFLAGS'
52425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 #include <math.h>
52433 main ()
52435 _powl(0, 0);
52437 return 0;
52439 _ACEOF
52440 if ac_fn_cxx_try_compile "$LINENO"; then :
52441 glibcxx_cv_func__powl_use=yes
52442 else
52443 glibcxx_cv_func__powl_use=no
52445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52446 ac_ext=c
52447 ac_cpp='$CPP $CPPFLAGS'
52448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52457 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52459 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52460 for ac_func in _powl
52461 do :
52462 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52463 if test "x$ac_cv_func__powl" = x""yes; then :
52464 cat >>confdefs.h <<_ACEOF
52465 #define HAVE__POWL 1
52466 _ACEOF
52469 done
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52479 $as_echo_n "checking for sqrtl declaration... " >&6; }
52480 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52481 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52482 $as_echo_n "(cached) " >&6
52483 else
52486 ac_ext=cpp
52487 ac_cpp='$CXXCPP $CPPFLAGS'
52488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52493 /* end confdefs.h. */
52494 #include <math.h>
52495 #ifdef HAVE_IEEEFP_H
52496 #include <ieeefp.h>
52497 #endif
52500 main ()
52502 sqrtl(0);
52504 return 0;
52506 _ACEOF
52507 if ac_fn_cxx_try_compile "$LINENO"; then :
52508 glibcxx_cv_func_sqrtl_use=yes
52509 else
52510 glibcxx_cv_func_sqrtl_use=no
52512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52513 ac_ext=c
52514 ac_cpp='$CPP $CPPFLAGS'
52515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52524 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52526 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52527 for ac_func in sqrtl
52528 do :
52529 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52530 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52531 cat >>confdefs.h <<_ACEOF
52532 #define HAVE_SQRTL 1
52533 _ACEOF
52536 done
52538 else
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52541 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52542 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52543 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52544 $as_echo_n "(cached) " >&6
52545 else
52548 ac_ext=cpp
52549 ac_cpp='$CXXCPP $CPPFLAGS'
52550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52555 /* end confdefs.h. */
52556 #include <math.h>
52557 #ifdef HAVE_IEEEFP_H
52558 #include <ieeefp.h>
52559 #endif
52562 main ()
52564 _sqrtl(0);
52566 return 0;
52568 _ACEOF
52569 if ac_fn_cxx_try_compile "$LINENO"; then :
52570 glibcxx_cv_func__sqrtl_use=yes
52571 else
52572 glibcxx_cv_func__sqrtl_use=no
52574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52575 ac_ext=c
52576 ac_cpp='$CPP $CPPFLAGS'
52577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52586 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52588 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52589 for ac_func in _sqrtl
52590 do :
52591 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52592 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52593 cat >>confdefs.h <<_ACEOF
52594 #define HAVE__SQRTL 1
52595 _ACEOF
52598 done
52607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52608 $as_echo_n "checking for sincosl declaration... " >&6; }
52609 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52610 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52611 $as_echo_n "(cached) " >&6
52612 else
52615 ac_ext=cpp
52616 ac_cpp='$CXXCPP $CPPFLAGS'
52617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52622 /* end confdefs.h. */
52623 #include <math.h>
52625 main ()
52627 sincosl(0, 0, 0);
52629 return 0;
52631 _ACEOF
52632 if ac_fn_cxx_try_compile "$LINENO"; then :
52633 glibcxx_cv_func_sincosl_use=yes
52634 else
52635 glibcxx_cv_func_sincosl_use=no
52637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52638 ac_ext=c
52639 ac_cpp='$CPP $CPPFLAGS'
52640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52649 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52651 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52652 for ac_func in sincosl
52653 do :
52654 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52655 if test "x$ac_cv_func_sincosl" = x""yes; then :
52656 cat >>confdefs.h <<_ACEOF
52657 #define HAVE_SINCOSL 1
52658 _ACEOF
52661 done
52663 else
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52666 $as_echo_n "checking for _sincosl declaration... " >&6; }
52667 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52668 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52669 $as_echo_n "(cached) " >&6
52670 else
52673 ac_ext=cpp
52674 ac_cpp='$CXXCPP $CPPFLAGS'
52675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52680 /* end confdefs.h. */
52681 #include <math.h>
52683 main ()
52685 _sincosl(0, 0, 0);
52687 return 0;
52689 _ACEOF
52690 if ac_fn_cxx_try_compile "$LINENO"; then :
52691 glibcxx_cv_func__sincosl_use=yes
52692 else
52693 glibcxx_cv_func__sincosl_use=no
52695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52696 ac_ext=c
52697 ac_cpp='$CPP $CPPFLAGS'
52698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52707 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52709 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52710 for ac_func in _sincosl
52711 do :
52712 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52713 if test "x$ac_cv_func__sincosl" = x""yes; then :
52714 cat >>confdefs.h <<_ACEOF
52715 #define HAVE__SINCOSL 1
52716 _ACEOF
52719 done
52728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52729 $as_echo_n "checking for finitel declaration... " >&6; }
52730 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52731 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52732 $as_echo_n "(cached) " >&6
52733 else
52736 ac_ext=cpp
52737 ac_cpp='$CXXCPP $CPPFLAGS'
52738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52743 /* end confdefs.h. */
52744 #include <math.h>
52745 #ifdef HAVE_IEEEFP_H
52746 #include <ieeefp.h>
52747 #endif
52750 main ()
52752 finitel(0);
52754 return 0;
52756 _ACEOF
52757 if ac_fn_cxx_try_compile "$LINENO"; then :
52758 glibcxx_cv_func_finitel_use=yes
52759 else
52760 glibcxx_cv_func_finitel_use=no
52762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52763 ac_ext=c
52764 ac_cpp='$CPP $CPPFLAGS'
52765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52774 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52776 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52777 for ac_func in finitel
52778 do :
52779 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52780 if test "x$ac_cv_func_finitel" = x""yes; then :
52781 cat >>confdefs.h <<_ACEOF
52782 #define HAVE_FINITEL 1
52783 _ACEOF
52786 done
52788 else
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52791 $as_echo_n "checking for _finitel declaration... " >&6; }
52792 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52793 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52794 $as_echo_n "(cached) " >&6
52795 else
52798 ac_ext=cpp
52799 ac_cpp='$CXXCPP $CPPFLAGS'
52800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52805 /* end confdefs.h. */
52806 #include <math.h>
52807 #ifdef HAVE_IEEEFP_H
52808 #include <ieeefp.h>
52809 #endif
52812 main ()
52814 _finitel(0);
52816 return 0;
52818 _ACEOF
52819 if ac_fn_cxx_try_compile "$LINENO"; then :
52820 glibcxx_cv_func__finitel_use=yes
52821 else
52822 glibcxx_cv_func__finitel_use=no
52824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52825 ac_ext=c
52826 ac_cpp='$CPP $CPPFLAGS'
52827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52836 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52838 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52839 for ac_func in _finitel
52840 do :
52841 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52842 if test "x$ac_cv_func__finitel" = x""yes; then :
52843 cat >>confdefs.h <<_ACEOF
52844 #define HAVE__FINITEL 1
52845 _ACEOF
52848 done
52856 LIBS="$ac_save_LIBS"
52857 CXXFLAGS="$ac_save_CXXFLAGS"
52860 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52861 ac_save_CXXFLAGS="$CXXFLAGS"
52862 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52866 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52867 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52868 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52869 $as_echo_n "(cached) " >&6
52870 else
52873 ac_ext=cpp
52874 ac_cpp='$CXXCPP $CPPFLAGS'
52875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52880 /* end confdefs.h. */
52881 #include <stdlib.h>
52883 main ()
52885 at_quick_exit(0);
52887 return 0;
52889 _ACEOF
52890 if ac_fn_cxx_try_compile "$LINENO"; then :
52891 glibcxx_cv_func_at_quick_exit_use=yes
52892 else
52893 glibcxx_cv_func_at_quick_exit_use=no
52895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52896 ac_ext=c
52897 ac_cpp='$CPP $CPPFLAGS'
52898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52907 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52908 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52909 for ac_func in at_quick_exit
52910 do :
52911 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52912 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52913 cat >>confdefs.h <<_ACEOF
52914 #define HAVE_AT_QUICK_EXIT 1
52915 _ACEOF
52918 done
52923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52924 $as_echo_n "checking for quick_exit declaration... " >&6; }
52925 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52926 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52927 $as_echo_n "(cached) " >&6
52928 else
52931 ac_ext=cpp
52932 ac_cpp='$CXXCPP $CPPFLAGS'
52933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52938 /* end confdefs.h. */
52939 #include <stdlib.h>
52941 main ()
52943 quick_exit(0);
52945 return 0;
52947 _ACEOF
52948 if ac_fn_cxx_try_compile "$LINENO"; then :
52949 glibcxx_cv_func_quick_exit_use=yes
52950 else
52951 glibcxx_cv_func_quick_exit_use=no
52953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52954 ac_ext=c
52955 ac_cpp='$CPP $CPPFLAGS'
52956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52965 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52966 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52967 for ac_func in quick_exit
52968 do :
52969 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52970 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52971 cat >>confdefs.h <<_ACEOF
52972 #define HAVE_QUICK_EXIT 1
52973 _ACEOF
52976 done
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52982 $as_echo_n "checking for strtold declaration... " >&6; }
52983 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52984 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52985 $as_echo_n "(cached) " >&6
52986 else
52989 ac_ext=cpp
52990 ac_cpp='$CXXCPP $CPPFLAGS'
52991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52996 /* end confdefs.h. */
52997 #include <stdlib.h>
52999 main ()
53001 strtold(0, 0);
53003 return 0;
53005 _ACEOF
53006 if ac_fn_cxx_try_compile "$LINENO"; then :
53007 glibcxx_cv_func_strtold_use=yes
53008 else
53009 glibcxx_cv_func_strtold_use=no
53011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53012 ac_ext=c
53013 ac_cpp='$CPP $CPPFLAGS'
53014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53023 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53024 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53025 for ac_func in strtold
53026 do :
53027 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53028 if test "x$ac_cv_func_strtold" = x""yes; then :
53029 cat >>confdefs.h <<_ACEOF
53030 #define HAVE_STRTOLD 1
53031 _ACEOF
53034 done
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53042 $as_echo_n "checking for strtof declaration... " >&6; }
53043 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53044 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53045 $as_echo_n "(cached) " >&6
53046 else
53049 ac_ext=cpp
53050 ac_cpp='$CXXCPP $CPPFLAGS'
53051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53056 /* end confdefs.h. */
53057 #include <stdlib.h>
53059 main ()
53061 strtof(0, 0);
53063 return 0;
53065 _ACEOF
53066 if ac_fn_cxx_try_compile "$LINENO"; then :
53067 glibcxx_cv_func_strtof_use=yes
53068 else
53069 glibcxx_cv_func_strtof_use=no
53071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53072 ac_ext=c
53073 ac_cpp='$CPP $CPPFLAGS'
53074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53083 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53084 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53085 for ac_func in strtof
53086 do :
53087 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53088 if test "x$ac_cv_func_strtof" = x""yes; then :
53089 cat >>confdefs.h <<_ACEOF
53090 #define HAVE_STRTOF 1
53091 _ACEOF
53094 done
53101 CXXFLAGS="$ac_save_CXXFLAGS"
53105 *djgpp)
53106 # GLIBCXX_CHECK_MATH_SUPPORT
53107 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53109 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53111 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53113 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53115 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53119 *-freebsd*)
53120 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53123 # If we're not using GNU ld, then there's no point in even trying these
53124 # tests. Check for that first. We should have already tested for gld
53125 # by now (in libtool), but require it now just to be safe...
53126 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53127 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53131 # The name set by libtool depends on the version of libtool. Shame on us
53132 # for depending on an impl detail, but c'est la vie. Older versions used
53133 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53134 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53135 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53136 # set (hence we're using an older libtool), then set it.
53137 if test x${with_gnu_ld+set} != xset; then
53138 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53139 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53140 with_gnu_ld=no
53141 else
53142 with_gnu_ld=$ac_cv_prog_gnu_ld
53146 # Start by getting the version number. I think the libtool test already
53147 # does some of this, but throws away the result.
53148 glibcxx_ld_is_gold=no
53149 if test x"$with_gnu_ld" = x"yes"; then
53150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53151 $as_echo_n "checking for ld version... " >&6; }
53153 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53154 glibcxx_ld_is_gold=yes
53156 ldver=`$LD --version 2>/dev/null |
53157 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'`
53159 glibcxx_gnu_ld_version=`echo $ldver | \
53160 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53162 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53165 # Set --gc-sections.
53166 glibcxx_have_gc_sections=no
53167 if test "$glibcxx_ld_is_gold" = "yes"; then
53168 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53169 glibcxx_have_gc_sections=yes
53171 else
53172 glibcxx_gcsections_min_ld=21602
53173 if test x"$with_gnu_ld" = x"yes" &&
53174 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53175 glibcxx_have_gc_sections=yes
53178 if test "$glibcxx_have_gc_sections" = "yes"; then
53179 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53180 # NB: This flag only works reliably after 2.16.1. Configure tests
53181 # for this are difficult, so hard wire a value that should work.
53183 ac_test_CFLAGS="${CFLAGS+set}"
53184 ac_save_CFLAGS="$CFLAGS"
53185 CFLAGS='-Wl,--gc-sections'
53187 # Check for -Wl,--gc-sections
53188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53189 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53190 if test x$gcc_no_link = xyes; then
53191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53194 /* end confdefs.h. */
53195 int one(void) { return 1; }
53196 int two(void) { return 2; }
53199 main ()
53201 two();
53203 return 0;
53205 _ACEOF
53206 if ac_fn_c_try_link "$LINENO"; then :
53207 ac_gcsections=yes
53208 else
53209 ac_gcsections=no
53211 rm -f core conftest.err conftest.$ac_objext \
53212 conftest$ac_exeext conftest.$ac_ext
53213 if test "$ac_gcsections" = "yes"; then
53214 rm -f conftest.c
53215 touch conftest.c
53216 if $CC -c conftest.c; then
53217 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53218 grep "Warning: gc-sections option ignored" > /dev/null; then
53219 ac_gcsections=no
53222 rm -f conftest.c conftest.o conftest
53224 if test "$ac_gcsections" = "yes"; then
53225 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53228 $as_echo "$ac_gcsections" >&6; }
53230 if test "$ac_test_CFLAGS" = set; then
53231 CFLAGS="$ac_save_CFLAGS"
53232 else
53233 # this is the suspicious part
53234 CFLAGS=''
53238 # Set -z,relro.
53239 # Note this is only for shared objects.
53240 ac_ld_relro=no
53241 if test x"$with_gnu_ld" = x"yes"; then
53242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53243 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53244 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53245 if test -n "$cxx_z_relo"; then
53246 OPT_LDFLAGS="-Wl,-z,relro"
53247 ac_ld_relro=yes
53249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53250 $as_echo "$ac_ld_relro" >&6; }
53253 # Set linker optimization flags.
53254 if test x"$with_gnu_ld" = x"yes"; then
53255 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53261 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53263 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53265 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53267 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53271 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53273 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53275 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53277 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53280 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53282 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53284 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53286 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53288 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53290 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53292 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53294 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53296 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53298 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53300 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53302 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53304 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53306 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53308 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53310 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53312 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53314 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53316 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53318 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53320 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53322 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53324 if test x"long_double_math_on_this_cpu" = x"yes"; then
53325 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53327 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53329 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53332 for ac_func in __cxa_thread_atexit
53333 do :
53334 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53335 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE___CXA_THREAD_ATEXIT 1
53338 _ACEOF
53341 done
53343 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53344 do :
53345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53347 eval as_val=\$$as_ac_var
53348 if test "x$as_val" = x""yes; then :
53349 cat >>confdefs.h <<_ACEOF
53350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53351 _ACEOF
53354 done
53358 *-fuchsia*)
53359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53363 *-hpux*)
53364 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53367 # If we're not using GNU ld, then there's no point in even trying these
53368 # tests. Check for that first. We should have already tested for gld
53369 # by now (in libtool), but require it now just to be safe...
53370 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53371 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53375 # The name set by libtool depends on the version of libtool. Shame on us
53376 # for depending on an impl detail, but c'est la vie. Older versions used
53377 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53378 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53379 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53380 # set (hence we're using an older libtool), then set it.
53381 if test x${with_gnu_ld+set} != xset; then
53382 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53383 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53384 with_gnu_ld=no
53385 else
53386 with_gnu_ld=$ac_cv_prog_gnu_ld
53390 # Start by getting the version number. I think the libtool test already
53391 # does some of this, but throws away the result.
53392 glibcxx_ld_is_gold=no
53393 if test x"$with_gnu_ld" = x"yes"; then
53394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53395 $as_echo_n "checking for ld version... " >&6; }
53397 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53398 glibcxx_ld_is_gold=yes
53400 ldver=`$LD --version 2>/dev/null |
53401 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'`
53403 glibcxx_gnu_ld_version=`echo $ldver | \
53404 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53406 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53409 # Set --gc-sections.
53410 glibcxx_have_gc_sections=no
53411 if test "$glibcxx_ld_is_gold" = "yes"; then
53412 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53413 glibcxx_have_gc_sections=yes
53415 else
53416 glibcxx_gcsections_min_ld=21602
53417 if test x"$with_gnu_ld" = x"yes" &&
53418 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53419 glibcxx_have_gc_sections=yes
53422 if test "$glibcxx_have_gc_sections" = "yes"; then
53423 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53424 # NB: This flag only works reliably after 2.16.1. Configure tests
53425 # for this are difficult, so hard wire a value that should work.
53427 ac_test_CFLAGS="${CFLAGS+set}"
53428 ac_save_CFLAGS="$CFLAGS"
53429 CFLAGS='-Wl,--gc-sections'
53431 # Check for -Wl,--gc-sections
53432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53433 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53434 if test x$gcc_no_link = xyes; then
53435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53438 /* end confdefs.h. */
53439 int one(void) { return 1; }
53440 int two(void) { return 2; }
53443 main ()
53445 two();
53447 return 0;
53449 _ACEOF
53450 if ac_fn_c_try_link "$LINENO"; then :
53451 ac_gcsections=yes
53452 else
53453 ac_gcsections=no
53455 rm -f core conftest.err conftest.$ac_objext \
53456 conftest$ac_exeext conftest.$ac_ext
53457 if test "$ac_gcsections" = "yes"; then
53458 rm -f conftest.c
53459 touch conftest.c
53460 if $CC -c conftest.c; then
53461 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53462 grep "Warning: gc-sections option ignored" > /dev/null; then
53463 ac_gcsections=no
53466 rm -f conftest.c conftest.o conftest
53468 if test "$ac_gcsections" = "yes"; then
53469 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53472 $as_echo "$ac_gcsections" >&6; }
53474 if test "$ac_test_CFLAGS" = set; then
53475 CFLAGS="$ac_save_CFLAGS"
53476 else
53477 # this is the suspicious part
53478 CFLAGS=''
53482 # Set -z,relro.
53483 # Note this is only for shared objects.
53484 ac_ld_relro=no
53485 if test x"$with_gnu_ld" = x"yes"; then
53486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53487 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53488 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53489 if test -n "$cxx_z_relo"; then
53490 OPT_LDFLAGS="-Wl,-z,relro"
53491 ac_ld_relro=yes
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53494 $as_echo "$ac_ld_relro" >&6; }
53497 # Set linker optimization flags.
53498 if test x"$with_gnu_ld" = x"yes"; then
53499 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53506 # GLIBCXX_CHECK_MATH_SUPPORT
53507 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53509 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53511 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53513 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53515 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53517 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53519 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53521 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53523 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53525 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53527 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53529 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53531 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53533 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53535 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53537 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53539 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53541 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53543 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53545 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53547 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53550 # GLIBCXX_CHECK_STDLIB_SUPPORT
53551 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53556 # Check whether --enable-tls was given.
53557 if test "${enable_tls+set}" = set; then :
53558 enableval=$enable_tls;
53559 case "$enableval" in
53560 yes|no) ;;
53561 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53562 esac
53564 else
53565 enable_tls=yes
53569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53570 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53571 if test "${gcc_cv_have_tls+set}" = set; then :
53572 $as_echo_n "(cached) " >&6
53573 else
53575 if test "$cross_compiling" = yes; then :
53576 if test x$gcc_no_link = xyes; then
53577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53580 /* end confdefs.h. */
53581 __thread int a; int b; int main() { return a = b; }
53582 _ACEOF
53583 if ac_fn_c_try_link "$LINENO"; then :
53584 chktls_save_LDFLAGS="$LDFLAGS"
53585 case $host in
53586 *-*-linux*)
53587 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53589 esac
53590 chktls_save_CFLAGS="$CFLAGS"
53591 CFLAGS="-fPIC $CFLAGS"
53592 if test x$gcc_no_link = xyes; then
53593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53596 /* end confdefs.h. */
53597 int f() { return 0; }
53598 _ACEOF
53599 if ac_fn_c_try_link "$LINENO"; then :
53600 if test x$gcc_no_link = xyes; then
53601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53604 /* end confdefs.h. */
53605 __thread int a; int b; int f() { return a = b; }
53606 _ACEOF
53607 if ac_fn_c_try_link "$LINENO"; then :
53608 gcc_cv_have_tls=yes
53609 else
53610 gcc_cv_have_tls=no
53612 rm -f core conftest.err conftest.$ac_objext \
53613 conftest$ac_exeext conftest.$ac_ext
53614 else
53615 gcc_cv_have_tls=yes
53617 rm -f core conftest.err conftest.$ac_objext \
53618 conftest$ac_exeext conftest.$ac_ext
53619 CFLAGS="$chktls_save_CFLAGS"
53620 LDFLAGS="$chktls_save_LDFLAGS"
53621 else
53622 gcc_cv_have_tls=no
53624 rm -f core conftest.err conftest.$ac_objext \
53625 conftest$ac_exeext conftest.$ac_ext
53628 else
53629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53630 /* end confdefs.h. */
53631 __thread int a; int b; int main() { return a = b; }
53632 _ACEOF
53633 if ac_fn_c_try_run "$LINENO"; then :
53634 chktls_save_LDFLAGS="$LDFLAGS"
53635 LDFLAGS="-static $LDFLAGS"
53636 if test x$gcc_no_link = xyes; then
53637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h. */
53641 int main() { return 0; }
53642 _ACEOF
53643 if ac_fn_c_try_link "$LINENO"; then :
53644 if test "$cross_compiling" = yes; then :
53645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53647 as_fn_error "cannot run test program while cross compiling
53648 See \`config.log' for more details." "$LINENO" 5; }
53649 else
53650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53651 /* end confdefs.h. */
53652 __thread int a; int b; int main() { return a = b; }
53653 _ACEOF
53654 if ac_fn_c_try_run "$LINENO"; then :
53655 gcc_cv_have_tls=yes
53656 else
53657 gcc_cv_have_tls=no
53659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53660 conftest.$ac_objext conftest.beam conftest.$ac_ext
53663 else
53664 gcc_cv_have_tls=yes
53666 rm -f core conftest.err conftest.$ac_objext \
53667 conftest$ac_exeext conftest.$ac_ext
53668 LDFLAGS="$chktls_save_LDFLAGS"
53669 if test $gcc_cv_have_tls = yes; then
53670 chktls_save_CFLAGS="$CFLAGS"
53671 thread_CFLAGS=failed
53672 for flag in '' '-pthread' '-lpthread'; do
53673 CFLAGS="$flag $chktls_save_CFLAGS"
53674 if test x$gcc_no_link = xyes; then
53675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53678 /* end confdefs.h. */
53679 #include <pthread.h>
53680 void *g(void *d) { return NULL; }
53682 main ()
53684 pthread_t t; pthread_create(&t,NULL,g,NULL);
53686 return 0;
53688 _ACEOF
53689 if ac_fn_c_try_link "$LINENO"; then :
53690 thread_CFLAGS="$flag"
53692 rm -f core conftest.err conftest.$ac_objext \
53693 conftest$ac_exeext conftest.$ac_ext
53694 if test "X$thread_CFLAGS" != Xfailed; then
53695 break
53697 done
53698 CFLAGS="$chktls_save_CFLAGS"
53699 if test "X$thread_CFLAGS" != Xfailed; then
53700 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53701 if test "$cross_compiling" = yes; then :
53702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53704 as_fn_error "cannot run test program while cross compiling
53705 See \`config.log' for more details." "$LINENO" 5; }
53706 else
53707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53708 /* end confdefs.h. */
53709 #include <pthread.h>
53710 __thread int a;
53711 static int *volatile a_in_other_thread;
53712 static void *
53713 thread_func (void *arg)
53715 a_in_other_thread = &a;
53716 return (void *)0;
53719 main ()
53721 pthread_t thread;
53722 void *thread_retval;
53723 int *volatile a_in_main_thread;
53724 a_in_main_thread = &a;
53725 if (pthread_create (&thread, (pthread_attr_t *)0,
53726 thread_func, (void *)0))
53727 return 0;
53728 if (pthread_join (thread, &thread_retval))
53729 return 0;
53730 return (a_in_other_thread == a_in_main_thread);
53732 return 0;
53734 _ACEOF
53735 if ac_fn_c_try_run "$LINENO"; then :
53736 gcc_cv_have_tls=yes
53737 else
53738 gcc_cv_have_tls=no
53740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53741 conftest.$ac_objext conftest.beam conftest.$ac_ext
53744 CFLAGS="$chktls_save_CFLAGS"
53747 else
53748 gcc_cv_have_tls=no
53750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53751 conftest.$ac_objext conftest.beam conftest.$ac_ext
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53756 $as_echo "$gcc_cv_have_tls" >&6; }
53757 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53759 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53762 case "$target" in
53763 *-hpux10*)
53764 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53766 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53768 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53770 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53772 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53775 esac
53777 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53779 # All these tests are for C++; save the language and the compiler flags.
53780 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53781 # found in GLIBCXX_CONFIGURE.
53783 ac_ext=cpp
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53789 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53790 ac_save_CXXFLAGS="$CXXFLAGS"
53792 # Check for -ffunction-sections -fdata-sections
53793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53794 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53795 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53797 /* end confdefs.h. */
53798 int foo; void bar() { };
53800 main ()
53804 return 0;
53806 _ACEOF
53807 if ac_fn_cxx_try_compile "$LINENO"; then :
53808 ac_fdsections=yes
53809 else
53810 ac_fdsections=no
53812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53813 if test "$ac_test_CXXFLAGS" = set; then
53814 CXXFLAGS="$ac_save_CXXFLAGS"
53815 else
53816 # this is the suspicious part
53817 CXXFLAGS=''
53819 if test x"$ac_fdsections" = x"yes"; then
53820 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53823 $as_echo "$ac_fdsections" >&6; }
53825 ac_ext=c
53826 ac_cpp='$CPP $CPPFLAGS'
53827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53834 # If we're not using GNU ld, then there's no point in even trying these
53835 # tests. Check for that first. We should have already tested for gld
53836 # by now (in libtool), but require it now just to be safe...
53837 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53838 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53842 # The name set by libtool depends on the version of libtool. Shame on us
53843 # for depending on an impl detail, but c'est la vie. Older versions used
53844 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53845 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53846 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53847 # set (hence we're using an older libtool), then set it.
53848 if test x${with_gnu_ld+set} != xset; then
53849 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53850 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53851 with_gnu_ld=no
53852 else
53853 with_gnu_ld=$ac_cv_prog_gnu_ld
53857 # Start by getting the version number. I think the libtool test already
53858 # does some of this, but throws away the result.
53859 glibcxx_ld_is_gold=no
53860 if test x"$with_gnu_ld" = x"yes"; then
53861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53862 $as_echo_n "checking for ld version... " >&6; }
53864 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53865 glibcxx_ld_is_gold=yes
53867 ldver=`$LD --version 2>/dev/null |
53868 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'`
53870 glibcxx_gnu_ld_version=`echo $ldver | \
53871 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53873 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53876 # Set --gc-sections.
53877 glibcxx_have_gc_sections=no
53878 if test "$glibcxx_ld_is_gold" = "yes"; then
53879 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53880 glibcxx_have_gc_sections=yes
53882 else
53883 glibcxx_gcsections_min_ld=21602
53884 if test x"$with_gnu_ld" = x"yes" &&
53885 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53886 glibcxx_have_gc_sections=yes
53889 if test "$glibcxx_have_gc_sections" = "yes"; then
53890 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53891 # NB: This flag only works reliably after 2.16.1. Configure tests
53892 # for this are difficult, so hard wire a value that should work.
53894 ac_test_CFLAGS="${CFLAGS+set}"
53895 ac_save_CFLAGS="$CFLAGS"
53896 CFLAGS='-Wl,--gc-sections'
53898 # Check for -Wl,--gc-sections
53899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53900 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53901 if test x$gcc_no_link = xyes; then
53902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905 /* end confdefs.h. */
53906 int one(void) { return 1; }
53907 int two(void) { return 2; }
53910 main ()
53912 two();
53914 return 0;
53916 _ACEOF
53917 if ac_fn_c_try_link "$LINENO"; then :
53918 ac_gcsections=yes
53919 else
53920 ac_gcsections=no
53922 rm -f core conftest.err conftest.$ac_objext \
53923 conftest$ac_exeext conftest.$ac_ext
53924 if test "$ac_gcsections" = "yes"; then
53925 rm -f conftest.c
53926 touch conftest.c
53927 if $CC -c conftest.c; then
53928 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53929 grep "Warning: gc-sections option ignored" > /dev/null; then
53930 ac_gcsections=no
53933 rm -f conftest.c conftest.o conftest
53935 if test "$ac_gcsections" = "yes"; then
53936 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53939 $as_echo "$ac_gcsections" >&6; }
53941 if test "$ac_test_CFLAGS" = set; then
53942 CFLAGS="$ac_save_CFLAGS"
53943 else
53944 # this is the suspicious part
53945 CFLAGS=''
53949 # Set -z,relro.
53950 # Note this is only for shared objects.
53951 ac_ld_relro=no
53952 if test x"$with_gnu_ld" = x"yes"; then
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53954 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53955 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53956 if test -n "$cxx_z_relo"; then
53957 OPT_LDFLAGS="-Wl,-z,relro"
53958 ac_ld_relro=yes
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53961 $as_echo "$ac_ld_relro" >&6; }
53964 # Set linker optimization flags.
53965 if test x"$with_gnu_ld" = x"yes"; then
53966 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53973 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53974 ac_save_CXXFLAGS="$CXXFLAGS"
53975 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53978 $as_echo_n "checking for sin in -lm... " >&6; }
53979 if test "${ac_cv_lib_m_sin+set}" = set; then :
53980 $as_echo_n "(cached) " >&6
53981 else
53982 ac_check_lib_save_LIBS=$LIBS
53983 LIBS="-lm $LIBS"
53984 if test x$gcc_no_link = xyes; then
53985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53988 /* end confdefs.h. */
53990 /* Override any GCC internal prototype to avoid an error.
53991 Use char because int might match the return type of a GCC
53992 builtin and then its argument prototype would still apply. */
53993 #ifdef __cplusplus
53994 extern "C"
53995 #endif
53996 char sin ();
53998 main ()
54000 return sin ();
54002 return 0;
54004 _ACEOF
54005 if ac_fn_c_try_link "$LINENO"; then :
54006 ac_cv_lib_m_sin=yes
54007 else
54008 ac_cv_lib_m_sin=no
54010 rm -f core conftest.err conftest.$ac_objext \
54011 conftest$ac_exeext conftest.$ac_ext
54012 LIBS=$ac_check_lib_save_LIBS
54014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54015 $as_echo "$ac_cv_lib_m_sin" >&6; }
54016 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54017 libm="-lm"
54020 ac_save_LIBS="$LIBS"
54021 LIBS="$LIBS $libm"
54025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54026 $as_echo_n "checking for isinf declaration... " >&6; }
54027 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54028 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54029 $as_echo_n "(cached) " >&6
54030 else
54033 ac_ext=cpp
54034 ac_cpp='$CXXCPP $CPPFLAGS'
54035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54040 /* end confdefs.h. */
54041 #include <math.h>
54042 #ifdef HAVE_IEEEFP_H
54043 #include <ieeefp.h>
54044 #endif
54047 main ()
54049 isinf(0);
54051 return 0;
54053 _ACEOF
54054 if ac_fn_cxx_try_compile "$LINENO"; then :
54055 glibcxx_cv_func_isinf_use=yes
54056 else
54057 glibcxx_cv_func_isinf_use=no
54059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54060 ac_ext=c
54061 ac_cpp='$CPP $CPPFLAGS'
54062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54071 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54073 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54074 for ac_func in isinf
54075 do :
54076 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54077 if test "x$ac_cv_func_isinf" = x""yes; then :
54078 cat >>confdefs.h <<_ACEOF
54079 #define HAVE_ISINF 1
54080 _ACEOF
54083 done
54085 else
54087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54088 $as_echo_n "checking for _isinf declaration... " >&6; }
54089 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54090 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54091 $as_echo_n "(cached) " >&6
54092 else
54095 ac_ext=cpp
54096 ac_cpp='$CXXCPP $CPPFLAGS'
54097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54102 /* end confdefs.h. */
54103 #include <math.h>
54104 #ifdef HAVE_IEEEFP_H
54105 #include <ieeefp.h>
54106 #endif
54109 main ()
54111 _isinf(0);
54113 return 0;
54115 _ACEOF
54116 if ac_fn_cxx_try_compile "$LINENO"; then :
54117 glibcxx_cv_func__isinf_use=yes
54118 else
54119 glibcxx_cv_func__isinf_use=no
54121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54122 ac_ext=c
54123 ac_cpp='$CPP $CPPFLAGS'
54124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54133 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54135 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54136 for ac_func in _isinf
54137 do :
54138 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54139 if test "x$ac_cv_func__isinf" = x""yes; then :
54140 cat >>confdefs.h <<_ACEOF
54141 #define HAVE__ISINF 1
54142 _ACEOF
54145 done
54154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54155 $as_echo_n "checking for isnan declaration... " >&6; }
54156 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54157 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54158 $as_echo_n "(cached) " >&6
54159 else
54162 ac_ext=cpp
54163 ac_cpp='$CXXCPP $CPPFLAGS'
54164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54169 /* end confdefs.h. */
54170 #include <math.h>
54171 #ifdef HAVE_IEEEFP_H
54172 #include <ieeefp.h>
54173 #endif
54176 main ()
54178 isnan(0);
54180 return 0;
54182 _ACEOF
54183 if ac_fn_cxx_try_compile "$LINENO"; then :
54184 glibcxx_cv_func_isnan_use=yes
54185 else
54186 glibcxx_cv_func_isnan_use=no
54188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54189 ac_ext=c
54190 ac_cpp='$CPP $CPPFLAGS'
54191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54200 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54202 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54203 for ac_func in isnan
54204 do :
54205 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54206 if test "x$ac_cv_func_isnan" = x""yes; then :
54207 cat >>confdefs.h <<_ACEOF
54208 #define HAVE_ISNAN 1
54209 _ACEOF
54212 done
54214 else
54216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54217 $as_echo_n "checking for _isnan declaration... " >&6; }
54218 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54219 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54220 $as_echo_n "(cached) " >&6
54221 else
54224 ac_ext=cpp
54225 ac_cpp='$CXXCPP $CPPFLAGS'
54226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54231 /* end confdefs.h. */
54232 #include <math.h>
54233 #ifdef HAVE_IEEEFP_H
54234 #include <ieeefp.h>
54235 #endif
54238 main ()
54240 _isnan(0);
54242 return 0;
54244 _ACEOF
54245 if ac_fn_cxx_try_compile "$LINENO"; then :
54246 glibcxx_cv_func__isnan_use=yes
54247 else
54248 glibcxx_cv_func__isnan_use=no
54250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54251 ac_ext=c
54252 ac_cpp='$CPP $CPPFLAGS'
54253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54262 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54264 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54265 for ac_func in _isnan
54266 do :
54267 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54268 if test "x$ac_cv_func__isnan" = x""yes; then :
54269 cat >>confdefs.h <<_ACEOF
54270 #define HAVE__ISNAN 1
54271 _ACEOF
54274 done
54283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54284 $as_echo_n "checking for finite declaration... " >&6; }
54285 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54286 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54287 $as_echo_n "(cached) " >&6
54288 else
54291 ac_ext=cpp
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54298 /* end confdefs.h. */
54299 #include <math.h>
54300 #ifdef HAVE_IEEEFP_H
54301 #include <ieeefp.h>
54302 #endif
54305 main ()
54307 finite(0);
54309 return 0;
54311 _ACEOF
54312 if ac_fn_cxx_try_compile "$LINENO"; then :
54313 glibcxx_cv_func_finite_use=yes
54314 else
54315 glibcxx_cv_func_finite_use=no
54317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54318 ac_ext=c
54319 ac_cpp='$CPP $CPPFLAGS'
54320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54329 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54331 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54332 for ac_func in finite
54333 do :
54334 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54335 if test "x$ac_cv_func_finite" = x""yes; then :
54336 cat >>confdefs.h <<_ACEOF
54337 #define HAVE_FINITE 1
54338 _ACEOF
54341 done
54343 else
54345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54346 $as_echo_n "checking for _finite declaration... " >&6; }
54347 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54348 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54349 $as_echo_n "(cached) " >&6
54350 else
54353 ac_ext=cpp
54354 ac_cpp='$CXXCPP $CPPFLAGS'
54355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54360 /* end confdefs.h. */
54361 #include <math.h>
54362 #ifdef HAVE_IEEEFP_H
54363 #include <ieeefp.h>
54364 #endif
54367 main ()
54369 _finite(0);
54371 return 0;
54373 _ACEOF
54374 if ac_fn_cxx_try_compile "$LINENO"; then :
54375 glibcxx_cv_func__finite_use=yes
54376 else
54377 glibcxx_cv_func__finite_use=no
54379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54380 ac_ext=c
54381 ac_cpp='$CPP $CPPFLAGS'
54382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54391 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54393 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54394 for ac_func in _finite
54395 do :
54396 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54397 if test "x$ac_cv_func__finite" = x""yes; then :
54398 cat >>confdefs.h <<_ACEOF
54399 #define HAVE__FINITE 1
54400 _ACEOF
54403 done
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54413 $as_echo_n "checking for sincos declaration... " >&6; }
54414 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54415 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54416 $as_echo_n "(cached) " >&6
54417 else
54420 ac_ext=cpp
54421 ac_cpp='$CXXCPP $CPPFLAGS'
54422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54427 /* end confdefs.h. */
54428 #include <math.h>
54430 main ()
54432 sincos(0, 0, 0);
54434 return 0;
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func_sincos_use=yes
54439 else
54440 glibcxx_cv_func_sincos_use=no
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54454 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54456 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54457 for ac_func in sincos
54458 do :
54459 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54460 if test "x$ac_cv_func_sincos" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE_SINCOS 1
54463 _ACEOF
54466 done
54468 else
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54471 $as_echo_n "checking for _sincos declaration... " >&6; }
54472 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54473 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54488 main ()
54490 _sincos(0, 0, 0);
54492 return 0;
54494 _ACEOF
54495 if ac_fn_cxx_try_compile "$LINENO"; then :
54496 glibcxx_cv_func__sincos_use=yes
54497 else
54498 glibcxx_cv_func__sincos_use=no
54500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54501 ac_ext=c
54502 ac_cpp='$CPP $CPPFLAGS'
54503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54512 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54514 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54515 for ac_func in _sincos
54516 do :
54517 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54518 if test "x$ac_cv_func__sincos" = x""yes; then :
54519 cat >>confdefs.h <<_ACEOF
54520 #define HAVE__SINCOS 1
54521 _ACEOF
54524 done
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54534 $as_echo_n "checking for fpclass declaration... " >&6; }
54535 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54536 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54537 $as_echo_n "(cached) " >&6
54538 else
54541 ac_ext=cpp
54542 ac_cpp='$CXXCPP $CPPFLAGS'
54543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54548 /* end confdefs.h. */
54549 #include <math.h>
54550 #ifdef HAVE_IEEEFP_H
54551 #include <ieeefp.h>
54552 #endif
54555 main ()
54557 fpclass(0);
54559 return 0;
54561 _ACEOF
54562 if ac_fn_cxx_try_compile "$LINENO"; then :
54563 glibcxx_cv_func_fpclass_use=yes
54564 else
54565 glibcxx_cv_func_fpclass_use=no
54567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54568 ac_ext=c
54569 ac_cpp='$CPP $CPPFLAGS'
54570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54579 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54581 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54582 for ac_func in fpclass
54583 do :
54584 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54585 if test "x$ac_cv_func_fpclass" = x""yes; then :
54586 cat >>confdefs.h <<_ACEOF
54587 #define HAVE_FPCLASS 1
54588 _ACEOF
54591 done
54593 else
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54596 $as_echo_n "checking for _fpclass declaration... " >&6; }
54597 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54598 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54599 $as_echo_n "(cached) " >&6
54600 else
54603 ac_ext=cpp
54604 ac_cpp='$CXXCPP $CPPFLAGS'
54605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54610 /* end confdefs.h. */
54611 #include <math.h>
54612 #ifdef HAVE_IEEEFP_H
54613 #include <ieeefp.h>
54614 #endif
54617 main ()
54619 _fpclass(0);
54621 return 0;
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625 glibcxx_cv_func__fpclass_use=yes
54626 else
54627 glibcxx_cv_func__fpclass_use=no
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630 ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54641 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54643 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54644 for ac_func in _fpclass
54645 do :
54646 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54647 if test "x$ac_cv_func__fpclass" = x""yes; then :
54648 cat >>confdefs.h <<_ACEOF
54649 #define HAVE__FPCLASS 1
54650 _ACEOF
54653 done
54662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54663 $as_echo_n "checking for qfpclass declaration... " >&6; }
54664 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54665 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54666 $as_echo_n "(cached) " >&6
54667 else
54670 ac_ext=cpp
54671 ac_cpp='$CXXCPP $CPPFLAGS'
54672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54677 /* end confdefs.h. */
54678 #include <math.h>
54679 #ifdef HAVE_IEEEFP_H
54680 #include <ieeefp.h>
54681 #endif
54684 main ()
54686 qfpclass(0);
54688 return 0;
54690 _ACEOF
54691 if ac_fn_cxx_try_compile "$LINENO"; then :
54692 glibcxx_cv_func_qfpclass_use=yes
54693 else
54694 glibcxx_cv_func_qfpclass_use=no
54696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54697 ac_ext=c
54698 ac_cpp='$CPP $CPPFLAGS'
54699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54708 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54710 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54711 for ac_func in qfpclass
54712 do :
54713 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54714 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54715 cat >>confdefs.h <<_ACEOF
54716 #define HAVE_QFPCLASS 1
54717 _ACEOF
54720 done
54722 else
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54725 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54726 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54727 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54728 $as_echo_n "(cached) " >&6
54729 else
54732 ac_ext=cpp
54733 ac_cpp='$CXXCPP $CPPFLAGS'
54734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54739 /* end confdefs.h. */
54740 #include <math.h>
54741 #ifdef HAVE_IEEEFP_H
54742 #include <ieeefp.h>
54743 #endif
54746 main ()
54748 _qfpclass(0);
54750 return 0;
54752 _ACEOF
54753 if ac_fn_cxx_try_compile "$LINENO"; then :
54754 glibcxx_cv_func__qfpclass_use=yes
54755 else
54756 glibcxx_cv_func__qfpclass_use=no
54758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54759 ac_ext=c
54760 ac_cpp='$CPP $CPPFLAGS'
54761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54770 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54772 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54773 for ac_func in _qfpclass
54774 do :
54775 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54776 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54777 cat >>confdefs.h <<_ACEOF
54778 #define HAVE__QFPCLASS 1
54779 _ACEOF
54782 done
54791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54792 $as_echo_n "checking for hypot declaration... " >&6; }
54793 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54794 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54795 $as_echo_n "(cached) " >&6
54796 else
54799 ac_ext=cpp
54800 ac_cpp='$CXXCPP $CPPFLAGS'
54801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54806 /* end confdefs.h. */
54807 #include <math.h>
54809 main ()
54811 hypot(0, 0);
54813 return 0;
54815 _ACEOF
54816 if ac_fn_cxx_try_compile "$LINENO"; then :
54817 glibcxx_cv_func_hypot_use=yes
54818 else
54819 glibcxx_cv_func_hypot_use=no
54821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54822 ac_ext=c
54823 ac_cpp='$CPP $CPPFLAGS'
54824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54833 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54835 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54836 for ac_func in hypot
54837 do :
54838 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54839 if test "x$ac_cv_func_hypot" = x""yes; then :
54840 cat >>confdefs.h <<_ACEOF
54841 #define HAVE_HYPOT 1
54842 _ACEOF
54845 done
54847 else
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54850 $as_echo_n "checking for _hypot declaration... " >&6; }
54851 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54852 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54853 $as_echo_n "(cached) " >&6
54854 else
54857 ac_ext=cpp
54858 ac_cpp='$CXXCPP $CPPFLAGS'
54859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54864 /* end confdefs.h. */
54865 #include <math.h>
54867 main ()
54869 _hypot(0, 0);
54871 return 0;
54873 _ACEOF
54874 if ac_fn_cxx_try_compile "$LINENO"; then :
54875 glibcxx_cv_func__hypot_use=yes
54876 else
54877 glibcxx_cv_func__hypot_use=no
54879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54880 ac_ext=c
54881 ac_cpp='$CPP $CPPFLAGS'
54882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54891 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54893 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54894 for ac_func in _hypot
54895 do :
54896 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54897 if test "x$ac_cv_func__hypot" = x""yes; then :
54898 cat >>confdefs.h <<_ACEOF
54899 #define HAVE__HYPOT 1
54900 _ACEOF
54903 done
54912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54913 $as_echo_n "checking for float trig functions... " >&6; }
54914 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54929 main ()
54931 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54933 return 0;
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func_float_trig_use=yes
54938 else
54939 glibcxx_cv_func_float_trig_use=no
54941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942 ac_ext=c
54943 ac_cpp='$CPP $CPPFLAGS'
54944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54951 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54952 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54953 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54954 do :
54955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54957 eval as_val=\$$as_ac_var
54958 if test "x$as_val" = x""yes; then :
54959 cat >>confdefs.h <<_ACEOF
54960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54961 _ACEOF
54964 done
54966 else
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54968 $as_echo_n "checking for _float trig functions... " >&6; }
54969 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54970 $as_echo_n "(cached) " >&6
54971 else
54974 ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h. */
54982 #include <math.h>
54984 main ()
54986 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54988 return 0;
54990 _ACEOF
54991 if ac_fn_cxx_try_compile "$LINENO"; then :
54992 glibcxx_cv_func__float_trig_use=yes
54993 else
54994 glibcxx_cv_func__float_trig_use=no
54996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54997 ac_ext=c
54998 ac_cpp='$CPP $CPPFLAGS'
54999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55006 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55007 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55008 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55009 do :
55010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55012 eval as_val=\$$as_ac_var
55013 if test "x$as_val" = x""yes; then :
55014 cat >>confdefs.h <<_ACEOF
55015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55016 _ACEOF
55019 done
55028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55029 $as_echo_n "checking for float round functions... " >&6; }
55030 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55031 $as_echo_n "(cached) " >&6
55032 else
55035 ac_ext=cpp
55036 ac_cpp='$CXXCPP $CPPFLAGS'
55037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55042 /* end confdefs.h. */
55043 #include <math.h>
55045 main ()
55047 ceilf (0); floorf (0);
55049 return 0;
55051 _ACEOF
55052 if ac_fn_cxx_try_compile "$LINENO"; then :
55053 glibcxx_cv_func_float_round_use=yes
55054 else
55055 glibcxx_cv_func_float_round_use=no
55057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55058 ac_ext=c
55059 ac_cpp='$CPP $CPPFLAGS'
55060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55067 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55068 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55069 for ac_func in ceilf floorf
55070 do :
55071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55073 eval as_val=\$$as_ac_var
55074 if test "x$as_val" = x""yes; then :
55075 cat >>confdefs.h <<_ACEOF
55076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55077 _ACEOF
55080 done
55082 else
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55084 $as_echo_n "checking for _float round functions... " >&6; }
55085 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55086 $as_echo_n "(cached) " >&6
55087 else
55090 ac_ext=cpp
55091 ac_cpp='$CXXCPP $CPPFLAGS'
55092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55097 /* end confdefs.h. */
55098 #include <math.h>
55100 main ()
55102 _ceilf (0); _floorf (0);
55104 return 0;
55106 _ACEOF
55107 if ac_fn_cxx_try_compile "$LINENO"; then :
55108 glibcxx_cv_func__float_round_use=yes
55109 else
55110 glibcxx_cv_func__float_round_use=no
55112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55113 ac_ext=c
55114 ac_cpp='$CPP $CPPFLAGS'
55115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55122 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55123 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55124 for ac_func in _ceilf _floorf
55125 do :
55126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55128 eval as_val=\$$as_ac_var
55129 if test "x$as_val" = x""yes; then :
55130 cat >>confdefs.h <<_ACEOF
55131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55132 _ACEOF
55135 done
55145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55146 $as_echo_n "checking for expf declaration... " >&6; }
55147 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55148 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55149 $as_echo_n "(cached) " >&6
55150 else
55153 ac_ext=cpp
55154 ac_cpp='$CXXCPP $CPPFLAGS'
55155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160 /* end confdefs.h. */
55161 #include <math.h>
55162 #ifdef HAVE_IEEEFP_H
55163 #include <ieeefp.h>
55164 #endif
55167 main ()
55169 expf(0);
55171 return 0;
55173 _ACEOF
55174 if ac_fn_cxx_try_compile "$LINENO"; then :
55175 glibcxx_cv_func_expf_use=yes
55176 else
55177 glibcxx_cv_func_expf_use=no
55179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180 ac_ext=c
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55191 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55193 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55194 for ac_func in expf
55195 do :
55196 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55197 if test "x$ac_cv_func_expf" = x""yes; then :
55198 cat >>confdefs.h <<_ACEOF
55199 #define HAVE_EXPF 1
55200 _ACEOF
55203 done
55205 else
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55208 $as_echo_n "checking for _expf declaration... " >&6; }
55209 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55210 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55211 $as_echo_n "(cached) " >&6
55212 else
55215 ac_ext=cpp
55216 ac_cpp='$CXXCPP $CPPFLAGS'
55217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55222 /* end confdefs.h. */
55223 #include <math.h>
55224 #ifdef HAVE_IEEEFP_H
55225 #include <ieeefp.h>
55226 #endif
55229 main ()
55231 _expf(0);
55233 return 0;
55235 _ACEOF
55236 if ac_fn_cxx_try_compile "$LINENO"; then :
55237 glibcxx_cv_func__expf_use=yes
55238 else
55239 glibcxx_cv_func__expf_use=no
55241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55242 ac_ext=c
55243 ac_cpp='$CPP $CPPFLAGS'
55244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55253 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55255 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55256 for ac_func in _expf
55257 do :
55258 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55259 if test "x$ac_cv_func__expf" = x""yes; then :
55260 cat >>confdefs.h <<_ACEOF
55261 #define HAVE__EXPF 1
55262 _ACEOF
55265 done
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55275 $as_echo_n "checking for isnanf declaration... " >&6; }
55276 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55277 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55278 $as_echo_n "(cached) " >&6
55279 else
55282 ac_ext=cpp
55283 ac_cpp='$CXXCPP $CPPFLAGS'
55284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55289 /* end confdefs.h. */
55290 #include <math.h>
55291 #ifdef HAVE_IEEEFP_H
55292 #include <ieeefp.h>
55293 #endif
55296 main ()
55298 isnanf(0);
55300 return 0;
55302 _ACEOF
55303 if ac_fn_cxx_try_compile "$LINENO"; then :
55304 glibcxx_cv_func_isnanf_use=yes
55305 else
55306 glibcxx_cv_func_isnanf_use=no
55308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55320 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55322 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55323 for ac_func in isnanf
55324 do :
55325 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55326 if test "x$ac_cv_func_isnanf" = x""yes; then :
55327 cat >>confdefs.h <<_ACEOF
55328 #define HAVE_ISNANF 1
55329 _ACEOF
55332 done
55334 else
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55337 $as_echo_n "checking for _isnanf declaration... " >&6; }
55338 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55339 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55353 #ifdef HAVE_IEEEFP_H
55354 #include <ieeefp.h>
55355 #endif
55358 main ()
55360 _isnanf(0);
55362 return 0;
55364 _ACEOF
55365 if ac_fn_cxx_try_compile "$LINENO"; then :
55366 glibcxx_cv_func__isnanf_use=yes
55367 else
55368 glibcxx_cv_func__isnanf_use=no
55370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371 ac_ext=c
55372 ac_cpp='$CPP $CPPFLAGS'
55373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55382 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55384 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55385 for ac_func in _isnanf
55386 do :
55387 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55388 if test "x$ac_cv_func__isnanf" = x""yes; then :
55389 cat >>confdefs.h <<_ACEOF
55390 #define HAVE__ISNANF 1
55391 _ACEOF
55394 done
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55404 $as_echo_n "checking for isinff declaration... " >&6; }
55405 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55406 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55407 $as_echo_n "(cached) " >&6
55408 else
55411 ac_ext=cpp
55412 ac_cpp='$CXXCPP $CPPFLAGS'
55413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418 /* end confdefs.h. */
55419 #include <math.h>
55420 #ifdef HAVE_IEEEFP_H
55421 #include <ieeefp.h>
55422 #endif
55425 main ()
55427 isinff(0);
55429 return 0;
55431 _ACEOF
55432 if ac_fn_cxx_try_compile "$LINENO"; then :
55433 glibcxx_cv_func_isinff_use=yes
55434 else
55435 glibcxx_cv_func_isinff_use=no
55437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55438 ac_ext=c
55439 ac_cpp='$CPP $CPPFLAGS'
55440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55449 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55451 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55452 for ac_func in isinff
55453 do :
55454 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55455 if test "x$ac_cv_func_isinff" = x""yes; then :
55456 cat >>confdefs.h <<_ACEOF
55457 #define HAVE_ISINFF 1
55458 _ACEOF
55461 done
55463 else
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55466 $as_echo_n "checking for _isinff declaration... " >&6; }
55467 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55468 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55469 $as_echo_n "(cached) " >&6
55470 else
55473 ac_ext=cpp
55474 ac_cpp='$CXXCPP $CPPFLAGS'
55475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480 /* end confdefs.h. */
55481 #include <math.h>
55482 #ifdef HAVE_IEEEFP_H
55483 #include <ieeefp.h>
55484 #endif
55487 main ()
55489 _isinff(0);
55491 return 0;
55493 _ACEOF
55494 if ac_fn_cxx_try_compile "$LINENO"; then :
55495 glibcxx_cv_func__isinff_use=yes
55496 else
55497 glibcxx_cv_func__isinff_use=no
55499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55500 ac_ext=c
55501 ac_cpp='$CPP $CPPFLAGS'
55502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55511 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55513 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55514 for ac_func in _isinff
55515 do :
55516 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55517 if test "x$ac_cv_func__isinff" = x""yes; then :
55518 cat >>confdefs.h <<_ACEOF
55519 #define HAVE__ISINFF 1
55520 _ACEOF
55523 done
55532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55533 $as_echo_n "checking for atan2f declaration... " >&6; }
55534 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55535 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55536 $as_echo_n "(cached) " >&6
55537 else
55540 ac_ext=cpp
55541 ac_cpp='$CXXCPP $CPPFLAGS'
55542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55547 /* end confdefs.h. */
55548 #include <math.h>
55550 main ()
55552 atan2f(0, 0);
55554 return 0;
55556 _ACEOF
55557 if ac_fn_cxx_try_compile "$LINENO"; then :
55558 glibcxx_cv_func_atan2f_use=yes
55559 else
55560 glibcxx_cv_func_atan2f_use=no
55562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55563 ac_ext=c
55564 ac_cpp='$CPP $CPPFLAGS'
55565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55574 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55576 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55577 for ac_func in atan2f
55578 do :
55579 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55580 if test "x$ac_cv_func_atan2f" = x""yes; then :
55581 cat >>confdefs.h <<_ACEOF
55582 #define HAVE_ATAN2F 1
55583 _ACEOF
55586 done
55588 else
55590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55591 $as_echo_n "checking for _atan2f declaration... " >&6; }
55592 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55593 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55594 $as_echo_n "(cached) " >&6
55595 else
55598 ac_ext=cpp
55599 ac_cpp='$CXXCPP $CPPFLAGS'
55600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55605 /* end confdefs.h. */
55606 #include <math.h>
55608 main ()
55610 _atan2f(0, 0);
55612 return 0;
55614 _ACEOF
55615 if ac_fn_cxx_try_compile "$LINENO"; then :
55616 glibcxx_cv_func__atan2f_use=yes
55617 else
55618 glibcxx_cv_func__atan2f_use=no
55620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55621 ac_ext=c
55622 ac_cpp='$CPP $CPPFLAGS'
55623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55632 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55634 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55635 for ac_func in _atan2f
55636 do :
55637 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55638 if test "x$ac_cv_func__atan2f" = x""yes; then :
55639 cat >>confdefs.h <<_ACEOF
55640 #define HAVE__ATAN2F 1
55641 _ACEOF
55644 done
55653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55654 $as_echo_n "checking for fabsf declaration... " >&6; }
55655 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55656 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55657 $as_echo_n "(cached) " >&6
55658 else
55661 ac_ext=cpp
55662 ac_cpp='$CXXCPP $CPPFLAGS'
55663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55668 /* end confdefs.h. */
55669 #include <math.h>
55670 #ifdef HAVE_IEEEFP_H
55671 #include <ieeefp.h>
55672 #endif
55675 main ()
55677 fabsf(0);
55679 return 0;
55681 _ACEOF
55682 if ac_fn_cxx_try_compile "$LINENO"; then :
55683 glibcxx_cv_func_fabsf_use=yes
55684 else
55685 glibcxx_cv_func_fabsf_use=no
55687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55688 ac_ext=c
55689 ac_cpp='$CPP $CPPFLAGS'
55690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55699 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55701 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55702 for ac_func in fabsf
55703 do :
55704 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55705 if test "x$ac_cv_func_fabsf" = x""yes; then :
55706 cat >>confdefs.h <<_ACEOF
55707 #define HAVE_FABSF 1
55708 _ACEOF
55711 done
55713 else
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55716 $as_echo_n "checking for _fabsf declaration... " >&6; }
55717 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55718 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55719 $as_echo_n "(cached) " >&6
55720 else
55723 ac_ext=cpp
55724 ac_cpp='$CXXCPP $CPPFLAGS'
55725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55730 /* end confdefs.h. */
55731 #include <math.h>
55732 #ifdef HAVE_IEEEFP_H
55733 #include <ieeefp.h>
55734 #endif
55737 main ()
55739 _fabsf(0);
55741 return 0;
55743 _ACEOF
55744 if ac_fn_cxx_try_compile "$LINENO"; then :
55745 glibcxx_cv_func__fabsf_use=yes
55746 else
55747 glibcxx_cv_func__fabsf_use=no
55749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55750 ac_ext=c
55751 ac_cpp='$CPP $CPPFLAGS'
55752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55761 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55763 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55764 for ac_func in _fabsf
55765 do :
55766 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55767 if test "x$ac_cv_func__fabsf" = x""yes; then :
55768 cat >>confdefs.h <<_ACEOF
55769 #define HAVE__FABSF 1
55770 _ACEOF
55773 done
55782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55783 $as_echo_n "checking for fmodf declaration... " >&6; }
55784 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55785 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55786 $as_echo_n "(cached) " >&6
55787 else
55790 ac_ext=cpp
55791 ac_cpp='$CXXCPP $CPPFLAGS'
55792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55797 /* end confdefs.h. */
55798 #include <math.h>
55800 main ()
55802 fmodf(0, 0);
55804 return 0;
55806 _ACEOF
55807 if ac_fn_cxx_try_compile "$LINENO"; then :
55808 glibcxx_cv_func_fmodf_use=yes
55809 else
55810 glibcxx_cv_func_fmodf_use=no
55812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55813 ac_ext=c
55814 ac_cpp='$CPP $CPPFLAGS'
55815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55824 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55826 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55827 for ac_func in fmodf
55828 do :
55829 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55830 if test "x$ac_cv_func_fmodf" = x""yes; then :
55831 cat >>confdefs.h <<_ACEOF
55832 #define HAVE_FMODF 1
55833 _ACEOF
55836 done
55838 else
55840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55841 $as_echo_n "checking for _fmodf declaration... " >&6; }
55842 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55843 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55844 $as_echo_n "(cached) " >&6
55845 else
55848 ac_ext=cpp
55849 ac_cpp='$CXXCPP $CPPFLAGS'
55850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55855 /* end confdefs.h. */
55856 #include <math.h>
55858 main ()
55860 _fmodf(0, 0);
55862 return 0;
55864 _ACEOF
55865 if ac_fn_cxx_try_compile "$LINENO"; then :
55866 glibcxx_cv_func__fmodf_use=yes
55867 else
55868 glibcxx_cv_func__fmodf_use=no
55870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871 ac_ext=c
55872 ac_cpp='$CPP $CPPFLAGS'
55873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55882 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55884 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55885 for ac_func in _fmodf
55886 do :
55887 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55888 if test "x$ac_cv_func__fmodf" = x""yes; then :
55889 cat >>confdefs.h <<_ACEOF
55890 #define HAVE__FMODF 1
55891 _ACEOF
55894 done
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55904 $as_echo_n "checking for frexpf declaration... " >&6; }
55905 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55906 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55907 $as_echo_n "(cached) " >&6
55908 else
55911 ac_ext=cpp
55912 ac_cpp='$CXXCPP $CPPFLAGS'
55913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55918 /* end confdefs.h. */
55919 #include <math.h>
55921 main ()
55923 frexpf(0, 0);
55925 return 0;
55927 _ACEOF
55928 if ac_fn_cxx_try_compile "$LINENO"; then :
55929 glibcxx_cv_func_frexpf_use=yes
55930 else
55931 glibcxx_cv_func_frexpf_use=no
55933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934 ac_ext=c
55935 ac_cpp='$CPP $CPPFLAGS'
55936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55945 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55947 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55948 for ac_func in frexpf
55949 do :
55950 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55951 if test "x$ac_cv_func_frexpf" = x""yes; then :
55952 cat >>confdefs.h <<_ACEOF
55953 #define HAVE_FREXPF 1
55954 _ACEOF
55957 done
55959 else
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55962 $as_echo_n "checking for _frexpf declaration... " >&6; }
55963 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55964 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55965 $as_echo_n "(cached) " >&6
55966 else
55969 ac_ext=cpp
55970 ac_cpp='$CXXCPP $CPPFLAGS'
55971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976 /* end confdefs.h. */
55977 #include <math.h>
55979 main ()
55981 _frexpf(0, 0);
55983 return 0;
55985 _ACEOF
55986 if ac_fn_cxx_try_compile "$LINENO"; then :
55987 glibcxx_cv_func__frexpf_use=yes
55988 else
55989 glibcxx_cv_func__frexpf_use=no
55991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55992 ac_ext=c
55993 ac_cpp='$CPP $CPPFLAGS'
55994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56003 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56005 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56006 for ac_func in _frexpf
56007 do :
56008 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56009 if test "x$ac_cv_func__frexpf" = x""yes; then :
56010 cat >>confdefs.h <<_ACEOF
56011 #define HAVE__FREXPF 1
56012 _ACEOF
56015 done
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56025 $as_echo_n "checking for hypotf declaration... " >&6; }
56026 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56027 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56028 $as_echo_n "(cached) " >&6
56029 else
56032 ac_ext=cpp
56033 ac_cpp='$CXXCPP $CPPFLAGS'
56034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56039 /* end confdefs.h. */
56040 #include <math.h>
56042 main ()
56044 hypotf(0, 0);
56046 return 0;
56048 _ACEOF
56049 if ac_fn_cxx_try_compile "$LINENO"; then :
56050 glibcxx_cv_func_hypotf_use=yes
56051 else
56052 glibcxx_cv_func_hypotf_use=no
56054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56066 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56068 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56069 for ac_func in hypotf
56070 do :
56071 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56072 if test "x$ac_cv_func_hypotf" = x""yes; then :
56073 cat >>confdefs.h <<_ACEOF
56074 #define HAVE_HYPOTF 1
56075 _ACEOF
56078 done
56080 else
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56083 $as_echo_n "checking for _hypotf declaration... " >&6; }
56084 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56085 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56086 $as_echo_n "(cached) " >&6
56087 else
56090 ac_ext=cpp
56091 ac_cpp='$CXXCPP $CPPFLAGS'
56092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56097 /* end confdefs.h. */
56098 #include <math.h>
56100 main ()
56102 _hypotf(0, 0);
56104 return 0;
56106 _ACEOF
56107 if ac_fn_cxx_try_compile "$LINENO"; then :
56108 glibcxx_cv_func__hypotf_use=yes
56109 else
56110 glibcxx_cv_func__hypotf_use=no
56112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113 ac_ext=c
56114 ac_cpp='$CPP $CPPFLAGS'
56115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56124 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56126 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56127 for ac_func in _hypotf
56128 do :
56129 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56130 if test "x$ac_cv_func__hypotf" = x""yes; then :
56131 cat >>confdefs.h <<_ACEOF
56132 #define HAVE__HYPOTF 1
56133 _ACEOF
56136 done
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56146 $as_echo_n "checking for ldexpf declaration... " >&6; }
56147 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56148 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56149 $as_echo_n "(cached) " >&6
56150 else
56153 ac_ext=cpp
56154 ac_cpp='$CXXCPP $CPPFLAGS'
56155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56160 /* end confdefs.h. */
56161 #include <math.h>
56163 main ()
56165 ldexpf(0, 0);
56167 return 0;
56169 _ACEOF
56170 if ac_fn_cxx_try_compile "$LINENO"; then :
56171 glibcxx_cv_func_ldexpf_use=yes
56172 else
56173 glibcxx_cv_func_ldexpf_use=no
56175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56176 ac_ext=c
56177 ac_cpp='$CPP $CPPFLAGS'
56178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56187 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56189 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56190 for ac_func in ldexpf
56191 do :
56192 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56193 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56194 cat >>confdefs.h <<_ACEOF
56195 #define HAVE_LDEXPF 1
56196 _ACEOF
56199 done
56201 else
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56204 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56205 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56206 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56207 $as_echo_n "(cached) " >&6
56208 else
56211 ac_ext=cpp
56212 ac_cpp='$CXXCPP $CPPFLAGS'
56213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218 /* end confdefs.h. */
56219 #include <math.h>
56221 main ()
56223 _ldexpf(0, 0);
56225 return 0;
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229 glibcxx_cv_func__ldexpf_use=yes
56230 else
56231 glibcxx_cv_func__ldexpf_use=no
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234 ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56245 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56247 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56248 for ac_func in _ldexpf
56249 do :
56250 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56251 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56252 cat >>confdefs.h <<_ACEOF
56253 #define HAVE__LDEXPF 1
56254 _ACEOF
56257 done
56266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56267 $as_echo_n "checking for logf declaration... " >&6; }
56268 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56269 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56270 $as_echo_n "(cached) " >&6
56271 else
56274 ac_ext=cpp
56275 ac_cpp='$CXXCPP $CPPFLAGS'
56276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56281 /* end confdefs.h. */
56282 #include <math.h>
56283 #ifdef HAVE_IEEEFP_H
56284 #include <ieeefp.h>
56285 #endif
56288 main ()
56290 logf(0);
56292 return 0;
56294 _ACEOF
56295 if ac_fn_cxx_try_compile "$LINENO"; then :
56296 glibcxx_cv_func_logf_use=yes
56297 else
56298 glibcxx_cv_func_logf_use=no
56300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56301 ac_ext=c
56302 ac_cpp='$CPP $CPPFLAGS'
56303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56312 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56314 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56315 for ac_func in logf
56316 do :
56317 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56318 if test "x$ac_cv_func_logf" = x""yes; then :
56319 cat >>confdefs.h <<_ACEOF
56320 #define HAVE_LOGF 1
56321 _ACEOF
56324 done
56326 else
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56329 $as_echo_n "checking for _logf declaration... " >&6; }
56330 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56331 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56332 $as_echo_n "(cached) " >&6
56333 else
56336 ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h. */
56344 #include <math.h>
56345 #ifdef HAVE_IEEEFP_H
56346 #include <ieeefp.h>
56347 #endif
56350 main ()
56352 _logf(0);
56354 return 0;
56356 _ACEOF
56357 if ac_fn_cxx_try_compile "$LINENO"; then :
56358 glibcxx_cv_func__logf_use=yes
56359 else
56360 glibcxx_cv_func__logf_use=no
56362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363 ac_ext=c
56364 ac_cpp='$CPP $CPPFLAGS'
56365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56374 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56376 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56377 for ac_func in _logf
56378 do :
56379 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56380 if test "x$ac_cv_func__logf" = x""yes; then :
56381 cat >>confdefs.h <<_ACEOF
56382 #define HAVE__LOGF 1
56383 _ACEOF
56386 done
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56396 $as_echo_n "checking for log10f declaration... " >&6; }
56397 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56398 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56399 $as_echo_n "(cached) " >&6
56400 else
56403 ac_ext=cpp
56404 ac_cpp='$CXXCPP $CPPFLAGS'
56405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56410 /* end confdefs.h. */
56411 #include <math.h>
56412 #ifdef HAVE_IEEEFP_H
56413 #include <ieeefp.h>
56414 #endif
56417 main ()
56419 log10f(0);
56421 return 0;
56423 _ACEOF
56424 if ac_fn_cxx_try_compile "$LINENO"; then :
56425 glibcxx_cv_func_log10f_use=yes
56426 else
56427 glibcxx_cv_func_log10f_use=no
56429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56430 ac_ext=c
56431 ac_cpp='$CPP $CPPFLAGS'
56432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56441 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56443 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56444 for ac_func in log10f
56445 do :
56446 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56447 if test "x$ac_cv_func_log10f" = x""yes; then :
56448 cat >>confdefs.h <<_ACEOF
56449 #define HAVE_LOG10F 1
56450 _ACEOF
56453 done
56455 else
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56458 $as_echo_n "checking for _log10f declaration... " >&6; }
56459 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56460 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56461 $as_echo_n "(cached) " >&6
56462 else
56465 ac_ext=cpp
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472 /* end confdefs.h. */
56473 #include <math.h>
56474 #ifdef HAVE_IEEEFP_H
56475 #include <ieeefp.h>
56476 #endif
56479 main ()
56481 _log10f(0);
56483 return 0;
56485 _ACEOF
56486 if ac_fn_cxx_try_compile "$LINENO"; then :
56487 glibcxx_cv_func__log10f_use=yes
56488 else
56489 glibcxx_cv_func__log10f_use=no
56491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492 ac_ext=c
56493 ac_cpp='$CPP $CPPFLAGS'
56494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56503 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56505 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56506 for ac_func in _log10f
56507 do :
56508 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56509 if test "x$ac_cv_func__log10f" = x""yes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE__LOG10F 1
56512 _ACEOF
56515 done
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56525 $as_echo_n "checking for modff declaration... " >&6; }
56526 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56527 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56528 $as_echo_n "(cached) " >&6
56529 else
56532 ac_ext=cpp
56533 ac_cpp='$CXXCPP $CPPFLAGS'
56534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56539 /* end confdefs.h. */
56540 #include <math.h>
56542 main ()
56544 modff(0, 0);
56546 return 0;
56548 _ACEOF
56549 if ac_fn_cxx_try_compile "$LINENO"; then :
56550 glibcxx_cv_func_modff_use=yes
56551 else
56552 glibcxx_cv_func_modff_use=no
56554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56555 ac_ext=c
56556 ac_cpp='$CPP $CPPFLAGS'
56557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56566 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56568 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56569 for ac_func in modff
56570 do :
56571 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56572 if test "x$ac_cv_func_modff" = x""yes; then :
56573 cat >>confdefs.h <<_ACEOF
56574 #define HAVE_MODFF 1
56575 _ACEOF
56578 done
56580 else
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56583 $as_echo_n "checking for _modff declaration... " >&6; }
56584 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56585 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56586 $as_echo_n "(cached) " >&6
56587 else
56590 ac_ext=cpp
56591 ac_cpp='$CXXCPP $CPPFLAGS'
56592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56597 /* end confdefs.h. */
56598 #include <math.h>
56600 main ()
56602 _modff(0, 0);
56604 return 0;
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func__modff_use=yes
56609 else
56610 glibcxx_cv_func__modff_use=no
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56624 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56626 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56627 for ac_func in _modff
56628 do :
56629 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56630 if test "x$ac_cv_func__modff" = x""yes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE__MODFF 1
56633 _ACEOF
56636 done
56645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56646 $as_echo_n "checking for modf declaration... " >&6; }
56647 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56648 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56649 $as_echo_n "(cached) " >&6
56650 else
56653 ac_ext=cpp
56654 ac_cpp='$CXXCPP $CPPFLAGS'
56655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 #include <math.h>
56663 main ()
56665 modf(0, 0);
56667 return 0;
56669 _ACEOF
56670 if ac_fn_cxx_try_compile "$LINENO"; then :
56671 glibcxx_cv_func_modf_use=yes
56672 else
56673 glibcxx_cv_func_modf_use=no
56675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56676 ac_ext=c
56677 ac_cpp='$CPP $CPPFLAGS'
56678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56687 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56689 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56690 for ac_func in modf
56691 do :
56692 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56693 if test "x$ac_cv_func_modf" = x""yes; then :
56694 cat >>confdefs.h <<_ACEOF
56695 #define HAVE_MODF 1
56696 _ACEOF
56699 done
56701 else
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56704 $as_echo_n "checking for _modf declaration... " >&6; }
56705 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56706 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56707 $as_echo_n "(cached) " >&6
56708 else
56711 ac_ext=cpp
56712 ac_cpp='$CXXCPP $CPPFLAGS'
56713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718 /* end confdefs.h. */
56719 #include <math.h>
56721 main ()
56723 _modf(0, 0);
56725 return 0;
56727 _ACEOF
56728 if ac_fn_cxx_try_compile "$LINENO"; then :
56729 glibcxx_cv_func__modf_use=yes
56730 else
56731 glibcxx_cv_func__modf_use=no
56733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56734 ac_ext=c
56735 ac_cpp='$CPP $CPPFLAGS'
56736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56745 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56747 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56748 for ac_func in _modf
56749 do :
56750 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56751 if test "x$ac_cv_func__modf" = x""yes; then :
56752 cat >>confdefs.h <<_ACEOF
56753 #define HAVE__MODF 1
56754 _ACEOF
56757 done
56766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56767 $as_echo_n "checking for powf declaration... " >&6; }
56768 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56769 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56770 $as_echo_n "(cached) " >&6
56771 else
56774 ac_ext=cpp
56775 ac_cpp='$CXXCPP $CPPFLAGS'
56776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56781 /* end confdefs.h. */
56782 #include <math.h>
56784 main ()
56786 powf(0, 0);
56788 return 0;
56790 _ACEOF
56791 if ac_fn_cxx_try_compile "$LINENO"; then :
56792 glibcxx_cv_func_powf_use=yes
56793 else
56794 glibcxx_cv_func_powf_use=no
56796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797 ac_ext=c
56798 ac_cpp='$CPP $CPPFLAGS'
56799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56808 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56810 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56811 for ac_func in powf
56812 do :
56813 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56814 if test "x$ac_cv_func_powf" = x""yes; then :
56815 cat >>confdefs.h <<_ACEOF
56816 #define HAVE_POWF 1
56817 _ACEOF
56820 done
56822 else
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56825 $as_echo_n "checking for _powf declaration... " >&6; }
56826 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56827 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56828 $as_echo_n "(cached) " >&6
56829 else
56832 ac_ext=cpp
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839 /* end confdefs.h. */
56840 #include <math.h>
56842 main ()
56844 _powf(0, 0);
56846 return 0;
56848 _ACEOF
56849 if ac_fn_cxx_try_compile "$LINENO"; then :
56850 glibcxx_cv_func__powf_use=yes
56851 else
56852 glibcxx_cv_func__powf_use=no
56854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56855 ac_ext=c
56856 ac_cpp='$CPP $CPPFLAGS'
56857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56866 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56868 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56869 for ac_func in _powf
56870 do :
56871 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56872 if test "x$ac_cv_func__powf" = x""yes; then :
56873 cat >>confdefs.h <<_ACEOF
56874 #define HAVE__POWF 1
56875 _ACEOF
56878 done
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56888 $as_echo_n "checking for sqrtf declaration... " >&6; }
56889 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56890 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56891 $as_echo_n "(cached) " >&6
56892 else
56895 ac_ext=cpp
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 #include <math.h>
56904 #ifdef HAVE_IEEEFP_H
56905 #include <ieeefp.h>
56906 #endif
56909 main ()
56911 sqrtf(0);
56913 return 0;
56915 _ACEOF
56916 if ac_fn_cxx_try_compile "$LINENO"; then :
56917 glibcxx_cv_func_sqrtf_use=yes
56918 else
56919 glibcxx_cv_func_sqrtf_use=no
56921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56922 ac_ext=c
56923 ac_cpp='$CPP $CPPFLAGS'
56924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56933 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56935 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56936 for ac_func in sqrtf
56937 do :
56938 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56939 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56940 cat >>confdefs.h <<_ACEOF
56941 #define HAVE_SQRTF 1
56942 _ACEOF
56945 done
56947 else
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56950 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56951 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56952 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56953 $as_echo_n "(cached) " >&6
56954 else
56957 ac_ext=cpp
56958 ac_cpp='$CXXCPP $CPPFLAGS'
56959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964 /* end confdefs.h. */
56965 #include <math.h>
56966 #ifdef HAVE_IEEEFP_H
56967 #include <ieeefp.h>
56968 #endif
56971 main ()
56973 _sqrtf(0);
56975 return 0;
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979 glibcxx_cv_func__sqrtf_use=yes
56980 else
56981 glibcxx_cv_func__sqrtf_use=no
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56995 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56997 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56998 for ac_func in _sqrtf
56999 do :
57000 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57001 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57002 cat >>confdefs.h <<_ACEOF
57003 #define HAVE__SQRTF 1
57004 _ACEOF
57007 done
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57017 $as_echo_n "checking for sincosf declaration... " >&6; }
57018 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57019 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57020 $as_echo_n "(cached) " >&6
57021 else
57024 ac_ext=cpp
57025 ac_cpp='$CXXCPP $CPPFLAGS'
57026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 #include <math.h>
57034 main ()
57036 sincosf(0, 0, 0);
57038 return 0;
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042 glibcxx_cv_func_sincosf_use=yes
57043 else
57044 glibcxx_cv_func_sincosf_use=no
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047 ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57058 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57060 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57061 for ac_func in sincosf
57062 do :
57063 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57064 if test "x$ac_cv_func_sincosf" = x""yes; then :
57065 cat >>confdefs.h <<_ACEOF
57066 #define HAVE_SINCOSF 1
57067 _ACEOF
57070 done
57072 else
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57075 $as_echo_n "checking for _sincosf declaration... " >&6; }
57076 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57077 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57078 $as_echo_n "(cached) " >&6
57079 else
57082 ac_ext=cpp
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089 /* end confdefs.h. */
57090 #include <math.h>
57092 main ()
57094 _sincosf(0, 0, 0);
57096 return 0;
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func__sincosf_use=yes
57101 else
57102 glibcxx_cv_func__sincosf_use=no
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57116 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57118 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57119 for ac_func in _sincosf
57120 do :
57121 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57122 if test "x$ac_cv_func__sincosf" = x""yes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE__SINCOSF 1
57125 _ACEOF
57128 done
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57138 $as_echo_n "checking for finitef declaration... " >&6; }
57139 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57140 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57141 $as_echo_n "(cached) " >&6
57142 else
57145 ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h. */
57153 #include <math.h>
57154 #ifdef HAVE_IEEEFP_H
57155 #include <ieeefp.h>
57156 #endif
57159 main ()
57161 finitef(0);
57163 return 0;
57165 _ACEOF
57166 if ac_fn_cxx_try_compile "$LINENO"; then :
57167 glibcxx_cv_func_finitef_use=yes
57168 else
57169 glibcxx_cv_func_finitef_use=no
57171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57172 ac_ext=c
57173 ac_cpp='$CPP $CPPFLAGS'
57174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57183 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57185 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57186 for ac_func in finitef
57187 do :
57188 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57189 if test "x$ac_cv_func_finitef" = x""yes; then :
57190 cat >>confdefs.h <<_ACEOF
57191 #define HAVE_FINITEF 1
57192 _ACEOF
57195 done
57197 else
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57200 $as_echo_n "checking for _finitef declaration... " >&6; }
57201 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57202 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57216 #ifdef HAVE_IEEEFP_H
57217 #include <ieeefp.h>
57218 #endif
57221 main ()
57223 _finitef(0);
57225 return 0;
57227 _ACEOF
57228 if ac_fn_cxx_try_compile "$LINENO"; then :
57229 glibcxx_cv_func__finitef_use=yes
57230 else
57231 glibcxx_cv_func__finitef_use=no
57233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57234 ac_ext=c
57235 ac_cpp='$CPP $CPPFLAGS'
57236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57245 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57247 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57248 for ac_func in _finitef
57249 do :
57250 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57251 if test "x$ac_cv_func__finitef" = x""yes; then :
57252 cat >>confdefs.h <<_ACEOF
57253 #define HAVE__FINITEF 1
57254 _ACEOF
57257 done
57266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57267 $as_echo_n "checking for long double trig functions... " >&6; }
57268 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57269 $as_echo_n "(cached) " >&6
57270 else
57273 ac_ext=cpp
57274 ac_cpp='$CXXCPP $CPPFLAGS'
57275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57280 /* end confdefs.h. */
57281 #include <math.h>
57283 main ()
57285 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57287 return 0;
57289 _ACEOF
57290 if ac_fn_cxx_try_compile "$LINENO"; then :
57291 glibcxx_cv_func_long_double_trig_use=yes
57292 else
57293 glibcxx_cv_func_long_double_trig_use=no
57295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57296 ac_ext=c
57297 ac_cpp='$CPP $CPPFLAGS'
57298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57305 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57306 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57307 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57308 do :
57309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57311 eval as_val=\$$as_ac_var
57312 if test "x$as_val" = x""yes; then :
57313 cat >>confdefs.h <<_ACEOF
57314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57315 _ACEOF
57318 done
57320 else
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57322 $as_echo_n "checking for _long double trig functions... " >&6; }
57323 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57324 $as_echo_n "(cached) " >&6
57325 else
57328 ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h. */
57336 #include <math.h>
57338 main ()
57340 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57342 return 0;
57344 _ACEOF
57345 if ac_fn_cxx_try_compile "$LINENO"; then :
57346 glibcxx_cv_func__long_double_trig_use=yes
57347 else
57348 glibcxx_cv_func__long_double_trig_use=no
57350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57351 ac_ext=c
57352 ac_cpp='$CPP $CPPFLAGS'
57353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57360 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57361 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57362 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57363 do :
57364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57366 eval as_val=\$$as_ac_var
57367 if test "x$as_val" = x""yes; then :
57368 cat >>confdefs.h <<_ACEOF
57369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57370 _ACEOF
57373 done
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57383 $as_echo_n "checking for long double round functions... " >&6; }
57384 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57385 $as_echo_n "(cached) " >&6
57386 else
57389 ac_ext=cpp
57390 ac_cpp='$CXXCPP $CPPFLAGS'
57391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57396 /* end confdefs.h. */
57397 #include <math.h>
57399 main ()
57401 ceill (0); floorl (0);
57403 return 0;
57405 _ACEOF
57406 if ac_fn_cxx_try_compile "$LINENO"; then :
57407 glibcxx_cv_func_long_double_round_use=yes
57408 else
57409 glibcxx_cv_func_long_double_round_use=no
57411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57412 ac_ext=c
57413 ac_cpp='$CPP $CPPFLAGS'
57414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57421 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57422 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57423 for ac_func in ceill floorl
57424 do :
57425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57427 eval as_val=\$$as_ac_var
57428 if test "x$as_val" = x""yes; then :
57429 cat >>confdefs.h <<_ACEOF
57430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57431 _ACEOF
57434 done
57436 else
57437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57438 $as_echo_n "checking for _long double round functions... " >&6; }
57439 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57440 $as_echo_n "(cached) " >&6
57441 else
57444 ac_ext=cpp
57445 ac_cpp='$CXXCPP $CPPFLAGS'
57446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57451 /* end confdefs.h. */
57452 #include <math.h>
57454 main ()
57456 _ceill (0); _floorl (0);
57458 return 0;
57460 _ACEOF
57461 if ac_fn_cxx_try_compile "$LINENO"; then :
57462 glibcxx_cv_func__long_double_round_use=yes
57463 else
57464 glibcxx_cv_func__long_double_round_use=no
57466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57467 ac_ext=c
57468 ac_cpp='$CPP $CPPFLAGS'
57469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57476 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57477 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57478 for ac_func in _ceill _floorl
57479 do :
57480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57482 eval as_val=\$$as_ac_var
57483 if test "x$as_val" = x""yes; then :
57484 cat >>confdefs.h <<_ACEOF
57485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57486 _ACEOF
57489 done
57499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57500 $as_echo_n "checking for isnanl declaration... " >&6; }
57501 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57502 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57503 $as_echo_n "(cached) " >&6
57504 else
57507 ac_ext=cpp
57508 ac_cpp='$CXXCPP $CPPFLAGS'
57509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57514 /* end confdefs.h. */
57515 #include <math.h>
57516 #ifdef HAVE_IEEEFP_H
57517 #include <ieeefp.h>
57518 #endif
57521 main ()
57523 isnanl(0);
57525 return 0;
57527 _ACEOF
57528 if ac_fn_cxx_try_compile "$LINENO"; then :
57529 glibcxx_cv_func_isnanl_use=yes
57530 else
57531 glibcxx_cv_func_isnanl_use=no
57533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57534 ac_ext=c
57535 ac_cpp='$CPP $CPPFLAGS'
57536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57545 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57547 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57548 for ac_func in isnanl
57549 do :
57550 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57551 if test "x$ac_cv_func_isnanl" = x""yes; then :
57552 cat >>confdefs.h <<_ACEOF
57553 #define HAVE_ISNANL 1
57554 _ACEOF
57557 done
57559 else
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57562 $as_echo_n "checking for _isnanl declaration... " >&6; }
57563 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57564 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57565 $as_echo_n "(cached) " >&6
57566 else
57569 ac_ext=cpp
57570 ac_cpp='$CXXCPP $CPPFLAGS'
57571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57576 /* end confdefs.h. */
57577 #include <math.h>
57578 #ifdef HAVE_IEEEFP_H
57579 #include <ieeefp.h>
57580 #endif
57583 main ()
57585 _isnanl(0);
57587 return 0;
57589 _ACEOF
57590 if ac_fn_cxx_try_compile "$LINENO"; then :
57591 glibcxx_cv_func__isnanl_use=yes
57592 else
57593 glibcxx_cv_func__isnanl_use=no
57595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57596 ac_ext=c
57597 ac_cpp='$CPP $CPPFLAGS'
57598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57607 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57609 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57610 for ac_func in _isnanl
57611 do :
57612 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57613 if test "x$ac_cv_func__isnanl" = x""yes; then :
57614 cat >>confdefs.h <<_ACEOF
57615 #define HAVE__ISNANL 1
57616 _ACEOF
57619 done
57628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57629 $as_echo_n "checking for isinfl declaration... " >&6; }
57630 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57631 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57632 $as_echo_n "(cached) " >&6
57633 else
57636 ac_ext=cpp
57637 ac_cpp='$CXXCPP $CPPFLAGS'
57638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57643 /* end confdefs.h. */
57644 #include <math.h>
57645 #ifdef HAVE_IEEEFP_H
57646 #include <ieeefp.h>
57647 #endif
57650 main ()
57652 isinfl(0);
57654 return 0;
57656 _ACEOF
57657 if ac_fn_cxx_try_compile "$LINENO"; then :
57658 glibcxx_cv_func_isinfl_use=yes
57659 else
57660 glibcxx_cv_func_isinfl_use=no
57662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57674 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57676 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57677 for ac_func in isinfl
57678 do :
57679 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57680 if test "x$ac_cv_func_isinfl" = x""yes; then :
57681 cat >>confdefs.h <<_ACEOF
57682 #define HAVE_ISINFL 1
57683 _ACEOF
57686 done
57688 else
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57691 $as_echo_n "checking for _isinfl declaration... " >&6; }
57692 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57693 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57694 $as_echo_n "(cached) " >&6
57695 else
57698 ac_ext=cpp
57699 ac_cpp='$CXXCPP $CPPFLAGS'
57700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705 /* end confdefs.h. */
57706 #include <math.h>
57707 #ifdef HAVE_IEEEFP_H
57708 #include <ieeefp.h>
57709 #endif
57712 main ()
57714 _isinfl(0);
57716 return 0;
57718 _ACEOF
57719 if ac_fn_cxx_try_compile "$LINENO"; then :
57720 glibcxx_cv_func__isinfl_use=yes
57721 else
57722 glibcxx_cv_func__isinfl_use=no
57724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57725 ac_ext=c
57726 ac_cpp='$CPP $CPPFLAGS'
57727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57736 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57738 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57739 for ac_func in _isinfl
57740 do :
57741 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57742 if test "x$ac_cv_func__isinfl" = x""yes; then :
57743 cat >>confdefs.h <<_ACEOF
57744 #define HAVE__ISINFL 1
57745 _ACEOF
57748 done
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57758 $as_echo_n "checking for atan2l declaration... " >&6; }
57759 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57760 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57761 $as_echo_n "(cached) " >&6
57762 else
57765 ac_ext=cpp
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772 /* end confdefs.h. */
57773 #include <math.h>
57775 main ()
57777 atan2l(0, 0);
57779 return 0;
57781 _ACEOF
57782 if ac_fn_cxx_try_compile "$LINENO"; then :
57783 glibcxx_cv_func_atan2l_use=yes
57784 else
57785 glibcxx_cv_func_atan2l_use=no
57787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57788 ac_ext=c
57789 ac_cpp='$CPP $CPPFLAGS'
57790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57799 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57801 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57802 for ac_func in atan2l
57803 do :
57804 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57805 if test "x$ac_cv_func_atan2l" = x""yes; then :
57806 cat >>confdefs.h <<_ACEOF
57807 #define HAVE_ATAN2L 1
57808 _ACEOF
57811 done
57813 else
57815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57816 $as_echo_n "checking for _atan2l declaration... " >&6; }
57817 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57818 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57819 $as_echo_n "(cached) " >&6
57820 else
57823 ac_ext=cpp
57824 ac_cpp='$CXXCPP $CPPFLAGS'
57825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57830 /* end confdefs.h. */
57831 #include <math.h>
57833 main ()
57835 _atan2l(0, 0);
57837 return 0;
57839 _ACEOF
57840 if ac_fn_cxx_try_compile "$LINENO"; then :
57841 glibcxx_cv_func__atan2l_use=yes
57842 else
57843 glibcxx_cv_func__atan2l_use=no
57845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57846 ac_ext=c
57847 ac_cpp='$CPP $CPPFLAGS'
57848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57857 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57859 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57860 for ac_func in _atan2l
57861 do :
57862 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57863 if test "x$ac_cv_func__atan2l" = x""yes; then :
57864 cat >>confdefs.h <<_ACEOF
57865 #define HAVE__ATAN2L 1
57866 _ACEOF
57869 done
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57879 $as_echo_n "checking for expl declaration... " >&6; }
57880 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57881 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57882 $as_echo_n "(cached) " >&6
57883 else
57886 ac_ext=cpp
57887 ac_cpp='$CXXCPP $CPPFLAGS'
57888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57893 /* end confdefs.h. */
57894 #include <math.h>
57895 #ifdef HAVE_IEEEFP_H
57896 #include <ieeefp.h>
57897 #endif
57900 main ()
57902 expl(0);
57904 return 0;
57906 _ACEOF
57907 if ac_fn_cxx_try_compile "$LINENO"; then :
57908 glibcxx_cv_func_expl_use=yes
57909 else
57910 glibcxx_cv_func_expl_use=no
57912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57913 ac_ext=c
57914 ac_cpp='$CPP $CPPFLAGS'
57915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57924 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57926 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57927 for ac_func in expl
57928 do :
57929 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57930 if test "x$ac_cv_func_expl" = x""yes; then :
57931 cat >>confdefs.h <<_ACEOF
57932 #define HAVE_EXPL 1
57933 _ACEOF
57936 done
57938 else
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57941 $as_echo_n "checking for _expl declaration... " >&6; }
57942 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57943 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57944 $as_echo_n "(cached) " >&6
57945 else
57948 ac_ext=cpp
57949 ac_cpp='$CXXCPP $CPPFLAGS'
57950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955 /* end confdefs.h. */
57956 #include <math.h>
57957 #ifdef HAVE_IEEEFP_H
57958 #include <ieeefp.h>
57959 #endif
57962 main ()
57964 _expl(0);
57966 return 0;
57968 _ACEOF
57969 if ac_fn_cxx_try_compile "$LINENO"; then :
57970 glibcxx_cv_func__expl_use=yes
57971 else
57972 glibcxx_cv_func__expl_use=no
57974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57975 ac_ext=c
57976 ac_cpp='$CPP $CPPFLAGS'
57977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57986 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57988 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57989 for ac_func in _expl
57990 do :
57991 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57992 if test "x$ac_cv_func__expl" = x""yes; then :
57993 cat >>confdefs.h <<_ACEOF
57994 #define HAVE__EXPL 1
57995 _ACEOF
57998 done
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58008 $as_echo_n "checking for fabsl declaration... " >&6; }
58009 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58010 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58011 $as_echo_n "(cached) " >&6
58012 else
58015 ac_ext=cpp
58016 ac_cpp='$CXXCPP $CPPFLAGS'
58017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58022 /* end confdefs.h. */
58023 #include <math.h>
58024 #ifdef HAVE_IEEEFP_H
58025 #include <ieeefp.h>
58026 #endif
58029 main ()
58031 fabsl(0);
58033 return 0;
58035 _ACEOF
58036 if ac_fn_cxx_try_compile "$LINENO"; then :
58037 glibcxx_cv_func_fabsl_use=yes
58038 else
58039 glibcxx_cv_func_fabsl_use=no
58041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58042 ac_ext=c
58043 ac_cpp='$CPP $CPPFLAGS'
58044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58053 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58055 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58056 for ac_func in fabsl
58057 do :
58058 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58059 if test "x$ac_cv_func_fabsl" = x""yes; then :
58060 cat >>confdefs.h <<_ACEOF
58061 #define HAVE_FABSL 1
58062 _ACEOF
58065 done
58067 else
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58070 $as_echo_n "checking for _fabsl declaration... " >&6; }
58071 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58072 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58073 $as_echo_n "(cached) " >&6
58074 else
58077 ac_ext=cpp
58078 ac_cpp='$CXXCPP $CPPFLAGS'
58079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084 /* end confdefs.h. */
58085 #include <math.h>
58086 #ifdef HAVE_IEEEFP_H
58087 #include <ieeefp.h>
58088 #endif
58091 main ()
58093 _fabsl(0);
58095 return 0;
58097 _ACEOF
58098 if ac_fn_cxx_try_compile "$LINENO"; then :
58099 glibcxx_cv_func__fabsl_use=yes
58100 else
58101 glibcxx_cv_func__fabsl_use=no
58103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58104 ac_ext=c
58105 ac_cpp='$CPP $CPPFLAGS'
58106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58115 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58117 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58118 for ac_func in _fabsl
58119 do :
58120 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58121 if test "x$ac_cv_func__fabsl" = x""yes; then :
58122 cat >>confdefs.h <<_ACEOF
58123 #define HAVE__FABSL 1
58124 _ACEOF
58127 done
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58137 $as_echo_n "checking for fmodl declaration... " >&6; }
58138 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58139 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58140 $as_echo_n "(cached) " >&6
58141 else
58144 ac_ext=cpp
58145 ac_cpp='$CXXCPP $CPPFLAGS'
58146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58151 /* end confdefs.h. */
58152 #include <math.h>
58154 main ()
58156 fmodl(0, 0);
58158 return 0;
58160 _ACEOF
58161 if ac_fn_cxx_try_compile "$LINENO"; then :
58162 glibcxx_cv_func_fmodl_use=yes
58163 else
58164 glibcxx_cv_func_fmodl_use=no
58166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58167 ac_ext=c
58168 ac_cpp='$CPP $CPPFLAGS'
58169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58178 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58180 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58181 for ac_func in fmodl
58182 do :
58183 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58184 if test "x$ac_cv_func_fmodl" = x""yes; then :
58185 cat >>confdefs.h <<_ACEOF
58186 #define HAVE_FMODL 1
58187 _ACEOF
58190 done
58192 else
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58195 $as_echo_n "checking for _fmodl declaration... " >&6; }
58196 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58197 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58198 $as_echo_n "(cached) " >&6
58199 else
58202 ac_ext=cpp
58203 ac_cpp='$CXXCPP $CPPFLAGS'
58204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58209 /* end confdefs.h. */
58210 #include <math.h>
58212 main ()
58214 _fmodl(0, 0);
58216 return 0;
58218 _ACEOF
58219 if ac_fn_cxx_try_compile "$LINENO"; then :
58220 glibcxx_cv_func__fmodl_use=yes
58221 else
58222 glibcxx_cv_func__fmodl_use=no
58224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58225 ac_ext=c
58226 ac_cpp='$CPP $CPPFLAGS'
58227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58236 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58238 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58239 for ac_func in _fmodl
58240 do :
58241 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58242 if test "x$ac_cv_func__fmodl" = x""yes; then :
58243 cat >>confdefs.h <<_ACEOF
58244 #define HAVE__FMODL 1
58245 _ACEOF
58248 done
58257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58258 $as_echo_n "checking for frexpl declaration... " >&6; }
58259 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58260 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58261 $as_echo_n "(cached) " >&6
58262 else
58265 ac_ext=cpp
58266 ac_cpp='$CXXCPP $CPPFLAGS'
58267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58272 /* end confdefs.h. */
58273 #include <math.h>
58275 main ()
58277 frexpl(0, 0);
58279 return 0;
58281 _ACEOF
58282 if ac_fn_cxx_try_compile "$LINENO"; then :
58283 glibcxx_cv_func_frexpl_use=yes
58284 else
58285 glibcxx_cv_func_frexpl_use=no
58287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58288 ac_ext=c
58289 ac_cpp='$CPP $CPPFLAGS'
58290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58299 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58301 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58302 for ac_func in frexpl
58303 do :
58304 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58305 if test "x$ac_cv_func_frexpl" = x""yes; then :
58306 cat >>confdefs.h <<_ACEOF
58307 #define HAVE_FREXPL 1
58308 _ACEOF
58311 done
58313 else
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58316 $as_echo_n "checking for _frexpl declaration... " >&6; }
58317 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58318 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <math.h>
58333 main ()
58335 _frexpl(0, 0);
58337 return 0;
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func__frexpl_use=yes
58342 else
58343 glibcxx_cv_func__frexpl_use=no
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58357 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58359 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58360 for ac_func in _frexpl
58361 do :
58362 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58363 if test "x$ac_cv_func__frexpl" = x""yes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE__FREXPL 1
58366 _ACEOF
58369 done
58378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58379 $as_echo_n "checking for hypotl declaration... " >&6; }
58380 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58381 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58382 $as_echo_n "(cached) " >&6
58383 else
58386 ac_ext=cpp
58387 ac_cpp='$CXXCPP $CPPFLAGS'
58388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58393 /* end confdefs.h. */
58394 #include <math.h>
58396 main ()
58398 hypotl(0, 0);
58400 return 0;
58402 _ACEOF
58403 if ac_fn_cxx_try_compile "$LINENO"; then :
58404 glibcxx_cv_func_hypotl_use=yes
58405 else
58406 glibcxx_cv_func_hypotl_use=no
58408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58409 ac_ext=c
58410 ac_cpp='$CPP $CPPFLAGS'
58411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58420 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58422 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58423 for ac_func in hypotl
58424 do :
58425 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58426 if test "x$ac_cv_func_hypotl" = x""yes; then :
58427 cat >>confdefs.h <<_ACEOF
58428 #define HAVE_HYPOTL 1
58429 _ACEOF
58432 done
58434 else
58436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58437 $as_echo_n "checking for _hypotl declaration... " >&6; }
58438 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58439 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58440 $as_echo_n "(cached) " >&6
58441 else
58444 ac_ext=cpp
58445 ac_cpp='$CXXCPP $CPPFLAGS'
58446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58451 /* end confdefs.h. */
58452 #include <math.h>
58454 main ()
58456 _hypotl(0, 0);
58458 return 0;
58460 _ACEOF
58461 if ac_fn_cxx_try_compile "$LINENO"; then :
58462 glibcxx_cv_func__hypotl_use=yes
58463 else
58464 glibcxx_cv_func__hypotl_use=no
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58478 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58480 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58481 for ac_func in _hypotl
58482 do :
58483 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58484 if test "x$ac_cv_func__hypotl" = x""yes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE__HYPOTL 1
58487 _ACEOF
58490 done
58499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58500 $as_echo_n "checking for ldexpl declaration... " >&6; }
58501 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58502 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58503 $as_echo_n "(cached) " >&6
58504 else
58507 ac_ext=cpp
58508 ac_cpp='$CXXCPP $CPPFLAGS'
58509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58514 /* end confdefs.h. */
58515 #include <math.h>
58517 main ()
58519 ldexpl(0, 0);
58521 return 0;
58523 _ACEOF
58524 if ac_fn_cxx_try_compile "$LINENO"; then :
58525 glibcxx_cv_func_ldexpl_use=yes
58526 else
58527 glibcxx_cv_func_ldexpl_use=no
58529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58530 ac_ext=c
58531 ac_cpp='$CPP $CPPFLAGS'
58532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58541 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58543 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58544 for ac_func in ldexpl
58545 do :
58546 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58547 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58548 cat >>confdefs.h <<_ACEOF
58549 #define HAVE_LDEXPL 1
58550 _ACEOF
58553 done
58555 else
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58558 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58559 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58560 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58561 $as_echo_n "(cached) " >&6
58562 else
58565 ac_ext=cpp
58566 ac_cpp='$CXXCPP $CPPFLAGS'
58567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572 /* end confdefs.h. */
58573 #include <math.h>
58575 main ()
58577 _ldexpl(0, 0);
58579 return 0;
58581 _ACEOF
58582 if ac_fn_cxx_try_compile "$LINENO"; then :
58583 glibcxx_cv_func__ldexpl_use=yes
58584 else
58585 glibcxx_cv_func__ldexpl_use=no
58587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588 ac_ext=c
58589 ac_cpp='$CPP $CPPFLAGS'
58590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58599 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58601 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58602 for ac_func in _ldexpl
58603 do :
58604 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58605 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58606 cat >>confdefs.h <<_ACEOF
58607 #define HAVE__LDEXPL 1
58608 _ACEOF
58611 done
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58621 $as_echo_n "checking for logl declaration... " >&6; }
58622 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58623 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58624 $as_echo_n "(cached) " >&6
58625 else
58628 ac_ext=cpp
58629 ac_cpp='$CXXCPP $CPPFLAGS'
58630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58635 /* end confdefs.h. */
58636 #include <math.h>
58637 #ifdef HAVE_IEEEFP_H
58638 #include <ieeefp.h>
58639 #endif
58642 main ()
58644 logl(0);
58646 return 0;
58648 _ACEOF
58649 if ac_fn_cxx_try_compile "$LINENO"; then :
58650 glibcxx_cv_func_logl_use=yes
58651 else
58652 glibcxx_cv_func_logl_use=no
58654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58666 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58668 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58669 for ac_func in logl
58670 do :
58671 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58672 if test "x$ac_cv_func_logl" = x""yes; then :
58673 cat >>confdefs.h <<_ACEOF
58674 #define HAVE_LOGL 1
58675 _ACEOF
58678 done
58680 else
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58683 $as_echo_n "checking for _logl declaration... " >&6; }
58684 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58685 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58686 $as_echo_n "(cached) " >&6
58687 else
58690 ac_ext=cpp
58691 ac_cpp='$CXXCPP $CPPFLAGS'
58692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697 /* end confdefs.h. */
58698 #include <math.h>
58699 #ifdef HAVE_IEEEFP_H
58700 #include <ieeefp.h>
58701 #endif
58704 main ()
58706 _logl(0);
58708 return 0;
58710 _ACEOF
58711 if ac_fn_cxx_try_compile "$LINENO"; then :
58712 glibcxx_cv_func__logl_use=yes
58713 else
58714 glibcxx_cv_func__logl_use=no
58716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58717 ac_ext=c
58718 ac_cpp='$CPP $CPPFLAGS'
58719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58728 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58730 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58731 for ac_func in _logl
58732 do :
58733 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58734 if test "x$ac_cv_func__logl" = x""yes; then :
58735 cat >>confdefs.h <<_ACEOF
58736 #define HAVE__LOGL 1
58737 _ACEOF
58740 done
58749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58750 $as_echo_n "checking for log10l declaration... " >&6; }
58751 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58752 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58753 $as_echo_n "(cached) " >&6
58754 else
58757 ac_ext=cpp
58758 ac_cpp='$CXXCPP $CPPFLAGS'
58759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58764 /* end confdefs.h. */
58765 #include <math.h>
58766 #ifdef HAVE_IEEEFP_H
58767 #include <ieeefp.h>
58768 #endif
58771 main ()
58773 log10l(0);
58775 return 0;
58777 _ACEOF
58778 if ac_fn_cxx_try_compile "$LINENO"; then :
58779 glibcxx_cv_func_log10l_use=yes
58780 else
58781 glibcxx_cv_func_log10l_use=no
58783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58784 ac_ext=c
58785 ac_cpp='$CPP $CPPFLAGS'
58786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58795 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58797 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58798 for ac_func in log10l
58799 do :
58800 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58801 if test "x$ac_cv_func_log10l" = x""yes; then :
58802 cat >>confdefs.h <<_ACEOF
58803 #define HAVE_LOG10L 1
58804 _ACEOF
58807 done
58809 else
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58812 $as_echo_n "checking for _log10l declaration... " >&6; }
58813 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58814 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58815 $as_echo_n "(cached) " >&6
58816 else
58819 ac_ext=cpp
58820 ac_cpp='$CXXCPP $CPPFLAGS'
58821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58826 /* end confdefs.h. */
58827 #include <math.h>
58828 #ifdef HAVE_IEEEFP_H
58829 #include <ieeefp.h>
58830 #endif
58833 main ()
58835 _log10l(0);
58837 return 0;
58839 _ACEOF
58840 if ac_fn_cxx_try_compile "$LINENO"; then :
58841 glibcxx_cv_func__log10l_use=yes
58842 else
58843 glibcxx_cv_func__log10l_use=no
58845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58846 ac_ext=c
58847 ac_cpp='$CPP $CPPFLAGS'
58848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58857 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58859 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58860 for ac_func in _log10l
58861 do :
58862 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58863 if test "x$ac_cv_func__log10l" = x""yes; then :
58864 cat >>confdefs.h <<_ACEOF
58865 #define HAVE__LOG10L 1
58866 _ACEOF
58869 done
58878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58879 $as_echo_n "checking for modfl declaration... " >&6; }
58880 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58881 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58882 $as_echo_n "(cached) " >&6
58883 else
58886 ac_ext=cpp
58887 ac_cpp='$CXXCPP $CPPFLAGS'
58888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58893 /* end confdefs.h. */
58894 #include <math.h>
58896 main ()
58898 modfl(0, 0);
58900 return 0;
58902 _ACEOF
58903 if ac_fn_cxx_try_compile "$LINENO"; then :
58904 glibcxx_cv_func_modfl_use=yes
58905 else
58906 glibcxx_cv_func_modfl_use=no
58908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58909 ac_ext=c
58910 ac_cpp='$CPP $CPPFLAGS'
58911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58920 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58922 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58923 for ac_func in modfl
58924 do :
58925 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58926 if test "x$ac_cv_func_modfl" = x""yes; then :
58927 cat >>confdefs.h <<_ACEOF
58928 #define HAVE_MODFL 1
58929 _ACEOF
58932 done
58934 else
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58937 $as_echo_n "checking for _modfl declaration... " >&6; }
58938 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58939 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58940 $as_echo_n "(cached) " >&6
58941 else
58944 ac_ext=cpp
58945 ac_cpp='$CXXCPP $CPPFLAGS'
58946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58951 /* end confdefs.h. */
58952 #include <math.h>
58954 main ()
58956 _modfl(0, 0);
58958 return 0;
58960 _ACEOF
58961 if ac_fn_cxx_try_compile "$LINENO"; then :
58962 glibcxx_cv_func__modfl_use=yes
58963 else
58964 glibcxx_cv_func__modfl_use=no
58966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58967 ac_ext=c
58968 ac_cpp='$CPP $CPPFLAGS'
58969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58978 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58980 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58981 for ac_func in _modfl
58982 do :
58983 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58984 if test "x$ac_cv_func__modfl" = x""yes; then :
58985 cat >>confdefs.h <<_ACEOF
58986 #define HAVE__MODFL 1
58987 _ACEOF
58990 done
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59000 $as_echo_n "checking for powl declaration... " >&6; }
59001 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59002 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59003 $as_echo_n "(cached) " >&6
59004 else
59007 ac_ext=cpp
59008 ac_cpp='$CXXCPP $CPPFLAGS'
59009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59014 /* end confdefs.h. */
59015 #include <math.h>
59017 main ()
59019 powl(0, 0);
59021 return 0;
59023 _ACEOF
59024 if ac_fn_cxx_try_compile "$LINENO"; then :
59025 glibcxx_cv_func_powl_use=yes
59026 else
59027 glibcxx_cv_func_powl_use=no
59029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59030 ac_ext=c
59031 ac_cpp='$CPP $CPPFLAGS'
59032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59041 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59043 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59044 for ac_func in powl
59045 do :
59046 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59047 if test "x$ac_cv_func_powl" = x""yes; then :
59048 cat >>confdefs.h <<_ACEOF
59049 #define HAVE_POWL 1
59050 _ACEOF
59053 done
59055 else
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59058 $as_echo_n "checking for _powl declaration... " >&6; }
59059 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59060 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59061 $as_echo_n "(cached) " >&6
59062 else
59065 ac_ext=cpp
59066 ac_cpp='$CXXCPP $CPPFLAGS'
59067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59072 /* end confdefs.h. */
59073 #include <math.h>
59075 main ()
59077 _powl(0, 0);
59079 return 0;
59081 _ACEOF
59082 if ac_fn_cxx_try_compile "$LINENO"; then :
59083 glibcxx_cv_func__powl_use=yes
59084 else
59085 glibcxx_cv_func__powl_use=no
59087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59088 ac_ext=c
59089 ac_cpp='$CPP $CPPFLAGS'
59090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59099 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59101 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59102 for ac_func in _powl
59103 do :
59104 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59105 if test "x$ac_cv_func__powl" = x""yes; then :
59106 cat >>confdefs.h <<_ACEOF
59107 #define HAVE__POWL 1
59108 _ACEOF
59111 done
59120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59121 $as_echo_n "checking for sqrtl declaration... " >&6; }
59122 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59123 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59124 $as_echo_n "(cached) " >&6
59125 else
59128 ac_ext=cpp
59129 ac_cpp='$CXXCPP $CPPFLAGS'
59130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59135 /* end confdefs.h. */
59136 #include <math.h>
59137 #ifdef HAVE_IEEEFP_H
59138 #include <ieeefp.h>
59139 #endif
59142 main ()
59144 sqrtl(0);
59146 return 0;
59148 _ACEOF
59149 if ac_fn_cxx_try_compile "$LINENO"; then :
59150 glibcxx_cv_func_sqrtl_use=yes
59151 else
59152 glibcxx_cv_func_sqrtl_use=no
59154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59155 ac_ext=c
59156 ac_cpp='$CPP $CPPFLAGS'
59157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59166 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59168 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59169 for ac_func in sqrtl
59170 do :
59171 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59172 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59173 cat >>confdefs.h <<_ACEOF
59174 #define HAVE_SQRTL 1
59175 _ACEOF
59178 done
59180 else
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59183 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59184 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59185 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59186 $as_echo_n "(cached) " >&6
59187 else
59190 ac_ext=cpp
59191 ac_cpp='$CXXCPP $CPPFLAGS'
59192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59197 /* end confdefs.h. */
59198 #include <math.h>
59199 #ifdef HAVE_IEEEFP_H
59200 #include <ieeefp.h>
59201 #endif
59204 main ()
59206 _sqrtl(0);
59208 return 0;
59210 _ACEOF
59211 if ac_fn_cxx_try_compile "$LINENO"; then :
59212 glibcxx_cv_func__sqrtl_use=yes
59213 else
59214 glibcxx_cv_func__sqrtl_use=no
59216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59217 ac_ext=c
59218 ac_cpp='$CPP $CPPFLAGS'
59219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59228 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59230 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59231 for ac_func in _sqrtl
59232 do :
59233 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59234 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59235 cat >>confdefs.h <<_ACEOF
59236 #define HAVE__SQRTL 1
59237 _ACEOF
59240 done
59249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59250 $as_echo_n "checking for sincosl declaration... " >&6; }
59251 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59252 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59253 $as_echo_n "(cached) " >&6
59254 else
59257 ac_ext=cpp
59258 ac_cpp='$CXXCPP $CPPFLAGS'
59259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59264 /* end confdefs.h. */
59265 #include <math.h>
59267 main ()
59269 sincosl(0, 0, 0);
59271 return 0;
59273 _ACEOF
59274 if ac_fn_cxx_try_compile "$LINENO"; then :
59275 glibcxx_cv_func_sincosl_use=yes
59276 else
59277 glibcxx_cv_func_sincosl_use=no
59279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59280 ac_ext=c
59281 ac_cpp='$CPP $CPPFLAGS'
59282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59291 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59293 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59294 for ac_func in sincosl
59295 do :
59296 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59297 if test "x$ac_cv_func_sincosl" = x""yes; then :
59298 cat >>confdefs.h <<_ACEOF
59299 #define HAVE_SINCOSL 1
59300 _ACEOF
59303 done
59305 else
59307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59308 $as_echo_n "checking for _sincosl declaration... " >&6; }
59309 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59310 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59311 $as_echo_n "(cached) " >&6
59312 else
59315 ac_ext=cpp
59316 ac_cpp='$CXXCPP $CPPFLAGS'
59317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322 /* end confdefs.h. */
59323 #include <math.h>
59325 main ()
59327 _sincosl(0, 0, 0);
59329 return 0;
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func__sincosl_use=yes
59334 else
59335 glibcxx_cv_func__sincosl_use=no
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59349 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59351 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59352 for ac_func in _sincosl
59353 do :
59354 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59355 if test "x$ac_cv_func__sincosl" = x""yes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE__SINCOSL 1
59358 _ACEOF
59361 done
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59371 $as_echo_n "checking for finitel declaration... " >&6; }
59372 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59373 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59374 $as_echo_n "(cached) " >&6
59375 else
59378 ac_ext=cpp
59379 ac_cpp='$CXXCPP $CPPFLAGS'
59380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59385 /* end confdefs.h. */
59386 #include <math.h>
59387 #ifdef HAVE_IEEEFP_H
59388 #include <ieeefp.h>
59389 #endif
59392 main ()
59394 finitel(0);
59396 return 0;
59398 _ACEOF
59399 if ac_fn_cxx_try_compile "$LINENO"; then :
59400 glibcxx_cv_func_finitel_use=yes
59401 else
59402 glibcxx_cv_func_finitel_use=no
59404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59405 ac_ext=c
59406 ac_cpp='$CPP $CPPFLAGS'
59407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59416 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59418 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59419 for ac_func in finitel
59420 do :
59421 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59422 if test "x$ac_cv_func_finitel" = x""yes; then :
59423 cat >>confdefs.h <<_ACEOF
59424 #define HAVE_FINITEL 1
59425 _ACEOF
59428 done
59430 else
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59433 $as_echo_n "checking for _finitel declaration... " >&6; }
59434 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59435 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59436 $as_echo_n "(cached) " >&6
59437 else
59440 ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h. */
59448 #include <math.h>
59449 #ifdef HAVE_IEEEFP_H
59450 #include <ieeefp.h>
59451 #endif
59454 main ()
59456 _finitel(0);
59458 return 0;
59460 _ACEOF
59461 if ac_fn_cxx_try_compile "$LINENO"; then :
59462 glibcxx_cv_func__finitel_use=yes
59463 else
59464 glibcxx_cv_func__finitel_use=no
59466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59467 ac_ext=c
59468 ac_cpp='$CPP $CPPFLAGS'
59469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59478 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59480 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59481 for ac_func in _finitel
59482 do :
59483 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59484 if test "x$ac_cv_func__finitel" = x""yes; then :
59485 cat >>confdefs.h <<_ACEOF
59486 #define HAVE__FINITEL 1
59487 _ACEOF
59490 done
59498 LIBS="$ac_save_LIBS"
59499 CXXFLAGS="$ac_save_CXXFLAGS"
59502 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59503 ac_save_CXXFLAGS="$CXXFLAGS"
59504 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59508 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59509 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59510 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59511 $as_echo_n "(cached) " >&6
59512 else
59515 ac_ext=cpp
59516 ac_cpp='$CXXCPP $CPPFLAGS'
59517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59522 /* end confdefs.h. */
59523 #include <stdlib.h>
59525 main ()
59527 at_quick_exit(0);
59529 return 0;
59531 _ACEOF
59532 if ac_fn_cxx_try_compile "$LINENO"; then :
59533 glibcxx_cv_func_at_quick_exit_use=yes
59534 else
59535 glibcxx_cv_func_at_quick_exit_use=no
59537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59538 ac_ext=c
59539 ac_cpp='$CPP $CPPFLAGS'
59540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59549 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59550 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59551 for ac_func in at_quick_exit
59552 do :
59553 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59554 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59555 cat >>confdefs.h <<_ACEOF
59556 #define HAVE_AT_QUICK_EXIT 1
59557 _ACEOF
59560 done
59565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59566 $as_echo_n "checking for quick_exit declaration... " >&6; }
59567 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59568 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59569 $as_echo_n "(cached) " >&6
59570 else
59573 ac_ext=cpp
59574 ac_cpp='$CXXCPP $CPPFLAGS'
59575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59580 /* end confdefs.h. */
59581 #include <stdlib.h>
59583 main ()
59585 quick_exit(0);
59587 return 0;
59589 _ACEOF
59590 if ac_fn_cxx_try_compile "$LINENO"; then :
59591 glibcxx_cv_func_quick_exit_use=yes
59592 else
59593 glibcxx_cv_func_quick_exit_use=no
59595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59596 ac_ext=c
59597 ac_cpp='$CPP $CPPFLAGS'
59598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59607 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59608 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59609 for ac_func in quick_exit
59610 do :
59611 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59612 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59613 cat >>confdefs.h <<_ACEOF
59614 #define HAVE_QUICK_EXIT 1
59615 _ACEOF
59618 done
59623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59624 $as_echo_n "checking for strtold declaration... " >&6; }
59625 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59626 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59627 $as_echo_n "(cached) " >&6
59628 else
59631 ac_ext=cpp
59632 ac_cpp='$CXXCPP $CPPFLAGS'
59633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59638 /* end confdefs.h. */
59639 #include <stdlib.h>
59641 main ()
59643 strtold(0, 0);
59645 return 0;
59647 _ACEOF
59648 if ac_fn_cxx_try_compile "$LINENO"; then :
59649 glibcxx_cv_func_strtold_use=yes
59650 else
59651 glibcxx_cv_func_strtold_use=no
59653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59654 ac_ext=c
59655 ac_cpp='$CPP $CPPFLAGS'
59656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59665 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59666 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59667 for ac_func in strtold
59668 do :
59669 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59670 if test "x$ac_cv_func_strtold" = x""yes; then :
59671 cat >>confdefs.h <<_ACEOF
59672 #define HAVE_STRTOLD 1
59673 _ACEOF
59676 done
59683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59684 $as_echo_n "checking for strtof declaration... " >&6; }
59685 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59686 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59687 $as_echo_n "(cached) " >&6
59688 else
59691 ac_ext=cpp
59692 ac_cpp='$CXXCPP $CPPFLAGS'
59693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59698 /* end confdefs.h. */
59699 #include <stdlib.h>
59701 main ()
59703 strtof(0, 0);
59705 return 0;
59707 _ACEOF
59708 if ac_fn_cxx_try_compile "$LINENO"; then :
59709 glibcxx_cv_func_strtof_use=yes
59710 else
59711 glibcxx_cv_func_strtof_use=no
59713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59714 ac_ext=c
59715 ac_cpp='$CPP $CPPFLAGS'
59716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59725 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59726 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59727 for ac_func in strtof
59728 do :
59729 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59730 if test "x$ac_cv_func_strtof" = x""yes; then :
59731 cat >>confdefs.h <<_ACEOF
59732 #define HAVE_STRTOF 1
59733 _ACEOF
59736 done
59743 CXXFLAGS="$ac_save_CXXFLAGS"
59745 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
59747 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59751 # Check whether --enable-tls was given.
59752 if test "${enable_tls+set}" = set; then :
59753 enableval=$enable_tls;
59754 case "$enableval" in
59755 yes|no) ;;
59756 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59757 esac
59759 else
59760 enable_tls=yes
59764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59765 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59766 if test "${gcc_cv_have_tls+set}" = set; then :
59767 $as_echo_n "(cached) " >&6
59768 else
59770 if test "$cross_compiling" = yes; then :
59771 if test x$gcc_no_link = xyes; then
59772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59775 /* end confdefs.h. */
59776 __thread int a; int b; int main() { return a = b; }
59777 _ACEOF
59778 if ac_fn_c_try_link "$LINENO"; then :
59779 chktls_save_LDFLAGS="$LDFLAGS"
59780 case $host in
59781 *-*-linux*)
59782 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59784 esac
59785 chktls_save_CFLAGS="$CFLAGS"
59786 CFLAGS="-fPIC $CFLAGS"
59787 if test x$gcc_no_link = xyes; then
59788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59791 /* end confdefs.h. */
59792 int f() { return 0; }
59793 _ACEOF
59794 if ac_fn_c_try_link "$LINENO"; then :
59795 if test x$gcc_no_link = xyes; then
59796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59799 /* end confdefs.h. */
59800 __thread int a; int b; int f() { return a = b; }
59801 _ACEOF
59802 if ac_fn_c_try_link "$LINENO"; then :
59803 gcc_cv_have_tls=yes
59804 else
59805 gcc_cv_have_tls=no
59807 rm -f core conftest.err conftest.$ac_objext \
59808 conftest$ac_exeext conftest.$ac_ext
59809 else
59810 gcc_cv_have_tls=yes
59812 rm -f core conftest.err conftest.$ac_objext \
59813 conftest$ac_exeext conftest.$ac_ext
59814 CFLAGS="$chktls_save_CFLAGS"
59815 LDFLAGS="$chktls_save_LDFLAGS"
59816 else
59817 gcc_cv_have_tls=no
59819 rm -f core conftest.err conftest.$ac_objext \
59820 conftest$ac_exeext conftest.$ac_ext
59823 else
59824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59825 /* end confdefs.h. */
59826 __thread int a; int b; int main() { return a = b; }
59827 _ACEOF
59828 if ac_fn_c_try_run "$LINENO"; then :
59829 chktls_save_LDFLAGS="$LDFLAGS"
59830 LDFLAGS="-static $LDFLAGS"
59831 if test x$gcc_no_link = xyes; then
59832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59835 /* end confdefs.h. */
59836 int main() { return 0; }
59837 _ACEOF
59838 if ac_fn_c_try_link "$LINENO"; then :
59839 if test "$cross_compiling" = yes; then :
59840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59842 as_fn_error "cannot run test program while cross compiling
59843 See \`config.log' for more details." "$LINENO" 5; }
59844 else
59845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59846 /* end confdefs.h. */
59847 __thread int a; int b; int main() { return a = b; }
59848 _ACEOF
59849 if ac_fn_c_try_run "$LINENO"; then :
59850 gcc_cv_have_tls=yes
59851 else
59852 gcc_cv_have_tls=no
59854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59855 conftest.$ac_objext conftest.beam conftest.$ac_ext
59858 else
59859 gcc_cv_have_tls=yes
59861 rm -f core conftest.err conftest.$ac_objext \
59862 conftest$ac_exeext conftest.$ac_ext
59863 LDFLAGS="$chktls_save_LDFLAGS"
59864 if test $gcc_cv_have_tls = yes; then
59865 chktls_save_CFLAGS="$CFLAGS"
59866 thread_CFLAGS=failed
59867 for flag in '' '-pthread' '-lpthread'; do
59868 CFLAGS="$flag $chktls_save_CFLAGS"
59869 if test x$gcc_no_link = xyes; then
59870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59873 /* end confdefs.h. */
59874 #include <pthread.h>
59875 void *g(void *d) { return NULL; }
59877 main ()
59879 pthread_t t; pthread_create(&t,NULL,g,NULL);
59881 return 0;
59883 _ACEOF
59884 if ac_fn_c_try_link "$LINENO"; then :
59885 thread_CFLAGS="$flag"
59887 rm -f core conftest.err conftest.$ac_objext \
59888 conftest$ac_exeext conftest.$ac_ext
59889 if test "X$thread_CFLAGS" != Xfailed; then
59890 break
59892 done
59893 CFLAGS="$chktls_save_CFLAGS"
59894 if test "X$thread_CFLAGS" != Xfailed; then
59895 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59896 if test "$cross_compiling" = yes; then :
59897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59899 as_fn_error "cannot run test program while cross compiling
59900 See \`config.log' for more details." "$LINENO" 5; }
59901 else
59902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59903 /* end confdefs.h. */
59904 #include <pthread.h>
59905 __thread int a;
59906 static int *volatile a_in_other_thread;
59907 static void *
59908 thread_func (void *arg)
59910 a_in_other_thread = &a;
59911 return (void *)0;
59914 main ()
59916 pthread_t thread;
59917 void *thread_retval;
59918 int *volatile a_in_main_thread;
59919 a_in_main_thread = &a;
59920 if (pthread_create (&thread, (pthread_attr_t *)0,
59921 thread_func, (void *)0))
59922 return 0;
59923 if (pthread_join (thread, &thread_retval))
59924 return 0;
59925 return (a_in_other_thread == a_in_main_thread);
59927 return 0;
59929 _ACEOF
59930 if ac_fn_c_try_run "$LINENO"; then :
59931 gcc_cv_have_tls=yes
59932 else
59933 gcc_cv_have_tls=no
59935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59936 conftest.$ac_objext conftest.beam conftest.$ac_ext
59939 CFLAGS="$chktls_save_CFLAGS"
59942 else
59943 gcc_cv_have_tls=no
59945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59946 conftest.$ac_objext conftest.beam conftest.$ac_ext
59950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59951 $as_echo "$gcc_cv_have_tls" >&6; }
59952 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59954 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59957 for ac_func in __cxa_thread_atexit_impl
59958 do :
59959 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59960 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59961 cat >>confdefs.h <<_ACEOF
59962 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59963 _ACEOF
59966 done
59968 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59969 do :
59970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59972 eval as_val=\$$as_ac_var
59973 if test "x$as_val" = x""yes; then :
59974 cat >>confdefs.h <<_ACEOF
59975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59976 _ACEOF
59979 done
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59987 $as_echo_n "checking for iconv... " >&6; }
59988 if test "${am_cv_func_iconv+set}" = set; then :
59989 $as_echo_n "(cached) " >&6
59990 else
59992 am_cv_func_iconv="no, consider installing GNU libiconv"
59993 am_cv_lib_iconv=no
59994 am_save_CPPFLAGS="$CPPFLAGS"
59995 CPPFLAGS="$CPPFLAGS $INCICONV"
59996 if test x$gcc_no_link = xyes; then
59997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60000 /* end confdefs.h. */
60001 #include <stdlib.h>
60002 #include <iconv.h>
60004 main ()
60006 iconv_t cd = iconv_open("","");
60007 iconv(cd,NULL,NULL,NULL,NULL);
60008 iconv_close(cd);
60010 return 0;
60012 _ACEOF
60013 if ac_fn_c_try_link "$LINENO"; then :
60014 am_cv_func_iconv=yes
60016 rm -f core conftest.err conftest.$ac_objext \
60017 conftest$ac_exeext conftest.$ac_ext
60018 CPPFLAGS="$am_save_CPPFLAGS"
60020 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60021 for _libs in .libs _libs; do
60022 am_save_CPPFLAGS="$CPPFLAGS"
60023 am_save_LIBS="$LIBS"
60024 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60025 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60026 if test x$gcc_no_link = xyes; then
60027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60030 /* end confdefs.h. */
60031 #include <stdlib.h>
60032 #include <iconv.h>
60034 main ()
60036 iconv_t cd = iconv_open("","");
60037 iconv(cd,NULL,NULL,NULL,NULL);
60038 iconv_close(cd);
60040 return 0;
60042 _ACEOF
60043 if ac_fn_c_try_link "$LINENO"; then :
60044 INCICONV="-I../libiconv/include"
60045 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60046 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60047 am_cv_lib_iconv=yes
60048 am_cv_func_iconv=yes
60050 rm -f core conftest.err conftest.$ac_objext \
60051 conftest$ac_exeext conftest.$ac_ext
60052 CPPFLAGS="$am_save_CPPFLAGS"
60053 LIBS="$am_save_LIBS"
60054 if test "$am_cv_func_iconv" = "yes"; then
60055 break
60057 done
60060 if test "$am_cv_func_iconv" != yes; then
60061 am_save_CPPFLAGS="$CPPFLAGS"
60062 am_save_LIBS="$LIBS"
60063 CPPFLAGS="$LIBS $INCICONV"
60064 LIBS="$LIBS $LIBICONV"
60065 if test x$gcc_no_link = xyes; then
60066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60069 /* end confdefs.h. */
60070 #include <stdlib.h>
60071 #include <iconv.h>
60073 main ()
60075 iconv_t cd = iconv_open("","");
60076 iconv(cd,NULL,NULL,NULL,NULL);
60077 iconv_close(cd);
60079 return 0;
60081 _ACEOF
60082 if ac_fn_c_try_link "$LINENO"; then :
60083 am_cv_lib_iconv=yes
60084 am_cv_func_iconv=yes
60086 rm -f core conftest.err conftest.$ac_objext \
60087 conftest$ac_exeext conftest.$ac_ext
60088 CPPFLAGS="$am_save_CPPFLAGS"
60089 LIBS="$am_save_LIBS"
60093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60094 $as_echo "$am_cv_func_iconv" >&6; }
60095 if test "$am_cv_func_iconv" = yes; then
60097 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60100 if test "$am_cv_lib_iconv" = yes; then
60102 for element in $INCICONV; do
60103 haveit=
60104 for x in $CPPFLAGS; do
60106 acl_save_prefix="$prefix"
60107 prefix="$acl_final_prefix"
60108 acl_save_exec_prefix="$exec_prefix"
60109 exec_prefix="$acl_final_exec_prefix"
60110 eval x=\"$x\"
60111 exec_prefix="$acl_save_exec_prefix"
60112 prefix="$acl_save_prefix"
60114 if test "X$x" = "X$element"; then
60115 haveit=yes
60116 break
60118 done
60119 if test -z "$haveit"; then
60120 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60122 done
60124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60125 $as_echo_n "checking how to link with libiconv... " >&6; }
60126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60127 $as_echo "$LIBICONV" >&6; }
60128 else
60129 LIBICONV=
60130 LTLIBICONV=
60135 if test "$am_cv_func_iconv" = yes; then
60136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60137 $as_echo_n "checking for iconv declaration... " >&6; }
60138 if test "${am_cv_proto_iconv+set}" = set; then :
60139 $as_echo_n "(cached) " >&6
60140 else
60142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60143 /* end confdefs.h. */
60145 #include <stdlib.h>
60146 #include <iconv.h>
60147 extern
60148 #ifdef __cplusplus
60150 #endif
60151 #if defined(__STDC__) || defined(__cplusplus)
60152 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60153 #else
60154 size_t iconv();
60155 #endif
60158 main ()
60162 return 0;
60164 _ACEOF
60165 if ac_fn_c_try_compile "$LINENO"; then :
60166 am_cv_proto_iconv_arg1=""
60167 else
60168 am_cv_proto_iconv_arg1="const"
60170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60171 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);"
60174 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60176 }$am_cv_proto_iconv" >&5
60177 $as_echo "${ac_t:-
60178 }$am_cv_proto_iconv" >&6; }
60180 cat >>confdefs.h <<_ACEOF
60181 #define ICONV_CONST $am_cv_proto_iconv_arg1
60182 _ACEOF
60187 *-mingw32*)
60189 # If we're not using GNU ld, then there's no point in even trying these
60190 # tests. Check for that first. We should have already tested for gld
60191 # by now (in libtool), but require it now just to be safe...
60192 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60193 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60197 # The name set by libtool depends on the version of libtool. Shame on us
60198 # for depending on an impl detail, but c'est la vie. Older versions used
60199 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60200 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60201 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60202 # set (hence we're using an older libtool), then set it.
60203 if test x${with_gnu_ld+set} != xset; then
60204 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60205 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60206 with_gnu_ld=no
60207 else
60208 with_gnu_ld=$ac_cv_prog_gnu_ld
60212 # Start by getting the version number. I think the libtool test already
60213 # does some of this, but throws away the result.
60214 glibcxx_ld_is_gold=no
60215 if test x"$with_gnu_ld" = x"yes"; then
60216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60217 $as_echo_n "checking for ld version... " >&6; }
60219 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60220 glibcxx_ld_is_gold=yes
60222 ldver=`$LD --version 2>/dev/null |
60223 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'`
60225 glibcxx_gnu_ld_version=`echo $ldver | \
60226 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60228 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60231 # Set --gc-sections.
60232 glibcxx_have_gc_sections=no
60233 if test "$glibcxx_ld_is_gold" = "yes"; then
60234 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60235 glibcxx_have_gc_sections=yes
60237 else
60238 glibcxx_gcsections_min_ld=21602
60239 if test x"$with_gnu_ld" = x"yes" &&
60240 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60241 glibcxx_have_gc_sections=yes
60244 if test "$glibcxx_have_gc_sections" = "yes"; then
60245 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60246 # NB: This flag only works reliably after 2.16.1. Configure tests
60247 # for this are difficult, so hard wire a value that should work.
60249 ac_test_CFLAGS="${CFLAGS+set}"
60250 ac_save_CFLAGS="$CFLAGS"
60251 CFLAGS='-Wl,--gc-sections'
60253 # Check for -Wl,--gc-sections
60254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60255 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60256 if test x$gcc_no_link = xyes; then
60257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60260 /* end confdefs.h. */
60261 int one(void) { return 1; }
60262 int two(void) { return 2; }
60265 main ()
60267 two();
60269 return 0;
60271 _ACEOF
60272 if ac_fn_c_try_link "$LINENO"; then :
60273 ac_gcsections=yes
60274 else
60275 ac_gcsections=no
60277 rm -f core conftest.err conftest.$ac_objext \
60278 conftest$ac_exeext conftest.$ac_ext
60279 if test "$ac_gcsections" = "yes"; then
60280 rm -f conftest.c
60281 touch conftest.c
60282 if $CC -c conftest.c; then
60283 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60284 grep "Warning: gc-sections option ignored" > /dev/null; then
60285 ac_gcsections=no
60288 rm -f conftest.c conftest.o conftest
60290 if test "$ac_gcsections" = "yes"; then
60291 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60294 $as_echo "$ac_gcsections" >&6; }
60296 if test "$ac_test_CFLAGS" = set; then
60297 CFLAGS="$ac_save_CFLAGS"
60298 else
60299 # this is the suspicious part
60300 CFLAGS=''
60304 # Set -z,relro.
60305 # Note this is only for shared objects.
60306 ac_ld_relro=no
60307 if test x"$with_gnu_ld" = x"yes"; then
60308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60309 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60310 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60311 if test -n "$cxx_z_relo"; then
60312 OPT_LDFLAGS="-Wl,-z,relro"
60313 ac_ld_relro=yes
60315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60316 $as_echo "$ac_ld_relro" >&6; }
60319 # Set linker optimization flags.
60320 if test x"$with_gnu_ld" = x"yes"; then
60321 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60328 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60329 ac_save_CXXFLAGS="$CXXFLAGS"
60330 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60333 $as_echo_n "checking for sin in -lm... " >&6; }
60334 if test "${ac_cv_lib_m_sin+set}" = set; then :
60335 $as_echo_n "(cached) " >&6
60336 else
60337 ac_check_lib_save_LIBS=$LIBS
60338 LIBS="-lm $LIBS"
60339 if test x$gcc_no_link = xyes; then
60340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60343 /* end confdefs.h. */
60345 /* Override any GCC internal prototype to avoid an error.
60346 Use char because int might match the return type of a GCC
60347 builtin and then its argument prototype would still apply. */
60348 #ifdef __cplusplus
60349 extern "C"
60350 #endif
60351 char sin ();
60353 main ()
60355 return sin ();
60357 return 0;
60359 _ACEOF
60360 if ac_fn_c_try_link "$LINENO"; then :
60361 ac_cv_lib_m_sin=yes
60362 else
60363 ac_cv_lib_m_sin=no
60365 rm -f core conftest.err conftest.$ac_objext \
60366 conftest$ac_exeext conftest.$ac_ext
60367 LIBS=$ac_check_lib_save_LIBS
60369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60370 $as_echo "$ac_cv_lib_m_sin" >&6; }
60371 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60372 libm="-lm"
60375 ac_save_LIBS="$LIBS"
60376 LIBS="$LIBS $libm"
60380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60381 $as_echo_n "checking for isinf declaration... " >&6; }
60382 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60383 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60384 $as_echo_n "(cached) " >&6
60385 else
60388 ac_ext=cpp
60389 ac_cpp='$CXXCPP $CPPFLAGS'
60390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60395 /* end confdefs.h. */
60396 #include <math.h>
60397 #ifdef HAVE_IEEEFP_H
60398 #include <ieeefp.h>
60399 #endif
60402 main ()
60404 isinf(0);
60406 return 0;
60408 _ACEOF
60409 if ac_fn_cxx_try_compile "$LINENO"; then :
60410 glibcxx_cv_func_isinf_use=yes
60411 else
60412 glibcxx_cv_func_isinf_use=no
60414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60415 ac_ext=c
60416 ac_cpp='$CPP $CPPFLAGS'
60417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60426 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60428 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60429 for ac_func in isinf
60430 do :
60431 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60432 if test "x$ac_cv_func_isinf" = x""yes; then :
60433 cat >>confdefs.h <<_ACEOF
60434 #define HAVE_ISINF 1
60435 _ACEOF
60438 done
60440 else
60442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60443 $as_echo_n "checking for _isinf declaration... " >&6; }
60444 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60445 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60446 $as_echo_n "(cached) " >&6
60447 else
60450 ac_ext=cpp
60451 ac_cpp='$CXXCPP $CPPFLAGS'
60452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60457 /* end confdefs.h. */
60458 #include <math.h>
60459 #ifdef HAVE_IEEEFP_H
60460 #include <ieeefp.h>
60461 #endif
60464 main ()
60466 _isinf(0);
60468 return 0;
60470 _ACEOF
60471 if ac_fn_cxx_try_compile "$LINENO"; then :
60472 glibcxx_cv_func__isinf_use=yes
60473 else
60474 glibcxx_cv_func__isinf_use=no
60476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60477 ac_ext=c
60478 ac_cpp='$CPP $CPPFLAGS'
60479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60488 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60490 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60491 for ac_func in _isinf
60492 do :
60493 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60494 if test "x$ac_cv_func__isinf" = x""yes; then :
60495 cat >>confdefs.h <<_ACEOF
60496 #define HAVE__ISINF 1
60497 _ACEOF
60500 done
60509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60510 $as_echo_n "checking for isnan declaration... " >&6; }
60511 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60512 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60513 $as_echo_n "(cached) " >&6
60514 else
60517 ac_ext=cpp
60518 ac_cpp='$CXXCPP $CPPFLAGS'
60519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60524 /* end confdefs.h. */
60525 #include <math.h>
60526 #ifdef HAVE_IEEEFP_H
60527 #include <ieeefp.h>
60528 #endif
60531 main ()
60533 isnan(0);
60535 return 0;
60537 _ACEOF
60538 if ac_fn_cxx_try_compile "$LINENO"; then :
60539 glibcxx_cv_func_isnan_use=yes
60540 else
60541 glibcxx_cv_func_isnan_use=no
60543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60544 ac_ext=c
60545 ac_cpp='$CPP $CPPFLAGS'
60546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60555 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60557 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60558 for ac_func in isnan
60559 do :
60560 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60561 if test "x$ac_cv_func_isnan" = x""yes; then :
60562 cat >>confdefs.h <<_ACEOF
60563 #define HAVE_ISNAN 1
60564 _ACEOF
60567 done
60569 else
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60572 $as_echo_n "checking for _isnan declaration... " >&6; }
60573 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60574 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60575 $as_echo_n "(cached) " >&6
60576 else
60579 ac_ext=cpp
60580 ac_cpp='$CXXCPP $CPPFLAGS'
60581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60586 /* end confdefs.h. */
60587 #include <math.h>
60588 #ifdef HAVE_IEEEFP_H
60589 #include <ieeefp.h>
60590 #endif
60593 main ()
60595 _isnan(0);
60597 return 0;
60599 _ACEOF
60600 if ac_fn_cxx_try_compile "$LINENO"; then :
60601 glibcxx_cv_func__isnan_use=yes
60602 else
60603 glibcxx_cv_func__isnan_use=no
60605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60606 ac_ext=c
60607 ac_cpp='$CPP $CPPFLAGS'
60608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60617 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60619 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60620 for ac_func in _isnan
60621 do :
60622 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60623 if test "x$ac_cv_func__isnan" = x""yes; then :
60624 cat >>confdefs.h <<_ACEOF
60625 #define HAVE__ISNAN 1
60626 _ACEOF
60629 done
60638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60639 $as_echo_n "checking for finite declaration... " >&6; }
60640 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60641 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60642 $as_echo_n "(cached) " >&6
60643 else
60646 ac_ext=cpp
60647 ac_cpp='$CXXCPP $CPPFLAGS'
60648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60653 /* end confdefs.h. */
60654 #include <math.h>
60655 #ifdef HAVE_IEEEFP_H
60656 #include <ieeefp.h>
60657 #endif
60660 main ()
60662 finite(0);
60664 return 0;
60666 _ACEOF
60667 if ac_fn_cxx_try_compile "$LINENO"; then :
60668 glibcxx_cv_func_finite_use=yes
60669 else
60670 glibcxx_cv_func_finite_use=no
60672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60673 ac_ext=c
60674 ac_cpp='$CPP $CPPFLAGS'
60675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60684 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60686 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60687 for ac_func in finite
60688 do :
60689 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60690 if test "x$ac_cv_func_finite" = x""yes; then :
60691 cat >>confdefs.h <<_ACEOF
60692 #define HAVE_FINITE 1
60693 _ACEOF
60696 done
60698 else
60700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60701 $as_echo_n "checking for _finite declaration... " >&6; }
60702 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60703 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60704 $as_echo_n "(cached) " >&6
60705 else
60708 ac_ext=cpp
60709 ac_cpp='$CXXCPP $CPPFLAGS'
60710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60715 /* end confdefs.h. */
60716 #include <math.h>
60717 #ifdef HAVE_IEEEFP_H
60718 #include <ieeefp.h>
60719 #endif
60722 main ()
60724 _finite(0);
60726 return 0;
60728 _ACEOF
60729 if ac_fn_cxx_try_compile "$LINENO"; then :
60730 glibcxx_cv_func__finite_use=yes
60731 else
60732 glibcxx_cv_func__finite_use=no
60734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60735 ac_ext=c
60736 ac_cpp='$CPP $CPPFLAGS'
60737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60746 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60748 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60749 for ac_func in _finite
60750 do :
60751 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60752 if test "x$ac_cv_func__finite" = x""yes; then :
60753 cat >>confdefs.h <<_ACEOF
60754 #define HAVE__FINITE 1
60755 _ACEOF
60758 done
60767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60768 $as_echo_n "checking for sincos declaration... " >&6; }
60769 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60770 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60771 $as_echo_n "(cached) " >&6
60772 else
60775 ac_ext=cpp
60776 ac_cpp='$CXXCPP $CPPFLAGS'
60777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60782 /* end confdefs.h. */
60783 #include <math.h>
60785 main ()
60787 sincos(0, 0, 0);
60789 return 0;
60791 _ACEOF
60792 if ac_fn_cxx_try_compile "$LINENO"; then :
60793 glibcxx_cv_func_sincos_use=yes
60794 else
60795 glibcxx_cv_func_sincos_use=no
60797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60798 ac_ext=c
60799 ac_cpp='$CPP $CPPFLAGS'
60800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60809 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60811 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60812 for ac_func in sincos
60813 do :
60814 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60815 if test "x$ac_cv_func_sincos" = x""yes; then :
60816 cat >>confdefs.h <<_ACEOF
60817 #define HAVE_SINCOS 1
60818 _ACEOF
60821 done
60823 else
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60826 $as_echo_n "checking for _sincos declaration... " >&6; }
60827 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60828 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60829 $as_echo_n "(cached) " >&6
60830 else
60833 ac_ext=cpp
60834 ac_cpp='$CXXCPP $CPPFLAGS'
60835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60840 /* end confdefs.h. */
60841 #include <math.h>
60843 main ()
60845 _sincos(0, 0, 0);
60847 return 0;
60849 _ACEOF
60850 if ac_fn_cxx_try_compile "$LINENO"; then :
60851 glibcxx_cv_func__sincos_use=yes
60852 else
60853 glibcxx_cv_func__sincos_use=no
60855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60856 ac_ext=c
60857 ac_cpp='$CPP $CPPFLAGS'
60858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60867 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60869 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60870 for ac_func in _sincos
60871 do :
60872 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60873 if test "x$ac_cv_func__sincos" = x""yes; then :
60874 cat >>confdefs.h <<_ACEOF
60875 #define HAVE__SINCOS 1
60876 _ACEOF
60879 done
60888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60889 $as_echo_n "checking for fpclass declaration... " >&6; }
60890 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60891 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60892 $as_echo_n "(cached) " >&6
60893 else
60896 ac_ext=cpp
60897 ac_cpp='$CXXCPP $CPPFLAGS'
60898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60903 /* end confdefs.h. */
60904 #include <math.h>
60905 #ifdef HAVE_IEEEFP_H
60906 #include <ieeefp.h>
60907 #endif
60910 main ()
60912 fpclass(0);
60914 return 0;
60916 _ACEOF
60917 if ac_fn_cxx_try_compile "$LINENO"; then :
60918 glibcxx_cv_func_fpclass_use=yes
60919 else
60920 glibcxx_cv_func_fpclass_use=no
60922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60923 ac_ext=c
60924 ac_cpp='$CPP $CPPFLAGS'
60925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60934 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60936 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60937 for ac_func in fpclass
60938 do :
60939 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60940 if test "x$ac_cv_func_fpclass" = x""yes; then :
60941 cat >>confdefs.h <<_ACEOF
60942 #define HAVE_FPCLASS 1
60943 _ACEOF
60946 done
60948 else
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60951 $as_echo_n "checking for _fpclass declaration... " >&6; }
60952 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60953 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60954 $as_echo_n "(cached) " >&6
60955 else
60958 ac_ext=cpp
60959 ac_cpp='$CXXCPP $CPPFLAGS'
60960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60965 /* end confdefs.h. */
60966 #include <math.h>
60967 #ifdef HAVE_IEEEFP_H
60968 #include <ieeefp.h>
60969 #endif
60972 main ()
60974 _fpclass(0);
60976 return 0;
60978 _ACEOF
60979 if ac_fn_cxx_try_compile "$LINENO"; then :
60980 glibcxx_cv_func__fpclass_use=yes
60981 else
60982 glibcxx_cv_func__fpclass_use=no
60984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60985 ac_ext=c
60986 ac_cpp='$CPP $CPPFLAGS'
60987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60996 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60998 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60999 for ac_func in _fpclass
61000 do :
61001 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61002 if test "x$ac_cv_func__fpclass" = x""yes; then :
61003 cat >>confdefs.h <<_ACEOF
61004 #define HAVE__FPCLASS 1
61005 _ACEOF
61008 done
61017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61018 $as_echo_n "checking for qfpclass declaration... " >&6; }
61019 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61020 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61021 $as_echo_n "(cached) " >&6
61022 else
61025 ac_ext=cpp
61026 ac_cpp='$CXXCPP $CPPFLAGS'
61027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61032 /* end confdefs.h. */
61033 #include <math.h>
61034 #ifdef HAVE_IEEEFP_H
61035 #include <ieeefp.h>
61036 #endif
61039 main ()
61041 qfpclass(0);
61043 return 0;
61045 _ACEOF
61046 if ac_fn_cxx_try_compile "$LINENO"; then :
61047 glibcxx_cv_func_qfpclass_use=yes
61048 else
61049 glibcxx_cv_func_qfpclass_use=no
61051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61052 ac_ext=c
61053 ac_cpp='$CPP $CPPFLAGS'
61054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61063 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61065 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61066 for ac_func in qfpclass
61067 do :
61068 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61069 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61070 cat >>confdefs.h <<_ACEOF
61071 #define HAVE_QFPCLASS 1
61072 _ACEOF
61075 done
61077 else
61079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61080 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61081 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61082 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61083 $as_echo_n "(cached) " >&6
61084 else
61087 ac_ext=cpp
61088 ac_cpp='$CXXCPP $CPPFLAGS'
61089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61094 /* end confdefs.h. */
61095 #include <math.h>
61096 #ifdef HAVE_IEEEFP_H
61097 #include <ieeefp.h>
61098 #endif
61101 main ()
61103 _qfpclass(0);
61105 return 0;
61107 _ACEOF
61108 if ac_fn_cxx_try_compile "$LINENO"; then :
61109 glibcxx_cv_func__qfpclass_use=yes
61110 else
61111 glibcxx_cv_func__qfpclass_use=no
61113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61114 ac_ext=c
61115 ac_cpp='$CPP $CPPFLAGS'
61116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61125 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61127 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61128 for ac_func in _qfpclass
61129 do :
61130 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61131 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61132 cat >>confdefs.h <<_ACEOF
61133 #define HAVE__QFPCLASS 1
61134 _ACEOF
61137 done
61146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61147 $as_echo_n "checking for hypot declaration... " >&6; }
61148 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61149 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61150 $as_echo_n "(cached) " >&6
61151 else
61154 ac_ext=cpp
61155 ac_cpp='$CXXCPP $CPPFLAGS'
61156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61161 /* end confdefs.h. */
61162 #include <math.h>
61164 main ()
61166 hypot(0, 0);
61168 return 0;
61170 _ACEOF
61171 if ac_fn_cxx_try_compile "$LINENO"; then :
61172 glibcxx_cv_func_hypot_use=yes
61173 else
61174 glibcxx_cv_func_hypot_use=no
61176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61177 ac_ext=c
61178 ac_cpp='$CPP $CPPFLAGS'
61179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61188 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61190 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61191 for ac_func in hypot
61192 do :
61193 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61194 if test "x$ac_cv_func_hypot" = x""yes; then :
61195 cat >>confdefs.h <<_ACEOF
61196 #define HAVE_HYPOT 1
61197 _ACEOF
61200 done
61202 else
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61205 $as_echo_n "checking for _hypot declaration... " >&6; }
61206 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61207 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61208 $as_echo_n "(cached) " >&6
61209 else
61212 ac_ext=cpp
61213 ac_cpp='$CXXCPP $CPPFLAGS'
61214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61219 /* end confdefs.h. */
61220 #include <math.h>
61222 main ()
61224 _hypot(0, 0);
61226 return 0;
61228 _ACEOF
61229 if ac_fn_cxx_try_compile "$LINENO"; then :
61230 glibcxx_cv_func__hypot_use=yes
61231 else
61232 glibcxx_cv_func__hypot_use=no
61234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61235 ac_ext=c
61236 ac_cpp='$CPP $CPPFLAGS'
61237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61246 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61248 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61249 for ac_func in _hypot
61250 do :
61251 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61252 if test "x$ac_cv_func__hypot" = x""yes; then :
61253 cat >>confdefs.h <<_ACEOF
61254 #define HAVE__HYPOT 1
61255 _ACEOF
61258 done
61267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61268 $as_echo_n "checking for float trig functions... " >&6; }
61269 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61270 $as_echo_n "(cached) " >&6
61271 else
61274 ac_ext=cpp
61275 ac_cpp='$CXXCPP $CPPFLAGS'
61276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61281 /* end confdefs.h. */
61282 #include <math.h>
61284 main ()
61286 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61288 return 0;
61290 _ACEOF
61291 if ac_fn_cxx_try_compile "$LINENO"; then :
61292 glibcxx_cv_func_float_trig_use=yes
61293 else
61294 glibcxx_cv_func_float_trig_use=no
61296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61297 ac_ext=c
61298 ac_cpp='$CPP $CPPFLAGS'
61299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61306 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61307 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61308 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61309 do :
61310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61312 eval as_val=\$$as_ac_var
61313 if test "x$as_val" = x""yes; then :
61314 cat >>confdefs.h <<_ACEOF
61315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61316 _ACEOF
61319 done
61321 else
61322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61323 $as_echo_n "checking for _float trig functions... " >&6; }
61324 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61325 $as_echo_n "(cached) " >&6
61326 else
61329 ac_ext=cpp
61330 ac_cpp='$CXXCPP $CPPFLAGS'
61331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61336 /* end confdefs.h. */
61337 #include <math.h>
61339 main ()
61341 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61343 return 0;
61345 _ACEOF
61346 if ac_fn_cxx_try_compile "$LINENO"; then :
61347 glibcxx_cv_func__float_trig_use=yes
61348 else
61349 glibcxx_cv_func__float_trig_use=no
61351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61352 ac_ext=c
61353 ac_cpp='$CPP $CPPFLAGS'
61354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61361 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61362 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61363 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61364 do :
61365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61367 eval as_val=\$$as_ac_var
61368 if test "x$as_val" = x""yes; then :
61369 cat >>confdefs.h <<_ACEOF
61370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61371 _ACEOF
61374 done
61383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61384 $as_echo_n "checking for float round functions... " >&6; }
61385 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61386 $as_echo_n "(cached) " >&6
61387 else
61390 ac_ext=cpp
61391 ac_cpp='$CXXCPP $CPPFLAGS'
61392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61397 /* end confdefs.h. */
61398 #include <math.h>
61400 main ()
61402 ceilf (0); floorf (0);
61404 return 0;
61406 _ACEOF
61407 if ac_fn_cxx_try_compile "$LINENO"; then :
61408 glibcxx_cv_func_float_round_use=yes
61409 else
61410 glibcxx_cv_func_float_round_use=no
61412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61413 ac_ext=c
61414 ac_cpp='$CPP $CPPFLAGS'
61415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61422 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61423 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61424 for ac_func in ceilf floorf
61425 do :
61426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61428 eval as_val=\$$as_ac_var
61429 if test "x$as_val" = x""yes; then :
61430 cat >>confdefs.h <<_ACEOF
61431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61432 _ACEOF
61435 done
61437 else
61438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61439 $as_echo_n "checking for _float round functions... " >&6; }
61440 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61441 $as_echo_n "(cached) " >&6
61442 else
61445 ac_ext=cpp
61446 ac_cpp='$CXXCPP $CPPFLAGS'
61447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61452 /* end confdefs.h. */
61453 #include <math.h>
61455 main ()
61457 _ceilf (0); _floorf (0);
61459 return 0;
61461 _ACEOF
61462 if ac_fn_cxx_try_compile "$LINENO"; then :
61463 glibcxx_cv_func__float_round_use=yes
61464 else
61465 glibcxx_cv_func__float_round_use=no
61467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61468 ac_ext=c
61469 ac_cpp='$CPP $CPPFLAGS'
61470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61477 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61478 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61479 for ac_func in _ceilf _floorf
61480 do :
61481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61483 eval as_val=\$$as_ac_var
61484 if test "x$as_val" = x""yes; then :
61485 cat >>confdefs.h <<_ACEOF
61486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61487 _ACEOF
61490 done
61500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61501 $as_echo_n "checking for expf declaration... " >&6; }
61502 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61503 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61504 $as_echo_n "(cached) " >&6
61505 else
61508 ac_ext=cpp
61509 ac_cpp='$CXXCPP $CPPFLAGS'
61510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61515 /* end confdefs.h. */
61516 #include <math.h>
61517 #ifdef HAVE_IEEEFP_H
61518 #include <ieeefp.h>
61519 #endif
61522 main ()
61524 expf(0);
61526 return 0;
61528 _ACEOF
61529 if ac_fn_cxx_try_compile "$LINENO"; then :
61530 glibcxx_cv_func_expf_use=yes
61531 else
61532 glibcxx_cv_func_expf_use=no
61534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61535 ac_ext=c
61536 ac_cpp='$CPP $CPPFLAGS'
61537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61546 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61548 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61549 for ac_func in expf
61550 do :
61551 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61552 if test "x$ac_cv_func_expf" = x""yes; then :
61553 cat >>confdefs.h <<_ACEOF
61554 #define HAVE_EXPF 1
61555 _ACEOF
61558 done
61560 else
61562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61563 $as_echo_n "checking for _expf declaration... " >&6; }
61564 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61565 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61566 $as_echo_n "(cached) " >&6
61567 else
61570 ac_ext=cpp
61571 ac_cpp='$CXXCPP $CPPFLAGS'
61572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61577 /* end confdefs.h. */
61578 #include <math.h>
61579 #ifdef HAVE_IEEEFP_H
61580 #include <ieeefp.h>
61581 #endif
61584 main ()
61586 _expf(0);
61588 return 0;
61590 _ACEOF
61591 if ac_fn_cxx_try_compile "$LINENO"; then :
61592 glibcxx_cv_func__expf_use=yes
61593 else
61594 glibcxx_cv_func__expf_use=no
61596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61597 ac_ext=c
61598 ac_cpp='$CPP $CPPFLAGS'
61599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61608 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61610 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61611 for ac_func in _expf
61612 do :
61613 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61614 if test "x$ac_cv_func__expf" = x""yes; then :
61615 cat >>confdefs.h <<_ACEOF
61616 #define HAVE__EXPF 1
61617 _ACEOF
61620 done
61629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61630 $as_echo_n "checking for isnanf declaration... " >&6; }
61631 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61632 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61633 $as_echo_n "(cached) " >&6
61634 else
61637 ac_ext=cpp
61638 ac_cpp='$CXXCPP $CPPFLAGS'
61639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61644 /* end confdefs.h. */
61645 #include <math.h>
61646 #ifdef HAVE_IEEEFP_H
61647 #include <ieeefp.h>
61648 #endif
61651 main ()
61653 isnanf(0);
61655 return 0;
61657 _ACEOF
61658 if ac_fn_cxx_try_compile "$LINENO"; then :
61659 glibcxx_cv_func_isnanf_use=yes
61660 else
61661 glibcxx_cv_func_isnanf_use=no
61663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61664 ac_ext=c
61665 ac_cpp='$CPP $CPPFLAGS'
61666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61675 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61677 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61678 for ac_func in isnanf
61679 do :
61680 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61681 if test "x$ac_cv_func_isnanf" = x""yes; then :
61682 cat >>confdefs.h <<_ACEOF
61683 #define HAVE_ISNANF 1
61684 _ACEOF
61687 done
61689 else
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61692 $as_echo_n "checking for _isnanf declaration... " >&6; }
61693 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61694 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61695 $as_echo_n "(cached) " >&6
61696 else
61699 ac_ext=cpp
61700 ac_cpp='$CXXCPP $CPPFLAGS'
61701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61706 /* end confdefs.h. */
61707 #include <math.h>
61708 #ifdef HAVE_IEEEFP_H
61709 #include <ieeefp.h>
61710 #endif
61713 main ()
61715 _isnanf(0);
61717 return 0;
61719 _ACEOF
61720 if ac_fn_cxx_try_compile "$LINENO"; then :
61721 glibcxx_cv_func__isnanf_use=yes
61722 else
61723 glibcxx_cv_func__isnanf_use=no
61725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61726 ac_ext=c
61727 ac_cpp='$CPP $CPPFLAGS'
61728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61737 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61739 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61740 for ac_func in _isnanf
61741 do :
61742 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61743 if test "x$ac_cv_func__isnanf" = x""yes; then :
61744 cat >>confdefs.h <<_ACEOF
61745 #define HAVE__ISNANF 1
61746 _ACEOF
61749 done
61758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61759 $as_echo_n "checking for isinff declaration... " >&6; }
61760 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61761 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61762 $as_echo_n "(cached) " >&6
61763 else
61766 ac_ext=cpp
61767 ac_cpp='$CXXCPP $CPPFLAGS'
61768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61773 /* end confdefs.h. */
61774 #include <math.h>
61775 #ifdef HAVE_IEEEFP_H
61776 #include <ieeefp.h>
61777 #endif
61780 main ()
61782 isinff(0);
61784 return 0;
61786 _ACEOF
61787 if ac_fn_cxx_try_compile "$LINENO"; then :
61788 glibcxx_cv_func_isinff_use=yes
61789 else
61790 glibcxx_cv_func_isinff_use=no
61792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61793 ac_ext=c
61794 ac_cpp='$CPP $CPPFLAGS'
61795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61804 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61806 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61807 for ac_func in isinff
61808 do :
61809 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61810 if test "x$ac_cv_func_isinff" = x""yes; then :
61811 cat >>confdefs.h <<_ACEOF
61812 #define HAVE_ISINFF 1
61813 _ACEOF
61816 done
61818 else
61820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61821 $as_echo_n "checking for _isinff declaration... " >&6; }
61822 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61823 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61824 $as_echo_n "(cached) " >&6
61825 else
61828 ac_ext=cpp
61829 ac_cpp='$CXXCPP $CPPFLAGS'
61830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61835 /* end confdefs.h. */
61836 #include <math.h>
61837 #ifdef HAVE_IEEEFP_H
61838 #include <ieeefp.h>
61839 #endif
61842 main ()
61844 _isinff(0);
61846 return 0;
61848 _ACEOF
61849 if ac_fn_cxx_try_compile "$LINENO"; then :
61850 glibcxx_cv_func__isinff_use=yes
61851 else
61852 glibcxx_cv_func__isinff_use=no
61854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61855 ac_ext=c
61856 ac_cpp='$CPP $CPPFLAGS'
61857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61866 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61868 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61869 for ac_func in _isinff
61870 do :
61871 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61872 if test "x$ac_cv_func__isinff" = x""yes; then :
61873 cat >>confdefs.h <<_ACEOF
61874 #define HAVE__ISINFF 1
61875 _ACEOF
61878 done
61887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61888 $as_echo_n "checking for atan2f declaration... " >&6; }
61889 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61890 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61891 $as_echo_n "(cached) " >&6
61892 else
61895 ac_ext=cpp
61896 ac_cpp='$CXXCPP $CPPFLAGS'
61897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61902 /* end confdefs.h. */
61903 #include <math.h>
61905 main ()
61907 atan2f(0, 0);
61909 return 0;
61911 _ACEOF
61912 if ac_fn_cxx_try_compile "$LINENO"; then :
61913 glibcxx_cv_func_atan2f_use=yes
61914 else
61915 glibcxx_cv_func_atan2f_use=no
61917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61918 ac_ext=c
61919 ac_cpp='$CPP $CPPFLAGS'
61920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61929 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61931 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61932 for ac_func in atan2f
61933 do :
61934 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61935 if test "x$ac_cv_func_atan2f" = x""yes; then :
61936 cat >>confdefs.h <<_ACEOF
61937 #define HAVE_ATAN2F 1
61938 _ACEOF
61941 done
61943 else
61945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61946 $as_echo_n "checking for _atan2f declaration... " >&6; }
61947 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61948 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61949 $as_echo_n "(cached) " >&6
61950 else
61953 ac_ext=cpp
61954 ac_cpp='$CXXCPP $CPPFLAGS'
61955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61960 /* end confdefs.h. */
61961 #include <math.h>
61963 main ()
61965 _atan2f(0, 0);
61967 return 0;
61969 _ACEOF
61970 if ac_fn_cxx_try_compile "$LINENO"; then :
61971 glibcxx_cv_func__atan2f_use=yes
61972 else
61973 glibcxx_cv_func__atan2f_use=no
61975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61976 ac_ext=c
61977 ac_cpp='$CPP $CPPFLAGS'
61978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61987 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61989 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61990 for ac_func in _atan2f
61991 do :
61992 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61993 if test "x$ac_cv_func__atan2f" = x""yes; then :
61994 cat >>confdefs.h <<_ACEOF
61995 #define HAVE__ATAN2F 1
61996 _ACEOF
61999 done
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62009 $as_echo_n "checking for fabsf declaration... " >&6; }
62010 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62011 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62012 $as_echo_n "(cached) " >&6
62013 else
62016 ac_ext=cpp
62017 ac_cpp='$CXXCPP $CPPFLAGS'
62018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62023 /* end confdefs.h. */
62024 #include <math.h>
62025 #ifdef HAVE_IEEEFP_H
62026 #include <ieeefp.h>
62027 #endif
62030 main ()
62032 fabsf(0);
62034 return 0;
62036 _ACEOF
62037 if ac_fn_cxx_try_compile "$LINENO"; then :
62038 glibcxx_cv_func_fabsf_use=yes
62039 else
62040 glibcxx_cv_func_fabsf_use=no
62042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62043 ac_ext=c
62044 ac_cpp='$CPP $CPPFLAGS'
62045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62054 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62056 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62057 for ac_func in fabsf
62058 do :
62059 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62060 if test "x$ac_cv_func_fabsf" = x""yes; then :
62061 cat >>confdefs.h <<_ACEOF
62062 #define HAVE_FABSF 1
62063 _ACEOF
62066 done
62068 else
62070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62071 $as_echo_n "checking for _fabsf declaration... " >&6; }
62072 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62073 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62074 $as_echo_n "(cached) " >&6
62075 else
62078 ac_ext=cpp
62079 ac_cpp='$CXXCPP $CPPFLAGS'
62080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62085 /* end confdefs.h. */
62086 #include <math.h>
62087 #ifdef HAVE_IEEEFP_H
62088 #include <ieeefp.h>
62089 #endif
62092 main ()
62094 _fabsf(0);
62096 return 0;
62098 _ACEOF
62099 if ac_fn_cxx_try_compile "$LINENO"; then :
62100 glibcxx_cv_func__fabsf_use=yes
62101 else
62102 glibcxx_cv_func__fabsf_use=no
62104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62105 ac_ext=c
62106 ac_cpp='$CPP $CPPFLAGS'
62107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62116 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62118 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62119 for ac_func in _fabsf
62120 do :
62121 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62122 if test "x$ac_cv_func__fabsf" = x""yes; then :
62123 cat >>confdefs.h <<_ACEOF
62124 #define HAVE__FABSF 1
62125 _ACEOF
62128 done
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62138 $as_echo_n "checking for fmodf declaration... " >&6; }
62139 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62140 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62141 $as_echo_n "(cached) " >&6
62142 else
62145 ac_ext=cpp
62146 ac_cpp='$CXXCPP $CPPFLAGS'
62147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62152 /* end confdefs.h. */
62153 #include <math.h>
62155 main ()
62157 fmodf(0, 0);
62159 return 0;
62161 _ACEOF
62162 if ac_fn_cxx_try_compile "$LINENO"; then :
62163 glibcxx_cv_func_fmodf_use=yes
62164 else
62165 glibcxx_cv_func_fmodf_use=no
62167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62168 ac_ext=c
62169 ac_cpp='$CPP $CPPFLAGS'
62170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62179 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62181 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62182 for ac_func in fmodf
62183 do :
62184 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62185 if test "x$ac_cv_func_fmodf" = x""yes; then :
62186 cat >>confdefs.h <<_ACEOF
62187 #define HAVE_FMODF 1
62188 _ACEOF
62191 done
62193 else
62195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62196 $as_echo_n "checking for _fmodf declaration... " >&6; }
62197 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62198 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62199 $as_echo_n "(cached) " >&6
62200 else
62203 ac_ext=cpp
62204 ac_cpp='$CXXCPP $CPPFLAGS'
62205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62210 /* end confdefs.h. */
62211 #include <math.h>
62213 main ()
62215 _fmodf(0, 0);
62217 return 0;
62219 _ACEOF
62220 if ac_fn_cxx_try_compile "$LINENO"; then :
62221 glibcxx_cv_func__fmodf_use=yes
62222 else
62223 glibcxx_cv_func__fmodf_use=no
62225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62226 ac_ext=c
62227 ac_cpp='$CPP $CPPFLAGS'
62228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62237 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62239 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62240 for ac_func in _fmodf
62241 do :
62242 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62243 if test "x$ac_cv_func__fmodf" = x""yes; then :
62244 cat >>confdefs.h <<_ACEOF
62245 #define HAVE__FMODF 1
62246 _ACEOF
62249 done
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62259 $as_echo_n "checking for frexpf declaration... " >&6; }
62260 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62261 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62262 $as_echo_n "(cached) " >&6
62263 else
62266 ac_ext=cpp
62267 ac_cpp='$CXXCPP $CPPFLAGS'
62268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62273 /* end confdefs.h. */
62274 #include <math.h>
62276 main ()
62278 frexpf(0, 0);
62280 return 0;
62282 _ACEOF
62283 if ac_fn_cxx_try_compile "$LINENO"; then :
62284 glibcxx_cv_func_frexpf_use=yes
62285 else
62286 glibcxx_cv_func_frexpf_use=no
62288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62289 ac_ext=c
62290 ac_cpp='$CPP $CPPFLAGS'
62291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62300 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62302 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62303 for ac_func in frexpf
62304 do :
62305 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62306 if test "x$ac_cv_func_frexpf" = x""yes; then :
62307 cat >>confdefs.h <<_ACEOF
62308 #define HAVE_FREXPF 1
62309 _ACEOF
62312 done
62314 else
62316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62317 $as_echo_n "checking for _frexpf declaration... " >&6; }
62318 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62319 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62320 $as_echo_n "(cached) " >&6
62321 else
62324 ac_ext=cpp
62325 ac_cpp='$CXXCPP $CPPFLAGS'
62326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62331 /* end confdefs.h. */
62332 #include <math.h>
62334 main ()
62336 _frexpf(0, 0);
62338 return 0;
62340 _ACEOF
62341 if ac_fn_cxx_try_compile "$LINENO"; then :
62342 glibcxx_cv_func__frexpf_use=yes
62343 else
62344 glibcxx_cv_func__frexpf_use=no
62346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62347 ac_ext=c
62348 ac_cpp='$CPP $CPPFLAGS'
62349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62358 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62360 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62361 for ac_func in _frexpf
62362 do :
62363 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62364 if test "x$ac_cv_func__frexpf" = x""yes; then :
62365 cat >>confdefs.h <<_ACEOF
62366 #define HAVE__FREXPF 1
62367 _ACEOF
62370 done
62379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62380 $as_echo_n "checking for hypotf declaration... " >&6; }
62381 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62382 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62383 $as_echo_n "(cached) " >&6
62384 else
62387 ac_ext=cpp
62388 ac_cpp='$CXXCPP $CPPFLAGS'
62389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62394 /* end confdefs.h. */
62395 #include <math.h>
62397 main ()
62399 hypotf(0, 0);
62401 return 0;
62403 _ACEOF
62404 if ac_fn_cxx_try_compile "$LINENO"; then :
62405 glibcxx_cv_func_hypotf_use=yes
62406 else
62407 glibcxx_cv_func_hypotf_use=no
62409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62410 ac_ext=c
62411 ac_cpp='$CPP $CPPFLAGS'
62412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62421 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62423 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62424 for ac_func in hypotf
62425 do :
62426 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62427 if test "x$ac_cv_func_hypotf" = x""yes; then :
62428 cat >>confdefs.h <<_ACEOF
62429 #define HAVE_HYPOTF 1
62430 _ACEOF
62433 done
62435 else
62437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62438 $as_echo_n "checking for _hypotf declaration... " >&6; }
62439 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62440 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62441 $as_echo_n "(cached) " >&6
62442 else
62445 ac_ext=cpp
62446 ac_cpp='$CXXCPP $CPPFLAGS'
62447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62452 /* end confdefs.h. */
62453 #include <math.h>
62455 main ()
62457 _hypotf(0, 0);
62459 return 0;
62461 _ACEOF
62462 if ac_fn_cxx_try_compile "$LINENO"; then :
62463 glibcxx_cv_func__hypotf_use=yes
62464 else
62465 glibcxx_cv_func__hypotf_use=no
62467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62468 ac_ext=c
62469 ac_cpp='$CPP $CPPFLAGS'
62470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62479 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62481 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62482 for ac_func in _hypotf
62483 do :
62484 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62485 if test "x$ac_cv_func__hypotf" = x""yes; then :
62486 cat >>confdefs.h <<_ACEOF
62487 #define HAVE__HYPOTF 1
62488 _ACEOF
62491 done
62500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62501 $as_echo_n "checking for ldexpf declaration... " >&6; }
62502 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62503 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62504 $as_echo_n "(cached) " >&6
62505 else
62508 ac_ext=cpp
62509 ac_cpp='$CXXCPP $CPPFLAGS'
62510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62515 /* end confdefs.h. */
62516 #include <math.h>
62518 main ()
62520 ldexpf(0, 0);
62522 return 0;
62524 _ACEOF
62525 if ac_fn_cxx_try_compile "$LINENO"; then :
62526 glibcxx_cv_func_ldexpf_use=yes
62527 else
62528 glibcxx_cv_func_ldexpf_use=no
62530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62531 ac_ext=c
62532 ac_cpp='$CPP $CPPFLAGS'
62533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62542 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62544 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62545 for ac_func in ldexpf
62546 do :
62547 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62548 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62549 cat >>confdefs.h <<_ACEOF
62550 #define HAVE_LDEXPF 1
62551 _ACEOF
62554 done
62556 else
62558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62559 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62560 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62561 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62562 $as_echo_n "(cached) " >&6
62563 else
62566 ac_ext=cpp
62567 ac_cpp='$CXXCPP $CPPFLAGS'
62568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62573 /* end confdefs.h. */
62574 #include <math.h>
62576 main ()
62578 _ldexpf(0, 0);
62580 return 0;
62582 _ACEOF
62583 if ac_fn_cxx_try_compile "$LINENO"; then :
62584 glibcxx_cv_func__ldexpf_use=yes
62585 else
62586 glibcxx_cv_func__ldexpf_use=no
62588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62589 ac_ext=c
62590 ac_cpp='$CPP $CPPFLAGS'
62591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62600 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62602 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62603 for ac_func in _ldexpf
62604 do :
62605 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62606 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62607 cat >>confdefs.h <<_ACEOF
62608 #define HAVE__LDEXPF 1
62609 _ACEOF
62612 done
62621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62622 $as_echo_n "checking for logf declaration... " >&6; }
62623 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62624 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62625 $as_echo_n "(cached) " >&6
62626 else
62629 ac_ext=cpp
62630 ac_cpp='$CXXCPP $CPPFLAGS'
62631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62636 /* end confdefs.h. */
62637 #include <math.h>
62638 #ifdef HAVE_IEEEFP_H
62639 #include <ieeefp.h>
62640 #endif
62643 main ()
62645 logf(0);
62647 return 0;
62649 _ACEOF
62650 if ac_fn_cxx_try_compile "$LINENO"; then :
62651 glibcxx_cv_func_logf_use=yes
62652 else
62653 glibcxx_cv_func_logf_use=no
62655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62656 ac_ext=c
62657 ac_cpp='$CPP $CPPFLAGS'
62658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62667 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62669 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62670 for ac_func in logf
62671 do :
62672 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62673 if test "x$ac_cv_func_logf" = x""yes; then :
62674 cat >>confdefs.h <<_ACEOF
62675 #define HAVE_LOGF 1
62676 _ACEOF
62679 done
62681 else
62683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62684 $as_echo_n "checking for _logf declaration... " >&6; }
62685 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62686 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62687 $as_echo_n "(cached) " >&6
62688 else
62691 ac_ext=cpp
62692 ac_cpp='$CXXCPP $CPPFLAGS'
62693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62698 /* end confdefs.h. */
62699 #include <math.h>
62700 #ifdef HAVE_IEEEFP_H
62701 #include <ieeefp.h>
62702 #endif
62705 main ()
62707 _logf(0);
62709 return 0;
62711 _ACEOF
62712 if ac_fn_cxx_try_compile "$LINENO"; then :
62713 glibcxx_cv_func__logf_use=yes
62714 else
62715 glibcxx_cv_func__logf_use=no
62717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62718 ac_ext=c
62719 ac_cpp='$CPP $CPPFLAGS'
62720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62729 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62731 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62732 for ac_func in _logf
62733 do :
62734 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62735 if test "x$ac_cv_func__logf" = x""yes; then :
62736 cat >>confdefs.h <<_ACEOF
62737 #define HAVE__LOGF 1
62738 _ACEOF
62741 done
62750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62751 $as_echo_n "checking for log10f declaration... " >&6; }
62752 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62753 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62754 $as_echo_n "(cached) " >&6
62755 else
62758 ac_ext=cpp
62759 ac_cpp='$CXXCPP $CPPFLAGS'
62760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62765 /* end confdefs.h. */
62766 #include <math.h>
62767 #ifdef HAVE_IEEEFP_H
62768 #include <ieeefp.h>
62769 #endif
62772 main ()
62774 log10f(0);
62776 return 0;
62778 _ACEOF
62779 if ac_fn_cxx_try_compile "$LINENO"; then :
62780 glibcxx_cv_func_log10f_use=yes
62781 else
62782 glibcxx_cv_func_log10f_use=no
62784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62785 ac_ext=c
62786 ac_cpp='$CPP $CPPFLAGS'
62787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62796 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62798 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62799 for ac_func in log10f
62800 do :
62801 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62802 if test "x$ac_cv_func_log10f" = x""yes; then :
62803 cat >>confdefs.h <<_ACEOF
62804 #define HAVE_LOG10F 1
62805 _ACEOF
62808 done
62810 else
62812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62813 $as_echo_n "checking for _log10f declaration... " >&6; }
62814 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62815 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62816 $as_echo_n "(cached) " >&6
62817 else
62820 ac_ext=cpp
62821 ac_cpp='$CXXCPP $CPPFLAGS'
62822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62827 /* end confdefs.h. */
62828 #include <math.h>
62829 #ifdef HAVE_IEEEFP_H
62830 #include <ieeefp.h>
62831 #endif
62834 main ()
62836 _log10f(0);
62838 return 0;
62840 _ACEOF
62841 if ac_fn_cxx_try_compile "$LINENO"; then :
62842 glibcxx_cv_func__log10f_use=yes
62843 else
62844 glibcxx_cv_func__log10f_use=no
62846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62847 ac_ext=c
62848 ac_cpp='$CPP $CPPFLAGS'
62849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62858 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62860 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62861 for ac_func in _log10f
62862 do :
62863 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62864 if test "x$ac_cv_func__log10f" = x""yes; then :
62865 cat >>confdefs.h <<_ACEOF
62866 #define HAVE__LOG10F 1
62867 _ACEOF
62870 done
62879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62880 $as_echo_n "checking for modff declaration... " >&6; }
62881 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62882 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62883 $as_echo_n "(cached) " >&6
62884 else
62887 ac_ext=cpp
62888 ac_cpp='$CXXCPP $CPPFLAGS'
62889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62894 /* end confdefs.h. */
62895 #include <math.h>
62897 main ()
62899 modff(0, 0);
62901 return 0;
62903 _ACEOF
62904 if ac_fn_cxx_try_compile "$LINENO"; then :
62905 glibcxx_cv_func_modff_use=yes
62906 else
62907 glibcxx_cv_func_modff_use=no
62909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62910 ac_ext=c
62911 ac_cpp='$CPP $CPPFLAGS'
62912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62921 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62923 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62924 for ac_func in modff
62925 do :
62926 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62927 if test "x$ac_cv_func_modff" = x""yes; then :
62928 cat >>confdefs.h <<_ACEOF
62929 #define HAVE_MODFF 1
62930 _ACEOF
62933 done
62935 else
62937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62938 $as_echo_n "checking for _modff declaration... " >&6; }
62939 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62940 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62941 $as_echo_n "(cached) " >&6
62942 else
62945 ac_ext=cpp
62946 ac_cpp='$CXXCPP $CPPFLAGS'
62947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62952 /* end confdefs.h. */
62953 #include <math.h>
62955 main ()
62957 _modff(0, 0);
62959 return 0;
62961 _ACEOF
62962 if ac_fn_cxx_try_compile "$LINENO"; then :
62963 glibcxx_cv_func__modff_use=yes
62964 else
62965 glibcxx_cv_func__modff_use=no
62967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62968 ac_ext=c
62969 ac_cpp='$CPP $CPPFLAGS'
62970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62979 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62981 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62982 for ac_func in _modff
62983 do :
62984 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62985 if test "x$ac_cv_func__modff" = x""yes; then :
62986 cat >>confdefs.h <<_ACEOF
62987 #define HAVE__MODFF 1
62988 _ACEOF
62991 done
63000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63001 $as_echo_n "checking for modf declaration... " >&6; }
63002 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63003 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63004 $as_echo_n "(cached) " >&6
63005 else
63008 ac_ext=cpp
63009 ac_cpp='$CXXCPP $CPPFLAGS'
63010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63015 /* end confdefs.h. */
63016 #include <math.h>
63018 main ()
63020 modf(0, 0);
63022 return 0;
63024 _ACEOF
63025 if ac_fn_cxx_try_compile "$LINENO"; then :
63026 glibcxx_cv_func_modf_use=yes
63027 else
63028 glibcxx_cv_func_modf_use=no
63030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63031 ac_ext=c
63032 ac_cpp='$CPP $CPPFLAGS'
63033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63042 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63044 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63045 for ac_func in modf
63046 do :
63047 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63048 if test "x$ac_cv_func_modf" = x""yes; then :
63049 cat >>confdefs.h <<_ACEOF
63050 #define HAVE_MODF 1
63051 _ACEOF
63054 done
63056 else
63058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63059 $as_echo_n "checking for _modf declaration... " >&6; }
63060 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63061 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63062 $as_echo_n "(cached) " >&6
63063 else
63066 ac_ext=cpp
63067 ac_cpp='$CXXCPP $CPPFLAGS'
63068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63073 /* end confdefs.h. */
63074 #include <math.h>
63076 main ()
63078 _modf(0, 0);
63080 return 0;
63082 _ACEOF
63083 if ac_fn_cxx_try_compile "$LINENO"; then :
63084 glibcxx_cv_func__modf_use=yes
63085 else
63086 glibcxx_cv_func__modf_use=no
63088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63089 ac_ext=c
63090 ac_cpp='$CPP $CPPFLAGS'
63091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63100 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63102 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63103 for ac_func in _modf
63104 do :
63105 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63106 if test "x$ac_cv_func__modf" = x""yes; then :
63107 cat >>confdefs.h <<_ACEOF
63108 #define HAVE__MODF 1
63109 _ACEOF
63112 done
63121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63122 $as_echo_n "checking for powf declaration... " >&6; }
63123 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63124 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63125 $as_echo_n "(cached) " >&6
63126 else
63129 ac_ext=cpp
63130 ac_cpp='$CXXCPP $CPPFLAGS'
63131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63136 /* end confdefs.h. */
63137 #include <math.h>
63139 main ()
63141 powf(0, 0);
63143 return 0;
63145 _ACEOF
63146 if ac_fn_cxx_try_compile "$LINENO"; then :
63147 glibcxx_cv_func_powf_use=yes
63148 else
63149 glibcxx_cv_func_powf_use=no
63151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63152 ac_ext=c
63153 ac_cpp='$CPP $CPPFLAGS'
63154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63163 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63165 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63166 for ac_func in powf
63167 do :
63168 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63169 if test "x$ac_cv_func_powf" = x""yes; then :
63170 cat >>confdefs.h <<_ACEOF
63171 #define HAVE_POWF 1
63172 _ACEOF
63175 done
63177 else
63179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63180 $as_echo_n "checking for _powf declaration... " >&6; }
63181 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63182 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63183 $as_echo_n "(cached) " >&6
63184 else
63187 ac_ext=cpp
63188 ac_cpp='$CXXCPP $CPPFLAGS'
63189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63194 /* end confdefs.h. */
63195 #include <math.h>
63197 main ()
63199 _powf(0, 0);
63201 return 0;
63203 _ACEOF
63204 if ac_fn_cxx_try_compile "$LINENO"; then :
63205 glibcxx_cv_func__powf_use=yes
63206 else
63207 glibcxx_cv_func__powf_use=no
63209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63210 ac_ext=c
63211 ac_cpp='$CPP $CPPFLAGS'
63212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63221 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63223 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63224 for ac_func in _powf
63225 do :
63226 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63227 if test "x$ac_cv_func__powf" = x""yes; then :
63228 cat >>confdefs.h <<_ACEOF
63229 #define HAVE__POWF 1
63230 _ACEOF
63233 done
63242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63243 $as_echo_n "checking for sqrtf declaration... " >&6; }
63244 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63245 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63246 $as_echo_n "(cached) " >&6
63247 else
63250 ac_ext=cpp
63251 ac_cpp='$CXXCPP $CPPFLAGS'
63252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63257 /* end confdefs.h. */
63258 #include <math.h>
63259 #ifdef HAVE_IEEEFP_H
63260 #include <ieeefp.h>
63261 #endif
63264 main ()
63266 sqrtf(0);
63268 return 0;
63270 _ACEOF
63271 if ac_fn_cxx_try_compile "$LINENO"; then :
63272 glibcxx_cv_func_sqrtf_use=yes
63273 else
63274 glibcxx_cv_func_sqrtf_use=no
63276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63277 ac_ext=c
63278 ac_cpp='$CPP $CPPFLAGS'
63279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63288 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63290 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63291 for ac_func in sqrtf
63292 do :
63293 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63294 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63295 cat >>confdefs.h <<_ACEOF
63296 #define HAVE_SQRTF 1
63297 _ACEOF
63300 done
63302 else
63304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63305 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63306 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63307 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63308 $as_echo_n "(cached) " >&6
63309 else
63312 ac_ext=cpp
63313 ac_cpp='$CXXCPP $CPPFLAGS'
63314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63319 /* end confdefs.h. */
63320 #include <math.h>
63321 #ifdef HAVE_IEEEFP_H
63322 #include <ieeefp.h>
63323 #endif
63326 main ()
63328 _sqrtf(0);
63330 return 0;
63332 _ACEOF
63333 if ac_fn_cxx_try_compile "$LINENO"; then :
63334 glibcxx_cv_func__sqrtf_use=yes
63335 else
63336 glibcxx_cv_func__sqrtf_use=no
63338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63339 ac_ext=c
63340 ac_cpp='$CPP $CPPFLAGS'
63341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63350 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63352 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63353 for ac_func in _sqrtf
63354 do :
63355 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63356 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63357 cat >>confdefs.h <<_ACEOF
63358 #define HAVE__SQRTF 1
63359 _ACEOF
63362 done
63371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63372 $as_echo_n "checking for sincosf declaration... " >&6; }
63373 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63374 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63375 $as_echo_n "(cached) " >&6
63376 else
63379 ac_ext=cpp
63380 ac_cpp='$CXXCPP $CPPFLAGS'
63381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63386 /* end confdefs.h. */
63387 #include <math.h>
63389 main ()
63391 sincosf(0, 0, 0);
63393 return 0;
63395 _ACEOF
63396 if ac_fn_cxx_try_compile "$LINENO"; then :
63397 glibcxx_cv_func_sincosf_use=yes
63398 else
63399 glibcxx_cv_func_sincosf_use=no
63401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63402 ac_ext=c
63403 ac_cpp='$CPP $CPPFLAGS'
63404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63413 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63415 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63416 for ac_func in sincosf
63417 do :
63418 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63419 if test "x$ac_cv_func_sincosf" = x""yes; then :
63420 cat >>confdefs.h <<_ACEOF
63421 #define HAVE_SINCOSF 1
63422 _ACEOF
63425 done
63427 else
63429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63430 $as_echo_n "checking for _sincosf declaration... " >&6; }
63431 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63432 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63433 $as_echo_n "(cached) " >&6
63434 else
63437 ac_ext=cpp
63438 ac_cpp='$CXXCPP $CPPFLAGS'
63439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63444 /* end confdefs.h. */
63445 #include <math.h>
63447 main ()
63449 _sincosf(0, 0, 0);
63451 return 0;
63453 _ACEOF
63454 if ac_fn_cxx_try_compile "$LINENO"; then :
63455 glibcxx_cv_func__sincosf_use=yes
63456 else
63457 glibcxx_cv_func__sincosf_use=no
63459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63460 ac_ext=c
63461 ac_cpp='$CPP $CPPFLAGS'
63462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63471 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63473 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63474 for ac_func in _sincosf
63475 do :
63476 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63477 if test "x$ac_cv_func__sincosf" = x""yes; then :
63478 cat >>confdefs.h <<_ACEOF
63479 #define HAVE__SINCOSF 1
63480 _ACEOF
63483 done
63492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63493 $as_echo_n "checking for finitef declaration... " >&6; }
63494 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63495 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63496 $as_echo_n "(cached) " >&6
63497 else
63500 ac_ext=cpp
63501 ac_cpp='$CXXCPP $CPPFLAGS'
63502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63507 /* end confdefs.h. */
63508 #include <math.h>
63509 #ifdef HAVE_IEEEFP_H
63510 #include <ieeefp.h>
63511 #endif
63514 main ()
63516 finitef(0);
63518 return 0;
63520 _ACEOF
63521 if ac_fn_cxx_try_compile "$LINENO"; then :
63522 glibcxx_cv_func_finitef_use=yes
63523 else
63524 glibcxx_cv_func_finitef_use=no
63526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63527 ac_ext=c
63528 ac_cpp='$CPP $CPPFLAGS'
63529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63538 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63540 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63541 for ac_func in finitef
63542 do :
63543 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63544 if test "x$ac_cv_func_finitef" = x""yes; then :
63545 cat >>confdefs.h <<_ACEOF
63546 #define HAVE_FINITEF 1
63547 _ACEOF
63550 done
63552 else
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63555 $as_echo_n "checking for _finitef declaration... " >&6; }
63556 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63557 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63558 $as_echo_n "(cached) " >&6
63559 else
63562 ac_ext=cpp
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63569 /* end confdefs.h. */
63570 #include <math.h>
63571 #ifdef HAVE_IEEEFP_H
63572 #include <ieeefp.h>
63573 #endif
63576 main ()
63578 _finitef(0);
63580 return 0;
63582 _ACEOF
63583 if ac_fn_cxx_try_compile "$LINENO"; then :
63584 glibcxx_cv_func__finitef_use=yes
63585 else
63586 glibcxx_cv_func__finitef_use=no
63588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63589 ac_ext=c
63590 ac_cpp='$CPP $CPPFLAGS'
63591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63600 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63602 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63603 for ac_func in _finitef
63604 do :
63605 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63606 if test "x$ac_cv_func__finitef" = x""yes; then :
63607 cat >>confdefs.h <<_ACEOF
63608 #define HAVE__FINITEF 1
63609 _ACEOF
63612 done
63621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63622 $as_echo_n "checking for long double trig functions... " >&6; }
63623 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63624 $as_echo_n "(cached) " >&6
63625 else
63628 ac_ext=cpp
63629 ac_cpp='$CXXCPP $CPPFLAGS'
63630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63635 /* end confdefs.h. */
63636 #include <math.h>
63638 main ()
63640 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63642 return 0;
63644 _ACEOF
63645 if ac_fn_cxx_try_compile "$LINENO"; then :
63646 glibcxx_cv_func_long_double_trig_use=yes
63647 else
63648 glibcxx_cv_func_long_double_trig_use=no
63650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63651 ac_ext=c
63652 ac_cpp='$CPP $CPPFLAGS'
63653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63660 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63661 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63662 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63663 do :
63664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63666 eval as_val=\$$as_ac_var
63667 if test "x$as_val" = x""yes; then :
63668 cat >>confdefs.h <<_ACEOF
63669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63670 _ACEOF
63673 done
63675 else
63676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63677 $as_echo_n "checking for _long double trig functions... " >&6; }
63678 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63679 $as_echo_n "(cached) " >&6
63680 else
63683 ac_ext=cpp
63684 ac_cpp='$CXXCPP $CPPFLAGS'
63685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63690 /* end confdefs.h. */
63691 #include <math.h>
63693 main ()
63695 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63697 return 0;
63699 _ACEOF
63700 if ac_fn_cxx_try_compile "$LINENO"; then :
63701 glibcxx_cv_func__long_double_trig_use=yes
63702 else
63703 glibcxx_cv_func__long_double_trig_use=no
63705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63706 ac_ext=c
63707 ac_cpp='$CPP $CPPFLAGS'
63708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63715 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63716 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63717 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63718 do :
63719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63721 eval as_val=\$$as_ac_var
63722 if test "x$as_val" = x""yes; then :
63723 cat >>confdefs.h <<_ACEOF
63724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63725 _ACEOF
63728 done
63737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63738 $as_echo_n "checking for long double round functions... " >&6; }
63739 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63740 $as_echo_n "(cached) " >&6
63741 else
63744 ac_ext=cpp
63745 ac_cpp='$CXXCPP $CPPFLAGS'
63746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63751 /* end confdefs.h. */
63752 #include <math.h>
63754 main ()
63756 ceill (0); floorl (0);
63758 return 0;
63760 _ACEOF
63761 if ac_fn_cxx_try_compile "$LINENO"; then :
63762 glibcxx_cv_func_long_double_round_use=yes
63763 else
63764 glibcxx_cv_func_long_double_round_use=no
63766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63767 ac_ext=c
63768 ac_cpp='$CPP $CPPFLAGS'
63769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63776 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63777 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63778 for ac_func in ceill floorl
63779 do :
63780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63782 eval as_val=\$$as_ac_var
63783 if test "x$as_val" = x""yes; then :
63784 cat >>confdefs.h <<_ACEOF
63785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63786 _ACEOF
63789 done
63791 else
63792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63793 $as_echo_n "checking for _long double round functions... " >&6; }
63794 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63795 $as_echo_n "(cached) " >&6
63796 else
63799 ac_ext=cpp
63800 ac_cpp='$CXXCPP $CPPFLAGS'
63801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63806 /* end confdefs.h. */
63807 #include <math.h>
63809 main ()
63811 _ceill (0); _floorl (0);
63813 return 0;
63815 _ACEOF
63816 if ac_fn_cxx_try_compile "$LINENO"; then :
63817 glibcxx_cv_func__long_double_round_use=yes
63818 else
63819 glibcxx_cv_func__long_double_round_use=no
63821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63822 ac_ext=c
63823 ac_cpp='$CPP $CPPFLAGS'
63824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63831 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63832 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63833 for ac_func in _ceill _floorl
63834 do :
63835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63837 eval as_val=\$$as_ac_var
63838 if test "x$as_val" = x""yes; then :
63839 cat >>confdefs.h <<_ACEOF
63840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63841 _ACEOF
63844 done
63854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63855 $as_echo_n "checking for isnanl declaration... " >&6; }
63856 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63857 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63858 $as_echo_n "(cached) " >&6
63859 else
63862 ac_ext=cpp
63863 ac_cpp='$CXXCPP $CPPFLAGS'
63864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63869 /* end confdefs.h. */
63870 #include <math.h>
63871 #ifdef HAVE_IEEEFP_H
63872 #include <ieeefp.h>
63873 #endif
63876 main ()
63878 isnanl(0);
63880 return 0;
63882 _ACEOF
63883 if ac_fn_cxx_try_compile "$LINENO"; then :
63884 glibcxx_cv_func_isnanl_use=yes
63885 else
63886 glibcxx_cv_func_isnanl_use=no
63888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63889 ac_ext=c
63890 ac_cpp='$CPP $CPPFLAGS'
63891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63900 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63902 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63903 for ac_func in isnanl
63904 do :
63905 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63906 if test "x$ac_cv_func_isnanl" = x""yes; then :
63907 cat >>confdefs.h <<_ACEOF
63908 #define HAVE_ISNANL 1
63909 _ACEOF
63912 done
63914 else
63916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63917 $as_echo_n "checking for _isnanl declaration... " >&6; }
63918 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63919 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63920 $as_echo_n "(cached) " >&6
63921 else
63924 ac_ext=cpp
63925 ac_cpp='$CXXCPP $CPPFLAGS'
63926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63931 /* end confdefs.h. */
63932 #include <math.h>
63933 #ifdef HAVE_IEEEFP_H
63934 #include <ieeefp.h>
63935 #endif
63938 main ()
63940 _isnanl(0);
63942 return 0;
63944 _ACEOF
63945 if ac_fn_cxx_try_compile "$LINENO"; then :
63946 glibcxx_cv_func__isnanl_use=yes
63947 else
63948 glibcxx_cv_func__isnanl_use=no
63950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63951 ac_ext=c
63952 ac_cpp='$CPP $CPPFLAGS'
63953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63962 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63964 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63965 for ac_func in _isnanl
63966 do :
63967 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63968 if test "x$ac_cv_func__isnanl" = x""yes; then :
63969 cat >>confdefs.h <<_ACEOF
63970 #define HAVE__ISNANL 1
63971 _ACEOF
63974 done
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63984 $as_echo_n "checking for isinfl declaration... " >&6; }
63985 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63986 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63987 $as_echo_n "(cached) " >&6
63988 else
63991 ac_ext=cpp
63992 ac_cpp='$CXXCPP $CPPFLAGS'
63993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63998 /* end confdefs.h. */
63999 #include <math.h>
64000 #ifdef HAVE_IEEEFP_H
64001 #include <ieeefp.h>
64002 #endif
64005 main ()
64007 isinfl(0);
64009 return 0;
64011 _ACEOF
64012 if ac_fn_cxx_try_compile "$LINENO"; then :
64013 glibcxx_cv_func_isinfl_use=yes
64014 else
64015 glibcxx_cv_func_isinfl_use=no
64017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64018 ac_ext=c
64019 ac_cpp='$CPP $CPPFLAGS'
64020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64029 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64031 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64032 for ac_func in isinfl
64033 do :
64034 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64035 if test "x$ac_cv_func_isinfl" = x""yes; then :
64036 cat >>confdefs.h <<_ACEOF
64037 #define HAVE_ISINFL 1
64038 _ACEOF
64041 done
64043 else
64045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64046 $as_echo_n "checking for _isinfl declaration... " >&6; }
64047 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64048 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64049 $as_echo_n "(cached) " >&6
64050 else
64053 ac_ext=cpp
64054 ac_cpp='$CXXCPP $CPPFLAGS'
64055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64060 /* end confdefs.h. */
64061 #include <math.h>
64062 #ifdef HAVE_IEEEFP_H
64063 #include <ieeefp.h>
64064 #endif
64067 main ()
64069 _isinfl(0);
64071 return 0;
64073 _ACEOF
64074 if ac_fn_cxx_try_compile "$LINENO"; then :
64075 glibcxx_cv_func__isinfl_use=yes
64076 else
64077 glibcxx_cv_func__isinfl_use=no
64079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64080 ac_ext=c
64081 ac_cpp='$CPP $CPPFLAGS'
64082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64091 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64093 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64094 for ac_func in _isinfl
64095 do :
64096 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64097 if test "x$ac_cv_func__isinfl" = x""yes; then :
64098 cat >>confdefs.h <<_ACEOF
64099 #define HAVE__ISINFL 1
64100 _ACEOF
64103 done
64112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64113 $as_echo_n "checking for atan2l declaration... " >&6; }
64114 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64115 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64116 $as_echo_n "(cached) " >&6
64117 else
64120 ac_ext=cpp
64121 ac_cpp='$CXXCPP $CPPFLAGS'
64122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64127 /* end confdefs.h. */
64128 #include <math.h>
64130 main ()
64132 atan2l(0, 0);
64134 return 0;
64136 _ACEOF
64137 if ac_fn_cxx_try_compile "$LINENO"; then :
64138 glibcxx_cv_func_atan2l_use=yes
64139 else
64140 glibcxx_cv_func_atan2l_use=no
64142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64143 ac_ext=c
64144 ac_cpp='$CPP $CPPFLAGS'
64145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64154 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64156 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64157 for ac_func in atan2l
64158 do :
64159 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64160 if test "x$ac_cv_func_atan2l" = x""yes; then :
64161 cat >>confdefs.h <<_ACEOF
64162 #define HAVE_ATAN2L 1
64163 _ACEOF
64166 done
64168 else
64170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64171 $as_echo_n "checking for _atan2l declaration... " >&6; }
64172 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64173 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64174 $as_echo_n "(cached) " >&6
64175 else
64178 ac_ext=cpp
64179 ac_cpp='$CXXCPP $CPPFLAGS'
64180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64185 /* end confdefs.h. */
64186 #include <math.h>
64188 main ()
64190 _atan2l(0, 0);
64192 return 0;
64194 _ACEOF
64195 if ac_fn_cxx_try_compile "$LINENO"; then :
64196 glibcxx_cv_func__atan2l_use=yes
64197 else
64198 glibcxx_cv_func__atan2l_use=no
64200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64201 ac_ext=c
64202 ac_cpp='$CPP $CPPFLAGS'
64203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64212 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64214 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64215 for ac_func in _atan2l
64216 do :
64217 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64218 if test "x$ac_cv_func__atan2l" = x""yes; then :
64219 cat >>confdefs.h <<_ACEOF
64220 #define HAVE__ATAN2L 1
64221 _ACEOF
64224 done
64233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64234 $as_echo_n "checking for expl declaration... " >&6; }
64235 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64236 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64237 $as_echo_n "(cached) " >&6
64238 else
64241 ac_ext=cpp
64242 ac_cpp='$CXXCPP $CPPFLAGS'
64243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64248 /* end confdefs.h. */
64249 #include <math.h>
64250 #ifdef HAVE_IEEEFP_H
64251 #include <ieeefp.h>
64252 #endif
64255 main ()
64257 expl(0);
64259 return 0;
64261 _ACEOF
64262 if ac_fn_cxx_try_compile "$LINENO"; then :
64263 glibcxx_cv_func_expl_use=yes
64264 else
64265 glibcxx_cv_func_expl_use=no
64267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64268 ac_ext=c
64269 ac_cpp='$CPP $CPPFLAGS'
64270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64279 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64281 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64282 for ac_func in expl
64283 do :
64284 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64285 if test "x$ac_cv_func_expl" = x""yes; then :
64286 cat >>confdefs.h <<_ACEOF
64287 #define HAVE_EXPL 1
64288 _ACEOF
64291 done
64293 else
64295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64296 $as_echo_n "checking for _expl declaration... " >&6; }
64297 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64298 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64299 $as_echo_n "(cached) " >&6
64300 else
64303 ac_ext=cpp
64304 ac_cpp='$CXXCPP $CPPFLAGS'
64305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64310 /* end confdefs.h. */
64311 #include <math.h>
64312 #ifdef HAVE_IEEEFP_H
64313 #include <ieeefp.h>
64314 #endif
64317 main ()
64319 _expl(0);
64321 return 0;
64323 _ACEOF
64324 if ac_fn_cxx_try_compile "$LINENO"; then :
64325 glibcxx_cv_func__expl_use=yes
64326 else
64327 glibcxx_cv_func__expl_use=no
64329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64330 ac_ext=c
64331 ac_cpp='$CPP $CPPFLAGS'
64332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64341 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64343 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64344 for ac_func in _expl
64345 do :
64346 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64347 if test "x$ac_cv_func__expl" = x""yes; then :
64348 cat >>confdefs.h <<_ACEOF
64349 #define HAVE__EXPL 1
64350 _ACEOF
64353 done
64362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64363 $as_echo_n "checking for fabsl declaration... " >&6; }
64364 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64365 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64366 $as_echo_n "(cached) " >&6
64367 else
64370 ac_ext=cpp
64371 ac_cpp='$CXXCPP $CPPFLAGS'
64372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64377 /* end confdefs.h. */
64378 #include <math.h>
64379 #ifdef HAVE_IEEEFP_H
64380 #include <ieeefp.h>
64381 #endif
64384 main ()
64386 fabsl(0);
64388 return 0;
64390 _ACEOF
64391 if ac_fn_cxx_try_compile "$LINENO"; then :
64392 glibcxx_cv_func_fabsl_use=yes
64393 else
64394 glibcxx_cv_func_fabsl_use=no
64396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64397 ac_ext=c
64398 ac_cpp='$CPP $CPPFLAGS'
64399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64408 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64410 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64411 for ac_func in fabsl
64412 do :
64413 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64414 if test "x$ac_cv_func_fabsl" = x""yes; then :
64415 cat >>confdefs.h <<_ACEOF
64416 #define HAVE_FABSL 1
64417 _ACEOF
64420 done
64422 else
64424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64425 $as_echo_n "checking for _fabsl declaration... " >&6; }
64426 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64427 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64428 $as_echo_n "(cached) " >&6
64429 else
64432 ac_ext=cpp
64433 ac_cpp='$CXXCPP $CPPFLAGS'
64434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64439 /* end confdefs.h. */
64440 #include <math.h>
64441 #ifdef HAVE_IEEEFP_H
64442 #include <ieeefp.h>
64443 #endif
64446 main ()
64448 _fabsl(0);
64450 return 0;
64452 _ACEOF
64453 if ac_fn_cxx_try_compile "$LINENO"; then :
64454 glibcxx_cv_func__fabsl_use=yes
64455 else
64456 glibcxx_cv_func__fabsl_use=no
64458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64459 ac_ext=c
64460 ac_cpp='$CPP $CPPFLAGS'
64461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64470 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64472 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64473 for ac_func in _fabsl
64474 do :
64475 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64476 if test "x$ac_cv_func__fabsl" = x""yes; then :
64477 cat >>confdefs.h <<_ACEOF
64478 #define HAVE__FABSL 1
64479 _ACEOF
64482 done
64491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64492 $as_echo_n "checking for fmodl declaration... " >&6; }
64493 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64494 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64495 $as_echo_n "(cached) " >&6
64496 else
64499 ac_ext=cpp
64500 ac_cpp='$CXXCPP $CPPFLAGS'
64501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64506 /* end confdefs.h. */
64507 #include <math.h>
64509 main ()
64511 fmodl(0, 0);
64513 return 0;
64515 _ACEOF
64516 if ac_fn_cxx_try_compile "$LINENO"; then :
64517 glibcxx_cv_func_fmodl_use=yes
64518 else
64519 glibcxx_cv_func_fmodl_use=no
64521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64522 ac_ext=c
64523 ac_cpp='$CPP $CPPFLAGS'
64524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64533 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64535 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64536 for ac_func in fmodl
64537 do :
64538 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64539 if test "x$ac_cv_func_fmodl" = x""yes; then :
64540 cat >>confdefs.h <<_ACEOF
64541 #define HAVE_FMODL 1
64542 _ACEOF
64545 done
64547 else
64549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64550 $as_echo_n "checking for _fmodl declaration... " >&6; }
64551 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64552 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64553 $as_echo_n "(cached) " >&6
64554 else
64557 ac_ext=cpp
64558 ac_cpp='$CXXCPP $CPPFLAGS'
64559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64564 /* end confdefs.h. */
64565 #include <math.h>
64567 main ()
64569 _fmodl(0, 0);
64571 return 0;
64573 _ACEOF
64574 if ac_fn_cxx_try_compile "$LINENO"; then :
64575 glibcxx_cv_func__fmodl_use=yes
64576 else
64577 glibcxx_cv_func__fmodl_use=no
64579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64580 ac_ext=c
64581 ac_cpp='$CPP $CPPFLAGS'
64582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64591 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64593 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64594 for ac_func in _fmodl
64595 do :
64596 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64597 if test "x$ac_cv_func__fmodl" = x""yes; then :
64598 cat >>confdefs.h <<_ACEOF
64599 #define HAVE__FMODL 1
64600 _ACEOF
64603 done
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64613 $as_echo_n "checking for frexpl declaration... " >&6; }
64614 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64615 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64616 $as_echo_n "(cached) " >&6
64617 else
64620 ac_ext=cpp
64621 ac_cpp='$CXXCPP $CPPFLAGS'
64622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64627 /* end confdefs.h. */
64628 #include <math.h>
64630 main ()
64632 frexpl(0, 0);
64634 return 0;
64636 _ACEOF
64637 if ac_fn_cxx_try_compile "$LINENO"; then :
64638 glibcxx_cv_func_frexpl_use=yes
64639 else
64640 glibcxx_cv_func_frexpl_use=no
64642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64643 ac_ext=c
64644 ac_cpp='$CPP $CPPFLAGS'
64645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64654 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64656 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64657 for ac_func in frexpl
64658 do :
64659 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64660 if test "x$ac_cv_func_frexpl" = x""yes; then :
64661 cat >>confdefs.h <<_ACEOF
64662 #define HAVE_FREXPL 1
64663 _ACEOF
64666 done
64668 else
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64671 $as_echo_n "checking for _frexpl declaration... " >&6; }
64672 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64673 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64674 $as_echo_n "(cached) " >&6
64675 else
64678 ac_ext=cpp
64679 ac_cpp='$CXXCPP $CPPFLAGS'
64680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64685 /* end confdefs.h. */
64686 #include <math.h>
64688 main ()
64690 _frexpl(0, 0);
64692 return 0;
64694 _ACEOF
64695 if ac_fn_cxx_try_compile "$LINENO"; then :
64696 glibcxx_cv_func__frexpl_use=yes
64697 else
64698 glibcxx_cv_func__frexpl_use=no
64700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64701 ac_ext=c
64702 ac_cpp='$CPP $CPPFLAGS'
64703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64712 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64714 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64715 for ac_func in _frexpl
64716 do :
64717 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64718 if test "x$ac_cv_func__frexpl" = x""yes; then :
64719 cat >>confdefs.h <<_ACEOF
64720 #define HAVE__FREXPL 1
64721 _ACEOF
64724 done
64733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64734 $as_echo_n "checking for hypotl declaration... " >&6; }
64735 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64736 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64737 $as_echo_n "(cached) " >&6
64738 else
64741 ac_ext=cpp
64742 ac_cpp='$CXXCPP $CPPFLAGS'
64743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64748 /* end confdefs.h. */
64749 #include <math.h>
64751 main ()
64753 hypotl(0, 0);
64755 return 0;
64757 _ACEOF
64758 if ac_fn_cxx_try_compile "$LINENO"; then :
64759 glibcxx_cv_func_hypotl_use=yes
64760 else
64761 glibcxx_cv_func_hypotl_use=no
64763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64764 ac_ext=c
64765 ac_cpp='$CPP $CPPFLAGS'
64766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64775 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64777 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64778 for ac_func in hypotl
64779 do :
64780 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64781 if test "x$ac_cv_func_hypotl" = x""yes; then :
64782 cat >>confdefs.h <<_ACEOF
64783 #define HAVE_HYPOTL 1
64784 _ACEOF
64787 done
64789 else
64791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64792 $as_echo_n "checking for _hypotl declaration... " >&6; }
64793 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64794 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64795 $as_echo_n "(cached) " >&6
64796 else
64799 ac_ext=cpp
64800 ac_cpp='$CXXCPP $CPPFLAGS'
64801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64806 /* end confdefs.h. */
64807 #include <math.h>
64809 main ()
64811 _hypotl(0, 0);
64813 return 0;
64815 _ACEOF
64816 if ac_fn_cxx_try_compile "$LINENO"; then :
64817 glibcxx_cv_func__hypotl_use=yes
64818 else
64819 glibcxx_cv_func__hypotl_use=no
64821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64822 ac_ext=c
64823 ac_cpp='$CPP $CPPFLAGS'
64824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64833 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64835 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64836 for ac_func in _hypotl
64837 do :
64838 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64839 if test "x$ac_cv_func__hypotl" = x""yes; then :
64840 cat >>confdefs.h <<_ACEOF
64841 #define HAVE__HYPOTL 1
64842 _ACEOF
64845 done
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64855 $as_echo_n "checking for ldexpl declaration... " >&6; }
64856 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64857 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64858 $as_echo_n "(cached) " >&6
64859 else
64862 ac_ext=cpp
64863 ac_cpp='$CXXCPP $CPPFLAGS'
64864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64869 /* end confdefs.h. */
64870 #include <math.h>
64872 main ()
64874 ldexpl(0, 0);
64876 return 0;
64878 _ACEOF
64879 if ac_fn_cxx_try_compile "$LINENO"; then :
64880 glibcxx_cv_func_ldexpl_use=yes
64881 else
64882 glibcxx_cv_func_ldexpl_use=no
64884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64885 ac_ext=c
64886 ac_cpp='$CPP $CPPFLAGS'
64887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64896 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64898 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64899 for ac_func in ldexpl
64900 do :
64901 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64902 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64903 cat >>confdefs.h <<_ACEOF
64904 #define HAVE_LDEXPL 1
64905 _ACEOF
64908 done
64910 else
64912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64913 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64914 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64915 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64916 $as_echo_n "(cached) " >&6
64917 else
64920 ac_ext=cpp
64921 ac_cpp='$CXXCPP $CPPFLAGS'
64922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64927 /* end confdefs.h. */
64928 #include <math.h>
64930 main ()
64932 _ldexpl(0, 0);
64934 return 0;
64936 _ACEOF
64937 if ac_fn_cxx_try_compile "$LINENO"; then :
64938 glibcxx_cv_func__ldexpl_use=yes
64939 else
64940 glibcxx_cv_func__ldexpl_use=no
64942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64943 ac_ext=c
64944 ac_cpp='$CPP $CPPFLAGS'
64945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64954 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64956 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64957 for ac_func in _ldexpl
64958 do :
64959 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64960 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64961 cat >>confdefs.h <<_ACEOF
64962 #define HAVE__LDEXPL 1
64963 _ACEOF
64966 done
64975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64976 $as_echo_n "checking for logl declaration... " >&6; }
64977 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64978 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64979 $as_echo_n "(cached) " >&6
64980 else
64983 ac_ext=cpp
64984 ac_cpp='$CXXCPP $CPPFLAGS'
64985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64990 /* end confdefs.h. */
64991 #include <math.h>
64992 #ifdef HAVE_IEEEFP_H
64993 #include <ieeefp.h>
64994 #endif
64997 main ()
64999 logl(0);
65001 return 0;
65003 _ACEOF
65004 if ac_fn_cxx_try_compile "$LINENO"; then :
65005 glibcxx_cv_func_logl_use=yes
65006 else
65007 glibcxx_cv_func_logl_use=no
65009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65010 ac_ext=c
65011 ac_cpp='$CPP $CPPFLAGS'
65012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65021 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65023 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65024 for ac_func in logl
65025 do :
65026 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65027 if test "x$ac_cv_func_logl" = x""yes; then :
65028 cat >>confdefs.h <<_ACEOF
65029 #define HAVE_LOGL 1
65030 _ACEOF
65033 done
65035 else
65037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65038 $as_echo_n "checking for _logl declaration... " >&6; }
65039 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65040 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65041 $as_echo_n "(cached) " >&6
65042 else
65045 ac_ext=cpp
65046 ac_cpp='$CXXCPP $CPPFLAGS'
65047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65052 /* end confdefs.h. */
65053 #include <math.h>
65054 #ifdef HAVE_IEEEFP_H
65055 #include <ieeefp.h>
65056 #endif
65059 main ()
65061 _logl(0);
65063 return 0;
65065 _ACEOF
65066 if ac_fn_cxx_try_compile "$LINENO"; then :
65067 glibcxx_cv_func__logl_use=yes
65068 else
65069 glibcxx_cv_func__logl_use=no
65071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65072 ac_ext=c
65073 ac_cpp='$CPP $CPPFLAGS'
65074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65083 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65085 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65086 for ac_func in _logl
65087 do :
65088 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65089 if test "x$ac_cv_func__logl" = x""yes; then :
65090 cat >>confdefs.h <<_ACEOF
65091 #define HAVE__LOGL 1
65092 _ACEOF
65095 done
65104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65105 $as_echo_n "checking for log10l declaration... " >&6; }
65106 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65107 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65108 $as_echo_n "(cached) " >&6
65109 else
65112 ac_ext=cpp
65113 ac_cpp='$CXXCPP $CPPFLAGS'
65114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65119 /* end confdefs.h. */
65120 #include <math.h>
65121 #ifdef HAVE_IEEEFP_H
65122 #include <ieeefp.h>
65123 #endif
65126 main ()
65128 log10l(0);
65130 return 0;
65132 _ACEOF
65133 if ac_fn_cxx_try_compile "$LINENO"; then :
65134 glibcxx_cv_func_log10l_use=yes
65135 else
65136 glibcxx_cv_func_log10l_use=no
65138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65139 ac_ext=c
65140 ac_cpp='$CPP $CPPFLAGS'
65141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65150 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65152 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65153 for ac_func in log10l
65154 do :
65155 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65156 if test "x$ac_cv_func_log10l" = x""yes; then :
65157 cat >>confdefs.h <<_ACEOF
65158 #define HAVE_LOG10L 1
65159 _ACEOF
65162 done
65164 else
65166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65167 $as_echo_n "checking for _log10l declaration... " >&6; }
65168 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65169 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65170 $as_echo_n "(cached) " >&6
65171 else
65174 ac_ext=cpp
65175 ac_cpp='$CXXCPP $CPPFLAGS'
65176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181 /* end confdefs.h. */
65182 #include <math.h>
65183 #ifdef HAVE_IEEEFP_H
65184 #include <ieeefp.h>
65185 #endif
65188 main ()
65190 _log10l(0);
65192 return 0;
65194 _ACEOF
65195 if ac_fn_cxx_try_compile "$LINENO"; then :
65196 glibcxx_cv_func__log10l_use=yes
65197 else
65198 glibcxx_cv_func__log10l_use=no
65200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65201 ac_ext=c
65202 ac_cpp='$CPP $CPPFLAGS'
65203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65212 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65214 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65215 for ac_func in _log10l
65216 do :
65217 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65218 if test "x$ac_cv_func__log10l" = x""yes; then :
65219 cat >>confdefs.h <<_ACEOF
65220 #define HAVE__LOG10L 1
65221 _ACEOF
65224 done
65233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65234 $as_echo_n "checking for modfl declaration... " >&6; }
65235 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65236 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65237 $as_echo_n "(cached) " >&6
65238 else
65241 ac_ext=cpp
65242 ac_cpp='$CXXCPP $CPPFLAGS'
65243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65248 /* end confdefs.h. */
65249 #include <math.h>
65251 main ()
65253 modfl(0, 0);
65255 return 0;
65257 _ACEOF
65258 if ac_fn_cxx_try_compile "$LINENO"; then :
65259 glibcxx_cv_func_modfl_use=yes
65260 else
65261 glibcxx_cv_func_modfl_use=no
65263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65264 ac_ext=c
65265 ac_cpp='$CPP $CPPFLAGS'
65266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65275 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65277 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65278 for ac_func in modfl
65279 do :
65280 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65281 if test "x$ac_cv_func_modfl" = x""yes; then :
65282 cat >>confdefs.h <<_ACEOF
65283 #define HAVE_MODFL 1
65284 _ACEOF
65287 done
65289 else
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65292 $as_echo_n "checking for _modfl declaration... " >&6; }
65293 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65294 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65295 $as_echo_n "(cached) " >&6
65296 else
65299 ac_ext=cpp
65300 ac_cpp='$CXXCPP $CPPFLAGS'
65301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65306 /* end confdefs.h. */
65307 #include <math.h>
65309 main ()
65311 _modfl(0, 0);
65313 return 0;
65315 _ACEOF
65316 if ac_fn_cxx_try_compile "$LINENO"; then :
65317 glibcxx_cv_func__modfl_use=yes
65318 else
65319 glibcxx_cv_func__modfl_use=no
65321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65322 ac_ext=c
65323 ac_cpp='$CPP $CPPFLAGS'
65324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65333 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65335 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65336 for ac_func in _modfl
65337 do :
65338 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65339 if test "x$ac_cv_func__modfl" = x""yes; then :
65340 cat >>confdefs.h <<_ACEOF
65341 #define HAVE__MODFL 1
65342 _ACEOF
65345 done
65354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65355 $as_echo_n "checking for powl declaration... " >&6; }
65356 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65357 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65358 $as_echo_n "(cached) " >&6
65359 else
65362 ac_ext=cpp
65363 ac_cpp='$CXXCPP $CPPFLAGS'
65364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65369 /* end confdefs.h. */
65370 #include <math.h>
65372 main ()
65374 powl(0, 0);
65376 return 0;
65378 _ACEOF
65379 if ac_fn_cxx_try_compile "$LINENO"; then :
65380 glibcxx_cv_func_powl_use=yes
65381 else
65382 glibcxx_cv_func_powl_use=no
65384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65385 ac_ext=c
65386 ac_cpp='$CPP $CPPFLAGS'
65387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65396 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65398 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65399 for ac_func in powl
65400 do :
65401 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65402 if test "x$ac_cv_func_powl" = x""yes; then :
65403 cat >>confdefs.h <<_ACEOF
65404 #define HAVE_POWL 1
65405 _ACEOF
65408 done
65410 else
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65413 $as_echo_n "checking for _powl declaration... " >&6; }
65414 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65415 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65416 $as_echo_n "(cached) " >&6
65417 else
65420 ac_ext=cpp
65421 ac_cpp='$CXXCPP $CPPFLAGS'
65422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65427 /* end confdefs.h. */
65428 #include <math.h>
65430 main ()
65432 _powl(0, 0);
65434 return 0;
65436 _ACEOF
65437 if ac_fn_cxx_try_compile "$LINENO"; then :
65438 glibcxx_cv_func__powl_use=yes
65439 else
65440 glibcxx_cv_func__powl_use=no
65442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65443 ac_ext=c
65444 ac_cpp='$CPP $CPPFLAGS'
65445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65454 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65456 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65457 for ac_func in _powl
65458 do :
65459 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65460 if test "x$ac_cv_func__powl" = x""yes; then :
65461 cat >>confdefs.h <<_ACEOF
65462 #define HAVE__POWL 1
65463 _ACEOF
65466 done
65475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65476 $as_echo_n "checking for sqrtl declaration... " >&6; }
65477 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65478 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65479 $as_echo_n "(cached) " >&6
65480 else
65483 ac_ext=cpp
65484 ac_cpp='$CXXCPP $CPPFLAGS'
65485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65490 /* end confdefs.h. */
65491 #include <math.h>
65492 #ifdef HAVE_IEEEFP_H
65493 #include <ieeefp.h>
65494 #endif
65497 main ()
65499 sqrtl(0);
65501 return 0;
65503 _ACEOF
65504 if ac_fn_cxx_try_compile "$LINENO"; then :
65505 glibcxx_cv_func_sqrtl_use=yes
65506 else
65507 glibcxx_cv_func_sqrtl_use=no
65509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65510 ac_ext=c
65511 ac_cpp='$CPP $CPPFLAGS'
65512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65521 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65523 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65524 for ac_func in sqrtl
65525 do :
65526 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65527 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65528 cat >>confdefs.h <<_ACEOF
65529 #define HAVE_SQRTL 1
65530 _ACEOF
65533 done
65535 else
65537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65538 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65539 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65540 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65541 $as_echo_n "(cached) " >&6
65542 else
65545 ac_ext=cpp
65546 ac_cpp='$CXXCPP $CPPFLAGS'
65547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65552 /* end confdefs.h. */
65553 #include <math.h>
65554 #ifdef HAVE_IEEEFP_H
65555 #include <ieeefp.h>
65556 #endif
65559 main ()
65561 _sqrtl(0);
65563 return 0;
65565 _ACEOF
65566 if ac_fn_cxx_try_compile "$LINENO"; then :
65567 glibcxx_cv_func__sqrtl_use=yes
65568 else
65569 glibcxx_cv_func__sqrtl_use=no
65571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65572 ac_ext=c
65573 ac_cpp='$CPP $CPPFLAGS'
65574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65583 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65585 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65586 for ac_func in _sqrtl
65587 do :
65588 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65589 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65590 cat >>confdefs.h <<_ACEOF
65591 #define HAVE__SQRTL 1
65592 _ACEOF
65595 done
65604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65605 $as_echo_n "checking for sincosl declaration... " >&6; }
65606 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65607 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65608 $as_echo_n "(cached) " >&6
65609 else
65612 ac_ext=cpp
65613 ac_cpp='$CXXCPP $CPPFLAGS'
65614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65619 /* end confdefs.h. */
65620 #include <math.h>
65622 main ()
65624 sincosl(0, 0, 0);
65626 return 0;
65628 _ACEOF
65629 if ac_fn_cxx_try_compile "$LINENO"; then :
65630 glibcxx_cv_func_sincosl_use=yes
65631 else
65632 glibcxx_cv_func_sincosl_use=no
65634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65635 ac_ext=c
65636 ac_cpp='$CPP $CPPFLAGS'
65637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65646 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65648 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65649 for ac_func in sincosl
65650 do :
65651 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65652 if test "x$ac_cv_func_sincosl" = x""yes; then :
65653 cat >>confdefs.h <<_ACEOF
65654 #define HAVE_SINCOSL 1
65655 _ACEOF
65658 done
65660 else
65662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65663 $as_echo_n "checking for _sincosl declaration... " >&6; }
65664 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65665 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65666 $as_echo_n "(cached) " >&6
65667 else
65670 ac_ext=cpp
65671 ac_cpp='$CXXCPP $CPPFLAGS'
65672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65677 /* end confdefs.h. */
65678 #include <math.h>
65680 main ()
65682 _sincosl(0, 0, 0);
65684 return 0;
65686 _ACEOF
65687 if ac_fn_cxx_try_compile "$LINENO"; then :
65688 glibcxx_cv_func__sincosl_use=yes
65689 else
65690 glibcxx_cv_func__sincosl_use=no
65692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65693 ac_ext=c
65694 ac_cpp='$CPP $CPPFLAGS'
65695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65704 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65706 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65707 for ac_func in _sincosl
65708 do :
65709 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65710 if test "x$ac_cv_func__sincosl" = x""yes; then :
65711 cat >>confdefs.h <<_ACEOF
65712 #define HAVE__SINCOSL 1
65713 _ACEOF
65716 done
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65726 $as_echo_n "checking for finitel declaration... " >&6; }
65727 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65728 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65729 $as_echo_n "(cached) " >&6
65730 else
65733 ac_ext=cpp
65734 ac_cpp='$CXXCPP $CPPFLAGS'
65735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65740 /* end confdefs.h. */
65741 #include <math.h>
65742 #ifdef HAVE_IEEEFP_H
65743 #include <ieeefp.h>
65744 #endif
65747 main ()
65749 finitel(0);
65751 return 0;
65753 _ACEOF
65754 if ac_fn_cxx_try_compile "$LINENO"; then :
65755 glibcxx_cv_func_finitel_use=yes
65756 else
65757 glibcxx_cv_func_finitel_use=no
65759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65760 ac_ext=c
65761 ac_cpp='$CPP $CPPFLAGS'
65762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65771 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65773 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65774 for ac_func in finitel
65775 do :
65776 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65777 if test "x$ac_cv_func_finitel" = x""yes; then :
65778 cat >>confdefs.h <<_ACEOF
65779 #define HAVE_FINITEL 1
65780 _ACEOF
65783 done
65785 else
65787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65788 $as_echo_n "checking for _finitel declaration... " >&6; }
65789 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65790 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65791 $as_echo_n "(cached) " >&6
65792 else
65795 ac_ext=cpp
65796 ac_cpp='$CXXCPP $CPPFLAGS'
65797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65802 /* end confdefs.h. */
65803 #include <math.h>
65804 #ifdef HAVE_IEEEFP_H
65805 #include <ieeefp.h>
65806 #endif
65809 main ()
65811 _finitel(0);
65813 return 0;
65815 _ACEOF
65816 if ac_fn_cxx_try_compile "$LINENO"; then :
65817 glibcxx_cv_func__finitel_use=yes
65818 else
65819 glibcxx_cv_func__finitel_use=no
65821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65822 ac_ext=c
65823 ac_cpp='$CPP $CPPFLAGS'
65824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65833 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65835 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65836 for ac_func in _finitel
65837 do :
65838 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65839 if test "x$ac_cv_func__finitel" = x""yes; then :
65840 cat >>confdefs.h <<_ACEOF
65841 #define HAVE__FINITEL 1
65842 _ACEOF
65845 done
65853 LIBS="$ac_save_LIBS"
65854 CXXFLAGS="$ac_save_CXXFLAGS"
65857 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65858 ac_save_CXXFLAGS="$CXXFLAGS"
65859 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65863 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65864 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65865 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65866 $as_echo_n "(cached) " >&6
65867 else
65870 ac_ext=cpp
65871 ac_cpp='$CXXCPP $CPPFLAGS'
65872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65877 /* end confdefs.h. */
65878 #include <stdlib.h>
65880 main ()
65882 at_quick_exit(0);
65884 return 0;
65886 _ACEOF
65887 if ac_fn_cxx_try_compile "$LINENO"; then :
65888 glibcxx_cv_func_at_quick_exit_use=yes
65889 else
65890 glibcxx_cv_func_at_quick_exit_use=no
65892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65893 ac_ext=c
65894 ac_cpp='$CPP $CPPFLAGS'
65895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65904 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65905 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65906 for ac_func in at_quick_exit
65907 do :
65908 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65909 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65910 cat >>confdefs.h <<_ACEOF
65911 #define HAVE_AT_QUICK_EXIT 1
65912 _ACEOF
65915 done
65920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65921 $as_echo_n "checking for quick_exit declaration... " >&6; }
65922 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65923 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65924 $as_echo_n "(cached) " >&6
65925 else
65928 ac_ext=cpp
65929 ac_cpp='$CXXCPP $CPPFLAGS'
65930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65935 /* end confdefs.h. */
65936 #include <stdlib.h>
65938 main ()
65940 quick_exit(0);
65942 return 0;
65944 _ACEOF
65945 if ac_fn_cxx_try_compile "$LINENO"; then :
65946 glibcxx_cv_func_quick_exit_use=yes
65947 else
65948 glibcxx_cv_func_quick_exit_use=no
65950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65951 ac_ext=c
65952 ac_cpp='$CPP $CPPFLAGS'
65953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65962 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65963 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65964 for ac_func in quick_exit
65965 do :
65966 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65967 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65968 cat >>confdefs.h <<_ACEOF
65969 #define HAVE_QUICK_EXIT 1
65970 _ACEOF
65973 done
65978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65979 $as_echo_n "checking for strtold declaration... " >&6; }
65980 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65981 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65982 $as_echo_n "(cached) " >&6
65983 else
65986 ac_ext=cpp
65987 ac_cpp='$CXXCPP $CPPFLAGS'
65988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65993 /* end confdefs.h. */
65994 #include <stdlib.h>
65996 main ()
65998 strtold(0, 0);
66000 return 0;
66002 _ACEOF
66003 if ac_fn_cxx_try_compile "$LINENO"; then :
66004 glibcxx_cv_func_strtold_use=yes
66005 else
66006 glibcxx_cv_func_strtold_use=no
66008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66009 ac_ext=c
66010 ac_cpp='$CPP $CPPFLAGS'
66011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66020 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66021 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66022 for ac_func in strtold
66023 do :
66024 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66025 if test "x$ac_cv_func_strtold" = x""yes; then :
66026 cat >>confdefs.h <<_ACEOF
66027 #define HAVE_STRTOLD 1
66028 _ACEOF
66031 done
66038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66039 $as_echo_n "checking for strtof declaration... " >&6; }
66040 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66041 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66042 $as_echo_n "(cached) " >&6
66043 else
66046 ac_ext=cpp
66047 ac_cpp='$CXXCPP $CPPFLAGS'
66048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66053 /* end confdefs.h. */
66054 #include <stdlib.h>
66056 main ()
66058 strtof(0, 0);
66060 return 0;
66062 _ACEOF
66063 if ac_fn_cxx_try_compile "$LINENO"; then :
66064 glibcxx_cv_func_strtof_use=yes
66065 else
66066 glibcxx_cv_func_strtof_use=no
66068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66069 ac_ext=c
66070 ac_cpp='$CPP $CPPFLAGS'
66071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66080 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66081 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66082 for ac_func in strtof
66083 do :
66084 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66085 if test "x$ac_cv_func_strtof" = x""yes; then :
66086 cat >>confdefs.h <<_ACEOF
66087 #define HAVE_STRTOF 1
66088 _ACEOF
66091 done
66098 CXXFLAGS="$ac_save_CXXFLAGS"
66100 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66101 do :
66102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66104 eval as_val=\$$as_ac_var
66105 if test "x$as_val" = x""yes; then :
66106 cat >>confdefs.h <<_ACEOF
66107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66108 _ACEOF
66111 done
66113 for ac_func in _wfopen
66114 do :
66115 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66116 if test "x$ac_cv_func__wfopen" = x""yes; then :
66117 cat >>confdefs.h <<_ACEOF
66118 #define HAVE__WFOPEN 1
66119 _ACEOF
66122 done
66125 *-netbsd* | *-openbsd*)
66126 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66129 # If we're not using GNU ld, then there's no point in even trying these
66130 # tests. Check for that first. We should have already tested for gld
66131 # by now (in libtool), but require it now just to be safe...
66132 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66133 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66137 # The name set by libtool depends on the version of libtool. Shame on us
66138 # for depending on an impl detail, but c'est la vie. Older versions used
66139 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66140 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66141 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66142 # set (hence we're using an older libtool), then set it.
66143 if test x${with_gnu_ld+set} != xset; then
66144 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66145 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66146 with_gnu_ld=no
66147 else
66148 with_gnu_ld=$ac_cv_prog_gnu_ld
66152 # Start by getting the version number. I think the libtool test already
66153 # does some of this, but throws away the result.
66154 glibcxx_ld_is_gold=no
66155 if test x"$with_gnu_ld" = x"yes"; then
66156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66157 $as_echo_n "checking for ld version... " >&6; }
66159 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66160 glibcxx_ld_is_gold=yes
66162 ldver=`$LD --version 2>/dev/null |
66163 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'`
66165 glibcxx_gnu_ld_version=`echo $ldver | \
66166 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66168 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66171 # Set --gc-sections.
66172 glibcxx_have_gc_sections=no
66173 if test "$glibcxx_ld_is_gold" = "yes"; then
66174 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66175 glibcxx_have_gc_sections=yes
66177 else
66178 glibcxx_gcsections_min_ld=21602
66179 if test x"$with_gnu_ld" = x"yes" &&
66180 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66181 glibcxx_have_gc_sections=yes
66184 if test "$glibcxx_have_gc_sections" = "yes"; then
66185 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66186 # NB: This flag only works reliably after 2.16.1. Configure tests
66187 # for this are difficult, so hard wire a value that should work.
66189 ac_test_CFLAGS="${CFLAGS+set}"
66190 ac_save_CFLAGS="$CFLAGS"
66191 CFLAGS='-Wl,--gc-sections'
66193 # Check for -Wl,--gc-sections
66194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66195 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66196 if test x$gcc_no_link = xyes; then
66197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66200 /* end confdefs.h. */
66201 int one(void) { return 1; }
66202 int two(void) { return 2; }
66205 main ()
66207 two();
66209 return 0;
66211 _ACEOF
66212 if ac_fn_c_try_link "$LINENO"; then :
66213 ac_gcsections=yes
66214 else
66215 ac_gcsections=no
66217 rm -f core conftest.err conftest.$ac_objext \
66218 conftest$ac_exeext conftest.$ac_ext
66219 if test "$ac_gcsections" = "yes"; then
66220 rm -f conftest.c
66221 touch conftest.c
66222 if $CC -c conftest.c; then
66223 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66224 grep "Warning: gc-sections option ignored" > /dev/null; then
66225 ac_gcsections=no
66228 rm -f conftest.c conftest.o conftest
66230 if test "$ac_gcsections" = "yes"; then
66231 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66234 $as_echo "$ac_gcsections" >&6; }
66236 if test "$ac_test_CFLAGS" = set; then
66237 CFLAGS="$ac_save_CFLAGS"
66238 else
66239 # this is the suspicious part
66240 CFLAGS=''
66244 # Set -z,relro.
66245 # Note this is only for shared objects.
66246 ac_ld_relro=no
66247 if test x"$with_gnu_ld" = x"yes"; then
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66249 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66250 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66251 if test -n "$cxx_z_relo"; then
66252 OPT_LDFLAGS="-Wl,-z,relro"
66253 ac_ld_relro=yes
66255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66256 $as_echo "$ac_ld_relro" >&6; }
66259 # Set linker optimization flags.
66260 if test x"$with_gnu_ld" = x"yes"; then
66261 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66267 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66269 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66271 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66273 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66275 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66277 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66279 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66281 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66283 if test x"long_double_math_on_this_cpu" = x"yes"; then
66284 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66286 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66288 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66291 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66292 do :
66293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66295 eval as_val=\$$as_ac_var
66296 if test "x$as_val" = x""yes; then :
66297 cat >>confdefs.h <<_ACEOF
66298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66299 _ACEOF
66302 done
66305 *-qnx6.1* | *-qnx6.2*)
66306 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66309 # If we're not using GNU ld, then there's no point in even trying these
66310 # tests. Check for that first. We should have already tested for gld
66311 # by now (in libtool), but require it now just to be safe...
66312 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66313 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66317 # The name set by libtool depends on the version of libtool. Shame on us
66318 # for depending on an impl detail, but c'est la vie. Older versions used
66319 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66320 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66321 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66322 # set (hence we're using an older libtool), then set it.
66323 if test x${with_gnu_ld+set} != xset; then
66324 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66325 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66326 with_gnu_ld=no
66327 else
66328 with_gnu_ld=$ac_cv_prog_gnu_ld
66332 # Start by getting the version number. I think the libtool test already
66333 # does some of this, but throws away the result.
66334 glibcxx_ld_is_gold=no
66335 if test x"$with_gnu_ld" = x"yes"; then
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66337 $as_echo_n "checking for ld version... " >&6; }
66339 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66340 glibcxx_ld_is_gold=yes
66342 ldver=`$LD --version 2>/dev/null |
66343 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'`
66345 glibcxx_gnu_ld_version=`echo $ldver | \
66346 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66348 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66351 # Set --gc-sections.
66352 glibcxx_have_gc_sections=no
66353 if test "$glibcxx_ld_is_gold" = "yes"; then
66354 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66355 glibcxx_have_gc_sections=yes
66357 else
66358 glibcxx_gcsections_min_ld=21602
66359 if test x"$with_gnu_ld" = x"yes" &&
66360 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66361 glibcxx_have_gc_sections=yes
66364 if test "$glibcxx_have_gc_sections" = "yes"; then
66365 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66366 # NB: This flag only works reliably after 2.16.1. Configure tests
66367 # for this are difficult, so hard wire a value that should work.
66369 ac_test_CFLAGS="${CFLAGS+set}"
66370 ac_save_CFLAGS="$CFLAGS"
66371 CFLAGS='-Wl,--gc-sections'
66373 # Check for -Wl,--gc-sections
66374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66375 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66376 if test x$gcc_no_link = xyes; then
66377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66380 /* end confdefs.h. */
66381 int one(void) { return 1; }
66382 int two(void) { return 2; }
66385 main ()
66387 two();
66389 return 0;
66391 _ACEOF
66392 if ac_fn_c_try_link "$LINENO"; then :
66393 ac_gcsections=yes
66394 else
66395 ac_gcsections=no
66397 rm -f core conftest.err conftest.$ac_objext \
66398 conftest$ac_exeext conftest.$ac_ext
66399 if test "$ac_gcsections" = "yes"; then
66400 rm -f conftest.c
66401 touch conftest.c
66402 if $CC -c conftest.c; then
66403 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66404 grep "Warning: gc-sections option ignored" > /dev/null; then
66405 ac_gcsections=no
66408 rm -f conftest.c conftest.o conftest
66410 if test "$ac_gcsections" = "yes"; then
66411 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66414 $as_echo "$ac_gcsections" >&6; }
66416 if test "$ac_test_CFLAGS" = set; then
66417 CFLAGS="$ac_save_CFLAGS"
66418 else
66419 # this is the suspicious part
66420 CFLAGS=''
66424 # Set -z,relro.
66425 # Note this is only for shared objects.
66426 ac_ld_relro=no
66427 if test x"$with_gnu_ld" = x"yes"; then
66428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66429 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66430 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66431 if test -n "$cxx_z_relo"; then
66432 OPT_LDFLAGS="-Wl,-z,relro"
66433 ac_ld_relro=yes
66435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66436 $as_echo "$ac_ld_relro" >&6; }
66439 # Set linker optimization flags.
66440 if test x"$with_gnu_ld" = x"yes"; then
66441 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66447 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66449 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66451 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66453 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66455 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66457 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66459 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66461 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66463 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66465 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66467 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66469 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66472 *-rtems*)
66474 # All these tests are for C++; save the language and the compiler flags.
66475 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66476 # found in GLIBCXX_CONFIGURE.
66478 ac_ext=cpp
66479 ac_cpp='$CXXCPP $CPPFLAGS'
66480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66484 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66485 ac_save_CXXFLAGS="$CXXFLAGS"
66487 # Check for -ffunction-sections -fdata-sections
66488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66489 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66490 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66492 /* end confdefs.h. */
66493 int foo; void bar() { };
66495 main ()
66499 return 0;
66501 _ACEOF
66502 if ac_fn_cxx_try_compile "$LINENO"; then :
66503 ac_fdsections=yes
66504 else
66505 ac_fdsections=no
66507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66508 if test "$ac_test_CXXFLAGS" = set; then
66509 CXXFLAGS="$ac_save_CXXFLAGS"
66510 else
66511 # this is the suspicious part
66512 CXXFLAGS=''
66514 if test x"$ac_fdsections" = x"yes"; then
66515 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66518 $as_echo "$ac_fdsections" >&6; }
66520 ac_ext=c
66521 ac_cpp='$CPP $CPPFLAGS'
66522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66529 # If we're not using GNU ld, then there's no point in even trying these
66530 # tests. Check for that first. We should have already tested for gld
66531 # by now (in libtool), but require it now just to be safe...
66532 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66533 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66537 # The name set by libtool depends on the version of libtool. Shame on us
66538 # for depending on an impl detail, but c'est la vie. Older versions used
66539 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66540 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66541 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66542 # set (hence we're using an older libtool), then set it.
66543 if test x${with_gnu_ld+set} != xset; then
66544 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66545 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66546 with_gnu_ld=no
66547 else
66548 with_gnu_ld=$ac_cv_prog_gnu_ld
66552 # Start by getting the version number. I think the libtool test already
66553 # does some of this, but throws away the result.
66554 glibcxx_ld_is_gold=no
66555 if test x"$with_gnu_ld" = x"yes"; then
66556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66557 $as_echo_n "checking for ld version... " >&6; }
66559 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66560 glibcxx_ld_is_gold=yes
66562 ldver=`$LD --version 2>/dev/null |
66563 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'`
66565 glibcxx_gnu_ld_version=`echo $ldver | \
66566 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66568 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66571 # Set --gc-sections.
66572 glibcxx_have_gc_sections=no
66573 if test "$glibcxx_ld_is_gold" = "yes"; then
66574 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66575 glibcxx_have_gc_sections=yes
66577 else
66578 glibcxx_gcsections_min_ld=21602
66579 if test x"$with_gnu_ld" = x"yes" &&
66580 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66581 glibcxx_have_gc_sections=yes
66584 if test "$glibcxx_have_gc_sections" = "yes"; then
66585 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66586 # NB: This flag only works reliably after 2.16.1. Configure tests
66587 # for this are difficult, so hard wire a value that should work.
66589 ac_test_CFLAGS="${CFLAGS+set}"
66590 ac_save_CFLAGS="$CFLAGS"
66591 CFLAGS='-Wl,--gc-sections'
66593 # Check for -Wl,--gc-sections
66594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66595 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66596 if test x$gcc_no_link = xyes; then
66597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 int one(void) { return 1; }
66602 int two(void) { return 2; }
66605 main ()
66607 two();
66609 return 0;
66611 _ACEOF
66612 if ac_fn_c_try_link "$LINENO"; then :
66613 ac_gcsections=yes
66614 else
66615 ac_gcsections=no
66617 rm -f core conftest.err conftest.$ac_objext \
66618 conftest$ac_exeext conftest.$ac_ext
66619 if test "$ac_gcsections" = "yes"; then
66620 rm -f conftest.c
66621 touch conftest.c
66622 if $CC -c conftest.c; then
66623 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66624 grep "Warning: gc-sections option ignored" > /dev/null; then
66625 ac_gcsections=no
66628 rm -f conftest.c conftest.o conftest
66630 if test "$ac_gcsections" = "yes"; then
66631 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66634 $as_echo "$ac_gcsections" >&6; }
66636 if test "$ac_test_CFLAGS" = set; then
66637 CFLAGS="$ac_save_CFLAGS"
66638 else
66639 # this is the suspicious part
66640 CFLAGS=''
66644 # Set -z,relro.
66645 # Note this is only for shared objects.
66646 ac_ld_relro=no
66647 if test x"$with_gnu_ld" = x"yes"; then
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66649 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66650 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66651 if test -n "$cxx_z_relo"; then
66652 OPT_LDFLAGS="-Wl,-z,relro"
66653 ac_ld_relro=yes
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66656 $as_echo "$ac_ld_relro" >&6; }
66659 # Set linker optimization flags.
66660 if test x"$with_gnu_ld" = x"yes"; then
66661 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66669 ac_save_CXXFLAGS="$CXXFLAGS"
66670 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66673 $as_echo_n "checking for sin in -lm... " >&6; }
66674 if test "${ac_cv_lib_m_sin+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66677 ac_check_lib_save_LIBS=$LIBS
66678 LIBS="-lm $LIBS"
66679 if test x$gcc_no_link = xyes; then
66680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66683 /* end confdefs.h. */
66685 /* Override any GCC internal prototype to avoid an error.
66686 Use char because int might match the return type of a GCC
66687 builtin and then its argument prototype would still apply. */
66688 #ifdef __cplusplus
66689 extern "C"
66690 #endif
66691 char sin ();
66693 main ()
66695 return sin ();
66697 return 0;
66699 _ACEOF
66700 if ac_fn_c_try_link "$LINENO"; then :
66701 ac_cv_lib_m_sin=yes
66702 else
66703 ac_cv_lib_m_sin=no
66705 rm -f core conftest.err conftest.$ac_objext \
66706 conftest$ac_exeext conftest.$ac_ext
66707 LIBS=$ac_check_lib_save_LIBS
66709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66710 $as_echo "$ac_cv_lib_m_sin" >&6; }
66711 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66712 libm="-lm"
66715 ac_save_LIBS="$LIBS"
66716 LIBS="$LIBS $libm"
66720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66721 $as_echo_n "checking for isinf declaration... " >&6; }
66722 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66723 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66724 $as_echo_n "(cached) " >&6
66725 else
66728 ac_ext=cpp
66729 ac_cpp='$CXXCPP $CPPFLAGS'
66730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66735 /* end confdefs.h. */
66736 #include <math.h>
66737 #ifdef HAVE_IEEEFP_H
66738 #include <ieeefp.h>
66739 #endif
66742 main ()
66744 isinf(0);
66746 return 0;
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func_isinf_use=yes
66751 else
66752 glibcxx_cv_func_isinf_use=no
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66766 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66768 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66769 for ac_func in isinf
66770 do :
66771 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66772 if test "x$ac_cv_func_isinf" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE_ISINF 1
66775 _ACEOF
66778 done
66780 else
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66783 $as_echo_n "checking for _isinf declaration... " >&6; }
66784 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66785 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66786 $as_echo_n "(cached) " >&6
66787 else
66790 ac_ext=cpp
66791 ac_cpp='$CXXCPP $CPPFLAGS'
66792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66797 /* end confdefs.h. */
66798 #include <math.h>
66799 #ifdef HAVE_IEEEFP_H
66800 #include <ieeefp.h>
66801 #endif
66804 main ()
66806 _isinf(0);
66808 return 0;
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812 glibcxx_cv_func__isinf_use=yes
66813 else
66814 glibcxx_cv_func__isinf_use=no
66816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66817 ac_ext=c
66818 ac_cpp='$CPP $CPPFLAGS'
66819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66828 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66830 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66831 for ac_func in _isinf
66832 do :
66833 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66834 if test "x$ac_cv_func__isinf" = x""yes; then :
66835 cat >>confdefs.h <<_ACEOF
66836 #define HAVE__ISINF 1
66837 _ACEOF
66840 done
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66850 $as_echo_n "checking for isnan declaration... " >&6; }
66851 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66852 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 #ifdef HAVE_IEEEFP_H
66867 #include <ieeefp.h>
66868 #endif
66871 main ()
66873 isnan(0);
66875 return 0;
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func_isnan_use=yes
66880 else
66881 glibcxx_cv_func_isnan_use=no
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66895 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66897 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66898 for ac_func in isnan
66899 do :
66900 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66901 if test "x$ac_cv_func_isnan" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE_ISNAN 1
66904 _ACEOF
66907 done
66909 else
66911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66912 $as_echo_n "checking for _isnan declaration... " >&6; }
66913 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66914 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66915 $as_echo_n "(cached) " >&6
66916 else
66919 ac_ext=cpp
66920 ac_cpp='$CXXCPP $CPPFLAGS'
66921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66926 /* end confdefs.h. */
66927 #include <math.h>
66928 #ifdef HAVE_IEEEFP_H
66929 #include <ieeefp.h>
66930 #endif
66933 main ()
66935 _isnan(0);
66937 return 0;
66939 _ACEOF
66940 if ac_fn_cxx_try_compile "$LINENO"; then :
66941 glibcxx_cv_func__isnan_use=yes
66942 else
66943 glibcxx_cv_func__isnan_use=no
66945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66946 ac_ext=c
66947 ac_cpp='$CPP $CPPFLAGS'
66948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66957 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66959 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66960 for ac_func in _isnan
66961 do :
66962 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66963 if test "x$ac_cv_func__isnan" = x""yes; then :
66964 cat >>confdefs.h <<_ACEOF
66965 #define HAVE__ISNAN 1
66966 _ACEOF
66969 done
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66979 $as_echo_n "checking for finite declaration... " >&6; }
66980 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66981 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66982 $as_echo_n "(cached) " >&6
66983 else
66986 ac_ext=cpp
66987 ac_cpp='$CXXCPP $CPPFLAGS'
66988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66993 /* end confdefs.h. */
66994 #include <math.h>
66995 #ifdef HAVE_IEEEFP_H
66996 #include <ieeefp.h>
66997 #endif
67000 main ()
67002 finite(0);
67004 return 0;
67006 _ACEOF
67007 if ac_fn_cxx_try_compile "$LINENO"; then :
67008 glibcxx_cv_func_finite_use=yes
67009 else
67010 glibcxx_cv_func_finite_use=no
67012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67013 ac_ext=c
67014 ac_cpp='$CPP $CPPFLAGS'
67015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67024 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67026 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67027 for ac_func in finite
67028 do :
67029 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67030 if test "x$ac_cv_func_finite" = x""yes; then :
67031 cat >>confdefs.h <<_ACEOF
67032 #define HAVE_FINITE 1
67033 _ACEOF
67036 done
67038 else
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67041 $as_echo_n "checking for _finite declaration... " >&6; }
67042 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67043 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67044 $as_echo_n "(cached) " >&6
67045 else
67048 ac_ext=cpp
67049 ac_cpp='$CXXCPP $CPPFLAGS'
67050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67055 /* end confdefs.h. */
67056 #include <math.h>
67057 #ifdef HAVE_IEEEFP_H
67058 #include <ieeefp.h>
67059 #endif
67062 main ()
67064 _finite(0);
67066 return 0;
67068 _ACEOF
67069 if ac_fn_cxx_try_compile "$LINENO"; then :
67070 glibcxx_cv_func__finite_use=yes
67071 else
67072 glibcxx_cv_func__finite_use=no
67074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67075 ac_ext=c
67076 ac_cpp='$CPP $CPPFLAGS'
67077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67086 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67088 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67089 for ac_func in _finite
67090 do :
67091 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67092 if test "x$ac_cv_func__finite" = x""yes; then :
67093 cat >>confdefs.h <<_ACEOF
67094 #define HAVE__FINITE 1
67095 _ACEOF
67098 done
67107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67108 $as_echo_n "checking for sincos declaration... " >&6; }
67109 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67110 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67111 $as_echo_n "(cached) " >&6
67112 else
67115 ac_ext=cpp
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67122 /* end confdefs.h. */
67123 #include <math.h>
67125 main ()
67127 sincos(0, 0, 0);
67129 return 0;
67131 _ACEOF
67132 if ac_fn_cxx_try_compile "$LINENO"; then :
67133 glibcxx_cv_func_sincos_use=yes
67134 else
67135 glibcxx_cv_func_sincos_use=no
67137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67138 ac_ext=c
67139 ac_cpp='$CPP $CPPFLAGS'
67140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67149 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67151 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67152 for ac_func in sincos
67153 do :
67154 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67155 if test "x$ac_cv_func_sincos" = x""yes; then :
67156 cat >>confdefs.h <<_ACEOF
67157 #define HAVE_SINCOS 1
67158 _ACEOF
67161 done
67163 else
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67166 $as_echo_n "checking for _sincos declaration... " >&6; }
67167 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67168 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67169 $as_echo_n "(cached) " >&6
67170 else
67173 ac_ext=cpp
67174 ac_cpp='$CXXCPP $CPPFLAGS'
67175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67180 /* end confdefs.h. */
67181 #include <math.h>
67183 main ()
67185 _sincos(0, 0, 0);
67187 return 0;
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func__sincos_use=yes
67192 else
67193 glibcxx_cv_func__sincos_use=no
67195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67196 ac_ext=c
67197 ac_cpp='$CPP $CPPFLAGS'
67198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67207 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67209 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67210 for ac_func in _sincos
67211 do :
67212 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67213 if test "x$ac_cv_func__sincos" = x""yes; then :
67214 cat >>confdefs.h <<_ACEOF
67215 #define HAVE__SINCOS 1
67216 _ACEOF
67219 done
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67229 $as_echo_n "checking for fpclass declaration... " >&6; }
67230 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67231 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67232 $as_echo_n "(cached) " >&6
67233 else
67236 ac_ext=cpp
67237 ac_cpp='$CXXCPP $CPPFLAGS'
67238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67243 /* end confdefs.h. */
67244 #include <math.h>
67245 #ifdef HAVE_IEEEFP_H
67246 #include <ieeefp.h>
67247 #endif
67250 main ()
67252 fpclass(0);
67254 return 0;
67256 _ACEOF
67257 if ac_fn_cxx_try_compile "$LINENO"; then :
67258 glibcxx_cv_func_fpclass_use=yes
67259 else
67260 glibcxx_cv_func_fpclass_use=no
67262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67263 ac_ext=c
67264 ac_cpp='$CPP $CPPFLAGS'
67265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67274 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67276 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67277 for ac_func in fpclass
67278 do :
67279 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67280 if test "x$ac_cv_func_fpclass" = x""yes; then :
67281 cat >>confdefs.h <<_ACEOF
67282 #define HAVE_FPCLASS 1
67283 _ACEOF
67286 done
67288 else
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67291 $as_echo_n "checking for _fpclass declaration... " >&6; }
67292 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67293 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67294 $as_echo_n "(cached) " >&6
67295 else
67298 ac_ext=cpp
67299 ac_cpp='$CXXCPP $CPPFLAGS'
67300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67305 /* end confdefs.h. */
67306 #include <math.h>
67307 #ifdef HAVE_IEEEFP_H
67308 #include <ieeefp.h>
67309 #endif
67312 main ()
67314 _fpclass(0);
67316 return 0;
67318 _ACEOF
67319 if ac_fn_cxx_try_compile "$LINENO"; then :
67320 glibcxx_cv_func__fpclass_use=yes
67321 else
67322 glibcxx_cv_func__fpclass_use=no
67324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67325 ac_ext=c
67326 ac_cpp='$CPP $CPPFLAGS'
67327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67336 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67338 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67339 for ac_func in _fpclass
67340 do :
67341 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67342 if test "x$ac_cv_func__fpclass" = x""yes; then :
67343 cat >>confdefs.h <<_ACEOF
67344 #define HAVE__FPCLASS 1
67345 _ACEOF
67348 done
67357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67358 $as_echo_n "checking for qfpclass declaration... " >&6; }
67359 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67360 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67361 $as_echo_n "(cached) " >&6
67362 else
67365 ac_ext=cpp
67366 ac_cpp='$CXXCPP $CPPFLAGS'
67367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67372 /* end confdefs.h. */
67373 #include <math.h>
67374 #ifdef HAVE_IEEEFP_H
67375 #include <ieeefp.h>
67376 #endif
67379 main ()
67381 qfpclass(0);
67383 return 0;
67385 _ACEOF
67386 if ac_fn_cxx_try_compile "$LINENO"; then :
67387 glibcxx_cv_func_qfpclass_use=yes
67388 else
67389 glibcxx_cv_func_qfpclass_use=no
67391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67392 ac_ext=c
67393 ac_cpp='$CPP $CPPFLAGS'
67394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67403 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67405 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67406 for ac_func in qfpclass
67407 do :
67408 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67409 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67410 cat >>confdefs.h <<_ACEOF
67411 #define HAVE_QFPCLASS 1
67412 _ACEOF
67415 done
67417 else
67419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67420 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67421 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67422 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67423 $as_echo_n "(cached) " >&6
67424 else
67427 ac_ext=cpp
67428 ac_cpp='$CXXCPP $CPPFLAGS'
67429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67434 /* end confdefs.h. */
67435 #include <math.h>
67436 #ifdef HAVE_IEEEFP_H
67437 #include <ieeefp.h>
67438 #endif
67441 main ()
67443 _qfpclass(0);
67445 return 0;
67447 _ACEOF
67448 if ac_fn_cxx_try_compile "$LINENO"; then :
67449 glibcxx_cv_func__qfpclass_use=yes
67450 else
67451 glibcxx_cv_func__qfpclass_use=no
67453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67454 ac_ext=c
67455 ac_cpp='$CPP $CPPFLAGS'
67456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67465 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67467 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67468 for ac_func in _qfpclass
67469 do :
67470 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67471 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67472 cat >>confdefs.h <<_ACEOF
67473 #define HAVE__QFPCLASS 1
67474 _ACEOF
67477 done
67486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67487 $as_echo_n "checking for hypot declaration... " >&6; }
67488 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67489 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67490 $as_echo_n "(cached) " >&6
67491 else
67494 ac_ext=cpp
67495 ac_cpp='$CXXCPP $CPPFLAGS'
67496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67501 /* end confdefs.h. */
67502 #include <math.h>
67504 main ()
67506 hypot(0, 0);
67508 return 0;
67510 _ACEOF
67511 if ac_fn_cxx_try_compile "$LINENO"; then :
67512 glibcxx_cv_func_hypot_use=yes
67513 else
67514 glibcxx_cv_func_hypot_use=no
67516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67517 ac_ext=c
67518 ac_cpp='$CPP $CPPFLAGS'
67519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67528 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67530 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67531 for ac_func in hypot
67532 do :
67533 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67534 if test "x$ac_cv_func_hypot" = x""yes; then :
67535 cat >>confdefs.h <<_ACEOF
67536 #define HAVE_HYPOT 1
67537 _ACEOF
67540 done
67542 else
67544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67545 $as_echo_n "checking for _hypot declaration... " >&6; }
67546 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67547 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67548 $as_echo_n "(cached) " >&6
67549 else
67552 ac_ext=cpp
67553 ac_cpp='$CXXCPP $CPPFLAGS'
67554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67559 /* end confdefs.h. */
67560 #include <math.h>
67562 main ()
67564 _hypot(0, 0);
67566 return 0;
67568 _ACEOF
67569 if ac_fn_cxx_try_compile "$LINENO"; then :
67570 glibcxx_cv_func__hypot_use=yes
67571 else
67572 glibcxx_cv_func__hypot_use=no
67574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67575 ac_ext=c
67576 ac_cpp='$CPP $CPPFLAGS'
67577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67586 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67588 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67589 for ac_func in _hypot
67590 do :
67591 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67592 if test "x$ac_cv_func__hypot" = x""yes; then :
67593 cat >>confdefs.h <<_ACEOF
67594 #define HAVE__HYPOT 1
67595 _ACEOF
67598 done
67607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67608 $as_echo_n "checking for float trig functions... " >&6; }
67609 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67610 $as_echo_n "(cached) " >&6
67611 else
67614 ac_ext=cpp
67615 ac_cpp='$CXXCPP $CPPFLAGS'
67616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67621 /* end confdefs.h. */
67622 #include <math.h>
67624 main ()
67626 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67628 return 0;
67630 _ACEOF
67631 if ac_fn_cxx_try_compile "$LINENO"; then :
67632 glibcxx_cv_func_float_trig_use=yes
67633 else
67634 glibcxx_cv_func_float_trig_use=no
67636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67637 ac_ext=c
67638 ac_cpp='$CPP $CPPFLAGS'
67639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67646 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67647 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67648 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67649 do :
67650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67652 eval as_val=\$$as_ac_var
67653 if test "x$as_val" = x""yes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67656 _ACEOF
67659 done
67661 else
67662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67663 $as_echo_n "checking for _float trig functions... " >&6; }
67664 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67665 $as_echo_n "(cached) " >&6
67666 else
67669 ac_ext=cpp
67670 ac_cpp='$CXXCPP $CPPFLAGS'
67671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67676 /* end confdefs.h. */
67677 #include <math.h>
67679 main ()
67681 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67683 return 0;
67685 _ACEOF
67686 if ac_fn_cxx_try_compile "$LINENO"; then :
67687 glibcxx_cv_func__float_trig_use=yes
67688 else
67689 glibcxx_cv_func__float_trig_use=no
67691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67692 ac_ext=c
67693 ac_cpp='$CPP $CPPFLAGS'
67694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67701 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67702 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67703 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67704 do :
67705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67707 eval as_val=\$$as_ac_var
67708 if test "x$as_val" = x""yes; then :
67709 cat >>confdefs.h <<_ACEOF
67710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67711 _ACEOF
67714 done
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67724 $as_echo_n "checking for float round functions... " >&6; }
67725 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67726 $as_echo_n "(cached) " >&6
67727 else
67730 ac_ext=cpp
67731 ac_cpp='$CXXCPP $CPPFLAGS'
67732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67737 /* end confdefs.h. */
67738 #include <math.h>
67740 main ()
67742 ceilf (0); floorf (0);
67744 return 0;
67746 _ACEOF
67747 if ac_fn_cxx_try_compile "$LINENO"; then :
67748 glibcxx_cv_func_float_round_use=yes
67749 else
67750 glibcxx_cv_func_float_round_use=no
67752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67753 ac_ext=c
67754 ac_cpp='$CPP $CPPFLAGS'
67755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67762 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67763 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67764 for ac_func in ceilf floorf
67765 do :
67766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67768 eval as_val=\$$as_ac_var
67769 if test "x$as_val" = x""yes; then :
67770 cat >>confdefs.h <<_ACEOF
67771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67772 _ACEOF
67775 done
67777 else
67778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67779 $as_echo_n "checking for _float round functions... " >&6; }
67780 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67781 $as_echo_n "(cached) " >&6
67782 else
67785 ac_ext=cpp
67786 ac_cpp='$CXXCPP $CPPFLAGS'
67787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67792 /* end confdefs.h. */
67793 #include <math.h>
67795 main ()
67797 _ceilf (0); _floorf (0);
67799 return 0;
67801 _ACEOF
67802 if ac_fn_cxx_try_compile "$LINENO"; then :
67803 glibcxx_cv_func__float_round_use=yes
67804 else
67805 glibcxx_cv_func__float_round_use=no
67807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67808 ac_ext=c
67809 ac_cpp='$CPP $CPPFLAGS'
67810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67817 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67818 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67819 for ac_func in _ceilf _floorf
67820 do :
67821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67823 eval as_val=\$$as_ac_var
67824 if test "x$as_val" = x""yes; then :
67825 cat >>confdefs.h <<_ACEOF
67826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67827 _ACEOF
67830 done
67840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67841 $as_echo_n "checking for expf declaration... " >&6; }
67842 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67843 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67844 $as_echo_n "(cached) " >&6
67845 else
67848 ac_ext=cpp
67849 ac_cpp='$CXXCPP $CPPFLAGS'
67850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67855 /* end confdefs.h. */
67856 #include <math.h>
67857 #ifdef HAVE_IEEEFP_H
67858 #include <ieeefp.h>
67859 #endif
67862 main ()
67864 expf(0);
67866 return 0;
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func_expf_use=yes
67871 else
67872 glibcxx_cv_func_expf_use=no
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67886 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67888 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67889 for ac_func in expf
67890 do :
67891 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67892 if test "x$ac_cv_func_expf" = x""yes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE_EXPF 1
67895 _ACEOF
67898 done
67900 else
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67903 $as_echo_n "checking for _expf declaration... " >&6; }
67904 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67905 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67906 $as_echo_n "(cached) " >&6
67907 else
67910 ac_ext=cpp
67911 ac_cpp='$CXXCPP $CPPFLAGS'
67912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67917 /* end confdefs.h. */
67918 #include <math.h>
67919 #ifdef HAVE_IEEEFP_H
67920 #include <ieeefp.h>
67921 #endif
67924 main ()
67926 _expf(0);
67928 return 0;
67930 _ACEOF
67931 if ac_fn_cxx_try_compile "$LINENO"; then :
67932 glibcxx_cv_func__expf_use=yes
67933 else
67934 glibcxx_cv_func__expf_use=no
67936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67937 ac_ext=c
67938 ac_cpp='$CPP $CPPFLAGS'
67939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67948 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67950 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67951 for ac_func in _expf
67952 do :
67953 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67954 if test "x$ac_cv_func__expf" = x""yes; then :
67955 cat >>confdefs.h <<_ACEOF
67956 #define HAVE__EXPF 1
67957 _ACEOF
67960 done
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67970 $as_echo_n "checking for isnanf declaration... " >&6; }
67971 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67972 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67991 main ()
67993 isnanf(0);
67995 return 0;
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func_isnanf_use=yes
68000 else
68001 glibcxx_cv_func_isnanf_use=no
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68015 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68017 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68018 for ac_func in isnanf
68019 do :
68020 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68021 if test "x$ac_cv_func_isnanf" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE_ISNANF 1
68024 _ACEOF
68027 done
68029 else
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68032 $as_echo_n "checking for _isnanf declaration... " >&6; }
68033 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68034 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68035 $as_echo_n "(cached) " >&6
68036 else
68039 ac_ext=cpp
68040 ac_cpp='$CXXCPP $CPPFLAGS'
68041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68046 /* end confdefs.h. */
68047 #include <math.h>
68048 #ifdef HAVE_IEEEFP_H
68049 #include <ieeefp.h>
68050 #endif
68053 main ()
68055 _isnanf(0);
68057 return 0;
68059 _ACEOF
68060 if ac_fn_cxx_try_compile "$LINENO"; then :
68061 glibcxx_cv_func__isnanf_use=yes
68062 else
68063 glibcxx_cv_func__isnanf_use=no
68065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68066 ac_ext=c
68067 ac_cpp='$CPP $CPPFLAGS'
68068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68077 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68079 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68080 for ac_func in _isnanf
68081 do :
68082 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68083 if test "x$ac_cv_func__isnanf" = x""yes; then :
68084 cat >>confdefs.h <<_ACEOF
68085 #define HAVE__ISNANF 1
68086 _ACEOF
68089 done
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68099 $as_echo_n "checking for isinff declaration... " >&6; }
68100 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68101 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68102 $as_echo_n "(cached) " >&6
68103 else
68106 ac_ext=cpp
68107 ac_cpp='$CXXCPP $CPPFLAGS'
68108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68113 /* end confdefs.h. */
68114 #include <math.h>
68115 #ifdef HAVE_IEEEFP_H
68116 #include <ieeefp.h>
68117 #endif
68120 main ()
68122 isinff(0);
68124 return 0;
68126 _ACEOF
68127 if ac_fn_cxx_try_compile "$LINENO"; then :
68128 glibcxx_cv_func_isinff_use=yes
68129 else
68130 glibcxx_cv_func_isinff_use=no
68132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68133 ac_ext=c
68134 ac_cpp='$CPP $CPPFLAGS'
68135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68144 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68146 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68147 for ac_func in isinff
68148 do :
68149 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68150 if test "x$ac_cv_func_isinff" = x""yes; then :
68151 cat >>confdefs.h <<_ACEOF
68152 #define HAVE_ISINFF 1
68153 _ACEOF
68156 done
68158 else
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68161 $as_echo_n "checking for _isinff declaration... " >&6; }
68162 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68163 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68164 $as_echo_n "(cached) " >&6
68165 else
68168 ac_ext=cpp
68169 ac_cpp='$CXXCPP $CPPFLAGS'
68170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68175 /* end confdefs.h. */
68176 #include <math.h>
68177 #ifdef HAVE_IEEEFP_H
68178 #include <ieeefp.h>
68179 #endif
68182 main ()
68184 _isinff(0);
68186 return 0;
68188 _ACEOF
68189 if ac_fn_cxx_try_compile "$LINENO"; then :
68190 glibcxx_cv_func__isinff_use=yes
68191 else
68192 glibcxx_cv_func__isinff_use=no
68194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68195 ac_ext=c
68196 ac_cpp='$CPP $CPPFLAGS'
68197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68206 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68208 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68209 for ac_func in _isinff
68210 do :
68211 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68212 if test "x$ac_cv_func__isinff" = x""yes; then :
68213 cat >>confdefs.h <<_ACEOF
68214 #define HAVE__ISINFF 1
68215 _ACEOF
68218 done
68227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68228 $as_echo_n "checking for atan2f declaration... " >&6; }
68229 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68230 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68231 $as_echo_n "(cached) " >&6
68232 else
68235 ac_ext=cpp
68236 ac_cpp='$CXXCPP $CPPFLAGS'
68237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68242 /* end confdefs.h. */
68243 #include <math.h>
68245 main ()
68247 atan2f(0, 0);
68249 return 0;
68251 _ACEOF
68252 if ac_fn_cxx_try_compile "$LINENO"; then :
68253 glibcxx_cv_func_atan2f_use=yes
68254 else
68255 glibcxx_cv_func_atan2f_use=no
68257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68258 ac_ext=c
68259 ac_cpp='$CPP $CPPFLAGS'
68260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68269 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68271 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68272 for ac_func in atan2f
68273 do :
68274 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68275 if test "x$ac_cv_func_atan2f" = x""yes; then :
68276 cat >>confdefs.h <<_ACEOF
68277 #define HAVE_ATAN2F 1
68278 _ACEOF
68281 done
68283 else
68285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68286 $as_echo_n "checking for _atan2f declaration... " >&6; }
68287 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68288 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68289 $as_echo_n "(cached) " >&6
68290 else
68293 ac_ext=cpp
68294 ac_cpp='$CXXCPP $CPPFLAGS'
68295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68300 /* end confdefs.h. */
68301 #include <math.h>
68303 main ()
68305 _atan2f(0, 0);
68307 return 0;
68309 _ACEOF
68310 if ac_fn_cxx_try_compile "$LINENO"; then :
68311 glibcxx_cv_func__atan2f_use=yes
68312 else
68313 glibcxx_cv_func__atan2f_use=no
68315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68316 ac_ext=c
68317 ac_cpp='$CPP $CPPFLAGS'
68318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68327 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68329 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68330 for ac_func in _atan2f
68331 do :
68332 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68333 if test "x$ac_cv_func__atan2f" = x""yes; then :
68334 cat >>confdefs.h <<_ACEOF
68335 #define HAVE__ATAN2F 1
68336 _ACEOF
68339 done
68348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68349 $as_echo_n "checking for fabsf declaration... " >&6; }
68350 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68351 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68352 $as_echo_n "(cached) " >&6
68353 else
68356 ac_ext=cpp
68357 ac_cpp='$CXXCPP $CPPFLAGS'
68358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68363 /* end confdefs.h. */
68364 #include <math.h>
68365 #ifdef HAVE_IEEEFP_H
68366 #include <ieeefp.h>
68367 #endif
68370 main ()
68372 fabsf(0);
68374 return 0;
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func_fabsf_use=yes
68379 else
68380 glibcxx_cv_func_fabsf_use=no
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68394 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68396 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68397 for ac_func in fabsf
68398 do :
68399 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68400 if test "x$ac_cv_func_fabsf" = x""yes; then :
68401 cat >>confdefs.h <<_ACEOF
68402 #define HAVE_FABSF 1
68403 _ACEOF
68406 done
68408 else
68410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68411 $as_echo_n "checking for _fabsf declaration... " >&6; }
68412 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68413 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68414 $as_echo_n "(cached) " >&6
68415 else
68418 ac_ext=cpp
68419 ac_cpp='$CXXCPP $CPPFLAGS'
68420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68425 /* end confdefs.h. */
68426 #include <math.h>
68427 #ifdef HAVE_IEEEFP_H
68428 #include <ieeefp.h>
68429 #endif
68432 main ()
68434 _fabsf(0);
68436 return 0;
68438 _ACEOF
68439 if ac_fn_cxx_try_compile "$LINENO"; then :
68440 glibcxx_cv_func__fabsf_use=yes
68441 else
68442 glibcxx_cv_func__fabsf_use=no
68444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68445 ac_ext=c
68446 ac_cpp='$CPP $CPPFLAGS'
68447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68456 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68458 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68459 for ac_func in _fabsf
68460 do :
68461 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68462 if test "x$ac_cv_func__fabsf" = x""yes; then :
68463 cat >>confdefs.h <<_ACEOF
68464 #define HAVE__FABSF 1
68465 _ACEOF
68468 done
68477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68478 $as_echo_n "checking for fmodf declaration... " >&6; }
68479 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68480 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68481 $as_echo_n "(cached) " >&6
68482 else
68485 ac_ext=cpp
68486 ac_cpp='$CXXCPP $CPPFLAGS'
68487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68492 /* end confdefs.h. */
68493 #include <math.h>
68495 main ()
68497 fmodf(0, 0);
68499 return 0;
68501 _ACEOF
68502 if ac_fn_cxx_try_compile "$LINENO"; then :
68503 glibcxx_cv_func_fmodf_use=yes
68504 else
68505 glibcxx_cv_func_fmodf_use=no
68507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68508 ac_ext=c
68509 ac_cpp='$CPP $CPPFLAGS'
68510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68519 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68521 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68522 for ac_func in fmodf
68523 do :
68524 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68525 if test "x$ac_cv_func_fmodf" = x""yes; then :
68526 cat >>confdefs.h <<_ACEOF
68527 #define HAVE_FMODF 1
68528 _ACEOF
68531 done
68533 else
68535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68536 $as_echo_n "checking for _fmodf declaration... " >&6; }
68537 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68538 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68539 $as_echo_n "(cached) " >&6
68540 else
68543 ac_ext=cpp
68544 ac_cpp='$CXXCPP $CPPFLAGS'
68545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68550 /* end confdefs.h. */
68551 #include <math.h>
68553 main ()
68555 _fmodf(0, 0);
68557 return 0;
68559 _ACEOF
68560 if ac_fn_cxx_try_compile "$LINENO"; then :
68561 glibcxx_cv_func__fmodf_use=yes
68562 else
68563 glibcxx_cv_func__fmodf_use=no
68565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68566 ac_ext=c
68567 ac_cpp='$CPP $CPPFLAGS'
68568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68577 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68579 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68580 for ac_func in _fmodf
68581 do :
68582 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68583 if test "x$ac_cv_func__fmodf" = x""yes; then :
68584 cat >>confdefs.h <<_ACEOF
68585 #define HAVE__FMODF 1
68586 _ACEOF
68589 done
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68599 $as_echo_n "checking for frexpf declaration... " >&6; }
68600 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68601 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68602 $as_echo_n "(cached) " >&6
68603 else
68606 ac_ext=cpp
68607 ac_cpp='$CXXCPP $CPPFLAGS'
68608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68613 /* end confdefs.h. */
68614 #include <math.h>
68616 main ()
68618 frexpf(0, 0);
68620 return 0;
68622 _ACEOF
68623 if ac_fn_cxx_try_compile "$LINENO"; then :
68624 glibcxx_cv_func_frexpf_use=yes
68625 else
68626 glibcxx_cv_func_frexpf_use=no
68628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68629 ac_ext=c
68630 ac_cpp='$CPP $CPPFLAGS'
68631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68640 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68642 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68643 for ac_func in frexpf
68644 do :
68645 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68646 if test "x$ac_cv_func_frexpf" = x""yes; then :
68647 cat >>confdefs.h <<_ACEOF
68648 #define HAVE_FREXPF 1
68649 _ACEOF
68652 done
68654 else
68656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68657 $as_echo_n "checking for _frexpf declaration... " >&6; }
68658 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68659 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68660 $as_echo_n "(cached) " >&6
68661 else
68664 ac_ext=cpp
68665 ac_cpp='$CXXCPP $CPPFLAGS'
68666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68671 /* end confdefs.h. */
68672 #include <math.h>
68674 main ()
68676 _frexpf(0, 0);
68678 return 0;
68680 _ACEOF
68681 if ac_fn_cxx_try_compile "$LINENO"; then :
68682 glibcxx_cv_func__frexpf_use=yes
68683 else
68684 glibcxx_cv_func__frexpf_use=no
68686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68687 ac_ext=c
68688 ac_cpp='$CPP $CPPFLAGS'
68689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68698 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68700 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68701 for ac_func in _frexpf
68702 do :
68703 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68704 if test "x$ac_cv_func__frexpf" = x""yes; then :
68705 cat >>confdefs.h <<_ACEOF
68706 #define HAVE__FREXPF 1
68707 _ACEOF
68710 done
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68720 $as_echo_n "checking for hypotf declaration... " >&6; }
68721 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68722 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68723 $as_echo_n "(cached) " >&6
68724 else
68727 ac_ext=cpp
68728 ac_cpp='$CXXCPP $CPPFLAGS'
68729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68734 /* end confdefs.h. */
68735 #include <math.h>
68737 main ()
68739 hypotf(0, 0);
68741 return 0;
68743 _ACEOF
68744 if ac_fn_cxx_try_compile "$LINENO"; then :
68745 glibcxx_cv_func_hypotf_use=yes
68746 else
68747 glibcxx_cv_func_hypotf_use=no
68749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68750 ac_ext=c
68751 ac_cpp='$CPP $CPPFLAGS'
68752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68761 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68763 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68764 for ac_func in hypotf
68765 do :
68766 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68767 if test "x$ac_cv_func_hypotf" = x""yes; then :
68768 cat >>confdefs.h <<_ACEOF
68769 #define HAVE_HYPOTF 1
68770 _ACEOF
68773 done
68775 else
68777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68778 $as_echo_n "checking for _hypotf declaration... " >&6; }
68779 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68780 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68781 $as_echo_n "(cached) " >&6
68782 else
68785 ac_ext=cpp
68786 ac_cpp='$CXXCPP $CPPFLAGS'
68787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68792 /* end confdefs.h. */
68793 #include <math.h>
68795 main ()
68797 _hypotf(0, 0);
68799 return 0;
68801 _ACEOF
68802 if ac_fn_cxx_try_compile "$LINENO"; then :
68803 glibcxx_cv_func__hypotf_use=yes
68804 else
68805 glibcxx_cv_func__hypotf_use=no
68807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68808 ac_ext=c
68809 ac_cpp='$CPP $CPPFLAGS'
68810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68819 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68821 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68822 for ac_func in _hypotf
68823 do :
68824 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68825 if test "x$ac_cv_func__hypotf" = x""yes; then :
68826 cat >>confdefs.h <<_ACEOF
68827 #define HAVE__HYPOTF 1
68828 _ACEOF
68831 done
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68841 $as_echo_n "checking for ldexpf declaration... " >&6; }
68842 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68843 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68844 $as_echo_n "(cached) " >&6
68845 else
68848 ac_ext=cpp
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68855 /* end confdefs.h. */
68856 #include <math.h>
68858 main ()
68860 ldexpf(0, 0);
68862 return 0;
68864 _ACEOF
68865 if ac_fn_cxx_try_compile "$LINENO"; then :
68866 glibcxx_cv_func_ldexpf_use=yes
68867 else
68868 glibcxx_cv_func_ldexpf_use=no
68870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68871 ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68882 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68884 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68885 for ac_func in ldexpf
68886 do :
68887 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68888 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68889 cat >>confdefs.h <<_ACEOF
68890 #define HAVE_LDEXPF 1
68891 _ACEOF
68894 done
68896 else
68898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68899 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68900 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68901 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68902 $as_echo_n "(cached) " >&6
68903 else
68906 ac_ext=cpp
68907 ac_cpp='$CXXCPP $CPPFLAGS'
68908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68913 /* end confdefs.h. */
68914 #include <math.h>
68916 main ()
68918 _ldexpf(0, 0);
68920 return 0;
68922 _ACEOF
68923 if ac_fn_cxx_try_compile "$LINENO"; then :
68924 glibcxx_cv_func__ldexpf_use=yes
68925 else
68926 glibcxx_cv_func__ldexpf_use=no
68928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68929 ac_ext=c
68930 ac_cpp='$CPP $CPPFLAGS'
68931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68940 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68942 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68943 for ac_func in _ldexpf
68944 do :
68945 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68946 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68947 cat >>confdefs.h <<_ACEOF
68948 #define HAVE__LDEXPF 1
68949 _ACEOF
68952 done
68961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68962 $as_echo_n "checking for logf declaration... " >&6; }
68963 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68964 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68965 $as_echo_n "(cached) " >&6
68966 else
68969 ac_ext=cpp
68970 ac_cpp='$CXXCPP $CPPFLAGS'
68971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68976 /* end confdefs.h. */
68977 #include <math.h>
68978 #ifdef HAVE_IEEEFP_H
68979 #include <ieeefp.h>
68980 #endif
68983 main ()
68985 logf(0);
68987 return 0;
68989 _ACEOF
68990 if ac_fn_cxx_try_compile "$LINENO"; then :
68991 glibcxx_cv_func_logf_use=yes
68992 else
68993 glibcxx_cv_func_logf_use=no
68995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68996 ac_ext=c
68997 ac_cpp='$CPP $CPPFLAGS'
68998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69007 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69009 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69010 for ac_func in logf
69011 do :
69012 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69013 if test "x$ac_cv_func_logf" = x""yes; then :
69014 cat >>confdefs.h <<_ACEOF
69015 #define HAVE_LOGF 1
69016 _ACEOF
69019 done
69021 else
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69024 $as_echo_n "checking for _logf declaration... " >&6; }
69025 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69026 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69027 $as_echo_n "(cached) " >&6
69028 else
69031 ac_ext=cpp
69032 ac_cpp='$CXXCPP $CPPFLAGS'
69033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69038 /* end confdefs.h. */
69039 #include <math.h>
69040 #ifdef HAVE_IEEEFP_H
69041 #include <ieeefp.h>
69042 #endif
69045 main ()
69047 _logf(0);
69049 return 0;
69051 _ACEOF
69052 if ac_fn_cxx_try_compile "$LINENO"; then :
69053 glibcxx_cv_func__logf_use=yes
69054 else
69055 glibcxx_cv_func__logf_use=no
69057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69058 ac_ext=c
69059 ac_cpp='$CPP $CPPFLAGS'
69060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69069 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69071 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69072 for ac_func in _logf
69073 do :
69074 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69075 if test "x$ac_cv_func__logf" = x""yes; then :
69076 cat >>confdefs.h <<_ACEOF
69077 #define HAVE__LOGF 1
69078 _ACEOF
69081 done
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69091 $as_echo_n "checking for log10f declaration... " >&6; }
69092 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69093 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69094 $as_echo_n "(cached) " >&6
69095 else
69098 ac_ext=cpp
69099 ac_cpp='$CXXCPP $CPPFLAGS'
69100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69105 /* end confdefs.h. */
69106 #include <math.h>
69107 #ifdef HAVE_IEEEFP_H
69108 #include <ieeefp.h>
69109 #endif
69112 main ()
69114 log10f(0);
69116 return 0;
69118 _ACEOF
69119 if ac_fn_cxx_try_compile "$LINENO"; then :
69120 glibcxx_cv_func_log10f_use=yes
69121 else
69122 glibcxx_cv_func_log10f_use=no
69124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69125 ac_ext=c
69126 ac_cpp='$CPP $CPPFLAGS'
69127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69136 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69138 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69139 for ac_func in log10f
69140 do :
69141 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69142 if test "x$ac_cv_func_log10f" = x""yes; then :
69143 cat >>confdefs.h <<_ACEOF
69144 #define HAVE_LOG10F 1
69145 _ACEOF
69148 done
69150 else
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69153 $as_echo_n "checking for _log10f declaration... " >&6; }
69154 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69155 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69156 $as_echo_n "(cached) " >&6
69157 else
69160 ac_ext=cpp
69161 ac_cpp='$CXXCPP $CPPFLAGS'
69162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69167 /* end confdefs.h. */
69168 #include <math.h>
69169 #ifdef HAVE_IEEEFP_H
69170 #include <ieeefp.h>
69171 #endif
69174 main ()
69176 _log10f(0);
69178 return 0;
69180 _ACEOF
69181 if ac_fn_cxx_try_compile "$LINENO"; then :
69182 glibcxx_cv_func__log10f_use=yes
69183 else
69184 glibcxx_cv_func__log10f_use=no
69186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69187 ac_ext=c
69188 ac_cpp='$CPP $CPPFLAGS'
69189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69198 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69200 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69201 for ac_func in _log10f
69202 do :
69203 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69204 if test "x$ac_cv_func__log10f" = x""yes; then :
69205 cat >>confdefs.h <<_ACEOF
69206 #define HAVE__LOG10F 1
69207 _ACEOF
69210 done
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69220 $as_echo_n "checking for modff declaration... " >&6; }
69221 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69222 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69223 $as_echo_n "(cached) " >&6
69224 else
69227 ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h. */
69235 #include <math.h>
69237 main ()
69239 modff(0, 0);
69241 return 0;
69243 _ACEOF
69244 if ac_fn_cxx_try_compile "$LINENO"; then :
69245 glibcxx_cv_func_modff_use=yes
69246 else
69247 glibcxx_cv_func_modff_use=no
69249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69250 ac_ext=c
69251 ac_cpp='$CPP $CPPFLAGS'
69252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69261 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69263 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69264 for ac_func in modff
69265 do :
69266 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69267 if test "x$ac_cv_func_modff" = x""yes; then :
69268 cat >>confdefs.h <<_ACEOF
69269 #define HAVE_MODFF 1
69270 _ACEOF
69273 done
69275 else
69277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69278 $as_echo_n "checking for _modff declaration... " >&6; }
69279 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69280 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69281 $as_echo_n "(cached) " >&6
69282 else
69285 ac_ext=cpp
69286 ac_cpp='$CXXCPP $CPPFLAGS'
69287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69292 /* end confdefs.h. */
69293 #include <math.h>
69295 main ()
69297 _modff(0, 0);
69299 return 0;
69301 _ACEOF
69302 if ac_fn_cxx_try_compile "$LINENO"; then :
69303 glibcxx_cv_func__modff_use=yes
69304 else
69305 glibcxx_cv_func__modff_use=no
69307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69308 ac_ext=c
69309 ac_cpp='$CPP $CPPFLAGS'
69310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69319 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69321 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69322 for ac_func in _modff
69323 do :
69324 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69325 if test "x$ac_cv_func__modff" = x""yes; then :
69326 cat >>confdefs.h <<_ACEOF
69327 #define HAVE__MODFF 1
69328 _ACEOF
69331 done
69340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69341 $as_echo_n "checking for modf declaration... " >&6; }
69342 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69343 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69344 $as_echo_n "(cached) " >&6
69345 else
69348 ac_ext=cpp
69349 ac_cpp='$CXXCPP $CPPFLAGS'
69350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69355 /* end confdefs.h. */
69356 #include <math.h>
69358 main ()
69360 modf(0, 0);
69362 return 0;
69364 _ACEOF
69365 if ac_fn_cxx_try_compile "$LINENO"; then :
69366 glibcxx_cv_func_modf_use=yes
69367 else
69368 glibcxx_cv_func_modf_use=no
69370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69371 ac_ext=c
69372 ac_cpp='$CPP $CPPFLAGS'
69373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69382 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69384 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69385 for ac_func in modf
69386 do :
69387 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69388 if test "x$ac_cv_func_modf" = x""yes; then :
69389 cat >>confdefs.h <<_ACEOF
69390 #define HAVE_MODF 1
69391 _ACEOF
69394 done
69396 else
69398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69399 $as_echo_n "checking for _modf declaration... " >&6; }
69400 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69401 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69402 $as_echo_n "(cached) " >&6
69403 else
69406 ac_ext=cpp
69407 ac_cpp='$CXXCPP $CPPFLAGS'
69408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69413 /* end confdefs.h. */
69414 #include <math.h>
69416 main ()
69418 _modf(0, 0);
69420 return 0;
69422 _ACEOF
69423 if ac_fn_cxx_try_compile "$LINENO"; then :
69424 glibcxx_cv_func__modf_use=yes
69425 else
69426 glibcxx_cv_func__modf_use=no
69428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69429 ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69440 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69442 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69443 for ac_func in _modf
69444 do :
69445 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69446 if test "x$ac_cv_func__modf" = x""yes; then :
69447 cat >>confdefs.h <<_ACEOF
69448 #define HAVE__MODF 1
69449 _ACEOF
69452 done
69461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69462 $as_echo_n "checking for powf declaration... " >&6; }
69463 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69464 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69465 $as_echo_n "(cached) " >&6
69466 else
69469 ac_ext=cpp
69470 ac_cpp='$CXXCPP $CPPFLAGS'
69471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69476 /* end confdefs.h. */
69477 #include <math.h>
69479 main ()
69481 powf(0, 0);
69483 return 0;
69485 _ACEOF
69486 if ac_fn_cxx_try_compile "$LINENO"; then :
69487 glibcxx_cv_func_powf_use=yes
69488 else
69489 glibcxx_cv_func_powf_use=no
69491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69492 ac_ext=c
69493 ac_cpp='$CPP $CPPFLAGS'
69494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69503 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69505 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69506 for ac_func in powf
69507 do :
69508 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69509 if test "x$ac_cv_func_powf" = x""yes; then :
69510 cat >>confdefs.h <<_ACEOF
69511 #define HAVE_POWF 1
69512 _ACEOF
69515 done
69517 else
69519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69520 $as_echo_n "checking for _powf declaration... " >&6; }
69521 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69522 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69523 $as_echo_n "(cached) " >&6
69524 else
69527 ac_ext=cpp
69528 ac_cpp='$CXXCPP $CPPFLAGS'
69529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69534 /* end confdefs.h. */
69535 #include <math.h>
69537 main ()
69539 _powf(0, 0);
69541 return 0;
69543 _ACEOF
69544 if ac_fn_cxx_try_compile "$LINENO"; then :
69545 glibcxx_cv_func__powf_use=yes
69546 else
69547 glibcxx_cv_func__powf_use=no
69549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69550 ac_ext=c
69551 ac_cpp='$CPP $CPPFLAGS'
69552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69561 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69563 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69564 for ac_func in _powf
69565 do :
69566 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69567 if test "x$ac_cv_func__powf" = x""yes; then :
69568 cat >>confdefs.h <<_ACEOF
69569 #define HAVE__POWF 1
69570 _ACEOF
69573 done
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69583 $as_echo_n "checking for sqrtf declaration... " >&6; }
69584 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69585 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69586 $as_echo_n "(cached) " >&6
69587 else
69590 ac_ext=cpp
69591 ac_cpp='$CXXCPP $CPPFLAGS'
69592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69597 /* end confdefs.h. */
69598 #include <math.h>
69599 #ifdef HAVE_IEEEFP_H
69600 #include <ieeefp.h>
69601 #endif
69604 main ()
69606 sqrtf(0);
69608 return 0;
69610 _ACEOF
69611 if ac_fn_cxx_try_compile "$LINENO"; then :
69612 glibcxx_cv_func_sqrtf_use=yes
69613 else
69614 glibcxx_cv_func_sqrtf_use=no
69616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69628 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69630 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69631 for ac_func in sqrtf
69632 do :
69633 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69634 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69635 cat >>confdefs.h <<_ACEOF
69636 #define HAVE_SQRTF 1
69637 _ACEOF
69640 done
69642 else
69644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69645 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69646 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69647 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69648 $as_echo_n "(cached) " >&6
69649 else
69652 ac_ext=cpp
69653 ac_cpp='$CXXCPP $CPPFLAGS'
69654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69659 /* end confdefs.h. */
69660 #include <math.h>
69661 #ifdef HAVE_IEEEFP_H
69662 #include <ieeefp.h>
69663 #endif
69666 main ()
69668 _sqrtf(0);
69670 return 0;
69672 _ACEOF
69673 if ac_fn_cxx_try_compile "$LINENO"; then :
69674 glibcxx_cv_func__sqrtf_use=yes
69675 else
69676 glibcxx_cv_func__sqrtf_use=no
69678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69679 ac_ext=c
69680 ac_cpp='$CPP $CPPFLAGS'
69681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69690 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69692 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69693 for ac_func in _sqrtf
69694 do :
69695 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69696 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69697 cat >>confdefs.h <<_ACEOF
69698 #define HAVE__SQRTF 1
69699 _ACEOF
69702 done
69711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69712 $as_echo_n "checking for sincosf declaration... " >&6; }
69713 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69714 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69715 $as_echo_n "(cached) " >&6
69716 else
69719 ac_ext=cpp
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69726 /* end confdefs.h. */
69727 #include <math.h>
69729 main ()
69731 sincosf(0, 0, 0);
69733 return 0;
69735 _ACEOF
69736 if ac_fn_cxx_try_compile "$LINENO"; then :
69737 glibcxx_cv_func_sincosf_use=yes
69738 else
69739 glibcxx_cv_func_sincosf_use=no
69741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69742 ac_ext=c
69743 ac_cpp='$CPP $CPPFLAGS'
69744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69753 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69755 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69756 for ac_func in sincosf
69757 do :
69758 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69759 if test "x$ac_cv_func_sincosf" = x""yes; then :
69760 cat >>confdefs.h <<_ACEOF
69761 #define HAVE_SINCOSF 1
69762 _ACEOF
69765 done
69767 else
69769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69770 $as_echo_n "checking for _sincosf declaration... " >&6; }
69771 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69772 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69773 $as_echo_n "(cached) " >&6
69774 else
69777 ac_ext=cpp
69778 ac_cpp='$CXXCPP $CPPFLAGS'
69779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69784 /* end confdefs.h. */
69785 #include <math.h>
69787 main ()
69789 _sincosf(0, 0, 0);
69791 return 0;
69793 _ACEOF
69794 if ac_fn_cxx_try_compile "$LINENO"; then :
69795 glibcxx_cv_func__sincosf_use=yes
69796 else
69797 glibcxx_cv_func__sincosf_use=no
69799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69800 ac_ext=c
69801 ac_cpp='$CPP $CPPFLAGS'
69802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69811 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69813 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69814 for ac_func in _sincosf
69815 do :
69816 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69817 if test "x$ac_cv_func__sincosf" = x""yes; then :
69818 cat >>confdefs.h <<_ACEOF
69819 #define HAVE__SINCOSF 1
69820 _ACEOF
69823 done
69832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69833 $as_echo_n "checking for finitef declaration... " >&6; }
69834 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69835 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69836 $as_echo_n "(cached) " >&6
69837 else
69840 ac_ext=cpp
69841 ac_cpp='$CXXCPP $CPPFLAGS'
69842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69847 /* end confdefs.h. */
69848 #include <math.h>
69849 #ifdef HAVE_IEEEFP_H
69850 #include <ieeefp.h>
69851 #endif
69854 main ()
69856 finitef(0);
69858 return 0;
69860 _ACEOF
69861 if ac_fn_cxx_try_compile "$LINENO"; then :
69862 glibcxx_cv_func_finitef_use=yes
69863 else
69864 glibcxx_cv_func_finitef_use=no
69866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69878 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69880 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69881 for ac_func in finitef
69882 do :
69883 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69884 if test "x$ac_cv_func_finitef" = x""yes; then :
69885 cat >>confdefs.h <<_ACEOF
69886 #define HAVE_FINITEF 1
69887 _ACEOF
69890 done
69892 else
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69895 $as_echo_n "checking for _finitef declaration... " >&6; }
69896 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69897 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69898 $as_echo_n "(cached) " >&6
69899 else
69902 ac_ext=cpp
69903 ac_cpp='$CXXCPP $CPPFLAGS'
69904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69909 /* end confdefs.h. */
69910 #include <math.h>
69911 #ifdef HAVE_IEEEFP_H
69912 #include <ieeefp.h>
69913 #endif
69916 main ()
69918 _finitef(0);
69920 return 0;
69922 _ACEOF
69923 if ac_fn_cxx_try_compile "$LINENO"; then :
69924 glibcxx_cv_func__finitef_use=yes
69925 else
69926 glibcxx_cv_func__finitef_use=no
69928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69929 ac_ext=c
69930 ac_cpp='$CPP $CPPFLAGS'
69931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69940 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69942 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69943 for ac_func in _finitef
69944 do :
69945 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69946 if test "x$ac_cv_func__finitef" = x""yes; then :
69947 cat >>confdefs.h <<_ACEOF
69948 #define HAVE__FINITEF 1
69949 _ACEOF
69952 done
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69962 $as_echo_n "checking for long double trig functions... " >&6; }
69963 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69964 $as_echo_n "(cached) " >&6
69965 else
69968 ac_ext=cpp
69969 ac_cpp='$CXXCPP $CPPFLAGS'
69970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69975 /* end confdefs.h. */
69976 #include <math.h>
69978 main ()
69980 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69982 return 0;
69984 _ACEOF
69985 if ac_fn_cxx_try_compile "$LINENO"; then :
69986 glibcxx_cv_func_long_double_trig_use=yes
69987 else
69988 glibcxx_cv_func_long_double_trig_use=no
69990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69991 ac_ext=c
69992 ac_cpp='$CPP $CPPFLAGS'
69993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70000 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70001 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70002 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70003 do :
70004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70006 eval as_val=\$$as_ac_var
70007 if test "x$as_val" = x""yes; then :
70008 cat >>confdefs.h <<_ACEOF
70009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70010 _ACEOF
70013 done
70015 else
70016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70017 $as_echo_n "checking for _long double trig functions... " >&6; }
70018 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70019 $as_echo_n "(cached) " >&6
70020 else
70023 ac_ext=cpp
70024 ac_cpp='$CXXCPP $CPPFLAGS'
70025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70030 /* end confdefs.h. */
70031 #include <math.h>
70033 main ()
70035 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70037 return 0;
70039 _ACEOF
70040 if ac_fn_cxx_try_compile "$LINENO"; then :
70041 glibcxx_cv_func__long_double_trig_use=yes
70042 else
70043 glibcxx_cv_func__long_double_trig_use=no
70045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70046 ac_ext=c
70047 ac_cpp='$CPP $CPPFLAGS'
70048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70055 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70056 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70057 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70058 do :
70059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70061 eval as_val=\$$as_ac_var
70062 if test "x$as_val" = x""yes; then :
70063 cat >>confdefs.h <<_ACEOF
70064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70065 _ACEOF
70068 done
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70078 $as_echo_n "checking for long double round functions... " >&6; }
70079 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70080 $as_echo_n "(cached) " >&6
70081 else
70084 ac_ext=cpp
70085 ac_cpp='$CXXCPP $CPPFLAGS'
70086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70091 /* end confdefs.h. */
70092 #include <math.h>
70094 main ()
70096 ceill (0); floorl (0);
70098 return 0;
70100 _ACEOF
70101 if ac_fn_cxx_try_compile "$LINENO"; then :
70102 glibcxx_cv_func_long_double_round_use=yes
70103 else
70104 glibcxx_cv_func_long_double_round_use=no
70106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70107 ac_ext=c
70108 ac_cpp='$CPP $CPPFLAGS'
70109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70116 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70117 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70118 for ac_func in ceill floorl
70119 do :
70120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70122 eval as_val=\$$as_ac_var
70123 if test "x$as_val" = x""yes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70126 _ACEOF
70129 done
70131 else
70132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70133 $as_echo_n "checking for _long double round functions... " >&6; }
70134 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70135 $as_echo_n "(cached) " >&6
70136 else
70139 ac_ext=cpp
70140 ac_cpp='$CXXCPP $CPPFLAGS'
70141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70146 /* end confdefs.h. */
70147 #include <math.h>
70149 main ()
70151 _ceill (0); _floorl (0);
70153 return 0;
70155 _ACEOF
70156 if ac_fn_cxx_try_compile "$LINENO"; then :
70157 glibcxx_cv_func__long_double_round_use=yes
70158 else
70159 glibcxx_cv_func__long_double_round_use=no
70161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70162 ac_ext=c
70163 ac_cpp='$CPP $CPPFLAGS'
70164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70171 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70172 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70173 for ac_func in _ceill _floorl
70174 do :
70175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70177 eval as_val=\$$as_ac_var
70178 if test "x$as_val" = x""yes; then :
70179 cat >>confdefs.h <<_ACEOF
70180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70181 _ACEOF
70184 done
70194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70195 $as_echo_n "checking for isnanl declaration... " >&6; }
70196 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70197 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70198 $as_echo_n "(cached) " >&6
70199 else
70202 ac_ext=cpp
70203 ac_cpp='$CXXCPP $CPPFLAGS'
70204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70209 /* end confdefs.h. */
70210 #include <math.h>
70211 #ifdef HAVE_IEEEFP_H
70212 #include <ieeefp.h>
70213 #endif
70216 main ()
70218 isnanl(0);
70220 return 0;
70222 _ACEOF
70223 if ac_fn_cxx_try_compile "$LINENO"; then :
70224 glibcxx_cv_func_isnanl_use=yes
70225 else
70226 glibcxx_cv_func_isnanl_use=no
70228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70229 ac_ext=c
70230 ac_cpp='$CPP $CPPFLAGS'
70231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70240 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70242 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70243 for ac_func in isnanl
70244 do :
70245 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70246 if test "x$ac_cv_func_isnanl" = x""yes; then :
70247 cat >>confdefs.h <<_ACEOF
70248 #define HAVE_ISNANL 1
70249 _ACEOF
70252 done
70254 else
70256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70257 $as_echo_n "checking for _isnanl declaration... " >&6; }
70258 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70259 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70260 $as_echo_n "(cached) " >&6
70261 else
70264 ac_ext=cpp
70265 ac_cpp='$CXXCPP $CPPFLAGS'
70266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271 /* end confdefs.h. */
70272 #include <math.h>
70273 #ifdef HAVE_IEEEFP_H
70274 #include <ieeefp.h>
70275 #endif
70278 main ()
70280 _isnanl(0);
70282 return 0;
70284 _ACEOF
70285 if ac_fn_cxx_try_compile "$LINENO"; then :
70286 glibcxx_cv_func__isnanl_use=yes
70287 else
70288 glibcxx_cv_func__isnanl_use=no
70290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70291 ac_ext=c
70292 ac_cpp='$CPP $CPPFLAGS'
70293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70302 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70304 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70305 for ac_func in _isnanl
70306 do :
70307 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70308 if test "x$ac_cv_func__isnanl" = x""yes; then :
70309 cat >>confdefs.h <<_ACEOF
70310 #define HAVE__ISNANL 1
70311 _ACEOF
70314 done
70323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70324 $as_echo_n "checking for isinfl declaration... " >&6; }
70325 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70326 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70327 $as_echo_n "(cached) " >&6
70328 else
70331 ac_ext=cpp
70332 ac_cpp='$CXXCPP $CPPFLAGS'
70333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70338 /* end confdefs.h. */
70339 #include <math.h>
70340 #ifdef HAVE_IEEEFP_H
70341 #include <ieeefp.h>
70342 #endif
70345 main ()
70347 isinfl(0);
70349 return 0;
70351 _ACEOF
70352 if ac_fn_cxx_try_compile "$LINENO"; then :
70353 glibcxx_cv_func_isinfl_use=yes
70354 else
70355 glibcxx_cv_func_isinfl_use=no
70357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70358 ac_ext=c
70359 ac_cpp='$CPP $CPPFLAGS'
70360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70369 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70371 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70372 for ac_func in isinfl
70373 do :
70374 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70375 if test "x$ac_cv_func_isinfl" = x""yes; then :
70376 cat >>confdefs.h <<_ACEOF
70377 #define HAVE_ISINFL 1
70378 _ACEOF
70381 done
70383 else
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70386 $as_echo_n "checking for _isinfl declaration... " >&6; }
70387 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70388 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70389 $as_echo_n "(cached) " >&6
70390 else
70393 ac_ext=cpp
70394 ac_cpp='$CXXCPP $CPPFLAGS'
70395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70400 /* end confdefs.h. */
70401 #include <math.h>
70402 #ifdef HAVE_IEEEFP_H
70403 #include <ieeefp.h>
70404 #endif
70407 main ()
70409 _isinfl(0);
70411 return 0;
70413 _ACEOF
70414 if ac_fn_cxx_try_compile "$LINENO"; then :
70415 glibcxx_cv_func__isinfl_use=yes
70416 else
70417 glibcxx_cv_func__isinfl_use=no
70419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70420 ac_ext=c
70421 ac_cpp='$CPP $CPPFLAGS'
70422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70431 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70433 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70434 for ac_func in _isinfl
70435 do :
70436 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70437 if test "x$ac_cv_func__isinfl" = x""yes; then :
70438 cat >>confdefs.h <<_ACEOF
70439 #define HAVE__ISINFL 1
70440 _ACEOF
70443 done
70452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70453 $as_echo_n "checking for atan2l declaration... " >&6; }
70454 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70455 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70456 $as_echo_n "(cached) " >&6
70457 else
70460 ac_ext=cpp
70461 ac_cpp='$CXXCPP $CPPFLAGS'
70462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70467 /* end confdefs.h. */
70468 #include <math.h>
70470 main ()
70472 atan2l(0, 0);
70474 return 0;
70476 _ACEOF
70477 if ac_fn_cxx_try_compile "$LINENO"; then :
70478 glibcxx_cv_func_atan2l_use=yes
70479 else
70480 glibcxx_cv_func_atan2l_use=no
70482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70483 ac_ext=c
70484 ac_cpp='$CPP $CPPFLAGS'
70485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70494 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70496 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70497 for ac_func in atan2l
70498 do :
70499 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70500 if test "x$ac_cv_func_atan2l" = x""yes; then :
70501 cat >>confdefs.h <<_ACEOF
70502 #define HAVE_ATAN2L 1
70503 _ACEOF
70506 done
70508 else
70510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70511 $as_echo_n "checking for _atan2l declaration... " >&6; }
70512 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70513 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70514 $as_echo_n "(cached) " >&6
70515 else
70518 ac_ext=cpp
70519 ac_cpp='$CXXCPP $CPPFLAGS'
70520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70525 /* end confdefs.h. */
70526 #include <math.h>
70528 main ()
70530 _atan2l(0, 0);
70532 return 0;
70534 _ACEOF
70535 if ac_fn_cxx_try_compile "$LINENO"; then :
70536 glibcxx_cv_func__atan2l_use=yes
70537 else
70538 glibcxx_cv_func__atan2l_use=no
70540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70541 ac_ext=c
70542 ac_cpp='$CPP $CPPFLAGS'
70543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70552 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70554 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70555 for ac_func in _atan2l
70556 do :
70557 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70558 if test "x$ac_cv_func__atan2l" = x""yes; then :
70559 cat >>confdefs.h <<_ACEOF
70560 #define HAVE__ATAN2L 1
70561 _ACEOF
70564 done
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70574 $as_echo_n "checking for expl declaration... " >&6; }
70575 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70576 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70577 $as_echo_n "(cached) " >&6
70578 else
70581 ac_ext=cpp
70582 ac_cpp='$CXXCPP $CPPFLAGS'
70583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70589 #include <math.h>
70590 #ifdef HAVE_IEEEFP_H
70591 #include <ieeefp.h>
70592 #endif
70595 main ()
70597 expl(0);
70599 return 0;
70601 _ACEOF
70602 if ac_fn_cxx_try_compile "$LINENO"; then :
70603 glibcxx_cv_func_expl_use=yes
70604 else
70605 glibcxx_cv_func_expl_use=no
70607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70608 ac_ext=c
70609 ac_cpp='$CPP $CPPFLAGS'
70610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70619 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70621 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70622 for ac_func in expl
70623 do :
70624 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70625 if test "x$ac_cv_func_expl" = x""yes; then :
70626 cat >>confdefs.h <<_ACEOF
70627 #define HAVE_EXPL 1
70628 _ACEOF
70631 done
70633 else
70635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70636 $as_echo_n "checking for _expl declaration... " >&6; }
70637 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70638 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70639 $as_echo_n "(cached) " >&6
70640 else
70643 ac_ext=cpp
70644 ac_cpp='$CXXCPP $CPPFLAGS'
70645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70650 /* end confdefs.h. */
70651 #include <math.h>
70652 #ifdef HAVE_IEEEFP_H
70653 #include <ieeefp.h>
70654 #endif
70657 main ()
70659 _expl(0);
70661 return 0;
70663 _ACEOF
70664 if ac_fn_cxx_try_compile "$LINENO"; then :
70665 glibcxx_cv_func__expl_use=yes
70666 else
70667 glibcxx_cv_func__expl_use=no
70669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70670 ac_ext=c
70671 ac_cpp='$CPP $CPPFLAGS'
70672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70681 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70683 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70684 for ac_func in _expl
70685 do :
70686 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70687 if test "x$ac_cv_func__expl" = x""yes; then :
70688 cat >>confdefs.h <<_ACEOF
70689 #define HAVE__EXPL 1
70690 _ACEOF
70693 done
70702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70703 $as_echo_n "checking for fabsl declaration... " >&6; }
70704 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70705 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70706 $as_echo_n "(cached) " >&6
70707 else
70710 ac_ext=cpp
70711 ac_cpp='$CXXCPP $CPPFLAGS'
70712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70717 /* end confdefs.h. */
70718 #include <math.h>
70719 #ifdef HAVE_IEEEFP_H
70720 #include <ieeefp.h>
70721 #endif
70724 main ()
70726 fabsl(0);
70728 return 0;
70730 _ACEOF
70731 if ac_fn_cxx_try_compile "$LINENO"; then :
70732 glibcxx_cv_func_fabsl_use=yes
70733 else
70734 glibcxx_cv_func_fabsl_use=no
70736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70737 ac_ext=c
70738 ac_cpp='$CPP $CPPFLAGS'
70739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70748 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70750 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70751 for ac_func in fabsl
70752 do :
70753 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70754 if test "x$ac_cv_func_fabsl" = x""yes; then :
70755 cat >>confdefs.h <<_ACEOF
70756 #define HAVE_FABSL 1
70757 _ACEOF
70760 done
70762 else
70764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70765 $as_echo_n "checking for _fabsl declaration... " >&6; }
70766 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70767 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70768 $as_echo_n "(cached) " >&6
70769 else
70772 ac_ext=cpp
70773 ac_cpp='$CXXCPP $CPPFLAGS'
70774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70779 /* end confdefs.h. */
70780 #include <math.h>
70781 #ifdef HAVE_IEEEFP_H
70782 #include <ieeefp.h>
70783 #endif
70786 main ()
70788 _fabsl(0);
70790 return 0;
70792 _ACEOF
70793 if ac_fn_cxx_try_compile "$LINENO"; then :
70794 glibcxx_cv_func__fabsl_use=yes
70795 else
70796 glibcxx_cv_func__fabsl_use=no
70798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70799 ac_ext=c
70800 ac_cpp='$CPP $CPPFLAGS'
70801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70810 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70812 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70813 for ac_func in _fabsl
70814 do :
70815 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70816 if test "x$ac_cv_func__fabsl" = x""yes; then :
70817 cat >>confdefs.h <<_ACEOF
70818 #define HAVE__FABSL 1
70819 _ACEOF
70822 done
70831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70832 $as_echo_n "checking for fmodl declaration... " >&6; }
70833 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70834 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70835 $as_echo_n "(cached) " >&6
70836 else
70839 ac_ext=cpp
70840 ac_cpp='$CXXCPP $CPPFLAGS'
70841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70846 /* end confdefs.h. */
70847 #include <math.h>
70849 main ()
70851 fmodl(0, 0);
70853 return 0;
70855 _ACEOF
70856 if ac_fn_cxx_try_compile "$LINENO"; then :
70857 glibcxx_cv_func_fmodl_use=yes
70858 else
70859 glibcxx_cv_func_fmodl_use=no
70861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70862 ac_ext=c
70863 ac_cpp='$CPP $CPPFLAGS'
70864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70873 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70875 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70876 for ac_func in fmodl
70877 do :
70878 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70879 if test "x$ac_cv_func_fmodl" = x""yes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_FMODL 1
70882 _ACEOF
70885 done
70887 else
70889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70890 $as_echo_n "checking for _fmodl declaration... " >&6; }
70891 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70892 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70893 $as_echo_n "(cached) " >&6
70894 else
70897 ac_ext=cpp
70898 ac_cpp='$CXXCPP $CPPFLAGS'
70899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70904 /* end confdefs.h. */
70905 #include <math.h>
70907 main ()
70909 _fmodl(0, 0);
70911 return 0;
70913 _ACEOF
70914 if ac_fn_cxx_try_compile "$LINENO"; then :
70915 glibcxx_cv_func__fmodl_use=yes
70916 else
70917 glibcxx_cv_func__fmodl_use=no
70919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70920 ac_ext=c
70921 ac_cpp='$CPP $CPPFLAGS'
70922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70931 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70933 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70934 for ac_func in _fmodl
70935 do :
70936 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70937 if test "x$ac_cv_func__fmodl" = x""yes; then :
70938 cat >>confdefs.h <<_ACEOF
70939 #define HAVE__FMODL 1
70940 _ACEOF
70943 done
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70953 $as_echo_n "checking for frexpl declaration... " >&6; }
70954 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70955 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70956 $as_echo_n "(cached) " >&6
70957 else
70960 ac_ext=cpp
70961 ac_cpp='$CXXCPP $CPPFLAGS'
70962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70967 /* end confdefs.h. */
70968 #include <math.h>
70970 main ()
70972 frexpl(0, 0);
70974 return 0;
70976 _ACEOF
70977 if ac_fn_cxx_try_compile "$LINENO"; then :
70978 glibcxx_cv_func_frexpl_use=yes
70979 else
70980 glibcxx_cv_func_frexpl_use=no
70982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70983 ac_ext=c
70984 ac_cpp='$CPP $CPPFLAGS'
70985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70994 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70996 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70997 for ac_func in frexpl
70998 do :
70999 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71000 if test "x$ac_cv_func_frexpl" = x""yes; then :
71001 cat >>confdefs.h <<_ACEOF
71002 #define HAVE_FREXPL 1
71003 _ACEOF
71006 done
71008 else
71010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71011 $as_echo_n "checking for _frexpl declaration... " >&6; }
71012 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71013 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71014 $as_echo_n "(cached) " >&6
71015 else
71018 ac_ext=cpp
71019 ac_cpp='$CXXCPP $CPPFLAGS'
71020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71025 /* end confdefs.h. */
71026 #include <math.h>
71028 main ()
71030 _frexpl(0, 0);
71032 return 0;
71034 _ACEOF
71035 if ac_fn_cxx_try_compile "$LINENO"; then :
71036 glibcxx_cv_func__frexpl_use=yes
71037 else
71038 glibcxx_cv_func__frexpl_use=no
71040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71041 ac_ext=c
71042 ac_cpp='$CPP $CPPFLAGS'
71043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71052 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71054 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71055 for ac_func in _frexpl
71056 do :
71057 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71058 if test "x$ac_cv_func__frexpl" = x""yes; then :
71059 cat >>confdefs.h <<_ACEOF
71060 #define HAVE__FREXPL 1
71061 _ACEOF
71064 done
71073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71074 $as_echo_n "checking for hypotl declaration... " >&6; }
71075 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71076 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71077 $as_echo_n "(cached) " >&6
71078 else
71081 ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <math.h>
71091 main ()
71093 hypotl(0, 0);
71095 return 0;
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099 glibcxx_cv_func_hypotl_use=yes
71100 else
71101 glibcxx_cv_func_hypotl_use=no
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104 ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71115 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71117 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71118 for ac_func in hypotl
71119 do :
71120 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71121 if test "x$ac_cv_func_hypotl" = x""yes; then :
71122 cat >>confdefs.h <<_ACEOF
71123 #define HAVE_HYPOTL 1
71124 _ACEOF
71127 done
71129 else
71131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71132 $as_echo_n "checking for _hypotl declaration... " >&6; }
71133 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71134 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71135 $as_echo_n "(cached) " >&6
71136 else
71139 ac_ext=cpp
71140 ac_cpp='$CXXCPP $CPPFLAGS'
71141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71146 /* end confdefs.h. */
71147 #include <math.h>
71149 main ()
71151 _hypotl(0, 0);
71153 return 0;
71155 _ACEOF
71156 if ac_fn_cxx_try_compile "$LINENO"; then :
71157 glibcxx_cv_func__hypotl_use=yes
71158 else
71159 glibcxx_cv_func__hypotl_use=no
71161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71162 ac_ext=c
71163 ac_cpp='$CPP $CPPFLAGS'
71164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71173 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71175 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71176 for ac_func in _hypotl
71177 do :
71178 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71179 if test "x$ac_cv_func__hypotl" = x""yes; then :
71180 cat >>confdefs.h <<_ACEOF
71181 #define HAVE__HYPOTL 1
71182 _ACEOF
71185 done
71194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71195 $as_echo_n "checking for ldexpl declaration... " >&6; }
71196 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71197 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71198 $as_echo_n "(cached) " >&6
71199 else
71202 ac_ext=cpp
71203 ac_cpp='$CXXCPP $CPPFLAGS'
71204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71209 /* end confdefs.h. */
71210 #include <math.h>
71212 main ()
71214 ldexpl(0, 0);
71216 return 0;
71218 _ACEOF
71219 if ac_fn_cxx_try_compile "$LINENO"; then :
71220 glibcxx_cv_func_ldexpl_use=yes
71221 else
71222 glibcxx_cv_func_ldexpl_use=no
71224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71225 ac_ext=c
71226 ac_cpp='$CPP $CPPFLAGS'
71227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71236 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71238 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71239 for ac_func in ldexpl
71240 do :
71241 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71242 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71243 cat >>confdefs.h <<_ACEOF
71244 #define HAVE_LDEXPL 1
71245 _ACEOF
71248 done
71250 else
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71253 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71254 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71255 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71256 $as_echo_n "(cached) " >&6
71257 else
71260 ac_ext=cpp
71261 ac_cpp='$CXXCPP $CPPFLAGS'
71262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71267 /* end confdefs.h. */
71268 #include <math.h>
71270 main ()
71272 _ldexpl(0, 0);
71274 return 0;
71276 _ACEOF
71277 if ac_fn_cxx_try_compile "$LINENO"; then :
71278 glibcxx_cv_func__ldexpl_use=yes
71279 else
71280 glibcxx_cv_func__ldexpl_use=no
71282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71283 ac_ext=c
71284 ac_cpp='$CPP $CPPFLAGS'
71285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71294 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71296 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71297 for ac_func in _ldexpl
71298 do :
71299 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71300 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71301 cat >>confdefs.h <<_ACEOF
71302 #define HAVE__LDEXPL 1
71303 _ACEOF
71306 done
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71316 $as_echo_n "checking for logl declaration... " >&6; }
71317 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71318 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71319 $as_echo_n "(cached) " >&6
71320 else
71323 ac_ext=cpp
71324 ac_cpp='$CXXCPP $CPPFLAGS'
71325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71330 /* end confdefs.h. */
71331 #include <math.h>
71332 #ifdef HAVE_IEEEFP_H
71333 #include <ieeefp.h>
71334 #endif
71337 main ()
71339 logl(0);
71341 return 0;
71343 _ACEOF
71344 if ac_fn_cxx_try_compile "$LINENO"; then :
71345 glibcxx_cv_func_logl_use=yes
71346 else
71347 glibcxx_cv_func_logl_use=no
71349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71350 ac_ext=c
71351 ac_cpp='$CPP $CPPFLAGS'
71352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71361 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71363 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71364 for ac_func in logl
71365 do :
71366 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71367 if test "x$ac_cv_func_logl" = x""yes; then :
71368 cat >>confdefs.h <<_ACEOF
71369 #define HAVE_LOGL 1
71370 _ACEOF
71373 done
71375 else
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71378 $as_echo_n "checking for _logl declaration... " >&6; }
71379 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71380 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71381 $as_echo_n "(cached) " >&6
71382 else
71385 ac_ext=cpp
71386 ac_cpp='$CXXCPP $CPPFLAGS'
71387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71392 /* end confdefs.h. */
71393 #include <math.h>
71394 #ifdef HAVE_IEEEFP_H
71395 #include <ieeefp.h>
71396 #endif
71399 main ()
71401 _logl(0);
71403 return 0;
71405 _ACEOF
71406 if ac_fn_cxx_try_compile "$LINENO"; then :
71407 glibcxx_cv_func__logl_use=yes
71408 else
71409 glibcxx_cv_func__logl_use=no
71411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71412 ac_ext=c
71413 ac_cpp='$CPP $CPPFLAGS'
71414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71423 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71425 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71426 for ac_func in _logl
71427 do :
71428 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71429 if test "x$ac_cv_func__logl" = x""yes; then :
71430 cat >>confdefs.h <<_ACEOF
71431 #define HAVE__LOGL 1
71432 _ACEOF
71435 done
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71445 $as_echo_n "checking for log10l declaration... " >&6; }
71446 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71447 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71448 $as_echo_n "(cached) " >&6
71449 else
71452 ac_ext=cpp
71453 ac_cpp='$CXXCPP $CPPFLAGS'
71454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71459 /* end confdefs.h. */
71460 #include <math.h>
71461 #ifdef HAVE_IEEEFP_H
71462 #include <ieeefp.h>
71463 #endif
71466 main ()
71468 log10l(0);
71470 return 0;
71472 _ACEOF
71473 if ac_fn_cxx_try_compile "$LINENO"; then :
71474 glibcxx_cv_func_log10l_use=yes
71475 else
71476 glibcxx_cv_func_log10l_use=no
71478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71479 ac_ext=c
71480 ac_cpp='$CPP $CPPFLAGS'
71481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71490 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71493 for ac_func in log10l
71494 do :
71495 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71496 if test "x$ac_cv_func_log10l" = x""yes; then :
71497 cat >>confdefs.h <<_ACEOF
71498 #define HAVE_LOG10L 1
71499 _ACEOF
71502 done
71504 else
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71507 $as_echo_n "checking for _log10l declaration... " >&6; }
71508 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71509 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71510 $as_echo_n "(cached) " >&6
71511 else
71514 ac_ext=cpp
71515 ac_cpp='$CXXCPP $CPPFLAGS'
71516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71521 /* end confdefs.h. */
71522 #include <math.h>
71523 #ifdef HAVE_IEEEFP_H
71524 #include <ieeefp.h>
71525 #endif
71528 main ()
71530 _log10l(0);
71532 return 0;
71534 _ACEOF
71535 if ac_fn_cxx_try_compile "$LINENO"; then :
71536 glibcxx_cv_func__log10l_use=yes
71537 else
71538 glibcxx_cv_func__log10l_use=no
71540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71541 ac_ext=c
71542 ac_cpp='$CPP $CPPFLAGS'
71543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71552 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71554 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71555 for ac_func in _log10l
71556 do :
71557 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71558 if test "x$ac_cv_func__log10l" = x""yes; then :
71559 cat >>confdefs.h <<_ACEOF
71560 #define HAVE__LOG10L 1
71561 _ACEOF
71564 done
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71574 $as_echo_n "checking for modfl declaration... " >&6; }
71575 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71576 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71577 $as_echo_n "(cached) " >&6
71578 else
71581 ac_ext=cpp
71582 ac_cpp='$CXXCPP $CPPFLAGS'
71583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71588 /* end confdefs.h. */
71589 #include <math.h>
71591 main ()
71593 modfl(0, 0);
71595 return 0;
71597 _ACEOF
71598 if ac_fn_cxx_try_compile "$LINENO"; then :
71599 glibcxx_cv_func_modfl_use=yes
71600 else
71601 glibcxx_cv_func_modfl_use=no
71603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71604 ac_ext=c
71605 ac_cpp='$CPP $CPPFLAGS'
71606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71615 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71617 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71618 for ac_func in modfl
71619 do :
71620 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71621 if test "x$ac_cv_func_modfl" = x""yes; then :
71622 cat >>confdefs.h <<_ACEOF
71623 #define HAVE_MODFL 1
71624 _ACEOF
71627 done
71629 else
71631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71632 $as_echo_n "checking for _modfl declaration... " >&6; }
71633 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71634 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71635 $as_echo_n "(cached) " >&6
71636 else
71639 ac_ext=cpp
71640 ac_cpp='$CXXCPP $CPPFLAGS'
71641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71646 /* end confdefs.h. */
71647 #include <math.h>
71649 main ()
71651 _modfl(0, 0);
71653 return 0;
71655 _ACEOF
71656 if ac_fn_cxx_try_compile "$LINENO"; then :
71657 glibcxx_cv_func__modfl_use=yes
71658 else
71659 glibcxx_cv_func__modfl_use=no
71661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71662 ac_ext=c
71663 ac_cpp='$CPP $CPPFLAGS'
71664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71673 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71675 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71676 for ac_func in _modfl
71677 do :
71678 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71679 if test "x$ac_cv_func__modfl" = x""yes; then :
71680 cat >>confdefs.h <<_ACEOF
71681 #define HAVE__MODFL 1
71682 _ACEOF
71685 done
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71695 $as_echo_n "checking for powl declaration... " >&6; }
71696 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71697 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71698 $as_echo_n "(cached) " >&6
71699 else
71702 ac_ext=cpp
71703 ac_cpp='$CXXCPP $CPPFLAGS'
71704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71709 /* end confdefs.h. */
71710 #include <math.h>
71712 main ()
71714 powl(0, 0);
71716 return 0;
71718 _ACEOF
71719 if ac_fn_cxx_try_compile "$LINENO"; then :
71720 glibcxx_cv_func_powl_use=yes
71721 else
71722 glibcxx_cv_func_powl_use=no
71724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71725 ac_ext=c
71726 ac_cpp='$CPP $CPPFLAGS'
71727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71736 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71738 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71739 for ac_func in powl
71740 do :
71741 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71742 if test "x$ac_cv_func_powl" = x""yes; then :
71743 cat >>confdefs.h <<_ACEOF
71744 #define HAVE_POWL 1
71745 _ACEOF
71748 done
71750 else
71752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71753 $as_echo_n "checking for _powl declaration... " >&6; }
71754 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71755 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71756 $as_echo_n "(cached) " >&6
71757 else
71760 ac_ext=cpp
71761 ac_cpp='$CXXCPP $CPPFLAGS'
71762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71767 /* end confdefs.h. */
71768 #include <math.h>
71770 main ()
71772 _powl(0, 0);
71774 return 0;
71776 _ACEOF
71777 if ac_fn_cxx_try_compile "$LINENO"; then :
71778 glibcxx_cv_func__powl_use=yes
71779 else
71780 glibcxx_cv_func__powl_use=no
71782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71783 ac_ext=c
71784 ac_cpp='$CPP $CPPFLAGS'
71785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71794 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71796 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71797 for ac_func in _powl
71798 do :
71799 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71800 if test "x$ac_cv_func__powl" = x""yes; then :
71801 cat >>confdefs.h <<_ACEOF
71802 #define HAVE__POWL 1
71803 _ACEOF
71806 done
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71816 $as_echo_n "checking for sqrtl declaration... " >&6; }
71817 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71818 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71823 ac_ext=cpp
71824 ac_cpp='$CXXCPP $CPPFLAGS'
71825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71830 /* end confdefs.h. */
71831 #include <math.h>
71832 #ifdef HAVE_IEEEFP_H
71833 #include <ieeefp.h>
71834 #endif
71837 main ()
71839 sqrtl(0);
71841 return 0;
71843 _ACEOF
71844 if ac_fn_cxx_try_compile "$LINENO"; then :
71845 glibcxx_cv_func_sqrtl_use=yes
71846 else
71847 glibcxx_cv_func_sqrtl_use=no
71849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71850 ac_ext=c
71851 ac_cpp='$CPP $CPPFLAGS'
71852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71861 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71863 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71864 for ac_func in sqrtl
71865 do :
71866 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71867 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71868 cat >>confdefs.h <<_ACEOF
71869 #define HAVE_SQRTL 1
71870 _ACEOF
71873 done
71875 else
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71878 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71879 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71880 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71881 $as_echo_n "(cached) " >&6
71882 else
71885 ac_ext=cpp
71886 ac_cpp='$CXXCPP $CPPFLAGS'
71887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h. */
71893 #include <math.h>
71894 #ifdef HAVE_IEEEFP_H
71895 #include <ieeefp.h>
71896 #endif
71899 main ()
71901 _sqrtl(0);
71903 return 0;
71905 _ACEOF
71906 if ac_fn_cxx_try_compile "$LINENO"; then :
71907 glibcxx_cv_func__sqrtl_use=yes
71908 else
71909 glibcxx_cv_func__sqrtl_use=no
71911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71912 ac_ext=c
71913 ac_cpp='$CPP $CPPFLAGS'
71914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71923 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71925 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71926 for ac_func in _sqrtl
71927 do :
71928 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71929 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71930 cat >>confdefs.h <<_ACEOF
71931 #define HAVE__SQRTL 1
71932 _ACEOF
71935 done
71944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71945 $as_echo_n "checking for sincosl declaration... " >&6; }
71946 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71947 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71948 $as_echo_n "(cached) " >&6
71949 else
71952 ac_ext=cpp
71953 ac_cpp='$CXXCPP $CPPFLAGS'
71954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71959 /* end confdefs.h. */
71960 #include <math.h>
71962 main ()
71964 sincosl(0, 0, 0);
71966 return 0;
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_func_sincosl_use=yes
71971 else
71972 glibcxx_cv_func_sincosl_use=no
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 ac_ext=c
71976 ac_cpp='$CPP $CPPFLAGS'
71977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71986 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71988 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71989 for ac_func in sincosl
71990 do :
71991 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71992 if test "x$ac_cv_func_sincosl" = x""yes; then :
71993 cat >>confdefs.h <<_ACEOF
71994 #define HAVE_SINCOSL 1
71995 _ACEOF
71998 done
72000 else
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72003 $as_echo_n "checking for _sincosl declaration... " >&6; }
72004 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72005 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72006 $as_echo_n "(cached) " >&6
72007 else
72010 ac_ext=cpp
72011 ac_cpp='$CXXCPP $CPPFLAGS'
72012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72017 /* end confdefs.h. */
72018 #include <math.h>
72020 main ()
72022 _sincosl(0, 0, 0);
72024 return 0;
72026 _ACEOF
72027 if ac_fn_cxx_try_compile "$LINENO"; then :
72028 glibcxx_cv_func__sincosl_use=yes
72029 else
72030 glibcxx_cv_func__sincosl_use=no
72032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72033 ac_ext=c
72034 ac_cpp='$CPP $CPPFLAGS'
72035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72044 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72046 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72047 for ac_func in _sincosl
72048 do :
72049 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72050 if test "x$ac_cv_func__sincosl" = x""yes; then :
72051 cat >>confdefs.h <<_ACEOF
72052 #define HAVE__SINCOSL 1
72053 _ACEOF
72056 done
72065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72066 $as_echo_n "checking for finitel declaration... " >&6; }
72067 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72068 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72069 $as_echo_n "(cached) " >&6
72070 else
72073 ac_ext=cpp
72074 ac_cpp='$CXXCPP $CPPFLAGS'
72075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72080 /* end confdefs.h. */
72081 #include <math.h>
72082 #ifdef HAVE_IEEEFP_H
72083 #include <ieeefp.h>
72084 #endif
72087 main ()
72089 finitel(0);
72091 return 0;
72093 _ACEOF
72094 if ac_fn_cxx_try_compile "$LINENO"; then :
72095 glibcxx_cv_func_finitel_use=yes
72096 else
72097 glibcxx_cv_func_finitel_use=no
72099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72100 ac_ext=c
72101 ac_cpp='$CPP $CPPFLAGS'
72102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72111 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72113 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72114 for ac_func in finitel
72115 do :
72116 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72117 if test "x$ac_cv_func_finitel" = x""yes; then :
72118 cat >>confdefs.h <<_ACEOF
72119 #define HAVE_FINITEL 1
72120 _ACEOF
72123 done
72125 else
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72128 $as_echo_n "checking for _finitel declaration... " >&6; }
72129 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72130 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72131 $as_echo_n "(cached) " >&6
72132 else
72135 ac_ext=cpp
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72142 /* end confdefs.h. */
72143 #include <math.h>
72144 #ifdef HAVE_IEEEFP_H
72145 #include <ieeefp.h>
72146 #endif
72149 main ()
72151 _finitel(0);
72153 return 0;
72155 _ACEOF
72156 if ac_fn_cxx_try_compile "$LINENO"; then :
72157 glibcxx_cv_func__finitel_use=yes
72158 else
72159 glibcxx_cv_func__finitel_use=no
72161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72162 ac_ext=c
72163 ac_cpp='$CPP $CPPFLAGS'
72164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72173 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72175 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72176 for ac_func in _finitel
72177 do :
72178 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72179 if test "x$ac_cv_func__finitel" = x""yes; then :
72180 cat >>confdefs.h <<_ACEOF
72181 #define HAVE__FINITEL 1
72182 _ACEOF
72185 done
72193 LIBS="$ac_save_LIBS"
72194 CXXFLAGS="$ac_save_CXXFLAGS"
72197 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72198 ac_save_CXXFLAGS="$CXXFLAGS"
72199 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72203 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72204 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72205 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72206 $as_echo_n "(cached) " >&6
72207 else
72210 ac_ext=cpp
72211 ac_cpp='$CXXCPP $CPPFLAGS'
72212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72217 /* end confdefs.h. */
72218 #include <stdlib.h>
72220 main ()
72222 at_quick_exit(0);
72224 return 0;
72226 _ACEOF
72227 if ac_fn_cxx_try_compile "$LINENO"; then :
72228 glibcxx_cv_func_at_quick_exit_use=yes
72229 else
72230 glibcxx_cv_func_at_quick_exit_use=no
72232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72233 ac_ext=c
72234 ac_cpp='$CPP $CPPFLAGS'
72235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72244 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72245 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72246 for ac_func in at_quick_exit
72247 do :
72248 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72249 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72250 cat >>confdefs.h <<_ACEOF
72251 #define HAVE_AT_QUICK_EXIT 1
72252 _ACEOF
72255 done
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72261 $as_echo_n "checking for quick_exit declaration... " >&6; }
72262 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72263 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72264 $as_echo_n "(cached) " >&6
72265 else
72268 ac_ext=cpp
72269 ac_cpp='$CXXCPP $CPPFLAGS'
72270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72275 /* end confdefs.h. */
72276 #include <stdlib.h>
72278 main ()
72280 quick_exit(0);
72282 return 0;
72284 _ACEOF
72285 if ac_fn_cxx_try_compile "$LINENO"; then :
72286 glibcxx_cv_func_quick_exit_use=yes
72287 else
72288 glibcxx_cv_func_quick_exit_use=no
72290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72291 ac_ext=c
72292 ac_cpp='$CPP $CPPFLAGS'
72293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72302 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72303 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72304 for ac_func in quick_exit
72305 do :
72306 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72307 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72308 cat >>confdefs.h <<_ACEOF
72309 #define HAVE_QUICK_EXIT 1
72310 _ACEOF
72313 done
72318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72319 $as_echo_n "checking for strtold declaration... " >&6; }
72320 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72321 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72322 $as_echo_n "(cached) " >&6
72323 else
72326 ac_ext=cpp
72327 ac_cpp='$CXXCPP $CPPFLAGS'
72328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72333 /* end confdefs.h. */
72334 #include <stdlib.h>
72336 main ()
72338 strtold(0, 0);
72340 return 0;
72342 _ACEOF
72343 if ac_fn_cxx_try_compile "$LINENO"; then :
72344 glibcxx_cv_func_strtold_use=yes
72345 else
72346 glibcxx_cv_func_strtold_use=no
72348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72349 ac_ext=c
72350 ac_cpp='$CPP $CPPFLAGS'
72351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72360 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72361 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72362 for ac_func in strtold
72363 do :
72364 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72365 if test "x$ac_cv_func_strtold" = x""yes; then :
72366 cat >>confdefs.h <<_ACEOF
72367 #define HAVE_STRTOLD 1
72368 _ACEOF
72371 done
72378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72379 $as_echo_n "checking for strtof declaration... " >&6; }
72380 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72381 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72382 $as_echo_n "(cached) " >&6
72383 else
72386 ac_ext=cpp
72387 ac_cpp='$CXXCPP $CPPFLAGS'
72388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72393 /* end confdefs.h. */
72394 #include <stdlib.h>
72396 main ()
72398 strtof(0, 0);
72400 return 0;
72402 _ACEOF
72403 if ac_fn_cxx_try_compile "$LINENO"; then :
72404 glibcxx_cv_func_strtof_use=yes
72405 else
72406 glibcxx_cv_func_strtof_use=no
72408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72409 ac_ext=c
72410 ac_cpp='$CPP $CPPFLAGS'
72411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72420 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72421 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72422 for ac_func in strtof
72423 do :
72424 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72425 if test "x$ac_cv_func_strtof" = x""yes; then :
72426 cat >>confdefs.h <<_ACEOF
72427 #define HAVE_STRTOF 1
72428 _ACEOF
72431 done
72438 CXXFLAGS="$ac_save_CXXFLAGS"
72441 *-tpf)
72442 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72443 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72445 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72447 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72449 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72451 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72453 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72455 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72457 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72459 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72461 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72463 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72465 if test x"long_double_math_on_this_cpu" = x"yes"; then
72466 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72468 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72470 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72472 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72476 *-*vms*)
72477 # Check for available headers.
72478 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72481 ac_save_CXXFLAGS="$CXXFLAGS"
72482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72485 $as_echo_n "checking for sin in -lm... " >&6; }
72486 if test "${ac_cv_lib_m_sin+set}" = set; then :
72487 $as_echo_n "(cached) " >&6
72488 else
72489 ac_check_lib_save_LIBS=$LIBS
72490 LIBS="-lm $LIBS"
72491 if test x$gcc_no_link = xyes; then
72492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72495 /* end confdefs.h. */
72497 /* Override any GCC internal prototype to avoid an error.
72498 Use char because int might match the return type of a GCC
72499 builtin and then its argument prototype would still apply. */
72500 #ifdef __cplusplus
72501 extern "C"
72502 #endif
72503 char sin ();
72505 main ()
72507 return sin ();
72509 return 0;
72511 _ACEOF
72512 if ac_fn_c_try_link "$LINENO"; then :
72513 ac_cv_lib_m_sin=yes
72514 else
72515 ac_cv_lib_m_sin=no
72517 rm -f core conftest.err conftest.$ac_objext \
72518 conftest$ac_exeext conftest.$ac_ext
72519 LIBS=$ac_check_lib_save_LIBS
72521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72522 $as_echo "$ac_cv_lib_m_sin" >&6; }
72523 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72524 libm="-lm"
72527 ac_save_LIBS="$LIBS"
72528 LIBS="$LIBS $libm"
72532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72533 $as_echo_n "checking for isinf declaration... " >&6; }
72534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72535 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72536 $as_echo_n "(cached) " >&6
72537 else
72540 ac_ext=cpp
72541 ac_cpp='$CXXCPP $CPPFLAGS'
72542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72547 /* end confdefs.h. */
72548 #include <math.h>
72549 #ifdef HAVE_IEEEFP_H
72550 #include <ieeefp.h>
72551 #endif
72554 main ()
72556 isinf(0);
72558 return 0;
72560 _ACEOF
72561 if ac_fn_cxx_try_compile "$LINENO"; then :
72562 glibcxx_cv_func_isinf_use=yes
72563 else
72564 glibcxx_cv_func_isinf_use=no
72566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72567 ac_ext=c
72568 ac_cpp='$CPP $CPPFLAGS'
72569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72578 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72580 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72581 for ac_func in isinf
72582 do :
72583 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72584 if test "x$ac_cv_func_isinf" = x""yes; then :
72585 cat >>confdefs.h <<_ACEOF
72586 #define HAVE_ISINF 1
72587 _ACEOF
72590 done
72592 else
72594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72595 $as_echo_n "checking for _isinf declaration... " >&6; }
72596 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72597 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72598 $as_echo_n "(cached) " >&6
72599 else
72602 ac_ext=cpp
72603 ac_cpp='$CXXCPP $CPPFLAGS'
72604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72609 /* end confdefs.h. */
72610 #include <math.h>
72611 #ifdef HAVE_IEEEFP_H
72612 #include <ieeefp.h>
72613 #endif
72616 main ()
72618 _isinf(0);
72620 return 0;
72622 _ACEOF
72623 if ac_fn_cxx_try_compile "$LINENO"; then :
72624 glibcxx_cv_func__isinf_use=yes
72625 else
72626 glibcxx_cv_func__isinf_use=no
72628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72629 ac_ext=c
72630 ac_cpp='$CPP $CPPFLAGS'
72631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72640 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72642 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72643 for ac_func in _isinf
72644 do :
72645 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72646 if test "x$ac_cv_func__isinf" = x""yes; then :
72647 cat >>confdefs.h <<_ACEOF
72648 #define HAVE__ISINF 1
72649 _ACEOF
72652 done
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72662 $as_echo_n "checking for isnan declaration... " >&6; }
72663 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72664 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72665 $as_echo_n "(cached) " >&6
72666 else
72669 ac_ext=cpp
72670 ac_cpp='$CXXCPP $CPPFLAGS'
72671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72676 /* end confdefs.h. */
72677 #include <math.h>
72678 #ifdef HAVE_IEEEFP_H
72679 #include <ieeefp.h>
72680 #endif
72683 main ()
72685 isnan(0);
72687 return 0;
72689 _ACEOF
72690 if ac_fn_cxx_try_compile "$LINENO"; then :
72691 glibcxx_cv_func_isnan_use=yes
72692 else
72693 glibcxx_cv_func_isnan_use=no
72695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72696 ac_ext=c
72697 ac_cpp='$CPP $CPPFLAGS'
72698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72707 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72709 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72710 for ac_func in isnan
72711 do :
72712 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72713 if test "x$ac_cv_func_isnan" = x""yes; then :
72714 cat >>confdefs.h <<_ACEOF
72715 #define HAVE_ISNAN 1
72716 _ACEOF
72719 done
72721 else
72723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72724 $as_echo_n "checking for _isnan declaration... " >&6; }
72725 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72726 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72727 $as_echo_n "(cached) " >&6
72728 else
72731 ac_ext=cpp
72732 ac_cpp='$CXXCPP $CPPFLAGS'
72733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72738 /* end confdefs.h. */
72739 #include <math.h>
72740 #ifdef HAVE_IEEEFP_H
72741 #include <ieeefp.h>
72742 #endif
72745 main ()
72747 _isnan(0);
72749 return 0;
72751 _ACEOF
72752 if ac_fn_cxx_try_compile "$LINENO"; then :
72753 glibcxx_cv_func__isnan_use=yes
72754 else
72755 glibcxx_cv_func__isnan_use=no
72757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72758 ac_ext=c
72759 ac_cpp='$CPP $CPPFLAGS'
72760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72769 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72772 for ac_func in _isnan
72773 do :
72774 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72775 if test "x$ac_cv_func__isnan" = x""yes; then :
72776 cat >>confdefs.h <<_ACEOF
72777 #define HAVE__ISNAN 1
72778 _ACEOF
72781 done
72790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72791 $as_echo_n "checking for finite declaration... " >&6; }
72792 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72793 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72794 $as_echo_n "(cached) " >&6
72795 else
72798 ac_ext=cpp
72799 ac_cpp='$CXXCPP $CPPFLAGS'
72800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72805 /* end confdefs.h. */
72806 #include <math.h>
72807 #ifdef HAVE_IEEEFP_H
72808 #include <ieeefp.h>
72809 #endif
72812 main ()
72814 finite(0);
72816 return 0;
72818 _ACEOF
72819 if ac_fn_cxx_try_compile "$LINENO"; then :
72820 glibcxx_cv_func_finite_use=yes
72821 else
72822 glibcxx_cv_func_finite_use=no
72824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72825 ac_ext=c
72826 ac_cpp='$CPP $CPPFLAGS'
72827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72836 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72839 for ac_func in finite
72840 do :
72841 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72842 if test "x$ac_cv_func_finite" = x""yes; then :
72843 cat >>confdefs.h <<_ACEOF
72844 #define HAVE_FINITE 1
72845 _ACEOF
72848 done
72850 else
72852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72853 $as_echo_n "checking for _finite declaration... " >&6; }
72854 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72855 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72856 $as_echo_n "(cached) " >&6
72857 else
72860 ac_ext=cpp
72861 ac_cpp='$CXXCPP $CPPFLAGS'
72862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72867 /* end confdefs.h. */
72868 #include <math.h>
72869 #ifdef HAVE_IEEEFP_H
72870 #include <ieeefp.h>
72871 #endif
72874 main ()
72876 _finite(0);
72878 return 0;
72880 _ACEOF
72881 if ac_fn_cxx_try_compile "$LINENO"; then :
72882 glibcxx_cv_func__finite_use=yes
72883 else
72884 glibcxx_cv_func__finite_use=no
72886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72887 ac_ext=c
72888 ac_cpp='$CPP $CPPFLAGS'
72889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72898 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72900 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72901 for ac_func in _finite
72902 do :
72903 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72904 if test "x$ac_cv_func__finite" = x""yes; then :
72905 cat >>confdefs.h <<_ACEOF
72906 #define HAVE__FINITE 1
72907 _ACEOF
72910 done
72919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72920 $as_echo_n "checking for sincos declaration... " >&6; }
72921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72922 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72923 $as_echo_n "(cached) " >&6
72924 else
72927 ac_ext=cpp
72928 ac_cpp='$CXXCPP $CPPFLAGS'
72929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72934 /* end confdefs.h. */
72935 #include <math.h>
72937 main ()
72939 sincos(0, 0, 0);
72941 return 0;
72943 _ACEOF
72944 if ac_fn_cxx_try_compile "$LINENO"; then :
72945 glibcxx_cv_func_sincos_use=yes
72946 else
72947 glibcxx_cv_func_sincos_use=no
72949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72950 ac_ext=c
72951 ac_cpp='$CPP $CPPFLAGS'
72952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72961 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72963 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72964 for ac_func in sincos
72965 do :
72966 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72967 if test "x$ac_cv_func_sincos" = x""yes; then :
72968 cat >>confdefs.h <<_ACEOF
72969 #define HAVE_SINCOS 1
72970 _ACEOF
72973 done
72975 else
72977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72978 $as_echo_n "checking for _sincos declaration... " >&6; }
72979 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72980 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72981 $as_echo_n "(cached) " >&6
72982 else
72985 ac_ext=cpp
72986 ac_cpp='$CXXCPP $CPPFLAGS'
72987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72992 /* end confdefs.h. */
72993 #include <math.h>
72995 main ()
72997 _sincos(0, 0, 0);
72999 return 0;
73001 _ACEOF
73002 if ac_fn_cxx_try_compile "$LINENO"; then :
73003 glibcxx_cv_func__sincos_use=yes
73004 else
73005 glibcxx_cv_func__sincos_use=no
73007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73008 ac_ext=c
73009 ac_cpp='$CPP $CPPFLAGS'
73010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73019 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73022 for ac_func in _sincos
73023 do :
73024 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73025 if test "x$ac_cv_func__sincos" = x""yes; then :
73026 cat >>confdefs.h <<_ACEOF
73027 #define HAVE__SINCOS 1
73028 _ACEOF
73031 done
73040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73041 $as_echo_n "checking for fpclass declaration... " >&6; }
73042 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73043 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73044 $as_echo_n "(cached) " >&6
73045 else
73048 ac_ext=cpp
73049 ac_cpp='$CXXCPP $CPPFLAGS'
73050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73055 /* end confdefs.h. */
73056 #include <math.h>
73057 #ifdef HAVE_IEEEFP_H
73058 #include <ieeefp.h>
73059 #endif
73062 main ()
73064 fpclass(0);
73066 return 0;
73068 _ACEOF
73069 if ac_fn_cxx_try_compile "$LINENO"; then :
73070 glibcxx_cv_func_fpclass_use=yes
73071 else
73072 glibcxx_cv_func_fpclass_use=no
73074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73075 ac_ext=c
73076 ac_cpp='$CPP $CPPFLAGS'
73077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73086 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73089 for ac_func in fpclass
73090 do :
73091 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73092 if test "x$ac_cv_func_fpclass" = x""yes; then :
73093 cat >>confdefs.h <<_ACEOF
73094 #define HAVE_FPCLASS 1
73095 _ACEOF
73098 done
73100 else
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73103 $as_echo_n "checking for _fpclass declaration... " >&6; }
73104 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73105 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73106 $as_echo_n "(cached) " >&6
73107 else
73110 ac_ext=cpp
73111 ac_cpp='$CXXCPP $CPPFLAGS'
73112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73117 /* end confdefs.h. */
73118 #include <math.h>
73119 #ifdef HAVE_IEEEFP_H
73120 #include <ieeefp.h>
73121 #endif
73124 main ()
73126 _fpclass(0);
73128 return 0;
73130 _ACEOF
73131 if ac_fn_cxx_try_compile "$LINENO"; then :
73132 glibcxx_cv_func__fpclass_use=yes
73133 else
73134 glibcxx_cv_func__fpclass_use=no
73136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73137 ac_ext=c
73138 ac_cpp='$CPP $CPPFLAGS'
73139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73148 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73150 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73151 for ac_func in _fpclass
73152 do :
73153 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73154 if test "x$ac_cv_func__fpclass" = x""yes; then :
73155 cat >>confdefs.h <<_ACEOF
73156 #define HAVE__FPCLASS 1
73157 _ACEOF
73160 done
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73170 $as_echo_n "checking for qfpclass declaration... " >&6; }
73171 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73172 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73173 $as_echo_n "(cached) " >&6
73174 else
73177 ac_ext=cpp
73178 ac_cpp='$CXXCPP $CPPFLAGS'
73179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73184 /* end confdefs.h. */
73185 #include <math.h>
73186 #ifdef HAVE_IEEEFP_H
73187 #include <ieeefp.h>
73188 #endif
73191 main ()
73193 qfpclass(0);
73195 return 0;
73197 _ACEOF
73198 if ac_fn_cxx_try_compile "$LINENO"; then :
73199 glibcxx_cv_func_qfpclass_use=yes
73200 else
73201 glibcxx_cv_func_qfpclass_use=no
73203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73204 ac_ext=c
73205 ac_cpp='$CPP $CPPFLAGS'
73206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73215 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73217 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73218 for ac_func in qfpclass
73219 do :
73220 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73221 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73222 cat >>confdefs.h <<_ACEOF
73223 #define HAVE_QFPCLASS 1
73224 _ACEOF
73227 done
73229 else
73231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73232 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73233 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73234 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73235 $as_echo_n "(cached) " >&6
73236 else
73239 ac_ext=cpp
73240 ac_cpp='$CXXCPP $CPPFLAGS'
73241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73246 /* end confdefs.h. */
73247 #include <math.h>
73248 #ifdef HAVE_IEEEFP_H
73249 #include <ieeefp.h>
73250 #endif
73253 main ()
73255 _qfpclass(0);
73257 return 0;
73259 _ACEOF
73260 if ac_fn_cxx_try_compile "$LINENO"; then :
73261 glibcxx_cv_func__qfpclass_use=yes
73262 else
73263 glibcxx_cv_func__qfpclass_use=no
73265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73266 ac_ext=c
73267 ac_cpp='$CPP $CPPFLAGS'
73268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73277 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73279 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73280 for ac_func in _qfpclass
73281 do :
73282 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73283 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73284 cat >>confdefs.h <<_ACEOF
73285 #define HAVE__QFPCLASS 1
73286 _ACEOF
73289 done
73298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73299 $as_echo_n "checking for hypot declaration... " >&6; }
73300 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73301 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73302 $as_echo_n "(cached) " >&6
73303 else
73306 ac_ext=cpp
73307 ac_cpp='$CXXCPP $CPPFLAGS'
73308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73313 /* end confdefs.h. */
73314 #include <math.h>
73316 main ()
73318 hypot(0, 0);
73320 return 0;
73322 _ACEOF
73323 if ac_fn_cxx_try_compile "$LINENO"; then :
73324 glibcxx_cv_func_hypot_use=yes
73325 else
73326 glibcxx_cv_func_hypot_use=no
73328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73329 ac_ext=c
73330 ac_cpp='$CPP $CPPFLAGS'
73331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73340 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73342 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73343 for ac_func in hypot
73344 do :
73345 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73346 if test "x$ac_cv_func_hypot" = x""yes; then :
73347 cat >>confdefs.h <<_ACEOF
73348 #define HAVE_HYPOT 1
73349 _ACEOF
73352 done
73354 else
73356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73357 $as_echo_n "checking for _hypot declaration... " >&6; }
73358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73359 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73360 $as_echo_n "(cached) " >&6
73361 else
73364 ac_ext=cpp
73365 ac_cpp='$CXXCPP $CPPFLAGS'
73366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73371 /* end confdefs.h. */
73372 #include <math.h>
73374 main ()
73376 _hypot(0, 0);
73378 return 0;
73380 _ACEOF
73381 if ac_fn_cxx_try_compile "$LINENO"; then :
73382 glibcxx_cv_func__hypot_use=yes
73383 else
73384 glibcxx_cv_func__hypot_use=no
73386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73387 ac_ext=c
73388 ac_cpp='$CPP $CPPFLAGS'
73389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73398 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73401 for ac_func in _hypot
73402 do :
73403 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73404 if test "x$ac_cv_func__hypot" = x""yes; then :
73405 cat >>confdefs.h <<_ACEOF
73406 #define HAVE__HYPOT 1
73407 _ACEOF
73410 done
73419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73420 $as_echo_n "checking for float trig functions... " >&6; }
73421 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73422 $as_echo_n "(cached) " >&6
73423 else
73426 ac_ext=cpp
73427 ac_cpp='$CXXCPP $CPPFLAGS'
73428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73433 /* end confdefs.h. */
73434 #include <math.h>
73436 main ()
73438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73440 return 0;
73442 _ACEOF
73443 if ac_fn_cxx_try_compile "$LINENO"; then :
73444 glibcxx_cv_func_float_trig_use=yes
73445 else
73446 glibcxx_cv_func_float_trig_use=no
73448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73449 ac_ext=c
73450 ac_cpp='$CPP $CPPFLAGS'
73451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73458 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73459 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73460 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73461 do :
73462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73464 eval as_val=\$$as_ac_var
73465 if test "x$as_val" = x""yes; then :
73466 cat >>confdefs.h <<_ACEOF
73467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73468 _ACEOF
73471 done
73473 else
73474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73475 $as_echo_n "checking for _float trig functions... " >&6; }
73476 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73477 $as_echo_n "(cached) " >&6
73478 else
73481 ac_ext=cpp
73482 ac_cpp='$CXXCPP $CPPFLAGS'
73483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73488 /* end confdefs.h. */
73489 #include <math.h>
73491 main ()
73493 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73495 return 0;
73497 _ACEOF
73498 if ac_fn_cxx_try_compile "$LINENO"; then :
73499 glibcxx_cv_func__float_trig_use=yes
73500 else
73501 glibcxx_cv_func__float_trig_use=no
73503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73504 ac_ext=c
73505 ac_cpp='$CPP $CPPFLAGS'
73506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73513 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73514 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73515 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73516 do :
73517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73519 eval as_val=\$$as_ac_var
73520 if test "x$as_val" = x""yes; then :
73521 cat >>confdefs.h <<_ACEOF
73522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73523 _ACEOF
73526 done
73535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73536 $as_echo_n "checking for float round functions... " >&6; }
73537 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73538 $as_echo_n "(cached) " >&6
73539 else
73542 ac_ext=cpp
73543 ac_cpp='$CXXCPP $CPPFLAGS'
73544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73549 /* end confdefs.h. */
73550 #include <math.h>
73552 main ()
73554 ceilf (0); floorf (0);
73556 return 0;
73558 _ACEOF
73559 if ac_fn_cxx_try_compile "$LINENO"; then :
73560 glibcxx_cv_func_float_round_use=yes
73561 else
73562 glibcxx_cv_func_float_round_use=no
73564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73565 ac_ext=c
73566 ac_cpp='$CPP $CPPFLAGS'
73567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73574 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73575 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73576 for ac_func in ceilf floorf
73577 do :
73578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73580 eval as_val=\$$as_ac_var
73581 if test "x$as_val" = x""yes; then :
73582 cat >>confdefs.h <<_ACEOF
73583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73584 _ACEOF
73587 done
73589 else
73590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73591 $as_echo_n "checking for _float round functions... " >&6; }
73592 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73593 $as_echo_n "(cached) " >&6
73594 else
73597 ac_ext=cpp
73598 ac_cpp='$CXXCPP $CPPFLAGS'
73599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73604 /* end confdefs.h. */
73605 #include <math.h>
73607 main ()
73609 _ceilf (0); _floorf (0);
73611 return 0;
73613 _ACEOF
73614 if ac_fn_cxx_try_compile "$LINENO"; then :
73615 glibcxx_cv_func__float_round_use=yes
73616 else
73617 glibcxx_cv_func__float_round_use=no
73619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73620 ac_ext=c
73621 ac_cpp='$CPP $CPPFLAGS'
73622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73629 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73630 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73631 for ac_func in _ceilf _floorf
73632 do :
73633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73635 eval as_val=\$$as_ac_var
73636 if test "x$as_val" = x""yes; then :
73637 cat >>confdefs.h <<_ACEOF
73638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73639 _ACEOF
73642 done
73652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73653 $as_echo_n "checking for expf declaration... " >&6; }
73654 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73655 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73656 $as_echo_n "(cached) " >&6
73657 else
73660 ac_ext=cpp
73661 ac_cpp='$CXXCPP $CPPFLAGS'
73662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73667 /* end confdefs.h. */
73668 #include <math.h>
73669 #ifdef HAVE_IEEEFP_H
73670 #include <ieeefp.h>
73671 #endif
73674 main ()
73676 expf(0);
73678 return 0;
73680 _ACEOF
73681 if ac_fn_cxx_try_compile "$LINENO"; then :
73682 glibcxx_cv_func_expf_use=yes
73683 else
73684 glibcxx_cv_func_expf_use=no
73686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73687 ac_ext=c
73688 ac_cpp='$CPP $CPPFLAGS'
73689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73698 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73700 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73701 for ac_func in expf
73702 do :
73703 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73704 if test "x$ac_cv_func_expf" = x""yes; then :
73705 cat >>confdefs.h <<_ACEOF
73706 #define HAVE_EXPF 1
73707 _ACEOF
73710 done
73712 else
73714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73715 $as_echo_n "checking for _expf declaration... " >&6; }
73716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73717 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73718 $as_echo_n "(cached) " >&6
73719 else
73722 ac_ext=cpp
73723 ac_cpp='$CXXCPP $CPPFLAGS'
73724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73729 /* end confdefs.h. */
73730 #include <math.h>
73731 #ifdef HAVE_IEEEFP_H
73732 #include <ieeefp.h>
73733 #endif
73736 main ()
73738 _expf(0);
73740 return 0;
73742 _ACEOF
73743 if ac_fn_cxx_try_compile "$LINENO"; then :
73744 glibcxx_cv_func__expf_use=yes
73745 else
73746 glibcxx_cv_func__expf_use=no
73748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73749 ac_ext=c
73750 ac_cpp='$CPP $CPPFLAGS'
73751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73760 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73762 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73763 for ac_func in _expf
73764 do :
73765 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73766 if test "x$ac_cv_func__expf" = x""yes; then :
73767 cat >>confdefs.h <<_ACEOF
73768 #define HAVE__EXPF 1
73769 _ACEOF
73772 done
73781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73782 $as_echo_n "checking for isnanf declaration... " >&6; }
73783 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73784 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73785 $as_echo_n "(cached) " >&6
73786 else
73789 ac_ext=cpp
73790 ac_cpp='$CXXCPP $CPPFLAGS'
73791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73796 /* end confdefs.h. */
73797 #include <math.h>
73798 #ifdef HAVE_IEEEFP_H
73799 #include <ieeefp.h>
73800 #endif
73803 main ()
73805 isnanf(0);
73807 return 0;
73809 _ACEOF
73810 if ac_fn_cxx_try_compile "$LINENO"; then :
73811 glibcxx_cv_func_isnanf_use=yes
73812 else
73813 glibcxx_cv_func_isnanf_use=no
73815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73816 ac_ext=c
73817 ac_cpp='$CPP $CPPFLAGS'
73818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73827 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73829 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73830 for ac_func in isnanf
73831 do :
73832 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73833 if test "x$ac_cv_func_isnanf" = x""yes; then :
73834 cat >>confdefs.h <<_ACEOF
73835 #define HAVE_ISNANF 1
73836 _ACEOF
73839 done
73841 else
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73844 $as_echo_n "checking for _isnanf declaration... " >&6; }
73845 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73846 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73847 $as_echo_n "(cached) " >&6
73848 else
73851 ac_ext=cpp
73852 ac_cpp='$CXXCPP $CPPFLAGS'
73853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73858 /* end confdefs.h. */
73859 #include <math.h>
73860 #ifdef HAVE_IEEEFP_H
73861 #include <ieeefp.h>
73862 #endif
73865 main ()
73867 _isnanf(0);
73869 return 0;
73871 _ACEOF
73872 if ac_fn_cxx_try_compile "$LINENO"; then :
73873 glibcxx_cv_func__isnanf_use=yes
73874 else
73875 glibcxx_cv_func__isnanf_use=no
73877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73878 ac_ext=c
73879 ac_cpp='$CPP $CPPFLAGS'
73880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73889 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73891 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73892 for ac_func in _isnanf
73893 do :
73894 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73895 if test "x$ac_cv_func__isnanf" = x""yes; then :
73896 cat >>confdefs.h <<_ACEOF
73897 #define HAVE__ISNANF 1
73898 _ACEOF
73901 done
73910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73911 $as_echo_n "checking for isinff declaration... " >&6; }
73912 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73913 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73914 $as_echo_n "(cached) " >&6
73915 else
73918 ac_ext=cpp
73919 ac_cpp='$CXXCPP $CPPFLAGS'
73920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73925 /* end confdefs.h. */
73926 #include <math.h>
73927 #ifdef HAVE_IEEEFP_H
73928 #include <ieeefp.h>
73929 #endif
73932 main ()
73934 isinff(0);
73936 return 0;
73938 _ACEOF
73939 if ac_fn_cxx_try_compile "$LINENO"; then :
73940 glibcxx_cv_func_isinff_use=yes
73941 else
73942 glibcxx_cv_func_isinff_use=no
73944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73945 ac_ext=c
73946 ac_cpp='$CPP $CPPFLAGS'
73947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73956 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73958 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73959 for ac_func in isinff
73960 do :
73961 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73962 if test "x$ac_cv_func_isinff" = x""yes; then :
73963 cat >>confdefs.h <<_ACEOF
73964 #define HAVE_ISINFF 1
73965 _ACEOF
73968 done
73970 else
73972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73973 $as_echo_n "checking for _isinff declaration... " >&6; }
73974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73976 $as_echo_n "(cached) " >&6
73977 else
73980 ac_ext=cpp
73981 ac_cpp='$CXXCPP $CPPFLAGS'
73982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73987 /* end confdefs.h. */
73988 #include <math.h>
73989 #ifdef HAVE_IEEEFP_H
73990 #include <ieeefp.h>
73991 #endif
73994 main ()
73996 _isinff(0);
73998 return 0;
74000 _ACEOF
74001 if ac_fn_cxx_try_compile "$LINENO"; then :
74002 glibcxx_cv_func__isinff_use=yes
74003 else
74004 glibcxx_cv_func__isinff_use=no
74006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74007 ac_ext=c
74008 ac_cpp='$CPP $CPPFLAGS'
74009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74018 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74020 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74021 for ac_func in _isinff
74022 do :
74023 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74024 if test "x$ac_cv_func__isinff" = x""yes; then :
74025 cat >>confdefs.h <<_ACEOF
74026 #define HAVE__ISINFF 1
74027 _ACEOF
74030 done
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74040 $as_echo_n "checking for atan2f declaration... " >&6; }
74041 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74042 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74043 $as_echo_n "(cached) " >&6
74044 else
74047 ac_ext=cpp
74048 ac_cpp='$CXXCPP $CPPFLAGS'
74049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74054 /* end confdefs.h. */
74055 #include <math.h>
74057 main ()
74059 atan2f(0, 0);
74061 return 0;
74063 _ACEOF
74064 if ac_fn_cxx_try_compile "$LINENO"; then :
74065 glibcxx_cv_func_atan2f_use=yes
74066 else
74067 glibcxx_cv_func_atan2f_use=no
74069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74070 ac_ext=c
74071 ac_cpp='$CPP $CPPFLAGS'
74072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74081 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74083 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74084 for ac_func in atan2f
74085 do :
74086 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74087 if test "x$ac_cv_func_atan2f" = x""yes; then :
74088 cat >>confdefs.h <<_ACEOF
74089 #define HAVE_ATAN2F 1
74090 _ACEOF
74093 done
74095 else
74097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74098 $as_echo_n "checking for _atan2f declaration... " >&6; }
74099 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74100 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74101 $as_echo_n "(cached) " >&6
74102 else
74105 ac_ext=cpp
74106 ac_cpp='$CXXCPP $CPPFLAGS'
74107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74112 /* end confdefs.h. */
74113 #include <math.h>
74115 main ()
74117 _atan2f(0, 0);
74119 return 0;
74121 _ACEOF
74122 if ac_fn_cxx_try_compile "$LINENO"; then :
74123 glibcxx_cv_func__atan2f_use=yes
74124 else
74125 glibcxx_cv_func__atan2f_use=no
74127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74128 ac_ext=c
74129 ac_cpp='$CPP $CPPFLAGS'
74130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74139 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74141 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74142 for ac_func in _atan2f
74143 do :
74144 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74145 if test "x$ac_cv_func__atan2f" = x""yes; then :
74146 cat >>confdefs.h <<_ACEOF
74147 #define HAVE__ATAN2F 1
74148 _ACEOF
74151 done
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74161 $as_echo_n "checking for fabsf declaration... " >&6; }
74162 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74163 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74164 $as_echo_n "(cached) " >&6
74165 else
74168 ac_ext=cpp
74169 ac_cpp='$CXXCPP $CPPFLAGS'
74170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74175 /* end confdefs.h. */
74176 #include <math.h>
74177 #ifdef HAVE_IEEEFP_H
74178 #include <ieeefp.h>
74179 #endif
74182 main ()
74184 fabsf(0);
74186 return 0;
74188 _ACEOF
74189 if ac_fn_cxx_try_compile "$LINENO"; then :
74190 glibcxx_cv_func_fabsf_use=yes
74191 else
74192 glibcxx_cv_func_fabsf_use=no
74194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74195 ac_ext=c
74196 ac_cpp='$CPP $CPPFLAGS'
74197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74206 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74208 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74209 for ac_func in fabsf
74210 do :
74211 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74212 if test "x$ac_cv_func_fabsf" = x""yes; then :
74213 cat >>confdefs.h <<_ACEOF
74214 #define HAVE_FABSF 1
74215 _ACEOF
74218 done
74220 else
74222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74223 $as_echo_n "checking for _fabsf declaration... " >&6; }
74224 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74225 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74226 $as_echo_n "(cached) " >&6
74227 else
74230 ac_ext=cpp
74231 ac_cpp='$CXXCPP $CPPFLAGS'
74232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74237 /* end confdefs.h. */
74238 #include <math.h>
74239 #ifdef HAVE_IEEEFP_H
74240 #include <ieeefp.h>
74241 #endif
74244 main ()
74246 _fabsf(0);
74248 return 0;
74250 _ACEOF
74251 if ac_fn_cxx_try_compile "$LINENO"; then :
74252 glibcxx_cv_func__fabsf_use=yes
74253 else
74254 glibcxx_cv_func__fabsf_use=no
74256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74257 ac_ext=c
74258 ac_cpp='$CPP $CPPFLAGS'
74259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74268 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74270 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74271 for ac_func in _fabsf
74272 do :
74273 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74274 if test "x$ac_cv_func__fabsf" = x""yes; then :
74275 cat >>confdefs.h <<_ACEOF
74276 #define HAVE__FABSF 1
74277 _ACEOF
74280 done
74289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74290 $as_echo_n "checking for fmodf declaration... " >&6; }
74291 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74292 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74293 $as_echo_n "(cached) " >&6
74294 else
74297 ac_ext=cpp
74298 ac_cpp='$CXXCPP $CPPFLAGS'
74299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74304 /* end confdefs.h. */
74305 #include <math.h>
74307 main ()
74309 fmodf(0, 0);
74311 return 0;
74313 _ACEOF
74314 if ac_fn_cxx_try_compile "$LINENO"; then :
74315 glibcxx_cv_func_fmodf_use=yes
74316 else
74317 glibcxx_cv_func_fmodf_use=no
74319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74320 ac_ext=c
74321 ac_cpp='$CPP $CPPFLAGS'
74322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74331 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74333 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74334 for ac_func in fmodf
74335 do :
74336 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74337 if test "x$ac_cv_func_fmodf" = x""yes; then :
74338 cat >>confdefs.h <<_ACEOF
74339 #define HAVE_FMODF 1
74340 _ACEOF
74343 done
74345 else
74347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74348 $as_echo_n "checking for _fmodf declaration... " >&6; }
74349 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74350 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74351 $as_echo_n "(cached) " >&6
74352 else
74355 ac_ext=cpp
74356 ac_cpp='$CXXCPP $CPPFLAGS'
74357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74362 /* end confdefs.h. */
74363 #include <math.h>
74365 main ()
74367 _fmodf(0, 0);
74369 return 0;
74371 _ACEOF
74372 if ac_fn_cxx_try_compile "$LINENO"; then :
74373 glibcxx_cv_func__fmodf_use=yes
74374 else
74375 glibcxx_cv_func__fmodf_use=no
74377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74378 ac_ext=c
74379 ac_cpp='$CPP $CPPFLAGS'
74380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74389 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74391 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74392 for ac_func in _fmodf
74393 do :
74394 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74395 if test "x$ac_cv_func__fmodf" = x""yes; then :
74396 cat >>confdefs.h <<_ACEOF
74397 #define HAVE__FMODF 1
74398 _ACEOF
74401 done
74410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74411 $as_echo_n "checking for frexpf declaration... " >&6; }
74412 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74413 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74414 $as_echo_n "(cached) " >&6
74415 else
74418 ac_ext=cpp
74419 ac_cpp='$CXXCPP $CPPFLAGS'
74420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74425 /* end confdefs.h. */
74426 #include <math.h>
74428 main ()
74430 frexpf(0, 0);
74432 return 0;
74434 _ACEOF
74435 if ac_fn_cxx_try_compile "$LINENO"; then :
74436 glibcxx_cv_func_frexpf_use=yes
74437 else
74438 glibcxx_cv_func_frexpf_use=no
74440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74441 ac_ext=c
74442 ac_cpp='$CPP $CPPFLAGS'
74443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74452 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74454 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74455 for ac_func in frexpf
74456 do :
74457 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74458 if test "x$ac_cv_func_frexpf" = x""yes; then :
74459 cat >>confdefs.h <<_ACEOF
74460 #define HAVE_FREXPF 1
74461 _ACEOF
74464 done
74466 else
74468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74469 $as_echo_n "checking for _frexpf declaration... " >&6; }
74470 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74471 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74472 $as_echo_n "(cached) " >&6
74473 else
74476 ac_ext=cpp
74477 ac_cpp='$CXXCPP $CPPFLAGS'
74478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74483 /* end confdefs.h. */
74484 #include <math.h>
74486 main ()
74488 _frexpf(0, 0);
74490 return 0;
74492 _ACEOF
74493 if ac_fn_cxx_try_compile "$LINENO"; then :
74494 glibcxx_cv_func__frexpf_use=yes
74495 else
74496 glibcxx_cv_func__frexpf_use=no
74498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74499 ac_ext=c
74500 ac_cpp='$CPP $CPPFLAGS'
74501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74510 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74512 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74513 for ac_func in _frexpf
74514 do :
74515 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74516 if test "x$ac_cv_func__frexpf" = x""yes; then :
74517 cat >>confdefs.h <<_ACEOF
74518 #define HAVE__FREXPF 1
74519 _ACEOF
74522 done
74531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74532 $as_echo_n "checking for hypotf declaration... " >&6; }
74533 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74534 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74535 $as_echo_n "(cached) " >&6
74536 else
74539 ac_ext=cpp
74540 ac_cpp='$CXXCPP $CPPFLAGS'
74541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74546 /* end confdefs.h. */
74547 #include <math.h>
74549 main ()
74551 hypotf(0, 0);
74553 return 0;
74555 _ACEOF
74556 if ac_fn_cxx_try_compile "$LINENO"; then :
74557 glibcxx_cv_func_hypotf_use=yes
74558 else
74559 glibcxx_cv_func_hypotf_use=no
74561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74562 ac_ext=c
74563 ac_cpp='$CPP $CPPFLAGS'
74564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74573 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74575 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74576 for ac_func in hypotf
74577 do :
74578 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74579 if test "x$ac_cv_func_hypotf" = x""yes; then :
74580 cat >>confdefs.h <<_ACEOF
74581 #define HAVE_HYPOTF 1
74582 _ACEOF
74585 done
74587 else
74589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74590 $as_echo_n "checking for _hypotf declaration... " >&6; }
74591 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74592 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74593 $as_echo_n "(cached) " >&6
74594 else
74597 ac_ext=cpp
74598 ac_cpp='$CXXCPP $CPPFLAGS'
74599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74604 /* end confdefs.h. */
74605 #include <math.h>
74607 main ()
74609 _hypotf(0, 0);
74611 return 0;
74613 _ACEOF
74614 if ac_fn_cxx_try_compile "$LINENO"; then :
74615 glibcxx_cv_func__hypotf_use=yes
74616 else
74617 glibcxx_cv_func__hypotf_use=no
74619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74620 ac_ext=c
74621 ac_cpp='$CPP $CPPFLAGS'
74622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74631 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74633 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74634 for ac_func in _hypotf
74635 do :
74636 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74637 if test "x$ac_cv_func__hypotf" = x""yes; then :
74638 cat >>confdefs.h <<_ACEOF
74639 #define HAVE__HYPOTF 1
74640 _ACEOF
74643 done
74652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74653 $as_echo_n "checking for ldexpf declaration... " >&6; }
74654 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74655 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74656 $as_echo_n "(cached) " >&6
74657 else
74660 ac_ext=cpp
74661 ac_cpp='$CXXCPP $CPPFLAGS'
74662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74667 /* end confdefs.h. */
74668 #include <math.h>
74670 main ()
74672 ldexpf(0, 0);
74674 return 0;
74676 _ACEOF
74677 if ac_fn_cxx_try_compile "$LINENO"; then :
74678 glibcxx_cv_func_ldexpf_use=yes
74679 else
74680 glibcxx_cv_func_ldexpf_use=no
74682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74683 ac_ext=c
74684 ac_cpp='$CPP $CPPFLAGS'
74685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74694 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74696 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74697 for ac_func in ldexpf
74698 do :
74699 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74700 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74701 cat >>confdefs.h <<_ACEOF
74702 #define HAVE_LDEXPF 1
74703 _ACEOF
74706 done
74708 else
74710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74711 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74712 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74713 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74714 $as_echo_n "(cached) " >&6
74715 else
74718 ac_ext=cpp
74719 ac_cpp='$CXXCPP $CPPFLAGS'
74720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74725 /* end confdefs.h. */
74726 #include <math.h>
74728 main ()
74730 _ldexpf(0, 0);
74732 return 0;
74734 _ACEOF
74735 if ac_fn_cxx_try_compile "$LINENO"; then :
74736 glibcxx_cv_func__ldexpf_use=yes
74737 else
74738 glibcxx_cv_func__ldexpf_use=no
74740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74741 ac_ext=c
74742 ac_cpp='$CPP $CPPFLAGS'
74743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74752 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74754 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74755 for ac_func in _ldexpf
74756 do :
74757 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74758 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74759 cat >>confdefs.h <<_ACEOF
74760 #define HAVE__LDEXPF 1
74761 _ACEOF
74764 done
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74774 $as_echo_n "checking for logf declaration... " >&6; }
74775 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74776 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74777 $as_echo_n "(cached) " >&6
74778 else
74781 ac_ext=cpp
74782 ac_cpp='$CXXCPP $CPPFLAGS'
74783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74788 /* end confdefs.h. */
74789 #include <math.h>
74790 #ifdef HAVE_IEEEFP_H
74791 #include <ieeefp.h>
74792 #endif
74795 main ()
74797 logf(0);
74799 return 0;
74801 _ACEOF
74802 if ac_fn_cxx_try_compile "$LINENO"; then :
74803 glibcxx_cv_func_logf_use=yes
74804 else
74805 glibcxx_cv_func_logf_use=no
74807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74808 ac_ext=c
74809 ac_cpp='$CPP $CPPFLAGS'
74810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74819 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74822 for ac_func in logf
74823 do :
74824 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74825 if test "x$ac_cv_func_logf" = x""yes; then :
74826 cat >>confdefs.h <<_ACEOF
74827 #define HAVE_LOGF 1
74828 _ACEOF
74831 done
74833 else
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74836 $as_echo_n "checking for _logf declaration... " >&6; }
74837 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74838 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74839 $as_echo_n "(cached) " >&6
74840 else
74843 ac_ext=cpp
74844 ac_cpp='$CXXCPP $CPPFLAGS'
74845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74850 /* end confdefs.h. */
74851 #include <math.h>
74852 #ifdef HAVE_IEEEFP_H
74853 #include <ieeefp.h>
74854 #endif
74857 main ()
74859 _logf(0);
74861 return 0;
74863 _ACEOF
74864 if ac_fn_cxx_try_compile "$LINENO"; then :
74865 glibcxx_cv_func__logf_use=yes
74866 else
74867 glibcxx_cv_func__logf_use=no
74869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74870 ac_ext=c
74871 ac_cpp='$CPP $CPPFLAGS'
74872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74881 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74884 for ac_func in _logf
74885 do :
74886 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74887 if test "x$ac_cv_func__logf" = x""yes; then :
74888 cat >>confdefs.h <<_ACEOF
74889 #define HAVE__LOGF 1
74890 _ACEOF
74893 done
74902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74903 $as_echo_n "checking for log10f declaration... " >&6; }
74904 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74905 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74906 $as_echo_n "(cached) " >&6
74907 else
74910 ac_ext=cpp
74911 ac_cpp='$CXXCPP $CPPFLAGS'
74912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74917 /* end confdefs.h. */
74918 #include <math.h>
74919 #ifdef HAVE_IEEEFP_H
74920 #include <ieeefp.h>
74921 #endif
74924 main ()
74926 log10f(0);
74928 return 0;
74930 _ACEOF
74931 if ac_fn_cxx_try_compile "$LINENO"; then :
74932 glibcxx_cv_func_log10f_use=yes
74933 else
74934 glibcxx_cv_func_log10f_use=no
74936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74937 ac_ext=c
74938 ac_cpp='$CPP $CPPFLAGS'
74939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74948 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74950 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74951 for ac_func in log10f
74952 do :
74953 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74954 if test "x$ac_cv_func_log10f" = x""yes; then :
74955 cat >>confdefs.h <<_ACEOF
74956 #define HAVE_LOG10F 1
74957 _ACEOF
74960 done
74962 else
74964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74965 $as_echo_n "checking for _log10f declaration... " >&6; }
74966 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74967 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74968 $as_echo_n "(cached) " >&6
74969 else
74972 ac_ext=cpp
74973 ac_cpp='$CXXCPP $CPPFLAGS'
74974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74979 /* end confdefs.h. */
74980 #include <math.h>
74981 #ifdef HAVE_IEEEFP_H
74982 #include <ieeefp.h>
74983 #endif
74986 main ()
74988 _log10f(0);
74990 return 0;
74992 _ACEOF
74993 if ac_fn_cxx_try_compile "$LINENO"; then :
74994 glibcxx_cv_func__log10f_use=yes
74995 else
74996 glibcxx_cv_func__log10f_use=no
74998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74999 ac_ext=c
75000 ac_cpp='$CPP $CPPFLAGS'
75001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75010 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75012 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75013 for ac_func in _log10f
75014 do :
75015 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75016 if test "x$ac_cv_func__log10f" = x""yes; then :
75017 cat >>confdefs.h <<_ACEOF
75018 #define HAVE__LOG10F 1
75019 _ACEOF
75022 done
75031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75032 $as_echo_n "checking for modff declaration... " >&6; }
75033 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75034 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75035 $as_echo_n "(cached) " >&6
75036 else
75039 ac_ext=cpp
75040 ac_cpp='$CXXCPP $CPPFLAGS'
75041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75046 /* end confdefs.h. */
75047 #include <math.h>
75049 main ()
75051 modff(0, 0);
75053 return 0;
75055 _ACEOF
75056 if ac_fn_cxx_try_compile "$LINENO"; then :
75057 glibcxx_cv_func_modff_use=yes
75058 else
75059 glibcxx_cv_func_modff_use=no
75061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75062 ac_ext=c
75063 ac_cpp='$CPP $CPPFLAGS'
75064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75073 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75075 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75076 for ac_func in modff
75077 do :
75078 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75079 if test "x$ac_cv_func_modff" = x""yes; then :
75080 cat >>confdefs.h <<_ACEOF
75081 #define HAVE_MODFF 1
75082 _ACEOF
75085 done
75087 else
75089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75090 $as_echo_n "checking for _modff declaration... " >&6; }
75091 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75092 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75093 $as_echo_n "(cached) " >&6
75094 else
75097 ac_ext=cpp
75098 ac_cpp='$CXXCPP $CPPFLAGS'
75099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75104 /* end confdefs.h. */
75105 #include <math.h>
75107 main ()
75109 _modff(0, 0);
75111 return 0;
75113 _ACEOF
75114 if ac_fn_cxx_try_compile "$LINENO"; then :
75115 glibcxx_cv_func__modff_use=yes
75116 else
75117 glibcxx_cv_func__modff_use=no
75119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75120 ac_ext=c
75121 ac_cpp='$CPP $CPPFLAGS'
75122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75131 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75133 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75134 for ac_func in _modff
75135 do :
75136 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75137 if test "x$ac_cv_func__modff" = x""yes; then :
75138 cat >>confdefs.h <<_ACEOF
75139 #define HAVE__MODFF 1
75140 _ACEOF
75143 done
75152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75153 $as_echo_n "checking for modf declaration... " >&6; }
75154 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75155 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75156 $as_echo_n "(cached) " >&6
75157 else
75160 ac_ext=cpp
75161 ac_cpp='$CXXCPP $CPPFLAGS'
75162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75167 /* end confdefs.h. */
75168 #include <math.h>
75170 main ()
75172 modf(0, 0);
75174 return 0;
75176 _ACEOF
75177 if ac_fn_cxx_try_compile "$LINENO"; then :
75178 glibcxx_cv_func_modf_use=yes
75179 else
75180 glibcxx_cv_func_modf_use=no
75182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75183 ac_ext=c
75184 ac_cpp='$CPP $CPPFLAGS'
75185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75194 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75196 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75197 for ac_func in modf
75198 do :
75199 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75200 if test "x$ac_cv_func_modf" = x""yes; then :
75201 cat >>confdefs.h <<_ACEOF
75202 #define HAVE_MODF 1
75203 _ACEOF
75206 done
75208 else
75210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75211 $as_echo_n "checking for _modf declaration... " >&6; }
75212 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75213 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75214 $as_echo_n "(cached) " >&6
75215 else
75218 ac_ext=cpp
75219 ac_cpp='$CXXCPP $CPPFLAGS'
75220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75225 /* end confdefs.h. */
75226 #include <math.h>
75228 main ()
75230 _modf(0, 0);
75232 return 0;
75234 _ACEOF
75235 if ac_fn_cxx_try_compile "$LINENO"; then :
75236 glibcxx_cv_func__modf_use=yes
75237 else
75238 glibcxx_cv_func__modf_use=no
75240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75241 ac_ext=c
75242 ac_cpp='$CPP $CPPFLAGS'
75243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75252 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75254 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75255 for ac_func in _modf
75256 do :
75257 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75258 if test "x$ac_cv_func__modf" = x""yes; then :
75259 cat >>confdefs.h <<_ACEOF
75260 #define HAVE__MODF 1
75261 _ACEOF
75264 done
75273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75274 $as_echo_n "checking for powf declaration... " >&6; }
75275 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75276 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75277 $as_echo_n "(cached) " >&6
75278 else
75281 ac_ext=cpp
75282 ac_cpp='$CXXCPP $CPPFLAGS'
75283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75288 /* end confdefs.h. */
75289 #include <math.h>
75291 main ()
75293 powf(0, 0);
75295 return 0;
75297 _ACEOF
75298 if ac_fn_cxx_try_compile "$LINENO"; then :
75299 glibcxx_cv_func_powf_use=yes
75300 else
75301 glibcxx_cv_func_powf_use=no
75303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75304 ac_ext=c
75305 ac_cpp='$CPP $CPPFLAGS'
75306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75315 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75317 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75318 for ac_func in powf
75319 do :
75320 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75321 if test "x$ac_cv_func_powf" = x""yes; then :
75322 cat >>confdefs.h <<_ACEOF
75323 #define HAVE_POWF 1
75324 _ACEOF
75327 done
75329 else
75331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75332 $as_echo_n "checking for _powf declaration... " >&6; }
75333 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75334 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75335 $as_echo_n "(cached) " >&6
75336 else
75339 ac_ext=cpp
75340 ac_cpp='$CXXCPP $CPPFLAGS'
75341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75346 /* end confdefs.h. */
75347 #include <math.h>
75349 main ()
75351 _powf(0, 0);
75353 return 0;
75355 _ACEOF
75356 if ac_fn_cxx_try_compile "$LINENO"; then :
75357 glibcxx_cv_func__powf_use=yes
75358 else
75359 glibcxx_cv_func__powf_use=no
75361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75362 ac_ext=c
75363 ac_cpp='$CPP $CPPFLAGS'
75364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75373 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75376 for ac_func in _powf
75377 do :
75378 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75379 if test "x$ac_cv_func__powf" = x""yes; then :
75380 cat >>confdefs.h <<_ACEOF
75381 #define HAVE__POWF 1
75382 _ACEOF
75385 done
75394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75395 $as_echo_n "checking for sqrtf declaration... " >&6; }
75396 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75397 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75398 $as_echo_n "(cached) " >&6
75399 else
75402 ac_ext=cpp
75403 ac_cpp='$CXXCPP $CPPFLAGS'
75404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75409 /* end confdefs.h. */
75410 #include <math.h>
75411 #ifdef HAVE_IEEEFP_H
75412 #include <ieeefp.h>
75413 #endif
75416 main ()
75418 sqrtf(0);
75420 return 0;
75422 _ACEOF
75423 if ac_fn_cxx_try_compile "$LINENO"; then :
75424 glibcxx_cv_func_sqrtf_use=yes
75425 else
75426 glibcxx_cv_func_sqrtf_use=no
75428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75429 ac_ext=c
75430 ac_cpp='$CPP $CPPFLAGS'
75431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75440 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75442 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75443 for ac_func in sqrtf
75444 do :
75445 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75446 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75447 cat >>confdefs.h <<_ACEOF
75448 #define HAVE_SQRTF 1
75449 _ACEOF
75452 done
75454 else
75456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75457 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75458 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75459 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75460 $as_echo_n "(cached) " >&6
75461 else
75464 ac_ext=cpp
75465 ac_cpp='$CXXCPP $CPPFLAGS'
75466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75471 /* end confdefs.h. */
75472 #include <math.h>
75473 #ifdef HAVE_IEEEFP_H
75474 #include <ieeefp.h>
75475 #endif
75478 main ()
75480 _sqrtf(0);
75482 return 0;
75484 _ACEOF
75485 if ac_fn_cxx_try_compile "$LINENO"; then :
75486 glibcxx_cv_func__sqrtf_use=yes
75487 else
75488 glibcxx_cv_func__sqrtf_use=no
75490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75491 ac_ext=c
75492 ac_cpp='$CPP $CPPFLAGS'
75493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75502 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75504 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75505 for ac_func in _sqrtf
75506 do :
75507 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75508 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75509 cat >>confdefs.h <<_ACEOF
75510 #define HAVE__SQRTF 1
75511 _ACEOF
75514 done
75523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75524 $as_echo_n "checking for sincosf declaration... " >&6; }
75525 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75526 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75527 $as_echo_n "(cached) " >&6
75528 else
75531 ac_ext=cpp
75532 ac_cpp='$CXXCPP $CPPFLAGS'
75533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75538 /* end confdefs.h. */
75539 #include <math.h>
75541 main ()
75543 sincosf(0, 0, 0);
75545 return 0;
75547 _ACEOF
75548 if ac_fn_cxx_try_compile "$LINENO"; then :
75549 glibcxx_cv_func_sincosf_use=yes
75550 else
75551 glibcxx_cv_func_sincosf_use=no
75553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75554 ac_ext=c
75555 ac_cpp='$CPP $CPPFLAGS'
75556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75565 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75567 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75568 for ac_func in sincosf
75569 do :
75570 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75571 if test "x$ac_cv_func_sincosf" = x""yes; then :
75572 cat >>confdefs.h <<_ACEOF
75573 #define HAVE_SINCOSF 1
75574 _ACEOF
75577 done
75579 else
75581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75582 $as_echo_n "checking for _sincosf declaration... " >&6; }
75583 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75584 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75585 $as_echo_n "(cached) " >&6
75586 else
75589 ac_ext=cpp
75590 ac_cpp='$CXXCPP $CPPFLAGS'
75591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75596 /* end confdefs.h. */
75597 #include <math.h>
75599 main ()
75601 _sincosf(0, 0, 0);
75603 return 0;
75605 _ACEOF
75606 if ac_fn_cxx_try_compile "$LINENO"; then :
75607 glibcxx_cv_func__sincosf_use=yes
75608 else
75609 glibcxx_cv_func__sincosf_use=no
75611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75612 ac_ext=c
75613 ac_cpp='$CPP $CPPFLAGS'
75614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75623 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75625 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75626 for ac_func in _sincosf
75627 do :
75628 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75629 if test "x$ac_cv_func__sincosf" = x""yes; then :
75630 cat >>confdefs.h <<_ACEOF
75631 #define HAVE__SINCOSF 1
75632 _ACEOF
75635 done
75644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75645 $as_echo_n "checking for finitef declaration... " >&6; }
75646 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75647 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75648 $as_echo_n "(cached) " >&6
75649 else
75652 ac_ext=cpp
75653 ac_cpp='$CXXCPP $CPPFLAGS'
75654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75659 /* end confdefs.h. */
75660 #include <math.h>
75661 #ifdef HAVE_IEEEFP_H
75662 #include <ieeefp.h>
75663 #endif
75666 main ()
75668 finitef(0);
75670 return 0;
75672 _ACEOF
75673 if ac_fn_cxx_try_compile "$LINENO"; then :
75674 glibcxx_cv_func_finitef_use=yes
75675 else
75676 glibcxx_cv_func_finitef_use=no
75678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75679 ac_ext=c
75680 ac_cpp='$CPP $CPPFLAGS'
75681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75690 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75692 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75693 for ac_func in finitef
75694 do :
75695 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75696 if test "x$ac_cv_func_finitef" = x""yes; then :
75697 cat >>confdefs.h <<_ACEOF
75698 #define HAVE_FINITEF 1
75699 _ACEOF
75702 done
75704 else
75706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75707 $as_echo_n "checking for _finitef declaration... " >&6; }
75708 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75709 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75710 $as_echo_n "(cached) " >&6
75711 else
75714 ac_ext=cpp
75715 ac_cpp='$CXXCPP $CPPFLAGS'
75716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75721 /* end confdefs.h. */
75722 #include <math.h>
75723 #ifdef HAVE_IEEEFP_H
75724 #include <ieeefp.h>
75725 #endif
75728 main ()
75730 _finitef(0);
75732 return 0;
75734 _ACEOF
75735 if ac_fn_cxx_try_compile "$LINENO"; then :
75736 glibcxx_cv_func__finitef_use=yes
75737 else
75738 glibcxx_cv_func__finitef_use=no
75740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75741 ac_ext=c
75742 ac_cpp='$CPP $CPPFLAGS'
75743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75752 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75754 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75755 for ac_func in _finitef
75756 do :
75757 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75758 if test "x$ac_cv_func__finitef" = x""yes; then :
75759 cat >>confdefs.h <<_ACEOF
75760 #define HAVE__FINITEF 1
75761 _ACEOF
75764 done
75773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75774 $as_echo_n "checking for long double trig functions... " >&6; }
75775 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75776 $as_echo_n "(cached) " >&6
75777 else
75780 ac_ext=cpp
75781 ac_cpp='$CXXCPP $CPPFLAGS'
75782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75787 /* end confdefs.h. */
75788 #include <math.h>
75790 main ()
75792 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75794 return 0;
75796 _ACEOF
75797 if ac_fn_cxx_try_compile "$LINENO"; then :
75798 glibcxx_cv_func_long_double_trig_use=yes
75799 else
75800 glibcxx_cv_func_long_double_trig_use=no
75802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75803 ac_ext=c
75804 ac_cpp='$CPP $CPPFLAGS'
75805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75812 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75813 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75814 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75815 do :
75816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75818 eval as_val=\$$as_ac_var
75819 if test "x$as_val" = x""yes; then :
75820 cat >>confdefs.h <<_ACEOF
75821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75822 _ACEOF
75825 done
75827 else
75828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75829 $as_echo_n "checking for _long double trig functions... " >&6; }
75830 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75831 $as_echo_n "(cached) " >&6
75832 else
75835 ac_ext=cpp
75836 ac_cpp='$CXXCPP $CPPFLAGS'
75837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75842 /* end confdefs.h. */
75843 #include <math.h>
75845 main ()
75847 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75849 return 0;
75851 _ACEOF
75852 if ac_fn_cxx_try_compile "$LINENO"; then :
75853 glibcxx_cv_func__long_double_trig_use=yes
75854 else
75855 glibcxx_cv_func__long_double_trig_use=no
75857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75858 ac_ext=c
75859 ac_cpp='$CPP $CPPFLAGS'
75860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75867 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75869 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75870 do :
75871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75873 eval as_val=\$$as_ac_var
75874 if test "x$as_val" = x""yes; then :
75875 cat >>confdefs.h <<_ACEOF
75876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75877 _ACEOF
75880 done
75889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75890 $as_echo_n "checking for long double round functions... " >&6; }
75891 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75892 $as_echo_n "(cached) " >&6
75893 else
75896 ac_ext=cpp
75897 ac_cpp='$CXXCPP $CPPFLAGS'
75898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75903 /* end confdefs.h. */
75904 #include <math.h>
75906 main ()
75908 ceill (0); floorl (0);
75910 return 0;
75912 _ACEOF
75913 if ac_fn_cxx_try_compile "$LINENO"; then :
75914 glibcxx_cv_func_long_double_round_use=yes
75915 else
75916 glibcxx_cv_func_long_double_round_use=no
75918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75919 ac_ext=c
75920 ac_cpp='$CPP $CPPFLAGS'
75921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75928 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75929 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75930 for ac_func in ceill floorl
75931 do :
75932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75934 eval as_val=\$$as_ac_var
75935 if test "x$as_val" = x""yes; then :
75936 cat >>confdefs.h <<_ACEOF
75937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75938 _ACEOF
75941 done
75943 else
75944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75945 $as_echo_n "checking for _long double round functions... " >&6; }
75946 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75947 $as_echo_n "(cached) " >&6
75948 else
75951 ac_ext=cpp
75952 ac_cpp='$CXXCPP $CPPFLAGS'
75953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75958 /* end confdefs.h. */
75959 #include <math.h>
75961 main ()
75963 _ceill (0); _floorl (0);
75965 return 0;
75967 _ACEOF
75968 if ac_fn_cxx_try_compile "$LINENO"; then :
75969 glibcxx_cv_func__long_double_round_use=yes
75970 else
75971 glibcxx_cv_func__long_double_round_use=no
75973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75974 ac_ext=c
75975 ac_cpp='$CPP $CPPFLAGS'
75976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75983 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75984 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75985 for ac_func in _ceill _floorl
75986 do :
75987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75989 eval as_val=\$$as_ac_var
75990 if test "x$as_val" = x""yes; then :
75991 cat >>confdefs.h <<_ACEOF
75992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75993 _ACEOF
75996 done
76006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76007 $as_echo_n "checking for isnanl declaration... " >&6; }
76008 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76009 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76010 $as_echo_n "(cached) " >&6
76011 else
76014 ac_ext=cpp
76015 ac_cpp='$CXXCPP $CPPFLAGS'
76016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76021 /* end confdefs.h. */
76022 #include <math.h>
76023 #ifdef HAVE_IEEEFP_H
76024 #include <ieeefp.h>
76025 #endif
76028 main ()
76030 isnanl(0);
76032 return 0;
76034 _ACEOF
76035 if ac_fn_cxx_try_compile "$LINENO"; then :
76036 glibcxx_cv_func_isnanl_use=yes
76037 else
76038 glibcxx_cv_func_isnanl_use=no
76040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76041 ac_ext=c
76042 ac_cpp='$CPP $CPPFLAGS'
76043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76052 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76054 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76055 for ac_func in isnanl
76056 do :
76057 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76058 if test "x$ac_cv_func_isnanl" = x""yes; then :
76059 cat >>confdefs.h <<_ACEOF
76060 #define HAVE_ISNANL 1
76061 _ACEOF
76064 done
76066 else
76068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76069 $as_echo_n "checking for _isnanl declaration... " >&6; }
76070 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76071 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76072 $as_echo_n "(cached) " >&6
76073 else
76076 ac_ext=cpp
76077 ac_cpp='$CXXCPP $CPPFLAGS'
76078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76083 /* end confdefs.h. */
76084 #include <math.h>
76085 #ifdef HAVE_IEEEFP_H
76086 #include <ieeefp.h>
76087 #endif
76090 main ()
76092 _isnanl(0);
76094 return 0;
76096 _ACEOF
76097 if ac_fn_cxx_try_compile "$LINENO"; then :
76098 glibcxx_cv_func__isnanl_use=yes
76099 else
76100 glibcxx_cv_func__isnanl_use=no
76102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76103 ac_ext=c
76104 ac_cpp='$CPP $CPPFLAGS'
76105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76114 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76116 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76117 for ac_func in _isnanl
76118 do :
76119 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76120 if test "x$ac_cv_func__isnanl" = x""yes; then :
76121 cat >>confdefs.h <<_ACEOF
76122 #define HAVE__ISNANL 1
76123 _ACEOF
76126 done
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76136 $as_echo_n "checking for isinfl declaration... " >&6; }
76137 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76138 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76139 $as_echo_n "(cached) " >&6
76140 else
76143 ac_ext=cpp
76144 ac_cpp='$CXXCPP $CPPFLAGS'
76145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76150 /* end confdefs.h. */
76151 #include <math.h>
76152 #ifdef HAVE_IEEEFP_H
76153 #include <ieeefp.h>
76154 #endif
76157 main ()
76159 isinfl(0);
76161 return 0;
76163 _ACEOF
76164 if ac_fn_cxx_try_compile "$LINENO"; then :
76165 glibcxx_cv_func_isinfl_use=yes
76166 else
76167 glibcxx_cv_func_isinfl_use=no
76169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76170 ac_ext=c
76171 ac_cpp='$CPP $CPPFLAGS'
76172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76181 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76183 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76184 for ac_func in isinfl
76185 do :
76186 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76187 if test "x$ac_cv_func_isinfl" = x""yes; then :
76188 cat >>confdefs.h <<_ACEOF
76189 #define HAVE_ISINFL 1
76190 _ACEOF
76193 done
76195 else
76197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76198 $as_echo_n "checking for _isinfl declaration... " >&6; }
76199 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76200 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76201 $as_echo_n "(cached) " >&6
76202 else
76205 ac_ext=cpp
76206 ac_cpp='$CXXCPP $CPPFLAGS'
76207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76212 /* end confdefs.h. */
76213 #include <math.h>
76214 #ifdef HAVE_IEEEFP_H
76215 #include <ieeefp.h>
76216 #endif
76219 main ()
76221 _isinfl(0);
76223 return 0;
76225 _ACEOF
76226 if ac_fn_cxx_try_compile "$LINENO"; then :
76227 glibcxx_cv_func__isinfl_use=yes
76228 else
76229 glibcxx_cv_func__isinfl_use=no
76231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76232 ac_ext=c
76233 ac_cpp='$CPP $CPPFLAGS'
76234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76243 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76245 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76246 for ac_func in _isinfl
76247 do :
76248 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76249 if test "x$ac_cv_func__isinfl" = x""yes; then :
76250 cat >>confdefs.h <<_ACEOF
76251 #define HAVE__ISINFL 1
76252 _ACEOF
76255 done
76264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76265 $as_echo_n "checking for atan2l declaration... " >&6; }
76266 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76267 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76268 $as_echo_n "(cached) " >&6
76269 else
76272 ac_ext=cpp
76273 ac_cpp='$CXXCPP $CPPFLAGS'
76274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76279 /* end confdefs.h. */
76280 #include <math.h>
76282 main ()
76284 atan2l(0, 0);
76286 return 0;
76288 _ACEOF
76289 if ac_fn_cxx_try_compile "$LINENO"; then :
76290 glibcxx_cv_func_atan2l_use=yes
76291 else
76292 glibcxx_cv_func_atan2l_use=no
76294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76295 ac_ext=c
76296 ac_cpp='$CPP $CPPFLAGS'
76297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76306 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76308 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76309 for ac_func in atan2l
76310 do :
76311 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76312 if test "x$ac_cv_func_atan2l" = x""yes; then :
76313 cat >>confdefs.h <<_ACEOF
76314 #define HAVE_ATAN2L 1
76315 _ACEOF
76318 done
76320 else
76322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76323 $as_echo_n "checking for _atan2l declaration... " >&6; }
76324 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76325 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76326 $as_echo_n "(cached) " >&6
76327 else
76330 ac_ext=cpp
76331 ac_cpp='$CXXCPP $CPPFLAGS'
76332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76337 /* end confdefs.h. */
76338 #include <math.h>
76340 main ()
76342 _atan2l(0, 0);
76344 return 0;
76346 _ACEOF
76347 if ac_fn_cxx_try_compile "$LINENO"; then :
76348 glibcxx_cv_func__atan2l_use=yes
76349 else
76350 glibcxx_cv_func__atan2l_use=no
76352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76353 ac_ext=c
76354 ac_cpp='$CPP $CPPFLAGS'
76355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76364 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76367 for ac_func in _atan2l
76368 do :
76369 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76370 if test "x$ac_cv_func__atan2l" = x""yes; then :
76371 cat >>confdefs.h <<_ACEOF
76372 #define HAVE__ATAN2L 1
76373 _ACEOF
76376 done
76385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76386 $as_echo_n "checking for expl declaration... " >&6; }
76387 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76388 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76389 $as_echo_n "(cached) " >&6
76390 else
76393 ac_ext=cpp
76394 ac_cpp='$CXXCPP $CPPFLAGS'
76395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76400 /* end confdefs.h. */
76401 #include <math.h>
76402 #ifdef HAVE_IEEEFP_H
76403 #include <ieeefp.h>
76404 #endif
76407 main ()
76409 expl(0);
76411 return 0;
76413 _ACEOF
76414 if ac_fn_cxx_try_compile "$LINENO"; then :
76415 glibcxx_cv_func_expl_use=yes
76416 else
76417 glibcxx_cv_func_expl_use=no
76419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76420 ac_ext=c
76421 ac_cpp='$CPP $CPPFLAGS'
76422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76431 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76433 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76434 for ac_func in expl
76435 do :
76436 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76437 if test "x$ac_cv_func_expl" = x""yes; then :
76438 cat >>confdefs.h <<_ACEOF
76439 #define HAVE_EXPL 1
76440 _ACEOF
76443 done
76445 else
76447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76448 $as_echo_n "checking for _expl declaration... " >&6; }
76449 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76450 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76451 $as_echo_n "(cached) " >&6
76452 else
76455 ac_ext=cpp
76456 ac_cpp='$CXXCPP $CPPFLAGS'
76457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76462 /* end confdefs.h. */
76463 #include <math.h>
76464 #ifdef HAVE_IEEEFP_H
76465 #include <ieeefp.h>
76466 #endif
76469 main ()
76471 _expl(0);
76473 return 0;
76475 _ACEOF
76476 if ac_fn_cxx_try_compile "$LINENO"; then :
76477 glibcxx_cv_func__expl_use=yes
76478 else
76479 glibcxx_cv_func__expl_use=no
76481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76482 ac_ext=c
76483 ac_cpp='$CPP $CPPFLAGS'
76484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76493 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76495 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76496 for ac_func in _expl
76497 do :
76498 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76499 if test "x$ac_cv_func__expl" = x""yes; then :
76500 cat >>confdefs.h <<_ACEOF
76501 #define HAVE__EXPL 1
76502 _ACEOF
76505 done
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76515 $as_echo_n "checking for fabsl declaration... " >&6; }
76516 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76517 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76518 $as_echo_n "(cached) " >&6
76519 else
76522 ac_ext=cpp
76523 ac_cpp='$CXXCPP $CPPFLAGS'
76524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76529 /* end confdefs.h. */
76530 #include <math.h>
76531 #ifdef HAVE_IEEEFP_H
76532 #include <ieeefp.h>
76533 #endif
76536 main ()
76538 fabsl(0);
76540 return 0;
76542 _ACEOF
76543 if ac_fn_cxx_try_compile "$LINENO"; then :
76544 glibcxx_cv_func_fabsl_use=yes
76545 else
76546 glibcxx_cv_func_fabsl_use=no
76548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76549 ac_ext=c
76550 ac_cpp='$CPP $CPPFLAGS'
76551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76560 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76562 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76563 for ac_func in fabsl
76564 do :
76565 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76566 if test "x$ac_cv_func_fabsl" = x""yes; then :
76567 cat >>confdefs.h <<_ACEOF
76568 #define HAVE_FABSL 1
76569 _ACEOF
76572 done
76574 else
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76577 $as_echo_n "checking for _fabsl declaration... " >&6; }
76578 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76579 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76580 $as_echo_n "(cached) " >&6
76581 else
76584 ac_ext=cpp
76585 ac_cpp='$CXXCPP $CPPFLAGS'
76586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76591 /* end confdefs.h. */
76592 #include <math.h>
76593 #ifdef HAVE_IEEEFP_H
76594 #include <ieeefp.h>
76595 #endif
76598 main ()
76600 _fabsl(0);
76602 return 0;
76604 _ACEOF
76605 if ac_fn_cxx_try_compile "$LINENO"; then :
76606 glibcxx_cv_func__fabsl_use=yes
76607 else
76608 glibcxx_cv_func__fabsl_use=no
76610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76611 ac_ext=c
76612 ac_cpp='$CPP $CPPFLAGS'
76613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76622 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76624 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76625 for ac_func in _fabsl
76626 do :
76627 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76628 if test "x$ac_cv_func__fabsl" = x""yes; then :
76629 cat >>confdefs.h <<_ACEOF
76630 #define HAVE__FABSL 1
76631 _ACEOF
76634 done
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76644 $as_echo_n "checking for fmodl declaration... " >&6; }
76645 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76646 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76647 $as_echo_n "(cached) " >&6
76648 else
76651 ac_ext=cpp
76652 ac_cpp='$CXXCPP $CPPFLAGS'
76653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76658 /* end confdefs.h. */
76659 #include <math.h>
76661 main ()
76663 fmodl(0, 0);
76665 return 0;
76667 _ACEOF
76668 if ac_fn_cxx_try_compile "$LINENO"; then :
76669 glibcxx_cv_func_fmodl_use=yes
76670 else
76671 glibcxx_cv_func_fmodl_use=no
76673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76674 ac_ext=c
76675 ac_cpp='$CPP $CPPFLAGS'
76676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76685 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76687 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76688 for ac_func in fmodl
76689 do :
76690 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76691 if test "x$ac_cv_func_fmodl" = x""yes; then :
76692 cat >>confdefs.h <<_ACEOF
76693 #define HAVE_FMODL 1
76694 _ACEOF
76697 done
76699 else
76701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76702 $as_echo_n "checking for _fmodl declaration... " >&6; }
76703 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76704 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76705 $as_echo_n "(cached) " >&6
76706 else
76709 ac_ext=cpp
76710 ac_cpp='$CXXCPP $CPPFLAGS'
76711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76716 /* end confdefs.h. */
76717 #include <math.h>
76719 main ()
76721 _fmodl(0, 0);
76723 return 0;
76725 _ACEOF
76726 if ac_fn_cxx_try_compile "$LINENO"; then :
76727 glibcxx_cv_func__fmodl_use=yes
76728 else
76729 glibcxx_cv_func__fmodl_use=no
76731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76732 ac_ext=c
76733 ac_cpp='$CPP $CPPFLAGS'
76734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76743 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76745 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76746 for ac_func in _fmodl
76747 do :
76748 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76749 if test "x$ac_cv_func__fmodl" = x""yes; then :
76750 cat >>confdefs.h <<_ACEOF
76751 #define HAVE__FMODL 1
76752 _ACEOF
76755 done
76764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76765 $as_echo_n "checking for frexpl declaration... " >&6; }
76766 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76767 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76768 $as_echo_n "(cached) " >&6
76769 else
76772 ac_ext=cpp
76773 ac_cpp='$CXXCPP $CPPFLAGS'
76774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76779 /* end confdefs.h. */
76780 #include <math.h>
76782 main ()
76784 frexpl(0, 0);
76786 return 0;
76788 _ACEOF
76789 if ac_fn_cxx_try_compile "$LINENO"; then :
76790 glibcxx_cv_func_frexpl_use=yes
76791 else
76792 glibcxx_cv_func_frexpl_use=no
76794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76795 ac_ext=c
76796 ac_cpp='$CPP $CPPFLAGS'
76797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76806 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76808 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76809 for ac_func in frexpl
76810 do :
76811 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76812 if test "x$ac_cv_func_frexpl" = x""yes; then :
76813 cat >>confdefs.h <<_ACEOF
76814 #define HAVE_FREXPL 1
76815 _ACEOF
76818 done
76820 else
76822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76823 $as_echo_n "checking for _frexpl declaration... " >&6; }
76824 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76825 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76826 $as_echo_n "(cached) " >&6
76827 else
76830 ac_ext=cpp
76831 ac_cpp='$CXXCPP $CPPFLAGS'
76832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76837 /* end confdefs.h. */
76838 #include <math.h>
76840 main ()
76842 _frexpl(0, 0);
76844 return 0;
76846 _ACEOF
76847 if ac_fn_cxx_try_compile "$LINENO"; then :
76848 glibcxx_cv_func__frexpl_use=yes
76849 else
76850 glibcxx_cv_func__frexpl_use=no
76852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76853 ac_ext=c
76854 ac_cpp='$CPP $CPPFLAGS'
76855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76864 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76866 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76867 for ac_func in _frexpl
76868 do :
76869 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76870 if test "x$ac_cv_func__frexpl" = x""yes; then :
76871 cat >>confdefs.h <<_ACEOF
76872 #define HAVE__FREXPL 1
76873 _ACEOF
76876 done
76885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76886 $as_echo_n "checking for hypotl declaration... " >&6; }
76887 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76888 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76889 $as_echo_n "(cached) " >&6
76890 else
76893 ac_ext=cpp
76894 ac_cpp='$CXXCPP $CPPFLAGS'
76895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76900 /* end confdefs.h. */
76901 #include <math.h>
76903 main ()
76905 hypotl(0, 0);
76907 return 0;
76909 _ACEOF
76910 if ac_fn_cxx_try_compile "$LINENO"; then :
76911 glibcxx_cv_func_hypotl_use=yes
76912 else
76913 glibcxx_cv_func_hypotl_use=no
76915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76916 ac_ext=c
76917 ac_cpp='$CPP $CPPFLAGS'
76918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76927 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76929 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76930 for ac_func in hypotl
76931 do :
76932 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76933 if test "x$ac_cv_func_hypotl" = x""yes; then :
76934 cat >>confdefs.h <<_ACEOF
76935 #define HAVE_HYPOTL 1
76936 _ACEOF
76939 done
76941 else
76943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76944 $as_echo_n "checking for _hypotl declaration... " >&6; }
76945 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76946 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76947 $as_echo_n "(cached) " >&6
76948 else
76951 ac_ext=cpp
76952 ac_cpp='$CXXCPP $CPPFLAGS'
76953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76958 /* end confdefs.h. */
76959 #include <math.h>
76961 main ()
76963 _hypotl(0, 0);
76965 return 0;
76967 _ACEOF
76968 if ac_fn_cxx_try_compile "$LINENO"; then :
76969 glibcxx_cv_func__hypotl_use=yes
76970 else
76971 glibcxx_cv_func__hypotl_use=no
76973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76974 ac_ext=c
76975 ac_cpp='$CPP $CPPFLAGS'
76976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76985 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76987 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76988 for ac_func in _hypotl
76989 do :
76990 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76991 if test "x$ac_cv_func__hypotl" = x""yes; then :
76992 cat >>confdefs.h <<_ACEOF
76993 #define HAVE__HYPOTL 1
76994 _ACEOF
76997 done
77006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77007 $as_echo_n "checking for ldexpl declaration... " >&6; }
77008 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77009 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77010 $as_echo_n "(cached) " >&6
77011 else
77014 ac_ext=cpp
77015 ac_cpp='$CXXCPP $CPPFLAGS'
77016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77021 /* end confdefs.h. */
77022 #include <math.h>
77024 main ()
77026 ldexpl(0, 0);
77028 return 0;
77030 _ACEOF
77031 if ac_fn_cxx_try_compile "$LINENO"; then :
77032 glibcxx_cv_func_ldexpl_use=yes
77033 else
77034 glibcxx_cv_func_ldexpl_use=no
77036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77037 ac_ext=c
77038 ac_cpp='$CPP $CPPFLAGS'
77039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77048 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77050 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77051 for ac_func in ldexpl
77052 do :
77053 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77054 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77055 cat >>confdefs.h <<_ACEOF
77056 #define HAVE_LDEXPL 1
77057 _ACEOF
77060 done
77062 else
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77065 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77066 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77067 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77068 $as_echo_n "(cached) " >&6
77069 else
77072 ac_ext=cpp
77073 ac_cpp='$CXXCPP $CPPFLAGS'
77074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77079 /* end confdefs.h. */
77080 #include <math.h>
77082 main ()
77084 _ldexpl(0, 0);
77086 return 0;
77088 _ACEOF
77089 if ac_fn_cxx_try_compile "$LINENO"; then :
77090 glibcxx_cv_func__ldexpl_use=yes
77091 else
77092 glibcxx_cv_func__ldexpl_use=no
77094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77095 ac_ext=c
77096 ac_cpp='$CPP $CPPFLAGS'
77097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77106 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77108 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77109 for ac_func in _ldexpl
77110 do :
77111 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77112 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77113 cat >>confdefs.h <<_ACEOF
77114 #define HAVE__LDEXPL 1
77115 _ACEOF
77118 done
77127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77128 $as_echo_n "checking for logl declaration... " >&6; }
77129 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77130 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77131 $as_echo_n "(cached) " >&6
77132 else
77135 ac_ext=cpp
77136 ac_cpp='$CXXCPP $CPPFLAGS'
77137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77142 /* end confdefs.h. */
77143 #include <math.h>
77144 #ifdef HAVE_IEEEFP_H
77145 #include <ieeefp.h>
77146 #endif
77149 main ()
77151 logl(0);
77153 return 0;
77155 _ACEOF
77156 if ac_fn_cxx_try_compile "$LINENO"; then :
77157 glibcxx_cv_func_logl_use=yes
77158 else
77159 glibcxx_cv_func_logl_use=no
77161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77162 ac_ext=c
77163 ac_cpp='$CPP $CPPFLAGS'
77164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77173 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77175 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77176 for ac_func in logl
77177 do :
77178 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77179 if test "x$ac_cv_func_logl" = x""yes; then :
77180 cat >>confdefs.h <<_ACEOF
77181 #define HAVE_LOGL 1
77182 _ACEOF
77185 done
77187 else
77189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77190 $as_echo_n "checking for _logl declaration... " >&6; }
77191 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77192 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77193 $as_echo_n "(cached) " >&6
77194 else
77197 ac_ext=cpp
77198 ac_cpp='$CXXCPP $CPPFLAGS'
77199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77204 /* end confdefs.h. */
77205 #include <math.h>
77206 #ifdef HAVE_IEEEFP_H
77207 #include <ieeefp.h>
77208 #endif
77211 main ()
77213 _logl(0);
77215 return 0;
77217 _ACEOF
77218 if ac_fn_cxx_try_compile "$LINENO"; then :
77219 glibcxx_cv_func__logl_use=yes
77220 else
77221 glibcxx_cv_func__logl_use=no
77223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77224 ac_ext=c
77225 ac_cpp='$CPP $CPPFLAGS'
77226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77235 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77237 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77238 for ac_func in _logl
77239 do :
77240 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77241 if test "x$ac_cv_func__logl" = x""yes; then :
77242 cat >>confdefs.h <<_ACEOF
77243 #define HAVE__LOGL 1
77244 _ACEOF
77247 done
77256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77257 $as_echo_n "checking for log10l declaration... " >&6; }
77258 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77259 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77260 $as_echo_n "(cached) " >&6
77261 else
77264 ac_ext=cpp
77265 ac_cpp='$CXXCPP $CPPFLAGS'
77266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77271 /* end confdefs.h. */
77272 #include <math.h>
77273 #ifdef HAVE_IEEEFP_H
77274 #include <ieeefp.h>
77275 #endif
77278 main ()
77280 log10l(0);
77282 return 0;
77284 _ACEOF
77285 if ac_fn_cxx_try_compile "$LINENO"; then :
77286 glibcxx_cv_func_log10l_use=yes
77287 else
77288 glibcxx_cv_func_log10l_use=no
77290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77291 ac_ext=c
77292 ac_cpp='$CPP $CPPFLAGS'
77293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77302 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77304 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77305 for ac_func in log10l
77306 do :
77307 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77308 if test "x$ac_cv_func_log10l" = x""yes; then :
77309 cat >>confdefs.h <<_ACEOF
77310 #define HAVE_LOG10L 1
77311 _ACEOF
77314 done
77316 else
77318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77319 $as_echo_n "checking for _log10l declaration... " >&6; }
77320 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77321 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77322 $as_echo_n "(cached) " >&6
77323 else
77326 ac_ext=cpp
77327 ac_cpp='$CXXCPP $CPPFLAGS'
77328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77333 /* end confdefs.h. */
77334 #include <math.h>
77335 #ifdef HAVE_IEEEFP_H
77336 #include <ieeefp.h>
77337 #endif
77340 main ()
77342 _log10l(0);
77344 return 0;
77346 _ACEOF
77347 if ac_fn_cxx_try_compile "$LINENO"; then :
77348 glibcxx_cv_func__log10l_use=yes
77349 else
77350 glibcxx_cv_func__log10l_use=no
77352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77353 ac_ext=c
77354 ac_cpp='$CPP $CPPFLAGS'
77355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77364 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77366 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77367 for ac_func in _log10l
77368 do :
77369 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77370 if test "x$ac_cv_func__log10l" = x""yes; then :
77371 cat >>confdefs.h <<_ACEOF
77372 #define HAVE__LOG10L 1
77373 _ACEOF
77376 done
77385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77386 $as_echo_n "checking for modfl declaration... " >&6; }
77387 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77388 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77389 $as_echo_n "(cached) " >&6
77390 else
77393 ac_ext=cpp
77394 ac_cpp='$CXXCPP $CPPFLAGS'
77395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77400 /* end confdefs.h. */
77401 #include <math.h>
77403 main ()
77405 modfl(0, 0);
77407 return 0;
77409 _ACEOF
77410 if ac_fn_cxx_try_compile "$LINENO"; then :
77411 glibcxx_cv_func_modfl_use=yes
77412 else
77413 glibcxx_cv_func_modfl_use=no
77415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77416 ac_ext=c
77417 ac_cpp='$CPP $CPPFLAGS'
77418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77427 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77429 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77430 for ac_func in modfl
77431 do :
77432 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77433 if test "x$ac_cv_func_modfl" = x""yes; then :
77434 cat >>confdefs.h <<_ACEOF
77435 #define HAVE_MODFL 1
77436 _ACEOF
77439 done
77441 else
77443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77444 $as_echo_n "checking for _modfl declaration... " >&6; }
77445 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77446 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77447 $as_echo_n "(cached) " >&6
77448 else
77451 ac_ext=cpp
77452 ac_cpp='$CXXCPP $CPPFLAGS'
77453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77458 /* end confdefs.h. */
77459 #include <math.h>
77461 main ()
77463 _modfl(0, 0);
77465 return 0;
77467 _ACEOF
77468 if ac_fn_cxx_try_compile "$LINENO"; then :
77469 glibcxx_cv_func__modfl_use=yes
77470 else
77471 glibcxx_cv_func__modfl_use=no
77473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77474 ac_ext=c
77475 ac_cpp='$CPP $CPPFLAGS'
77476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77485 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77487 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77488 for ac_func in _modfl
77489 do :
77490 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77491 if test "x$ac_cv_func__modfl" = x""yes; then :
77492 cat >>confdefs.h <<_ACEOF
77493 #define HAVE__MODFL 1
77494 _ACEOF
77497 done
77506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77507 $as_echo_n "checking for powl declaration... " >&6; }
77508 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77509 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77510 $as_echo_n "(cached) " >&6
77511 else
77514 ac_ext=cpp
77515 ac_cpp='$CXXCPP $CPPFLAGS'
77516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77521 /* end confdefs.h. */
77522 #include <math.h>
77524 main ()
77526 powl(0, 0);
77528 return 0;
77530 _ACEOF
77531 if ac_fn_cxx_try_compile "$LINENO"; then :
77532 glibcxx_cv_func_powl_use=yes
77533 else
77534 glibcxx_cv_func_powl_use=no
77536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77537 ac_ext=c
77538 ac_cpp='$CPP $CPPFLAGS'
77539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77548 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77550 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77551 for ac_func in powl
77552 do :
77553 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77554 if test "x$ac_cv_func_powl" = x""yes; then :
77555 cat >>confdefs.h <<_ACEOF
77556 #define HAVE_POWL 1
77557 _ACEOF
77560 done
77562 else
77564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77565 $as_echo_n "checking for _powl declaration... " >&6; }
77566 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77567 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77568 $as_echo_n "(cached) " >&6
77569 else
77572 ac_ext=cpp
77573 ac_cpp='$CXXCPP $CPPFLAGS'
77574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77579 /* end confdefs.h. */
77580 #include <math.h>
77582 main ()
77584 _powl(0, 0);
77586 return 0;
77588 _ACEOF
77589 if ac_fn_cxx_try_compile "$LINENO"; then :
77590 glibcxx_cv_func__powl_use=yes
77591 else
77592 glibcxx_cv_func__powl_use=no
77594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77595 ac_ext=c
77596 ac_cpp='$CPP $CPPFLAGS'
77597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77606 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77608 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77609 for ac_func in _powl
77610 do :
77611 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77612 if test "x$ac_cv_func__powl" = x""yes; then :
77613 cat >>confdefs.h <<_ACEOF
77614 #define HAVE__POWL 1
77615 _ACEOF
77618 done
77627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77628 $as_echo_n "checking for sqrtl declaration... " >&6; }
77629 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77630 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77631 $as_echo_n "(cached) " >&6
77632 else
77635 ac_ext=cpp
77636 ac_cpp='$CXXCPP $CPPFLAGS'
77637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77642 /* end confdefs.h. */
77643 #include <math.h>
77644 #ifdef HAVE_IEEEFP_H
77645 #include <ieeefp.h>
77646 #endif
77649 main ()
77651 sqrtl(0);
77653 return 0;
77655 _ACEOF
77656 if ac_fn_cxx_try_compile "$LINENO"; then :
77657 glibcxx_cv_func_sqrtl_use=yes
77658 else
77659 glibcxx_cv_func_sqrtl_use=no
77661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77662 ac_ext=c
77663 ac_cpp='$CPP $CPPFLAGS'
77664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77673 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77675 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77676 for ac_func in sqrtl
77677 do :
77678 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77679 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77680 cat >>confdefs.h <<_ACEOF
77681 #define HAVE_SQRTL 1
77682 _ACEOF
77685 done
77687 else
77689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77690 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77691 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77692 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77693 $as_echo_n "(cached) " >&6
77694 else
77697 ac_ext=cpp
77698 ac_cpp='$CXXCPP $CPPFLAGS'
77699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77704 /* end confdefs.h. */
77705 #include <math.h>
77706 #ifdef HAVE_IEEEFP_H
77707 #include <ieeefp.h>
77708 #endif
77711 main ()
77713 _sqrtl(0);
77715 return 0;
77717 _ACEOF
77718 if ac_fn_cxx_try_compile "$LINENO"; then :
77719 glibcxx_cv_func__sqrtl_use=yes
77720 else
77721 glibcxx_cv_func__sqrtl_use=no
77723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77724 ac_ext=c
77725 ac_cpp='$CPP $CPPFLAGS'
77726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77735 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77737 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77738 for ac_func in _sqrtl
77739 do :
77740 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77741 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77742 cat >>confdefs.h <<_ACEOF
77743 #define HAVE__SQRTL 1
77744 _ACEOF
77747 done
77756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77757 $as_echo_n "checking for sincosl declaration... " >&6; }
77758 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77759 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77760 $as_echo_n "(cached) " >&6
77761 else
77764 ac_ext=cpp
77765 ac_cpp='$CXXCPP $CPPFLAGS'
77766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77771 /* end confdefs.h. */
77772 #include <math.h>
77774 main ()
77776 sincosl(0, 0, 0);
77778 return 0;
77780 _ACEOF
77781 if ac_fn_cxx_try_compile "$LINENO"; then :
77782 glibcxx_cv_func_sincosl_use=yes
77783 else
77784 glibcxx_cv_func_sincosl_use=no
77786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77787 ac_ext=c
77788 ac_cpp='$CPP $CPPFLAGS'
77789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77798 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77800 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77801 for ac_func in sincosl
77802 do :
77803 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77804 if test "x$ac_cv_func_sincosl" = x""yes; then :
77805 cat >>confdefs.h <<_ACEOF
77806 #define HAVE_SINCOSL 1
77807 _ACEOF
77810 done
77812 else
77814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77815 $as_echo_n "checking for _sincosl declaration... " >&6; }
77816 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77817 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77818 $as_echo_n "(cached) " >&6
77819 else
77822 ac_ext=cpp
77823 ac_cpp='$CXXCPP $CPPFLAGS'
77824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77829 /* end confdefs.h. */
77830 #include <math.h>
77832 main ()
77834 _sincosl(0, 0, 0);
77836 return 0;
77838 _ACEOF
77839 if ac_fn_cxx_try_compile "$LINENO"; then :
77840 glibcxx_cv_func__sincosl_use=yes
77841 else
77842 glibcxx_cv_func__sincosl_use=no
77844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77845 ac_ext=c
77846 ac_cpp='$CPP $CPPFLAGS'
77847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77856 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77858 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77859 for ac_func in _sincosl
77860 do :
77861 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77862 if test "x$ac_cv_func__sincosl" = x""yes; then :
77863 cat >>confdefs.h <<_ACEOF
77864 #define HAVE__SINCOSL 1
77865 _ACEOF
77868 done
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77878 $as_echo_n "checking for finitel declaration... " >&6; }
77879 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77880 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77881 $as_echo_n "(cached) " >&6
77882 else
77885 ac_ext=cpp
77886 ac_cpp='$CXXCPP $CPPFLAGS'
77887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77892 /* end confdefs.h. */
77893 #include <math.h>
77894 #ifdef HAVE_IEEEFP_H
77895 #include <ieeefp.h>
77896 #endif
77899 main ()
77901 finitel(0);
77903 return 0;
77905 _ACEOF
77906 if ac_fn_cxx_try_compile "$LINENO"; then :
77907 glibcxx_cv_func_finitel_use=yes
77908 else
77909 glibcxx_cv_func_finitel_use=no
77911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77912 ac_ext=c
77913 ac_cpp='$CPP $CPPFLAGS'
77914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77923 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77925 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77926 for ac_func in finitel
77927 do :
77928 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77929 if test "x$ac_cv_func_finitel" = x""yes; then :
77930 cat >>confdefs.h <<_ACEOF
77931 #define HAVE_FINITEL 1
77932 _ACEOF
77935 done
77937 else
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77940 $as_echo_n "checking for _finitel declaration... " >&6; }
77941 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77942 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77943 $as_echo_n "(cached) " >&6
77944 else
77947 ac_ext=cpp
77948 ac_cpp='$CXXCPP $CPPFLAGS'
77949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77954 /* end confdefs.h. */
77955 #include <math.h>
77956 #ifdef HAVE_IEEEFP_H
77957 #include <ieeefp.h>
77958 #endif
77961 main ()
77963 _finitel(0);
77965 return 0;
77967 _ACEOF
77968 if ac_fn_cxx_try_compile "$LINENO"; then :
77969 glibcxx_cv_func__finitel_use=yes
77970 else
77971 glibcxx_cv_func__finitel_use=no
77973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77974 ac_ext=c
77975 ac_cpp='$CPP $CPPFLAGS'
77976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77985 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77987 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77988 for ac_func in _finitel
77989 do :
77990 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77991 if test "x$ac_cv_func__finitel" = x""yes; then :
77992 cat >>confdefs.h <<_ACEOF
77993 #define HAVE__FINITEL 1
77994 _ACEOF
77997 done
78005 LIBS="$ac_save_LIBS"
78006 CXXFLAGS="$ac_save_CXXFLAGS"
78009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78010 ac_save_CXXFLAGS="$CXXFLAGS"
78011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78015 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78016 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78017 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78018 $as_echo_n "(cached) " >&6
78019 else
78022 ac_ext=cpp
78023 ac_cpp='$CXXCPP $CPPFLAGS'
78024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78029 /* end confdefs.h. */
78030 #include <stdlib.h>
78032 main ()
78034 at_quick_exit(0);
78036 return 0;
78038 _ACEOF
78039 if ac_fn_cxx_try_compile "$LINENO"; then :
78040 glibcxx_cv_func_at_quick_exit_use=yes
78041 else
78042 glibcxx_cv_func_at_quick_exit_use=no
78044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78045 ac_ext=c
78046 ac_cpp='$CPP $CPPFLAGS'
78047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78056 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78057 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78058 for ac_func in at_quick_exit
78059 do :
78060 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78061 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78062 cat >>confdefs.h <<_ACEOF
78063 #define HAVE_AT_QUICK_EXIT 1
78064 _ACEOF
78067 done
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78073 $as_echo_n "checking for quick_exit declaration... " >&6; }
78074 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78075 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78076 $as_echo_n "(cached) " >&6
78077 else
78080 ac_ext=cpp
78081 ac_cpp='$CXXCPP $CPPFLAGS'
78082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78087 /* end confdefs.h. */
78088 #include <stdlib.h>
78090 main ()
78092 quick_exit(0);
78094 return 0;
78096 _ACEOF
78097 if ac_fn_cxx_try_compile "$LINENO"; then :
78098 glibcxx_cv_func_quick_exit_use=yes
78099 else
78100 glibcxx_cv_func_quick_exit_use=no
78102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78103 ac_ext=c
78104 ac_cpp='$CPP $CPPFLAGS'
78105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78114 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78115 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78116 for ac_func in quick_exit
78117 do :
78118 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78119 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78120 cat >>confdefs.h <<_ACEOF
78121 #define HAVE_QUICK_EXIT 1
78122 _ACEOF
78125 done
78130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78131 $as_echo_n "checking for strtold declaration... " >&6; }
78132 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78133 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78134 $as_echo_n "(cached) " >&6
78135 else
78138 ac_ext=cpp
78139 ac_cpp='$CXXCPP $CPPFLAGS'
78140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78145 /* end confdefs.h. */
78146 #include <stdlib.h>
78148 main ()
78150 strtold(0, 0);
78152 return 0;
78154 _ACEOF
78155 if ac_fn_cxx_try_compile "$LINENO"; then :
78156 glibcxx_cv_func_strtold_use=yes
78157 else
78158 glibcxx_cv_func_strtold_use=no
78160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78161 ac_ext=c
78162 ac_cpp='$CPP $CPPFLAGS'
78163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78172 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78173 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78174 for ac_func in strtold
78175 do :
78176 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78177 if test "x$ac_cv_func_strtold" = x""yes; then :
78178 cat >>confdefs.h <<_ACEOF
78179 #define HAVE_STRTOLD 1
78180 _ACEOF
78183 done
78190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78191 $as_echo_n "checking for strtof declaration... " >&6; }
78192 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78193 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78194 $as_echo_n "(cached) " >&6
78195 else
78198 ac_ext=cpp
78199 ac_cpp='$CXXCPP $CPPFLAGS'
78200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78205 /* end confdefs.h. */
78206 #include <stdlib.h>
78208 main ()
78210 strtof(0, 0);
78212 return 0;
78214 _ACEOF
78215 if ac_fn_cxx_try_compile "$LINENO"; then :
78216 glibcxx_cv_func_strtof_use=yes
78217 else
78218 glibcxx_cv_func_strtof_use=no
78220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78221 ac_ext=c
78222 ac_cpp='$CPP $CPPFLAGS'
78223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78232 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78233 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78234 for ac_func in strtof
78235 do :
78236 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78237 if test "x$ac_cv_func_strtof" = x""yes; then :
78238 cat >>confdefs.h <<_ACEOF
78239 #define HAVE_STRTOF 1
78240 _ACEOF
78243 done
78250 CXXFLAGS="$ac_save_CXXFLAGS"
78253 *-vxworks)
78254 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78256 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78258 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78260 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78262 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78264 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78266 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78268 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78270 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78272 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78274 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78276 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78278 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78280 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78282 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78284 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78286 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78288 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78290 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78292 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78296 as_fn_error "No support for this host/target combination." "$LINENO" 5
78298 esac
78302 # At some point, we should differentiate between architectures
78303 # like x86, which have long double versions, and alpha/powerpc/etc.,
78304 # which don't. For the time being, punt.
78305 if test x"long_double_math_on_this_cpu" = x"yes"; then
78306 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78308 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78310 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78312 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78314 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78316 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78318 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78320 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78322 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78324 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78326 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78328 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78330 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78332 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78334 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78336 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78338 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78340 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78342 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78344 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78346 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78348 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78350 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78355 # Check for _Unwind_GetIPInfo.
78358 # Check whether --with-system-libunwind was given.
78359 if test "${with_system_libunwind+set}" = set; then :
78360 withval=$with_system_libunwind;
78363 # If system-libunwind was not specifically set, pick a default setting.
78364 if test x$with_system_libunwind = x; then
78365 case ${target} in
78366 ia64-*-hpux*) with_system_libunwind=yes ;;
78367 *) with_system_libunwind=no ;;
78368 esac
78370 # Based on system-libunwind and target, do we have ipinfo?
78371 if test x$with_system_libunwind = xyes; then
78372 case ${target} in
78373 ia64-*-*) have_unwind_getipinfo=no ;;
78374 *) have_unwind_getipinfo=yes ;;
78375 esac
78376 else
78377 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78379 case ${target} in
78380 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78381 *) have_unwind_getipinfo=yes ;;
78382 esac
78386 if test x$have_unwind_getipinfo = xyes; then
78388 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78393 # Check whether --enable-linux-futex was given.
78394 if test "${enable_linux_futex+set}" = set; then :
78395 enableval=$enable_linux_futex;
78396 case "$enableval" in
78397 yes|no|default) ;;
78398 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78399 esac
78401 else
78402 enable_linux_futex=default
78406 case "$target" in
78407 *-linux*)
78408 case "$enable_linux_futex" in
78409 default)
78410 # If headers don't have gettid/futex syscalls definition, then
78411 # default to no, otherwise there will be compile time failures.
78412 # Otherwise, default to yes. If we don't detect we are
78413 # compiled/linked against NPTL and not cross-compiling, check
78414 # if programs are run by default against NPTL and if not, issue
78415 # a warning.
78416 enable_linux_futex=no
78417 if test x$gcc_no_link = xyes; then
78418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78421 /* end confdefs.h. */
78422 #include <sys/syscall.h>
78423 int lk;
78425 main ()
78427 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78429 return 0;
78431 _ACEOF
78432 if ac_fn_c_try_link "$LINENO"; then :
78433 save_LIBS="$LIBS"
78434 LIBS="-lpthread $LIBS"
78435 if test x$gcc_no_link = xyes; then
78436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78439 /* end confdefs.h. */
78440 #ifndef _GNU_SOURCE
78441 #define _GNU_SOURCE 1
78442 #endif
78443 #include <pthread.h>
78444 pthread_t th; void *status;
78446 main ()
78448 pthread_tryjoin_np (th, &status);
78450 return 0;
78452 _ACEOF
78453 if ac_fn_c_try_link "$LINENO"; then :
78454 enable_linux_futex=yes
78455 else
78456 if test x$cross_compiling = xno; then
78457 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78458 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78460 If so, please configure with --disable-linux-futex" >&5
78461 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78462 If so, please configure with --disable-linux-futex" >&2;}
78465 enable_linux_futex=yes
78467 rm -f core conftest.err conftest.$ac_objext \
78468 conftest$ac_exeext conftest.$ac_ext
78469 LIBS="$save_LIBS"
78471 rm -f core conftest.err conftest.$ac_objext \
78472 conftest$ac_exeext conftest.$ac_ext
78474 yes)
78475 if test x$gcc_no_link = xyes; then
78476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78479 /* end confdefs.h. */
78480 #include <sys/syscall.h>
78481 int lk;
78483 main ()
78485 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78487 return 0;
78489 _ACEOF
78490 if ac_fn_c_try_link "$LINENO"; then :
78492 else
78493 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78495 rm -f core conftest.err conftest.$ac_objext \
78496 conftest$ac_exeext conftest.$ac_ext
78498 esac
78501 enable_linux_futex=no
78503 esac
78504 if test x$enable_linux_futex = xyes; then
78506 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78513 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78515 acx_cv_header_stdint=stddef.h
78516 acx_cv_header_stdint_kind="(already complete)"
78517 for i in stdint.h $inttype_headers; do
78518 unset ac_cv_type_uintptr_t
78519 unset ac_cv_type_uintmax_t
78520 unset ac_cv_type_int_least32_t
78521 unset ac_cv_type_int_fast32_t
78522 unset ac_cv_type_uint64_t
78523 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78524 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78525 #include <$i>
78527 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78528 acx_cv_header_stdint=$i
78529 else
78530 continue
78533 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78534 #include <$i>
78536 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78538 else
78539 acx_cv_header_stdint_kind="(mostly complete)"
78542 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78543 #include <$i>
78545 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78547 else
78548 acx_cv_header_stdint_kind="(mostly complete)"
78551 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78552 #include <$i>
78554 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78556 else
78557 acx_cv_header_stdint_kind="(mostly complete)"
78560 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78561 #include <$i>
78563 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78565 else
78566 acx_cv_header_stdint_kind="(lacks uint64_t)"
78569 break
78570 done
78571 if test "$acx_cv_header_stdint" = stddef.h; then
78572 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78573 for i in stdint.h $inttype_headers; do
78574 unset ac_cv_type_uintptr_t
78575 unset ac_cv_type_uint32_t
78576 unset ac_cv_type_uint64_t
78577 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78578 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78579 #include <$i>
78581 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78582 acx_cv_header_stdint=$i
78583 else
78584 continue
78587 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78588 #include <$i>
78590 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78594 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78595 #include <$i>
78597 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78601 break
78602 done
78604 if test "$acx_cv_header_stdint" = stddef.h; then
78605 acx_cv_header_stdint_kind="(u_intXX_t style)"
78606 for i in sys/types.h $inttype_headers; do
78607 unset ac_cv_type_u_int32_t
78608 unset ac_cv_type_u_int64_t
78609 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78610 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78611 #include <$i>
78613 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78614 acx_cv_header_stdint=$i
78615 else
78616 continue
78619 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78620 #include <$i>
78622 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78626 break
78627 done
78629 if test "$acx_cv_header_stdint" = stddef.h; then
78630 acx_cv_header_stdint_kind="(using manual detection)"
78633 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78634 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78635 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78636 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78637 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78639 # ----------------- Summarize what we found so far
78641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78642 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78644 case `$as_basename -- include/gstdint.h ||
78645 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78646 Xinclude/gstdint.h : 'X\(//\)$' \| \
78647 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78648 $as_echo X/include/gstdint.h |
78649 sed '/^.*\/\([^/][^/]*\)\/*$/{
78650 s//\1/
78653 /^X\/\(\/\/\)$/{
78654 s//\1/
78657 /^X\/\(\/\).*/{
78658 s//\1/
78661 s/.*/./; q'` in
78662 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78663 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78664 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78665 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78666 *) ;;
78667 esac
78669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78670 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78672 # ----------------- done included file, check C basic types --------
78674 # Lacking an uintptr_t? Test size of void *
78675 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78676 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78679 # This bug is HP SR number 8606223364.
78680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78681 $as_echo_n "checking size of void *... " >&6; }
78682 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78683 $as_echo_n "(cached) " >&6
78684 else
78685 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78687 else
78688 if test "$ac_cv_type_void_p" = yes; then
78689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78691 { as_fn_set_status 77
78692 as_fn_error "cannot compute sizeof (void *)
78693 See \`config.log' for more details." "$LINENO" 5; }; }
78694 else
78695 ac_cv_sizeof_void_p=0
78700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78701 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78705 cat >>confdefs.h <<_ACEOF
78706 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78707 _ACEOF
78710 esac
78712 # Lacking an uint64_t? Test size of long
78713 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78714 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78717 # This bug is HP SR number 8606223364.
78718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78719 $as_echo_n "checking size of long... " >&6; }
78720 if test "${ac_cv_sizeof_long+set}" = set; then :
78721 $as_echo_n "(cached) " >&6
78722 else
78723 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78725 else
78726 if test "$ac_cv_type_long" = yes; then
78727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78729 { as_fn_set_status 77
78730 as_fn_error "cannot compute sizeof (long)
78731 See \`config.log' for more details." "$LINENO" 5; }; }
78732 else
78733 ac_cv_sizeof_long=0
78738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78739 $as_echo "$ac_cv_sizeof_long" >&6; }
78743 cat >>confdefs.h <<_ACEOF
78744 #define SIZEOF_LONG $ac_cv_sizeof_long
78745 _ACEOF
78748 esac
78750 if test $acx_cv_header_stdint = stddef.h; then
78751 # Lacking a good header? Test size of everything and deduce all types.
78752 # The cast to long int works around a bug in the HP C Compiler
78753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78755 # This bug is HP SR number 8606223364.
78756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78757 $as_echo_n "checking size of int... " >&6; }
78758 if test "${ac_cv_sizeof_int+set}" = set; then :
78759 $as_echo_n "(cached) " >&6
78760 else
78761 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78763 else
78764 if test "$ac_cv_type_int" = yes; then
78765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78767 { as_fn_set_status 77
78768 as_fn_error "cannot compute sizeof (int)
78769 See \`config.log' for more details." "$LINENO" 5; }; }
78770 else
78771 ac_cv_sizeof_int=0
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78777 $as_echo "$ac_cv_sizeof_int" >&6; }
78781 cat >>confdefs.h <<_ACEOF
78782 #define SIZEOF_INT $ac_cv_sizeof_int
78783 _ACEOF
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 short" >&5
78791 $as_echo_n "checking size of short... " >&6; }
78792 if test "${ac_cv_sizeof_short+set}" = set; then :
78793 $as_echo_n "(cached) " >&6
78794 else
78795 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78797 else
78798 if test "$ac_cv_type_short" = 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 (short)
78803 See \`config.log' for more details." "$LINENO" 5; }; }
78804 else
78805 ac_cv_sizeof_short=0
78810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78811 $as_echo "$ac_cv_sizeof_short" >&6; }
78815 cat >>confdefs.h <<_ACEOF
78816 #define SIZEOF_SHORT $ac_cv_sizeof_short
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 char" >&5
78825 $as_echo_n "checking size of char... " >&6; }
78826 if test "${ac_cv_sizeof_char+set}" = set; then :
78827 $as_echo_n "(cached) " >&6
78828 else
78829 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78831 else
78832 if test "$ac_cv_type_char" = 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 (char)
78837 See \`config.log' for more details." "$LINENO" 5; }; }
78838 else
78839 ac_cv_sizeof_char=0
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78845 $as_echo "$ac_cv_sizeof_char" >&6; }
78849 cat >>confdefs.h <<_ACEOF
78850 #define SIZEOF_CHAR $ac_cv_sizeof_char
78851 _ACEOF
78855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78856 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78857 case "$ac_cv_sizeof_char" in
78858 1) acx_cv_type_int8_t=char ;;
78859 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78860 esac
78861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78862 $as_echo "$acx_cv_type_int8_t" >&6; }
78864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78865 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78866 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78867 2:*) acx_cv_type_int16_t=int ;;
78868 *:2) acx_cv_type_int16_t=short ;;
78869 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78870 esac
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78872 $as_echo "$acx_cv_type_int16_t" >&6; }
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78875 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78876 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78877 4:*) acx_cv_type_int32_t=int ;;
78878 *:4) acx_cv_type_int32_t=long ;;
78879 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78880 esac
78881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78882 $as_echo "$acx_cv_type_int32_t" >&6; }
78885 # These tests are here to make the output prettier
78887 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78888 case "$ac_cv_sizeof_long" in
78889 8) acx_cv_type_int64_t=long ;;
78890 esac
78891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78892 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78894 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78897 # Now we can use the above types
78899 if test "$ac_cv_type_uintptr_t" != yes; then
78900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78901 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78902 case $ac_cv_sizeof_void_p in
78903 2) acx_cv_type_intptr_t=int16_t ;;
78904 4) acx_cv_type_intptr_t=int32_t ;;
78905 8) acx_cv_type_intptr_t=int64_t ;;
78906 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78907 esac
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78909 $as_echo "$acx_cv_type_intptr_t" >&6; }
78912 # ----------------- done all checks, emit header -------------
78913 ac_config_commands="$ac_config_commands include/gstdint.h"
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78920 $as_echo_n "checking for GNU c++filt... " >&6; }
78921 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78922 $as_echo_n "(cached) " >&6
78923 else
78924 if test -z "$CXXFILT"; then
78925 ac_path_CXXFILT_found=false
78926 # Loop through the user's path and test for each of PROGNAME-LIST
78927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78928 for as_dir in $PATH
78930 IFS=$as_save_IFS
78931 test -z "$as_dir" && as_dir=.
78932 for ac_prog in c++filt gc++filt; do
78933 for ac_exec_ext in '' $ac_executable_extensions; do
78934 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78935 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78936 # Check for GNU $ac_path_CXXFILT
78937 case `"$ac_path_CXXFILT" --version 2>&1` in
78938 *GNU*)
78939 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78940 esac
78942 $ac_path_CXXFILT_found && break 3
78943 done
78944 done
78945 done
78946 IFS=$as_save_IFS
78947 if test -z "$ac_cv_path_CXXFILT"; then
78950 else
78951 ac_cv_path_CXXFILT=$CXXFILT
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78956 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78957 CXXFILT=$ac_cv_path_CXXFILT
78961 # Check whether --enable-symvers was given.
78962 if test "${enable_symvers+set}" = set; then :
78963 enableval=$enable_symvers;
78964 case "$enableval" in
78965 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78966 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78967 esac
78969 else
78970 enable_symvers=yes
78975 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78976 # don't know enough about $LD to do tricks...
78978 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78979 # with extern "C++" in version scripts.
78982 # Turn a 'yes' into a suitable default.
78983 if test x$enable_symvers = xyes ; then
78984 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78985 enable_symvers=no
78986 else
78987 if test $with_gnu_ld = yes ; then
78988 case ${target_os} in
78989 hpux*)
78990 enable_symvers=no ;;
78992 enable_symvers=gnu ;;
78993 esac
78994 else
78995 case ${target_os} in
78996 darwin*)
78997 enable_symvers=darwin ;;
78998 # Sun symbol versioning exists since Solaris 2.5.
78999 solaris2.[5-9]* | solaris2.1[0-9]*)
79000 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79001 # version scripts, so disable symbol versioning if none can be
79002 # found.
79003 if test -z "$ac_cv_path_CXXFILT"; then
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79005 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79007 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79009 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79010 enable_symvers=no
79011 else
79012 enable_symvers=sun
79016 enable_symvers=no ;;
79017 esac
79022 # Check to see if 'darwin' or 'darwin-export' can win.
79023 if test x$enable_symvers = xdarwin-export ; then
79024 enable_symvers=darwin
79027 # Check if 'sun' was requested on non-Solaris 2 platforms.
79028 if test x$enable_symvers = xsun ; then
79029 case ${target_os} in
79030 solaris2*)
79031 # All fine.
79034 # Unlikely to work.
79035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79036 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79038 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79040 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79041 enable_symvers=no
79043 esac
79046 # Check to see if 'gnu' can win.
79047 if test $enable_symvers = gnu ||
79048 test $enable_symvers = gnu-versioned-namespace ||
79049 test $enable_symvers = sun; then
79050 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79052 $as_echo_n "checking for shared libgcc... " >&6; }
79053 ac_save_CFLAGS="$CFLAGS"
79054 CFLAGS=' -lgcc_s'
79055 if test x$gcc_no_link = xyes; then
79056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79059 /* end confdefs.h. */
79062 main ()
79064 return 0;
79066 return 0;
79068 _ACEOF
79069 if ac_fn_c_try_link "$LINENO"; then :
79070 glibcxx_shared_libgcc=yes
79071 else
79072 glibcxx_shared_libgcc=no
79074 rm -f core conftest.err conftest.$ac_objext \
79075 conftest$ac_exeext conftest.$ac_ext
79076 CFLAGS="$ac_save_CFLAGS"
79077 if test $glibcxx_shared_libgcc = no; then
79078 cat > conftest.c <<EOF
79079 int main (void) { return 0; }
79081 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79082 -shared -shared-libgcc -o conftest.so \
79083 conftest.c -v 2>&1 >/dev/null \
79084 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79085 rm -f conftest.c conftest.so
79086 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79087 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79088 if test x$gcc_no_link = xyes; then
79089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79092 /* end confdefs.h. */
79095 main ()
79097 return 0;
79099 return 0;
79101 _ACEOF
79102 if ac_fn_c_try_link "$LINENO"; then :
79103 glibcxx_shared_libgcc=yes
79105 rm -f core conftest.err conftest.$ac_objext \
79106 conftest$ac_exeext conftest.$ac_ext
79107 CFLAGS="$ac_save_CFLAGS"
79110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79111 $as_echo "$glibcxx_shared_libgcc" >&6; }
79113 # For GNU ld, we need at least this version. The format is described in
79114 # GLIBCXX_CHECK_LINKER_FEATURES above.
79115 glibcxx_min_gnu_ld_version=21400
79117 # If no shared libgcc, can't win.
79118 if test $glibcxx_shared_libgcc != yes; then
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79120 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79122 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79125 enable_symvers=no
79126 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79127 : All interesting versions of Sun ld support sun style symbol versioning.
79128 elif test $with_gnu_ld != yes ; then
79129 # just fail for now
79130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79131 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79133 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79135 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79136 enable_symvers=no
79137 elif test $glibcxx_ld_is_gold = yes ; then
79138 : All versions of gold support symbol versioning.
79139 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79140 # The right tools, the right setup, but too old. Fallbacks?
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79142 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79144 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79146 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79148 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79150 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79151 enable_symvers=no
79155 # For libtool versioning info, format is CURRENT:REVISION:AGE
79156 libtool_VERSION=6:26:0
79158 # Everything parsed; figure out what files and settings to use.
79159 case $enable_symvers in
79161 SYMVER_FILE=config/abi/pre/none.ver
79163 gnu)
79164 SYMVER_FILE=config/abi/pre/gnu.ver
79166 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79169 gnu-versioned-namespace)
79170 libtool_VERSION=8:0:0
79171 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79173 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79176 darwin)
79177 SYMVER_FILE=config/abi/pre/gnu.ver
79179 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79182 sun)
79183 SYMVER_FILE=config/abi/pre/gnu.ver
79185 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79188 esac
79190 if test x$enable_symvers != xno ; then
79192 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79197 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79198 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79199 $as_echo_n "(cached) " >&6
79200 else
79202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79203 /* end confdefs.h. */
79204 void foo (void); __asm (".symver foo, bar@SYMVER");
79206 main ()
79210 return 0;
79212 _ACEOF
79213 if ac_fn_c_try_compile "$LINENO"; then :
79214 glibcxx_cv_have_as_symver_directive=yes
79215 else
79216 glibcxx_cv_have_as_symver_directive=no
79218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79221 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79222 if test $glibcxx_cv_have_as_symver_directive = yes; then
79224 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79236 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79238 if test $enable_symvers != no ; then
79239 case ${target_os} in
79240 # The Solaris 2 runtime linker doesn't support the GNU extension of
79241 # binding the same symbol to different versions
79242 solaris2*)
79244 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79247 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79250 esac
79253 # Now, set up compatibility support, if any.
79254 # In addition, need this to deal with std::size_t mangling in
79255 # src/compatibility.cc. In a perfect world, could use
79256 # typeid(std::size_t).name()[0] to do direct substitution.
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79258 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79259 ac_save_CFLAGS="$CFLAGS"
79260 CFLAGS="-Werror"
79261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79262 /* end confdefs.h. */
79265 main ()
79267 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79269 return 0;
79271 _ACEOF
79272 if ac_fn_c_try_compile "$LINENO"; then :
79273 glibcxx_size_t_is_i=yes
79274 else
79275 glibcxx_size_t_is_i=no
79277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79278 CFLAGS=$ac_save_CFLAGS
79279 if test "$glibcxx_size_t_is_i" = yes; then
79281 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79285 $as_echo "$glibcxx_size_t_is_i" >&6; }
79287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79288 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79289 ac_save_CFLAGS="$CFLAGS"
79290 CFLAGS="-Werror"
79291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79292 /* end confdefs.h. */
79295 main ()
79297 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79299 return 0;
79301 _ACEOF
79302 if ac_fn_c_try_compile "$LINENO"; then :
79303 glibcxx_ptrdiff_t_is_i=yes
79304 else
79305 glibcxx_ptrdiff_t_is_i=no
79307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79308 CFLAGS=$ac_save_CFLAGS
79309 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79311 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79315 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79320 # Check whether --enable-libstdcxx-visibility was given.
79321 if test "${enable_libstdcxx_visibility+set}" = set; then :
79322 enableval=$enable_libstdcxx_visibility;
79323 case "$enableval" in
79324 yes|no) ;;
79325 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79326 esac
79328 else
79329 enable_libstdcxx_visibility=yes
79334 if test x$enable_libstdcxx_visibility = xyes ; then
79335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79336 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79337 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79338 $as_echo_n "(cached) " >&6
79339 else
79341 save_CFLAGS="$CFLAGS"
79342 CFLAGS="$CFLAGS -Werror"
79343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79344 /* end confdefs.h. */
79345 void __attribute__((visibility("hidden"))) foo(void) { }
79347 main ()
79351 return 0;
79353 _ACEOF
79354 if ac_fn_c_try_compile "$LINENO"; then :
79355 glibcxx_cv_have_attribute_visibility=yes
79356 else
79357 glibcxx_cv_have_attribute_visibility=no
79359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79360 CFLAGS="$save_CFLAGS"
79362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79363 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79364 if test $glibcxx_cv_have_attribute_visibility = no; then
79365 enable_libstdcxx_visibility=no
79370 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79371 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79375 # Check whether --enable-libstdcxx-dual-abi was given.
79376 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79377 enableval=$enable_libstdcxx_dual_abi;
79378 case "$enableval" in
79379 yes|no) ;;
79380 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79381 esac
79383 else
79384 enable_libstdcxx_dual_abi=yes
79388 if test x$enable_symvers = xgnu-versioned-namespace; then
79389 # gnu-versioned-namespace is incompatible with the dual ABI.
79390 enable_libstdcxx_dual_abi="no"
79392 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79394 $as_echo "$as_me: dual ABI is disabled" >&6;}
79395 default_libstdcxx_abi="gcc4-compatible"
79400 if test x$enable_libstdcxx_dual_abi = xyes; then
79401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79402 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79404 # Check whether --with-default-libstdcxx-abi was given.
79405 if test "${with_default_libstdcxx_abi+set}" = set; then :
79406 withval=$with_default_libstdcxx_abi; case "$withval" in
79407 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79408 new|cxx11) default_libstdcxx_abi="new" ;;
79409 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79410 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79411 esac
79413 else
79414 default_libstdcxx_abi="new"
79417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79418 $as_echo "${default_libstdcxx_abi}" >&6; }
79420 if test $default_libstdcxx_abi = "new"; then
79421 glibcxx_cxx11_abi=1
79422 glibcxx_cxx98_abi=0
79423 else
79424 glibcxx_cxx11_abi=0
79425 glibcxx_cxx98_abi=1
79431 ac_ldbl_compat=no
79432 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79433 case "$target" in
79434 powerpc*-*-linux* | \
79435 sparc*-*-linux* | \
79436 s390*-*-linux* | \
79437 alpha*-*-linux*)
79438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79439 /* end confdefs.h. */
79442 main ()
79445 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79446 #error no need for long double compatibility
79447 #endif
79450 return 0;
79452 _ACEOF
79453 if ac_fn_c_try_compile "$LINENO"; then :
79454 ac_ldbl_compat=yes
79455 else
79456 ac_ldbl_compat=no
79458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79459 if test "$ac_ldbl_compat" = yes; then
79461 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79463 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79464 case "$target" in
79465 powerpc*-*-linux*)
79466 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79467 esac
79469 esac
79473 # Check if assembler supports disabling hardware capability support.
79475 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79477 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79478 # with a different meaning.
79479 case ${target_os} in
79480 solaris2*)
79481 ac_save_CFLAGS="$CFLAGS"
79482 CFLAGS="$CFLAGS -Wa,-nH"
79484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79485 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79487 /* end confdefs.h. */
79490 main ()
79492 return 0;
79494 return 0;
79496 _ACEOF
79497 if ac_fn_c_try_compile "$LINENO"; then :
79498 ac_hwcap_flags=yes
79499 else
79500 ac_hwcap_flags=no
79502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79503 if test "$ac_hwcap_flags" = "yes"; then
79504 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79507 $as_echo "$ac_hwcap_flags" >&6; }
79509 CFLAGS="$ac_save_CFLAGS"
79511 esac
79516 # Check if assembler supports rdrand opcode.
79518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79519 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79520 if test "${ac_cv_x86_rdrand+set}" = set; then :
79521 $as_echo_n "(cached) " >&6
79522 else
79524 ac_cv_x86_rdrand=no
79525 case "$target" in
79526 i?86-*-* | \
79527 x86_64-*-*)
79528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79529 /* end confdefs.h. */
79532 main ()
79534 asm("rdrand %eax");
79536 return 0;
79538 _ACEOF
79539 if ac_fn_c_try_compile "$LINENO"; then :
79540 ac_cv_x86_rdrand=yes
79541 else
79542 ac_cv_x86_rdrand=no
79544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79545 esac
79549 if test $ac_cv_x86_rdrand = yes; then
79551 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79555 $as_echo "$ac_cv_x86_rdrand" >&6; }
79558 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79560 # Do checks for resource limit functions.
79562 setrlimit_have_headers=yes
79563 for ac_header in unistd.h sys/time.h sys/resource.h
79564 do :
79565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79566 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79567 eval as_val=\$$as_ac_Header
79568 if test "x$as_val" = x""yes; then :
79569 cat >>confdefs.h <<_ACEOF
79570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79571 _ACEOF
79573 else
79574 setrlimit_have_headers=no
79577 done
79579 # If don't have the headers, then we can't run the tests now, and we
79580 # won't be seeing any of these during testsuite compilation.
79581 if test $setrlimit_have_headers = yes; then
79582 # Can't do these in a loop, else the resulting syntax is wrong.
79584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79585 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79587 /* end confdefs.h. */
79588 #include <unistd.h>
79589 #include <sys/time.h>
79590 #include <sys/resource.h>
79593 main ()
79595 int f = RLIMIT_DATA ;
79597 return 0;
79599 _ACEOF
79600 if ac_fn_c_try_compile "$LINENO"; then :
79601 glibcxx_mresult=1
79602 else
79603 glibcxx_mresult=0
79605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79607 cat >>confdefs.h <<_ACEOF
79608 #define HAVE_LIMIT_DATA $glibcxx_mresult
79609 _ACEOF
79611 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79613 $as_echo "$res" >&6; }
79616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79617 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79619 /* end confdefs.h. */
79620 #include <unistd.h>
79621 #include <sys/time.h>
79622 #include <sys/resource.h>
79625 main ()
79627 int f = RLIMIT_RSS ;
79629 return 0;
79631 _ACEOF
79632 if ac_fn_c_try_compile "$LINENO"; then :
79633 glibcxx_mresult=1
79634 else
79635 glibcxx_mresult=0
79637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79639 cat >>confdefs.h <<_ACEOF
79640 #define HAVE_LIMIT_RSS $glibcxx_mresult
79641 _ACEOF
79643 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79645 $as_echo "$res" >&6; }
79648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79649 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79651 /* end confdefs.h. */
79652 #include <unistd.h>
79653 #include <sys/time.h>
79654 #include <sys/resource.h>
79657 main ()
79659 int f = RLIMIT_VMEM ;
79661 return 0;
79663 _ACEOF
79664 if ac_fn_c_try_compile "$LINENO"; then :
79665 glibcxx_mresult=1
79666 else
79667 glibcxx_mresult=0
79669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79671 cat >>confdefs.h <<_ACEOF
79672 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79673 _ACEOF
79675 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79677 $as_echo "$res" >&6; }
79680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79681 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79683 /* end confdefs.h. */
79684 #include <unistd.h>
79685 #include <sys/time.h>
79686 #include <sys/resource.h>
79689 main ()
79691 int f = RLIMIT_AS ;
79693 return 0;
79695 _ACEOF
79696 if ac_fn_c_try_compile "$LINENO"; then :
79697 glibcxx_mresult=1
79698 else
79699 glibcxx_mresult=0
79701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79703 cat >>confdefs.h <<_ACEOF
79704 #define HAVE_LIMIT_AS $glibcxx_mresult
79705 _ACEOF
79707 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79709 $as_echo "$res" >&6; }
79712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79713 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79715 /* end confdefs.h. */
79716 #include <unistd.h>
79717 #include <sys/time.h>
79718 #include <sys/resource.h>
79721 main ()
79723 int f = RLIMIT_FSIZE ;
79725 return 0;
79727 _ACEOF
79728 if ac_fn_c_try_compile "$LINENO"; then :
79729 glibcxx_mresult=1
79730 else
79731 glibcxx_mresult=0
79733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79735 cat >>confdefs.h <<_ACEOF
79736 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79737 _ACEOF
79739 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79741 $as_echo "$res" >&6; }
79744 # Check for rlimit, setrlimit.
79745 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79746 $as_echo_n "(cached) " >&6
79747 else
79749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79750 /* end confdefs.h. */
79751 #include <unistd.h>
79752 #include <sys/time.h>
79753 #include <sys/resource.h>
79756 main ()
79758 struct rlimit r;
79759 setrlimit(0, &r);
79761 return 0;
79763 _ACEOF
79764 if ac_fn_c_try_compile "$LINENO"; then :
79765 glibcxx_cv_setrlimit=yes
79766 else
79767 glibcxx_cv_setrlimit=no
79769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79776 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79777 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79778 ac_res_limits=yes
79780 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79782 else
79783 ac_res_limits=no
79785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79786 $as_echo "$ac_res_limits" >&6; }
79789 if $GLIBCXX_IS_NATIVE ; then
79790 # Look for setenv, so that extended locale tests can be performed.
79792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79793 $as_echo_n "checking for setenv declaration... " >&6; }
79794 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79795 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79796 $as_echo_n "(cached) " >&6
79797 else
79800 ac_ext=cpp
79801 ac_cpp='$CXXCPP $CPPFLAGS'
79802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79807 /* end confdefs.h. */
79808 #include <stdlib.h>
79810 main ()
79812 setenv(0, 0, 0);
79814 return 0;
79816 _ACEOF
79817 if ac_fn_cxx_try_compile "$LINENO"; then :
79818 glibcxx_cv_func_setenv_use=yes
79819 else
79820 glibcxx_cv_func_setenv_use=no
79822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79823 ac_ext=c
79824 ac_cpp='$CPP $CPPFLAGS'
79825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79834 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79835 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79836 for ac_func in setenv
79837 do :
79838 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79839 if test "x$ac_cv_func_setenv" = x""yes; then :
79840 cat >>confdefs.h <<_ACEOF
79841 #define HAVE_SETENV 1
79842 _ACEOF
79845 done
79851 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79852 test $enable_symvers != no; then
79853 case "$host" in
79854 *-*-cygwin*)
79855 enable_abi_check=no ;;
79857 enable_abi_check=yes ;;
79858 esac
79859 else
79860 # Only build this as native, since automake does not understand
79861 # CXX_FOR_BUILD.
79862 enable_abi_check=no
79865 # Export file names for ABI checking.
79866 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79868 baseline_subdir_switch="$abi_baseline_subdir_switch"
79872 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79874 # Check whether --enable-libstdcxx-threads was given.
79875 if test "${enable_libstdcxx_threads+set}" = set; then :
79876 enableval=$enable_libstdcxx_threads;
79877 case "$enableval" in
79878 yes|no) ;;
79879 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79880 esac
79882 else
79883 enable_libstdcxx_threads=auto
79888 if test x$enable_libstdcxx_threads = xauto ||
79889 test x$enable_libstdcxx_threads = xyes; then
79892 ac_ext=cpp
79893 ac_cpp='$CXXCPP $CPPFLAGS'
79894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79899 ac_save_CXXFLAGS="$CXXFLAGS"
79900 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79901 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79903 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79904 case $target_thread_file in
79905 posix)
79906 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79907 esac
79909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79910 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79913 /* end confdefs.h. */
79914 #include <unistd.h>
79916 main ()
79919 // In case of POSIX threads check _POSIX_TIMEOUTS.
79920 #if (defined(_PTHREADS) \
79921 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79922 #error
79923 #endif
79926 return 0;
79928 _ACEOF
79929 if ac_fn_cxx_try_compile "$LINENO"; then :
79930 ac_gthread_use_mutex_timedlock=1
79931 else
79932 ac_gthread_use_mutex_timedlock=0
79934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79937 cat >>confdefs.h <<_ACEOF
79938 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79939 _ACEOF
79942 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79943 else res_mutex_timedlock=no ; fi
79944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79945 $as_echo "$res_mutex_timedlock" >&6; }
79947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79948 $as_echo_n "checking for gthreads library... " >&6; }
79950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79951 /* end confdefs.h. */
79952 #include "gthr.h"
79954 main ()
79957 #ifndef __GTHREADS_CXX0X
79958 #error
79959 #endif
79962 return 0;
79964 _ACEOF
79965 if ac_fn_cxx_try_compile "$LINENO"; then :
79966 ac_has_gthreads=yes
79967 else
79968 ac_has_gthreads=no
79970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79971 else
79972 ac_has_gthreads=no
79975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79976 $as_echo "$ac_has_gthreads" >&6; }
79978 if test x"$ac_has_gthreads" = x"yes"; then
79980 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79983 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79984 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79986 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79988 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79994 CXXFLAGS="$ac_save_CXXFLAGS"
79995 ac_ext=c
79996 ac_cpp='$CPP $CPPFLAGS'
79997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80003 # For Filesystem TS.
80004 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80005 do :
80006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80007 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80008 eval as_val=\$$as_ac_Header
80009 if test "x$as_val" = x""yes; then :
80010 cat >>confdefs.h <<_ACEOF
80011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80012 _ACEOF
80016 done
80019 # Check whether --enable-libstdcxx-filesystem-ts was given.
80020 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80021 enableval=$enable_libstdcxx_filesystem_ts;
80022 case "$enableval" in
80023 yes|no|auto) ;;
80024 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80025 esac
80027 else
80028 enable_libstdcxx_filesystem_ts=auto
80033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80034 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80035 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80036 enable_libstdcxx_filesystem_ts=no
80038 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80039 case "${target_os}" in
80040 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80041 enable_libstdcxx_filesystem_ts=yes
80043 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80044 enable_libstdcxx_filesystem_ts=yes
80046 rtems*)
80047 enable_libstdcxx_filesystem_ts=yes
80049 solaris*)
80050 enable_libstdcxx_filesystem_ts=yes
80053 enable_libstdcxx_filesystem_ts=no
80055 esac
80057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80058 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80061 if test $enable_libstdcxx_filesystem_ts = yes; then
80063 ac_ext=cpp
80064 ac_cpp='$CXXCPP $CPPFLAGS'
80065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80069 ac_save_CXXFLAGS="$CXXFLAGS"
80070 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80072 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80073 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80074 $as_echo_n "(cached) " >&6
80075 else
80076 if test x$gcc_no_link = xyes; then
80077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80078 /* end confdefs.h. */
80079 #include <dirent.h>
80081 main ()
80084 struct dirent d;
80085 if (sizeof d.d_type) return 0;
80088 return 0;
80090 _ACEOF
80091 if ac_fn_cxx_try_compile "$LINENO"; then :
80092 glibcxx_cv_dirent_d_type=yes
80093 else
80094 glibcxx_cv_dirent_d_type=no
80096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80097 else
80098 if test x$gcc_no_link = xyes; then
80099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80102 /* end confdefs.h. */
80103 #include <dirent.h>
80105 main ()
80108 struct dirent d;
80109 if (sizeof d.d_type) return 0;
80112 return 0;
80114 _ACEOF
80115 if ac_fn_cxx_try_link "$LINENO"; then :
80116 glibcxx_cv_dirent_d_type=yes
80117 else
80118 glibcxx_cv_dirent_d_type=no
80120 rm -f core conftest.err conftest.$ac_objext \
80121 conftest$ac_exeext conftest.$ac_ext
80126 if test $glibcxx_cv_dirent_d_type = yes; then
80128 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80132 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80134 $as_echo_n "checking for realpath... " >&6; }
80135 if test "${glibcxx_cv_realpath+set}" = set; then :
80136 $as_echo_n "(cached) " >&6
80137 else
80138 if test x$gcc_no_link = xyes; then
80139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80140 /* end confdefs.h. */
80142 #include <limits.h>
80143 #include <stdlib.h>
80144 #include <unistd.h>
80147 main ()
80150 #if _XOPEN_VERSION < 500
80151 #error
80152 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80153 char *tmp = realpath((const char*)NULL, (char*)NULL);
80154 #else
80155 #error
80156 #endif
80159 return 0;
80161 _ACEOF
80162 if ac_fn_cxx_try_compile "$LINENO"; then :
80163 glibcxx_cv_realpath=yes
80164 else
80165 glibcxx_cv_realpath=no
80167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80168 else
80169 if test x$gcc_no_link = xyes; then
80170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80173 /* end confdefs.h. */
80175 #include <limits.h>
80176 #include <stdlib.h>
80177 #include <unistd.h>
80180 main ()
80183 #if _XOPEN_VERSION < 500
80184 #error
80185 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80186 char *tmp = realpath((const char*)NULL, (char*)NULL);
80187 #else
80188 #error
80189 #endif
80192 return 0;
80194 _ACEOF
80195 if ac_fn_cxx_try_link "$LINENO"; then :
80196 glibcxx_cv_realpath=yes
80197 else
80198 glibcxx_cv_realpath=no
80200 rm -f core conftest.err conftest.$ac_objext \
80201 conftest$ac_exeext conftest.$ac_ext
80206 if test $glibcxx_cv_realpath = yes; then
80208 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80212 $as_echo "$glibcxx_cv_realpath" >&6; }
80213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80214 $as_echo_n "checking for utimensat... " >&6; }
80215 if test "${glibcxx_cv_utimensat+set}" = set; then :
80216 $as_echo_n "(cached) " >&6
80217 else
80218 if test x$gcc_no_link = xyes; then
80219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80220 /* end confdefs.h. */
80222 #include <fcntl.h>
80223 #include <sys/stat.h>
80226 main ()
80229 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80230 int i = utimensat(AT_FDCWD, "path", ts, 0);
80233 return 0;
80235 _ACEOF
80236 if ac_fn_cxx_try_compile "$LINENO"; then :
80237 glibcxx_cv_utimensat=yes
80238 else
80239 glibcxx_cv_utimensat=no
80241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80242 else
80243 if test x$gcc_no_link = xyes; then
80244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80247 /* end confdefs.h. */
80249 #include <fcntl.h>
80250 #include <sys/stat.h>
80253 main ()
80256 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80257 int i = utimensat(AT_FDCWD, "path", ts, 0);
80260 return 0;
80262 _ACEOF
80263 if ac_fn_cxx_try_link "$LINENO"; then :
80264 glibcxx_cv_utimensat=yes
80265 else
80266 glibcxx_cv_utimensat=no
80268 rm -f core conftest.err conftest.$ac_objext \
80269 conftest$ac_exeext conftest.$ac_ext
80274 if test $glibcxx_cv_utimensat = yes; then
80276 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80280 $as_echo "$glibcxx_cv_utimensat" >&6; }
80281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80282 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80283 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80284 $as_echo_n "(cached) " >&6
80285 else
80286 if test x$gcc_no_link = xyes; then
80287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80288 /* end confdefs.h. */
80289 #include <sys/stat.h>
80291 main ()
80294 struct stat st;
80295 return st.st_mtim.tv_nsec;
80298 return 0;
80300 _ACEOF
80301 if ac_fn_cxx_try_compile "$LINENO"; then :
80302 glibcxx_cv_st_mtim=yes
80303 else
80304 glibcxx_cv_st_mtim=no
80306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80307 else
80308 if test x$gcc_no_link = xyes; then
80309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80312 /* end confdefs.h. */
80313 #include <sys/stat.h>
80315 main ()
80318 struct stat st;
80319 return st.st_mtim.tv_nsec;
80322 return 0;
80324 _ACEOF
80325 if ac_fn_cxx_try_link "$LINENO"; then :
80326 glibcxx_cv_st_mtim=yes
80327 else
80328 glibcxx_cv_st_mtim=no
80330 rm -f core conftest.err conftest.$ac_objext \
80331 conftest$ac_exeext conftest.$ac_ext
80336 if test $glibcxx_cv_st_mtim = yes; then
80338 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80342 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80344 $as_echo_n "checking for fchmod... " >&6; }
80345 if test "${glibcxx_cv_fchmod+set}" = set; then :
80346 $as_echo_n "(cached) " >&6
80347 else
80348 if test x$gcc_no_link = xyes; then
80349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80350 /* end confdefs.h. */
80351 #include <sys/stat.h>
80353 main ()
80355 fchmod(1, S_IWUSR);
80357 return 0;
80359 _ACEOF
80360 if ac_fn_cxx_try_compile "$LINENO"; then :
80361 glibcxx_cv_fchmod=yes
80362 else
80363 glibcxx_cv_fchmod=no
80365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80366 else
80367 if test x$gcc_no_link = xyes; then
80368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80371 /* end confdefs.h. */
80372 #include <sys/stat.h>
80374 main ()
80376 fchmod(1, S_IWUSR);
80378 return 0;
80380 _ACEOF
80381 if ac_fn_cxx_try_link "$LINENO"; then :
80382 glibcxx_cv_fchmod=yes
80383 else
80384 glibcxx_cv_fchmod=no
80386 rm -f core conftest.err conftest.$ac_objext \
80387 conftest$ac_exeext conftest.$ac_ext
80392 if test $glibcxx_cv_fchmod = yes; then
80394 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80398 $as_echo "$glibcxx_cv_fchmod" >&6; }
80399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80400 $as_echo_n "checking for fchmodat... " >&6; }
80401 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80402 $as_echo_n "(cached) " >&6
80403 else
80404 if test x$gcc_no_link = xyes; then
80405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80406 /* end confdefs.h. */
80408 #include <fcntl.h>
80409 #include <sys/stat.h>
80412 main ()
80414 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80416 return 0;
80418 _ACEOF
80419 if ac_fn_cxx_try_compile "$LINENO"; then :
80420 glibcxx_cv_fchmodat=yes
80421 else
80422 glibcxx_cv_fchmodat=no
80424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80425 else
80426 if test x$gcc_no_link = xyes; then
80427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80430 /* end confdefs.h. */
80432 #include <fcntl.h>
80433 #include <sys/stat.h>
80436 main ()
80438 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80440 return 0;
80442 _ACEOF
80443 if ac_fn_cxx_try_link "$LINENO"; then :
80444 glibcxx_cv_fchmodat=yes
80445 else
80446 glibcxx_cv_fchmodat=no
80448 rm -f core conftest.err conftest.$ac_objext \
80449 conftest$ac_exeext conftest.$ac_ext
80454 if test $glibcxx_cv_fchmodat = yes; then
80456 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80460 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80462 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80463 if test "${glibcxx_cv_sendfile+set}" = set; then :
80464 $as_echo_n "(cached) " >&6
80465 else
80466 case "${target_os}" in
80467 gnu* | linux* | solaris*)
80468 if test x$gcc_no_link = xyes; then
80469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80470 /* end confdefs.h. */
80471 #include <sys/sendfile.h>
80473 main ()
80475 sendfile(1, 2, (off_t*)0, sizeof 1);
80477 return 0;
80479 _ACEOF
80480 if ac_fn_cxx_try_compile "$LINENO"; then :
80481 glibcxx_cv_sendfile=yes
80482 else
80483 glibcxx_cv_sendfile=no
80485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80486 else
80487 if test x$gcc_no_link = xyes; then
80488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80491 /* end confdefs.h. */
80492 #include <sys/sendfile.h>
80494 main ()
80496 sendfile(1, 2, (off_t*)0, sizeof 1);
80498 return 0;
80500 _ACEOF
80501 if ac_fn_cxx_try_link "$LINENO"; then :
80502 glibcxx_cv_sendfile=yes
80503 else
80504 glibcxx_cv_sendfile=no
80506 rm -f core conftest.err conftest.$ac_objext \
80507 conftest$ac_exeext conftest.$ac_ext
80511 glibcxx_cv_sendfile=no
80513 esac
80517 if test $glibcxx_cv_sendfile = yes; then
80519 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80523 $as_echo "$glibcxx_cv_sendfile" >&6; }
80524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80525 $as_echo_n "checking for link... " >&6; }
80526 if test "${glibcxx_cv_link+set}" = set; then :
80527 $as_echo_n "(cached) " >&6
80528 else
80529 if test x$gcc_no_link = xyes; then
80530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80531 /* end confdefs.h. */
80532 #include <unistd.h>
80534 main ()
80536 link("", "");
80538 return 0;
80540 _ACEOF
80541 if ac_fn_cxx_try_compile "$LINENO"; then :
80542 glibcxx_cv_link=yes
80543 else
80544 glibcxx_cv_link=no
80546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80547 else
80548 if test x$gcc_no_link = xyes; then
80549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80552 /* end confdefs.h. */
80553 #include <unistd.h>
80555 main ()
80557 link("", "");
80559 return 0;
80561 _ACEOF
80562 if ac_fn_cxx_try_link "$LINENO"; then :
80563 glibcxx_cv_link=yes
80564 else
80565 glibcxx_cv_link=no
80567 rm -f core conftest.err conftest.$ac_objext \
80568 conftest$ac_exeext conftest.$ac_ext
80573 if test $glibcxx_cv_link = yes; then
80575 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80579 $as_echo "$glibcxx_cv_link" >&6; }
80580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80581 $as_echo_n "checking for readlink... " >&6; }
80582 if test "${glibcxx_cv_readlink+set}" = set; then :
80583 $as_echo_n "(cached) " >&6
80584 else
80585 if test x$gcc_no_link = xyes; then
80586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80587 /* end confdefs.h. */
80588 #include <unistd.h>
80590 main ()
80592 char buf[32]; readlink("", buf, sizeof(buf));
80594 return 0;
80596 _ACEOF
80597 if ac_fn_cxx_try_compile "$LINENO"; then :
80598 glibcxx_cv_readlink=yes
80599 else
80600 glibcxx_cv_readlink=no
80602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80603 else
80604 if test x$gcc_no_link = xyes; then
80605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80608 /* end confdefs.h. */
80609 #include <unistd.h>
80611 main ()
80613 char buf[32]; readlink("", buf, sizeof(buf));
80615 return 0;
80617 _ACEOF
80618 if ac_fn_cxx_try_link "$LINENO"; then :
80619 glibcxx_cv_readlink=yes
80620 else
80621 glibcxx_cv_readlink=no
80623 rm -f core conftest.err conftest.$ac_objext \
80624 conftest$ac_exeext conftest.$ac_ext
80629 if test $glibcxx_cv_readlink = yes; then
80631 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80635 $as_echo "$glibcxx_cv_readlink" >&6; }
80636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80637 $as_echo_n "checking for symlink... " >&6; }
80638 if test "${glibcxx_cv_symlink+set}" = set; then :
80639 $as_echo_n "(cached) " >&6
80640 else
80641 if test x$gcc_no_link = xyes; then
80642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80643 /* end confdefs.h. */
80644 #include <unistd.h>
80646 main ()
80648 symlink("", "");
80650 return 0;
80652 _ACEOF
80653 if ac_fn_cxx_try_compile "$LINENO"; then :
80654 glibcxx_cv_symlink=yes
80655 else
80656 glibcxx_cv_symlink=no
80658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80659 else
80660 if test x$gcc_no_link = xyes; then
80661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80664 /* end confdefs.h. */
80665 #include <unistd.h>
80667 main ()
80669 symlink("", "");
80671 return 0;
80673 _ACEOF
80674 if ac_fn_cxx_try_link "$LINENO"; then :
80675 glibcxx_cv_symlink=yes
80676 else
80677 glibcxx_cv_symlink=no
80679 rm -f core conftest.err conftest.$ac_objext \
80680 conftest$ac_exeext conftest.$ac_ext
80685 if test $glibcxx_cv_symlink = yes; then
80687 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80691 $as_echo "$glibcxx_cv_symlink" >&6; }
80692 CXXFLAGS="$ac_save_CXXFLAGS"
80693 ac_ext=c
80694 ac_cpp='$CPP $CPPFLAGS'
80695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80702 # For Networking TS.
80703 for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
80704 do :
80705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80707 eval as_val=\$$as_ac_Header
80708 if test "x$as_val" = x""yes; then :
80709 cat >>confdefs.h <<_ACEOF
80710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80711 _ACEOF
80715 done
80718 # For Transactional Memory TS
80720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80721 $as_echo_n "checking how size_t is mangled... " >&6; }
80722 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80723 $as_echo_n "(cached) " >&6
80724 else
80726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80727 /* end confdefs.h. */
80730 main ()
80732 extern __SIZE_TYPE__ x; extern unsigned long x;
80734 return 0;
80736 _ACEOF
80737 if ac_fn_c_try_compile "$LINENO"; then :
80738 glibcxx_cv_size_t_mangling=m
80739 else
80741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80742 /* end confdefs.h. */
80745 main ()
80747 extern __SIZE_TYPE__ x; extern unsigned int x;
80749 return 0;
80751 _ACEOF
80752 if ac_fn_c_try_compile "$LINENO"; then :
80753 glibcxx_cv_size_t_mangling=j
80754 else
80756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80757 /* end confdefs.h. */
80760 main ()
80762 extern __SIZE_TYPE__ x; extern unsigned long long x;
80764 return 0;
80766 _ACEOF
80767 if ac_fn_c_try_compile "$LINENO"; then :
80768 glibcxx_cv_size_t_mangling=y
80769 else
80771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80772 /* end confdefs.h. */
80775 main ()
80777 extern __SIZE_TYPE__ x; extern unsigned short x;
80779 return 0;
80781 _ACEOF
80782 if ac_fn_c_try_compile "$LINENO"; then :
80783 glibcxx_cv_size_t_mangling=t
80784 else
80786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80787 /* end confdefs.h. */
80790 main ()
80792 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80794 return 0;
80796 _ACEOF
80797 if ac_fn_c_try_compile "$LINENO"; then :
80798 glibcxx_cv_size_t_mangling=u6uint20
80799 else
80800 glibcxx_cv_size_t_mangling=x
80802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80818 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80819 if test $glibcxx_cv_size_t_mangling = x; then
80820 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80823 cat >>confdefs.h <<_ACEOF
80824 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80825 _ACEOF
80829 # Check which release added std::exception_ptr for the target
80831 if test $enable_symvers != no; then
80832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80833 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80834 case ${target} in
80835 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80836 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80837 ac_exception_ptr_since_gcc46=yes
80840 # If the value of this macro changes then we will need to hardcode
80841 # yes/no here for additional targets based on the original value.
80842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80843 /* end confdefs.h. */
80846 main ()
80849 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80850 # error atomic int not always lock free
80851 #endif
80854 return 0;
80856 _ACEOF
80857 if ac_fn_c_try_compile "$LINENO"; then :
80858 ac_exception_ptr_since_gcc46=yes
80859 else
80860 ac_exception_ptr_since_gcc46=no
80862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80864 esac
80865 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80867 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80870 $as_echo "4.6.0" >&6; }
80871 else
80872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80873 $as_echo "7.1.0" >&6; }
80878 # Define documentation rules conditionally.
80880 # See if makeinfo has been installed and is modern enough
80881 # that we can use it.
80883 # Extract the first word of "makeinfo", so it can be a program name with args.
80884 set dummy makeinfo; ac_word=$2
80885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80886 $as_echo_n "checking for $ac_word... " >&6; }
80887 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80888 $as_echo_n "(cached) " >&6
80889 else
80890 if test -n "$MAKEINFO"; then
80891 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80892 else
80893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80894 for as_dir in $PATH
80896 IFS=$as_save_IFS
80897 test -z "$as_dir" && as_dir=.
80898 for ac_exec_ext in '' $ac_executable_extensions; do
80899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80900 ac_cv_prog_MAKEINFO="makeinfo"
80901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80902 break 2
80904 done
80905 done
80906 IFS=$as_save_IFS
80910 MAKEINFO=$ac_cv_prog_MAKEINFO
80911 if test -n "$MAKEINFO"; then
80912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80913 $as_echo "$MAKEINFO" >&6; }
80914 else
80915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80916 $as_echo "no" >&6; }
80920 if test -n "$MAKEINFO"; then
80921 # Found it, now check the version.
80922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80923 $as_echo_n "checking for modern makeinfo... " >&6; }
80924 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80925 $as_echo_n "(cached) " >&6
80926 else
80927 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80928 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80930 case $ac_prog_version in
80931 '') gcc_cv_prog_makeinfo_modern=no;;
80932 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80933 *) gcc_cv_prog_makeinfo_modern=no;;
80934 esac
80937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80938 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80939 else
80940 gcc_cv_prog_makeinfo_modern=no
80942 if test $gcc_cv_prog_makeinfo_modern = no; then
80943 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80946 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80947 BUILD_INFO_TRUE=
80948 BUILD_INFO_FALSE='#'
80949 else
80950 BUILD_INFO_TRUE='#'
80951 BUILD_INFO_FALSE=
80955 # Check for doxygen
80956 # Extract the first word of "doxygen", so it can be a program name with args.
80957 set dummy doxygen; ac_word=$2
80958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80959 $as_echo_n "checking for $ac_word... " >&6; }
80960 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80961 $as_echo_n "(cached) " >&6
80962 else
80963 if test -n "$DOXYGEN"; then
80964 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80965 else
80966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80967 for as_dir in $PATH
80969 IFS=$as_save_IFS
80970 test -z "$as_dir" && as_dir=.
80971 for ac_exec_ext in '' $ac_executable_extensions; do
80972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80973 ac_cv_prog_DOXYGEN="yes"
80974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80975 break 2
80977 done
80978 done
80979 IFS=$as_save_IFS
80981 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80984 DOXYGEN=$ac_cv_prog_DOXYGEN
80985 if test -n "$DOXYGEN"; then
80986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80987 $as_echo "$DOXYGEN" >&6; }
80988 else
80989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80990 $as_echo "no" >&6; }
80994 # Extract the first word of "dot", so it can be a program name with args.
80995 set dummy dot; ac_word=$2
80996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80997 $as_echo_n "checking for $ac_word... " >&6; }
80998 if test "${ac_cv_prog_DOT+set}" = set; then :
80999 $as_echo_n "(cached) " >&6
81000 else
81001 if test -n "$DOT"; then
81002 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81003 else
81004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81005 for as_dir in $PATH
81007 IFS=$as_save_IFS
81008 test -z "$as_dir" && as_dir=.
81009 for ac_exec_ext in '' $ac_executable_extensions; do
81010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81011 ac_cv_prog_DOT="yes"
81012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81013 break 2
81015 done
81016 done
81017 IFS=$as_save_IFS
81019 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81022 DOT=$ac_cv_prog_DOT
81023 if test -n "$DOT"; then
81024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81025 $as_echo "$DOT" >&6; }
81026 else
81027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81028 $as_echo "no" >&6; }
81033 # Check for docbook
81034 # Extract the first word of "xsltproc", so it can be a program name with args.
81035 set dummy xsltproc; ac_word=$2
81036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81037 $as_echo_n "checking for $ac_word... " >&6; }
81038 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
81039 $as_echo_n "(cached) " >&6
81040 else
81041 if test -n "$XSLTPROC"; then
81042 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81043 else
81044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81045 for as_dir in $PATH
81047 IFS=$as_save_IFS
81048 test -z "$as_dir" && as_dir=.
81049 for ac_exec_ext in '' $ac_executable_extensions; do
81050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81051 ac_cv_prog_XSLTPROC="yes"
81052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81053 break 2
81055 done
81056 done
81057 IFS=$as_save_IFS
81059 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81062 XSLTPROC=$ac_cv_prog_XSLTPROC
81063 if test -n "$XSLTPROC"; then
81064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81065 $as_echo "$XSLTPROC" >&6; }
81066 else
81067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81068 $as_echo "no" >&6; }
81072 # Extract the first word of "xmllint", so it can be a program name with args.
81073 set dummy xmllint; ac_word=$2
81074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81075 $as_echo_n "checking for $ac_word... " >&6; }
81076 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81077 $as_echo_n "(cached) " >&6
81078 else
81079 if test -n "$XMLLINT"; then
81080 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81081 else
81082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81083 for as_dir in $PATH
81085 IFS=$as_save_IFS
81086 test -z "$as_dir" && as_dir=.
81087 for ac_exec_ext in '' $ac_executable_extensions; do
81088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81089 ac_cv_prog_XMLLINT="yes"
81090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81091 break 2
81093 done
81094 done
81095 IFS=$as_save_IFS
81097 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81100 XMLLINT=$ac_cv_prog_XMLLINT
81101 if test -n "$XMLLINT"; then
81102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81103 $as_echo "$XMLLINT" >&6; }
81104 else
81105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81106 $as_echo "no" >&6; }
81112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81113 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81114 glibcxx_stylesheets=no
81115 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
81116 glibcxx_stylesheets=yes
81118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81119 $as_echo "$glibcxx_stylesheets" >&6; }
81121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81122 $as_echo_n "checking for local stylesheet directory... " >&6; }
81123 glibcxx_local_stylesheets=no
81124 if test x"$glibcxx_stylesheets" = x"yes"; then
81125 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81126 glibcxx_local_stylesheets=yes
81127 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81129 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81130 glibcxx_local_stylesheets=yes
81131 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81133 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81134 glibcxx_local_stylesheets=yes
81135 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81139 $as_echo "$glibcxx_local_stylesheets" >&6; }
81141 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81143 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81144 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81145 else
81146 glibcxx_stylesheets=no
81149 # Check for epub3 dependencies.
81150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81151 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81152 glibcxx_epub_stylesheets=no
81153 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81154 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81155 glibcxx_epub_stylesheets=yes
81158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81159 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81160 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81161 BUILD_EPUB_TRUE=
81162 BUILD_EPUB_FALSE='#'
81163 else
81164 BUILD_EPUB_TRUE='#'
81165 BUILD_EPUB_FALSE=
81171 # Check for xml/html dependencies.
81172 if test $ac_cv_prog_DOXYGEN = "yes" &&
81173 test $ac_cv_prog_DOT = "yes" &&
81174 test $ac_cv_prog_XSLTPROC = "yes" &&
81175 test $ac_cv_prog_XMLLINT = "yes" &&
81176 test $glibcxx_stylesheets = "yes"; then
81177 BUILD_XML_TRUE=
81178 BUILD_XML_FALSE='#'
81179 else
81180 BUILD_XML_TRUE='#'
81181 BUILD_XML_FALSE=
81185 if test $ac_cv_prog_DOXYGEN = "yes" &&
81186 test $ac_cv_prog_DOT = "yes" &&
81187 test $ac_cv_prog_XSLTPROC = "yes" &&
81188 test $ac_cv_prog_XMLLINT = "yes" &&
81189 test $glibcxx_stylesheets = "yes"; then
81190 BUILD_HTML_TRUE=
81191 BUILD_HTML_FALSE='#'
81192 else
81193 BUILD_HTML_TRUE='#'
81194 BUILD_HTML_FALSE=
81198 # Check for man dependencies.
81199 if test $ac_cv_prog_DOXYGEN = "yes" &&
81200 test $ac_cv_prog_DOT = "yes"; then
81201 BUILD_MAN_TRUE=
81202 BUILD_MAN_FALSE='#'
81203 else
81204 BUILD_MAN_TRUE='#'
81205 BUILD_MAN_FALSE=
81209 # Check for pdf dependencies.
81210 # Extract the first word of "dblatex", so it can be a program name with args.
81211 set dummy dblatex; ac_word=$2
81212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81213 $as_echo_n "checking for $ac_word... " >&6; }
81214 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81215 $as_echo_n "(cached) " >&6
81216 else
81217 if test -n "$DBLATEX"; then
81218 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81219 else
81220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81221 for as_dir in $PATH
81223 IFS=$as_save_IFS
81224 test -z "$as_dir" && as_dir=.
81225 for ac_exec_ext in '' $ac_executable_extensions; do
81226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81227 ac_cv_prog_DBLATEX="yes"
81228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81229 break 2
81231 done
81232 done
81233 IFS=$as_save_IFS
81235 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81238 DBLATEX=$ac_cv_prog_DBLATEX
81239 if test -n "$DBLATEX"; then
81240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81241 $as_echo "$DBLATEX" >&6; }
81242 else
81243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81244 $as_echo "no" >&6; }
81248 # Extract the first word of "pdflatex", so it can be a program name with args.
81249 set dummy pdflatex; ac_word=$2
81250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81251 $as_echo_n "checking for $ac_word... " >&6; }
81252 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81253 $as_echo_n "(cached) " >&6
81254 else
81255 if test -n "$PDFLATEX"; then
81256 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81257 else
81258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81259 for as_dir in $PATH
81261 IFS=$as_save_IFS
81262 test -z "$as_dir" && as_dir=.
81263 for ac_exec_ext in '' $ac_executable_extensions; do
81264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81265 ac_cv_prog_PDFLATEX="yes"
81266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81267 break 2
81269 done
81270 done
81271 IFS=$as_save_IFS
81273 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81276 PDFLATEX=$ac_cv_prog_PDFLATEX
81277 if test -n "$PDFLATEX"; then
81278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81279 $as_echo "$PDFLATEX" >&6; }
81280 else
81281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81282 $as_echo "no" >&6; }
81286 if test $ac_cv_prog_DBLATEX = "yes" &&
81287 test $ac_cv_prog_PDFLATEX = "yes"; then
81288 BUILD_PDF_TRUE=
81289 BUILD_PDF_FALSE='#'
81290 else
81291 BUILD_PDF_TRUE='#'
81292 BUILD_PDF_FALSE=
81296 case "$build" in
81297 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81298 * ) glibcxx_include_dir_notparallel=no ;;
81299 esac
81300 if test $glibcxx_include_dir_notparallel = "yes"; then
81301 INCLUDE_DIR_NOTPARALLEL_TRUE=
81302 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81303 else
81304 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81305 INCLUDE_DIR_NOTPARALLEL_FALSE=
81309 # Propagate the target-specific source directories through the build chain.
81310 ATOMICITY_SRCDIR=config/${atomicity_dir}
81311 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81312 ATOMIC_FLAGS=${atomic_flags}
81313 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81314 OS_INC_SRCDIR=config/${os_include_dir}
81315 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81316 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81317 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81318 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81330 # Add CET specific flags if Intel CET is enabled.
81331 # Check whether --enable-cet was given.
81332 if test "${enable_cet+set}" = set; then :
81333 enableval=$enable_cet;
81334 case "$enableval" in
81335 yes|no|auto) ;;
81336 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81337 esac
81339 else
81340 enable_cet=no
81344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81345 $as_echo_n "checking for CET support... " >&6; }
81347 case "$host" in
81348 i[34567]86-*-linux* | x86_64-*-linux*)
81349 case "$enable_cet" in
81350 auto)
81351 # Check if target supports multi-byte NOPs
81352 # and if assembler supports CET insn.
81353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81354 /* end confdefs.h. */
81357 main ()
81360 #if !defined(__SSE2__)
81361 #error target does not support multi-byte NOPs
81362 #else
81363 asm ("setssbsy");
81364 #endif
81367 return 0;
81369 _ACEOF
81370 if ac_fn_c_try_compile "$LINENO"; then :
81371 enable_cet=yes
81372 else
81373 enable_cet=no
81375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81377 yes)
81378 # Check if assembler supports CET.
81379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81380 /* end confdefs.h. */
81383 main ()
81385 asm ("setssbsy");
81387 return 0;
81389 _ACEOF
81390 if ac_fn_c_try_compile "$LINENO"; then :
81392 else
81393 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81397 esac
81400 enable_cet=no
81402 esac
81403 if test x$enable_cet = xyes; then
81404 CET_FLAGS="-fcf-protection -mshstk"
81405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81406 $as_echo "yes" >&6; }
81407 else
81408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81409 $as_echo "no" >&6; }
81412 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81413 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81417 # Determine cross-compile flags and AM_CONDITIONALs.
81418 #AC_SUBST(GLIBCXX_IS_NATIVE)
81419 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81420 if test $is_hosted = yes; then
81421 GLIBCXX_HOSTED_TRUE=
81422 GLIBCXX_HOSTED_FALSE='#'
81423 else
81424 GLIBCXX_HOSTED_TRUE='#'
81425 GLIBCXX_HOSTED_FALSE=
81429 if test $enable_libstdcxx_pch = yes; then
81430 GLIBCXX_BUILD_PCH_TRUE=
81431 GLIBCXX_BUILD_PCH_FALSE='#'
81432 else
81433 GLIBCXX_BUILD_PCH_TRUE='#'
81434 GLIBCXX_BUILD_PCH_FALSE=
81438 if test $enable_float128 = yes; then
81439 ENABLE_FLOAT128_TRUE=
81440 ENABLE_FLOAT128_FALSE='#'
81441 else
81442 ENABLE_FLOAT128_TRUE='#'
81443 ENABLE_FLOAT128_FALSE=
81447 if test $enable_libstdcxx_allocator_flag = new; then
81448 ENABLE_ALLOCATOR_NEW_TRUE=
81449 ENABLE_ALLOCATOR_NEW_FALSE='#'
81450 else
81451 ENABLE_ALLOCATOR_NEW_TRUE='#'
81452 ENABLE_ALLOCATOR_NEW_FALSE=
81456 if test $enable_cheaders = c; then
81457 GLIBCXX_C_HEADERS_C_TRUE=
81458 GLIBCXX_C_HEADERS_C_FALSE='#'
81459 else
81460 GLIBCXX_C_HEADERS_C_TRUE='#'
81461 GLIBCXX_C_HEADERS_C_FALSE=
81465 if test $enable_cheaders = c_std; then
81466 GLIBCXX_C_HEADERS_C_STD_TRUE=
81467 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81468 else
81469 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81470 GLIBCXX_C_HEADERS_C_STD_FALSE=
81474 if test $enable_cheaders = c_global; then
81475 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81476 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81477 else
81478 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81479 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81483 if test $c_compatibility = yes; then
81484 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81485 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81486 else
81487 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81488 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81492 if test $enable_libstdcxx_debug = yes; then
81493 GLIBCXX_BUILD_DEBUG_TRUE=
81494 GLIBCXX_BUILD_DEBUG_FALSE='#'
81495 else
81496 GLIBCXX_BUILD_DEBUG_TRUE='#'
81497 GLIBCXX_BUILD_DEBUG_FALSE=
81501 if test $enable_extern_template = yes; then
81502 ENABLE_EXTERN_TEMPLATE_TRUE=
81503 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81504 else
81505 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81506 ENABLE_EXTERN_TEMPLATE_FALSE=
81510 if test $python_mod_dir != no; then
81511 ENABLE_PYTHONDIR_TRUE=
81512 ENABLE_PYTHONDIR_FALSE='#'
81513 else
81514 ENABLE_PYTHONDIR_TRUE='#'
81515 ENABLE_PYTHONDIR_FALSE=
81519 if test $enable_werror = yes; then
81520 ENABLE_WERROR_TRUE=
81521 ENABLE_WERROR_FALSE='#'
81522 else
81523 ENABLE_WERROR_TRUE='#'
81524 ENABLE_WERROR_FALSE=
81528 if test $enable_vtable_verify = yes; then
81529 ENABLE_VTABLE_VERIFY_TRUE=
81530 ENABLE_VTABLE_VERIFY_FALSE='#'
81531 else
81532 ENABLE_VTABLE_VERIFY_TRUE='#'
81533 ENABLE_VTABLE_VERIFY_FALSE=
81537 if test $enable_symvers != no; then
81538 ENABLE_SYMVERS_TRUE=
81539 ENABLE_SYMVERS_FALSE='#'
81540 else
81541 ENABLE_SYMVERS_TRUE='#'
81542 ENABLE_SYMVERS_FALSE=
81546 if test $enable_symvers = gnu; then
81547 ENABLE_SYMVERS_GNU_TRUE=
81548 ENABLE_SYMVERS_GNU_FALSE='#'
81549 else
81550 ENABLE_SYMVERS_GNU_TRUE='#'
81551 ENABLE_SYMVERS_GNU_FALSE=
81555 if test $enable_symvers = gnu-versioned-namespace; then
81556 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81557 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81558 else
81559 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81560 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81564 if test $enable_symvers = darwin; then
81565 ENABLE_SYMVERS_DARWIN_TRUE=
81566 ENABLE_SYMVERS_DARWIN_FALSE='#'
81567 else
81568 ENABLE_SYMVERS_DARWIN_TRUE='#'
81569 ENABLE_SYMVERS_DARWIN_FALSE=
81573 if test $enable_symvers = sun; then
81574 ENABLE_SYMVERS_SUN_TRUE=
81575 ENABLE_SYMVERS_SUN_FALSE='#'
81576 else
81577 ENABLE_SYMVERS_SUN_TRUE='#'
81578 ENABLE_SYMVERS_SUN_FALSE=
81582 if test $enable_libstdcxx_visibility = yes; then
81583 ENABLE_VISIBILITY_TRUE=
81584 ENABLE_VISIBILITY_FALSE='#'
81585 else
81586 ENABLE_VISIBILITY_TRUE='#'
81587 ENABLE_VISIBILITY_FALSE=
81591 if test $enable_libstdcxx_dual_abi = yes; then
81592 ENABLE_DUAL_ABI_TRUE=
81593 ENABLE_DUAL_ABI_FALSE='#'
81594 else
81595 ENABLE_DUAL_ABI_TRUE='#'
81596 ENABLE_DUAL_ABI_FALSE=
81600 if test $glibcxx_cxx11_abi = 1; then
81601 ENABLE_CXX11_ABI_TRUE=
81602 ENABLE_CXX11_ABI_FALSE='#'
81603 else
81604 ENABLE_CXX11_ABI_TRUE='#'
81605 ENABLE_CXX11_ABI_FALSE=
81609 if test $ac_ldbl_compat = yes; then
81610 GLIBCXX_LDBL_COMPAT_TRUE=
81611 GLIBCXX_LDBL_COMPAT_FALSE='#'
81612 else
81613 GLIBCXX_LDBL_COMPAT_TRUE='#'
81614 GLIBCXX_LDBL_COMPAT_FALSE=
81618 if test $enable_libstdcxx_filesystem_ts = yes; then
81619 ENABLE_FILESYSTEM_TS_TRUE=
81620 ENABLE_FILESYSTEM_TS_FALSE='#'
81621 else
81622 ENABLE_FILESYSTEM_TS_TRUE='#'
81623 ENABLE_FILESYSTEM_TS_FALSE=
81629 cat >confcache <<\_ACEOF
81630 # This file is a shell script that caches the results of configure
81631 # tests run on this system so they can be shared between configure
81632 # scripts and configure runs, see configure's option --config-cache.
81633 # It is not useful on other systems. If it contains results you don't
81634 # want to keep, you may remove or edit it.
81636 # config.status only pays attention to the cache file if you give it
81637 # the --recheck option to rerun configure.
81639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81641 # following values.
81643 _ACEOF
81645 # The following way of writing the cache mishandles newlines in values,
81646 # but we know of no workaround that is simple, portable, and efficient.
81647 # So, we kill variables containing newlines.
81648 # Ultrix sh set writes to stderr and can't be redirected directly,
81649 # and sets the high bit in the cache file unless we assign to the vars.
81651 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81652 eval ac_val=\$$ac_var
81653 case $ac_val in #(
81654 *${as_nl}*)
81655 case $ac_var in #(
81656 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81657 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81658 esac
81659 case $ac_var in #(
81660 _ | IFS | as_nl) ;; #(
81661 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81662 *) { eval $ac_var=; unset $ac_var;} ;;
81663 esac ;;
81664 esac
81665 done
81667 (set) 2>&1 |
81668 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81669 *${as_nl}ac_space=\ *)
81670 # `set' does not quote correctly, so add quotes: double-quote
81671 # substitution turns \\\\ into \\, and sed turns \\ into \.
81672 sed -n \
81673 "s/'/'\\\\''/g;
81674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81675 ;; #(
81677 # `set' quotes correctly as required by POSIX, so do not add quotes.
81678 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81680 esac |
81681 sort
81683 sed '
81684 /^ac_cv_env_/b end
81685 t clear
81686 :clear
81687 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81688 t end
81689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81690 :end' >>confcache
81691 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81692 if test -w "$cache_file"; then
81693 test "x$cache_file" != "x/dev/null" &&
81694 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81695 $as_echo "$as_me: updating cache $cache_file" >&6;}
81696 cat confcache >$cache_file
81697 else
81698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81702 rm -f confcache
81704 if test ${multilib} = yes; then
81705 multilib_arg="--enable-multilib"
81706 else
81707 multilib_arg=
81710 # Export all the install information.
81712 glibcxx_toolexecdir=no
81713 glibcxx_toolexeclibdir=no
81714 glibcxx_prefixdir=$prefix
81716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81717 $as_echo_n "checking for gxx-include-dir... " >&6; }
81719 # Check whether --with-gxx-include-dir was given.
81720 if test "${with_gxx_include_dir+set}" = set; then :
81721 withval=$with_gxx_include_dir; case "$withval" in
81722 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81723 no) gxx_include_dir=no ;;
81724 *) gxx_include_dir=$withval ;;
81725 esac
81726 else
81727 gxx_include_dir=no
81730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81731 $as_echo "$gxx_include_dir" >&6; }
81733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81734 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81735 # Check whether --enable-version-specific-runtime-libs was given.
81736 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81737 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81738 yes) version_specific_libs=yes ;;
81739 no) version_specific_libs=no ;;
81740 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81741 esac
81742 else
81743 version_specific_libs=no
81746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81747 $as_echo "$version_specific_libs" >&6; }
81749 # Default case for install directory for include files.
81750 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81751 gxx_include_dir='include/c++/${gcc_version}'
81752 if test -n "$with_cross_host" &&
81753 test x"$with_cross_host" != x"no"; then
81754 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81755 else
81756 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81760 # Version-specific runtime libs processing.
81761 if test $version_specific_libs = yes; then
81762 # Need the gcc compiler version to know where to install libraries
81763 # and header files if --enable-version-specific-runtime-libs option
81764 # is selected. FIXME: these variables are misnamed, there are
81765 # no executables installed in _toolexecdir or _toolexeclibdir.
81766 if test x"$gxx_include_dir" = x"no"; then
81767 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81769 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81770 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81773 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81774 # Install a library built with a cross compiler in tooldir, not libdir.
81775 if test x"$glibcxx_toolexecdir" = x"no"; then
81776 if test -n "$with_cross_host" &&
81777 test x"$with_cross_host" != x"no"; then
81778 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81779 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81780 else
81781 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81782 glibcxx_toolexeclibdir='${libdir}'
81784 multi_os_directory=`$CXX -print-multi-os-directory`
81785 case $multi_os_directory in
81786 .) ;; # Avoid trailing /.
81787 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81788 esac
81791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81792 $as_echo_n "checking for install location... " >&6; }
81793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81794 $as_echo "$gxx_include_dir" >&6; }
81802 # Export all the include and flag information to Makefiles.
81804 # Used for every C++ compile we perform.
81805 GLIBCXX_INCLUDES="\
81806 -I$glibcxx_builddir/include/$host_alias \
81807 -I$glibcxx_builddir/include \
81808 -I$glibcxx_srcdir/libsupc++"
81810 # For Canadian crosses, pick this up too.
81811 if test $CANADIAN = yes; then
81812 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81815 # Stuff in the actual top level. Currently only used by libsupc++ to
81816 # get unwind* headers from the libgcc dir.
81817 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81818 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81820 # Now, export this to all the little Makefiles....
81825 # Optimization flags that are probably a good idea for thrill-seekers. Just
81826 # uncomment the lines below and make, everything else is ready to go...
81827 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81828 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81831 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
81835 # Determine what GCC version number to use in filesystem paths.
81837 get_gcc_base_ver="cat"
81839 # Check whether --with-gcc-major-version-only was given.
81840 if test "${with_gcc_major_version_only+set}" = set; then :
81841 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81842 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81850 ac_config_files="$ac_config_files Makefile"
81852 ac_config_files="$ac_config_files scripts/testsuite_flags"
81854 ac_config_files="$ac_config_files scripts/extract_symvers"
81856 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81859 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81860 # that multilib installs will end up installed in the correct place.
81861 # The testsuite needs it for multilib-aware ABI baseline files.
81862 # To work around this not being passed down from config-ml.in ->
81863 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81864 # append it here. Only modify Makefiles that have just been created.
81866 # Also, get rid of this simulated-VPATH thing that automake does.
81867 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81870 ac_config_commands="$ac_config_commands generate-headers"
81873 cat >confcache <<\_ACEOF
81874 # This file is a shell script that caches the results of configure
81875 # tests run on this system so they can be shared between configure
81876 # scripts and configure runs, see configure's option --config-cache.
81877 # It is not useful on other systems. If it contains results you don't
81878 # want to keep, you may remove or edit it.
81880 # config.status only pays attention to the cache file if you give it
81881 # the --recheck option to rerun configure.
81883 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81884 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81885 # following values.
81887 _ACEOF
81889 # The following way of writing the cache mishandles newlines in values,
81890 # but we know of no workaround that is simple, portable, and efficient.
81891 # So, we kill variables containing newlines.
81892 # Ultrix sh set writes to stderr and can't be redirected directly,
81893 # and sets the high bit in the cache file unless we assign to the vars.
81895 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81896 eval ac_val=\$$ac_var
81897 case $ac_val in #(
81898 *${as_nl}*)
81899 case $ac_var in #(
81900 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81902 esac
81903 case $ac_var in #(
81904 _ | IFS | as_nl) ;; #(
81905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81906 *) { eval $ac_var=; unset $ac_var;} ;;
81907 esac ;;
81908 esac
81909 done
81911 (set) 2>&1 |
81912 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81913 *${as_nl}ac_space=\ *)
81914 # `set' does not quote correctly, so add quotes: double-quote
81915 # substitution turns \\\\ into \\, and sed turns \\ into \.
81916 sed -n \
81917 "s/'/'\\\\''/g;
81918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81919 ;; #(
81921 # `set' quotes correctly as required by POSIX, so do not add quotes.
81922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81924 esac |
81925 sort
81927 sed '
81928 /^ac_cv_env_/b end
81929 t clear
81930 :clear
81931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81932 t end
81933 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81934 :end' >>confcache
81935 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81936 if test -w "$cache_file"; then
81937 test "x$cache_file" != "x/dev/null" &&
81938 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81939 $as_echo "$as_me: updating cache $cache_file" >&6;}
81940 cat confcache >$cache_file
81941 else
81942 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81943 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81946 rm -f confcache
81948 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81949 # Let make expand exec_prefix.
81950 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81952 DEFS=-DHAVE_CONFIG_H
81954 ac_libobjs=
81955 ac_ltlibobjs=
81956 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81957 # 1. Remove the extension, and $U if already installed.
81958 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81959 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81960 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81961 # will be set to the directory where LIBOBJS objects are built.
81962 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81963 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81964 done
81965 LIBOBJS=$ac_libobjs
81967 LTLIBOBJS=$ac_ltlibobjs
81970 if test -n "$EXEEXT"; then
81971 am__EXEEXT_TRUE=
81972 am__EXEEXT_FALSE='#'
81973 else
81974 am__EXEEXT_TRUE='#'
81975 am__EXEEXT_FALSE=
81978 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81979 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81982 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81983 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81986 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81987 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81990 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
81991 as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
81992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81994 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81995 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81998 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81999 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82002 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82003 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82006 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82007 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82010 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82011 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82014 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82015 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82018 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82019 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82022 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82023 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
82024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82026 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82027 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
82028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82030 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82031 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
82032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82034 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82035 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82038 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82039 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
82040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82042 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82043 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82046 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82047 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82050 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82051 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82054 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82055 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82058 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82059 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
82060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82062 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82063 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
82064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82066 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82067 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
82068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82070 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82071 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82074 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82075 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82078 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82079 as_fn_error "conditional \"BUILD_INFO\" was never defined.
82080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82082 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82083 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
82084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82086 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82087 as_fn_error "conditional \"BUILD_XML\" was never defined.
82088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82090 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82091 as_fn_error "conditional \"BUILD_HTML\" was never defined.
82092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82094 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82095 as_fn_error "conditional \"BUILD_MAN\" was never defined.
82096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82098 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82099 as_fn_error "conditional \"BUILD_PDF\" was never defined.
82100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82102 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82103 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82107 : ${CONFIG_STATUS=./config.status}
82108 ac_write_fail=0
82109 ac_clean_files_save=$ac_clean_files
82110 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82112 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82113 as_write_fail=0
82114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82115 #! $SHELL
82116 # Generated by $as_me.
82117 # Run this file to recreate the current configuration.
82118 # Compiler output produced by configure, useful for debugging
82119 # configure, is in config.log if it exists.
82121 debug=false
82122 ac_cs_recheck=false
82123 ac_cs_silent=false
82125 SHELL=\${CONFIG_SHELL-$SHELL}
82126 export SHELL
82127 _ASEOF
82128 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82129 ## -------------------- ##
82130 ## M4sh Initialization. ##
82131 ## -------------------- ##
82133 # Be more Bourne compatible
82134 DUALCASE=1; export DUALCASE # for MKS sh
82135 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82136 emulate sh
82137 NULLCMD=:
82138 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82139 # is contrary to our usage. Disable this feature.
82140 alias -g '${1+"$@"}'='"$@"'
82141 setopt NO_GLOB_SUBST
82142 else
82143 case `(set -o) 2>/dev/null` in #(
82144 *posix*) :
82145 set -o posix ;; #(
82146 *) :
82148 esac
82152 as_nl='
82154 export as_nl
82155 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82156 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82158 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82159 # Prefer a ksh shell builtin over an external printf program on Solaris,
82160 # but without wasting forks for bash or zsh.
82161 if test -z "$BASH_VERSION$ZSH_VERSION" \
82162 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82163 as_echo='print -r --'
82164 as_echo_n='print -rn --'
82165 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82166 as_echo='printf %s\n'
82167 as_echo_n='printf %s'
82168 else
82169 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82170 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82171 as_echo_n='/usr/ucb/echo -n'
82172 else
82173 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82174 as_echo_n_body='eval
82175 arg=$1;
82176 case $arg in #(
82177 *"$as_nl"*)
82178 expr "X$arg" : "X\\(.*\\)$as_nl";
82179 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82180 esac;
82181 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82183 export as_echo_n_body
82184 as_echo_n='sh -c $as_echo_n_body as_echo'
82186 export as_echo_body
82187 as_echo='sh -c $as_echo_body as_echo'
82190 # The user is always right.
82191 if test "${PATH_SEPARATOR+set}" != set; then
82192 PATH_SEPARATOR=:
82193 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82194 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82195 PATH_SEPARATOR=';'
82200 # IFS
82201 # We need space, tab and new line, in precisely that order. Quoting is
82202 # there to prevent editors from complaining about space-tab.
82203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82204 # splitting by setting IFS to empty value.)
82205 IFS=" "" $as_nl"
82207 # Find who we are. Look in the path if we contain no directory separator.
82208 case $0 in #((
82209 *[\\/]* ) as_myself=$0 ;;
82210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82211 for as_dir in $PATH
82213 IFS=$as_save_IFS
82214 test -z "$as_dir" && as_dir=.
82215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82216 done
82217 IFS=$as_save_IFS
82220 esac
82221 # We did not find ourselves, most probably we were run as `sh COMMAND'
82222 # in which case we are not to be found in the path.
82223 if test "x$as_myself" = x; then
82224 as_myself=$0
82226 if test ! -f "$as_myself"; then
82227 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82228 exit 1
82231 # Unset variables that we do not need and which cause bugs (e.g. in
82232 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82233 # suppresses any "Segmentation fault" message there. '((' could
82234 # trigger a bug in pdksh 5.2.14.
82235 for as_var in BASH_ENV ENV MAIL MAILPATH
82236 do eval test x\${$as_var+set} = xset \
82237 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82238 done
82239 PS1='$ '
82240 PS2='> '
82241 PS4='+ '
82243 # NLS nuisances.
82244 LC_ALL=C
82245 export LC_ALL
82246 LANGUAGE=C
82247 export LANGUAGE
82249 # CDPATH.
82250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82253 # as_fn_error ERROR [LINENO LOG_FD]
82254 # ---------------------------------
82255 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82256 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82257 # script with status $?, using 1 if that was 0.
82258 as_fn_error ()
82260 as_status=$?; test $as_status -eq 0 && as_status=1
82261 if test "$3"; then
82262 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82263 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82265 $as_echo "$as_me: error: $1" >&2
82266 as_fn_exit $as_status
82267 } # as_fn_error
82270 # as_fn_set_status STATUS
82271 # -----------------------
82272 # Set $? to STATUS, without forking.
82273 as_fn_set_status ()
82275 return $1
82276 } # as_fn_set_status
82278 # as_fn_exit STATUS
82279 # -----------------
82280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82281 as_fn_exit ()
82283 set +e
82284 as_fn_set_status $1
82285 exit $1
82286 } # as_fn_exit
82288 # as_fn_unset VAR
82289 # ---------------
82290 # Portably unset VAR.
82291 as_fn_unset ()
82293 { eval $1=; unset $1;}
82295 as_unset=as_fn_unset
82296 # as_fn_append VAR VALUE
82297 # ----------------------
82298 # Append the text in VALUE to the end of the definition contained in VAR. Take
82299 # advantage of any shell optimizations that allow amortized linear growth over
82300 # repeated appends, instead of the typical quadratic growth present in naive
82301 # implementations.
82302 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82303 eval 'as_fn_append ()
82305 eval $1+=\$2
82307 else
82308 as_fn_append ()
82310 eval $1=\$$1\$2
82312 fi # as_fn_append
82314 # as_fn_arith ARG...
82315 # ------------------
82316 # Perform arithmetic evaluation on the ARGs, and store the result in the
82317 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82318 # must be portable across $(()) and expr.
82319 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82320 eval 'as_fn_arith ()
82322 as_val=$(( $* ))
82324 else
82325 as_fn_arith ()
82327 as_val=`expr "$@" || test $? -eq 1`
82329 fi # as_fn_arith
82332 if expr a : '\(a\)' >/dev/null 2>&1 &&
82333 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82334 as_expr=expr
82335 else
82336 as_expr=false
82339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82340 as_basename=basename
82341 else
82342 as_basename=false
82345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82346 as_dirname=dirname
82347 else
82348 as_dirname=false
82351 as_me=`$as_basename -- "$0" ||
82352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82353 X"$0" : 'X\(//\)$' \| \
82354 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82355 $as_echo X/"$0" |
82356 sed '/^.*\/\([^/][^/]*\)\/*$/{
82357 s//\1/
82360 /^X\/\(\/\/\)$/{
82361 s//\1/
82364 /^X\/\(\/\).*/{
82365 s//\1/
82368 s/.*/./; q'`
82370 # Avoid depending upon Character Ranges.
82371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82374 as_cr_digits='0123456789'
82375 as_cr_alnum=$as_cr_Letters$as_cr_digits
82377 ECHO_C= ECHO_N= ECHO_T=
82378 case `echo -n x` in #(((((
82379 -n*)
82380 case `echo 'xy\c'` in
82381 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82382 xy) ECHO_C='\c';;
82383 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82384 ECHO_T=' ';;
82385 esac;;
82387 ECHO_N='-n';;
82388 esac
82390 rm -f conf$$ conf$$.exe conf$$.file
82391 if test -d conf$$.dir; then
82392 rm -f conf$$.dir/conf$$.file
82393 else
82394 rm -f conf$$.dir
82395 mkdir conf$$.dir 2>/dev/null
82397 if (echo >conf$$.file) 2>/dev/null; then
82398 if ln -s conf$$.file conf$$ 2>/dev/null; then
82399 as_ln_s='ln -s'
82400 # ... but there are two gotchas:
82401 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82402 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82403 # In both cases, we have to default to `cp -p'.
82404 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82405 as_ln_s='cp -p'
82406 elif ln conf$$.file conf$$ 2>/dev/null; then
82407 as_ln_s=ln
82408 else
82409 as_ln_s='cp -p'
82411 else
82412 as_ln_s='cp -p'
82414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82415 rmdir conf$$.dir 2>/dev/null
82418 # as_fn_mkdir_p
82419 # -------------
82420 # Create "$as_dir" as a directory, including parents if necessary.
82421 as_fn_mkdir_p ()
82424 case $as_dir in #(
82425 -*) as_dir=./$as_dir;;
82426 esac
82427 test -d "$as_dir" || eval $as_mkdir_p || {
82428 as_dirs=
82429 while :; do
82430 case $as_dir in #(
82431 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82432 *) as_qdir=$as_dir;;
82433 esac
82434 as_dirs="'$as_qdir' $as_dirs"
82435 as_dir=`$as_dirname -- "$as_dir" ||
82436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82437 X"$as_dir" : 'X\(//\)[^/]' \| \
82438 X"$as_dir" : 'X\(//\)$' \| \
82439 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82440 $as_echo X"$as_dir" |
82441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82442 s//\1/
82445 /^X\(\/\/\)[^/].*/{
82446 s//\1/
82449 /^X\(\/\/\)$/{
82450 s//\1/
82453 /^X\(\/\).*/{
82454 s//\1/
82457 s/.*/./; q'`
82458 test -d "$as_dir" && break
82459 done
82460 test -z "$as_dirs" || eval "mkdir $as_dirs"
82461 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82464 } # as_fn_mkdir_p
82465 if mkdir -p . 2>/dev/null; then
82466 as_mkdir_p='mkdir -p "$as_dir"'
82467 else
82468 test -d ./-p && rmdir ./-p
82469 as_mkdir_p=false
82472 if test -x / >/dev/null 2>&1; then
82473 as_test_x='test -x'
82474 else
82475 if ls -dL / >/dev/null 2>&1; then
82476 as_ls_L_option=L
82477 else
82478 as_ls_L_option=
82480 as_test_x='
82481 eval sh -c '\''
82482 if test -d "$1"; then
82483 test -d "$1/.";
82484 else
82485 case $1 in #(
82486 -*)set "./$1";;
82487 esac;
82488 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82489 ???[sx]*):;;*)false;;esac;fi
82490 '\'' sh
82493 as_executable_p=$as_test_x
82495 # Sed expression to map a string onto a valid CPP name.
82496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82498 # Sed expression to map a string onto a valid variable name.
82499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82502 exec 6>&1
82503 ## ----------------------------------- ##
82504 ## Main body of $CONFIG_STATUS script. ##
82505 ## ----------------------------------- ##
82506 _ASEOF
82507 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82510 # Save the log message, to keep $0 and so on meaningful, and to
82511 # report actual input values of CONFIG_FILES etc. instead of their
82512 # values after options handling.
82513 ac_log="
82514 This file was extended by package-unused $as_me version-unused, which was
82515 generated by GNU Autoconf 2.64. Invocation command line was
82517 CONFIG_FILES = $CONFIG_FILES
82518 CONFIG_HEADERS = $CONFIG_HEADERS
82519 CONFIG_LINKS = $CONFIG_LINKS
82520 CONFIG_COMMANDS = $CONFIG_COMMANDS
82521 $ $0 $@
82523 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82526 _ACEOF
82528 case $ac_config_files in *"
82529 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82530 esac
82532 case $ac_config_headers in *"
82533 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82534 esac
82537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82538 # Files that config.status was made for.
82539 config_files="$ac_config_files"
82540 config_headers="$ac_config_headers"
82541 config_commands="$ac_config_commands"
82543 _ACEOF
82545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82546 ac_cs_usage="\
82547 \`$as_me' instantiates files and other configuration actions
82548 from templates according to the current configuration. Unless the files
82549 and actions are specified as TAGs, all are instantiated by default.
82551 Usage: $0 [OPTION]... [TAG]...
82553 -h, --help print this help, then exit
82554 -V, --version print version number and configuration settings, then exit
82555 -q, --quiet, --silent
82556 do not print progress messages
82557 -d, --debug don't remove temporary files
82558 --recheck update $as_me by reconfiguring in the same conditions
82559 --file=FILE[:TEMPLATE]
82560 instantiate the configuration file FILE
82561 --header=FILE[:TEMPLATE]
82562 instantiate the configuration header FILE
82564 Configuration files:
82565 $config_files
82567 Configuration headers:
82568 $config_headers
82570 Configuration commands:
82571 $config_commands
82573 Report bugs to the package provider."
82575 _ACEOF
82576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82577 ac_cs_version="\\
82578 package-unused config.status version-unused
82579 configured by $0, generated by GNU Autoconf 2.64,
82580 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82582 Copyright (C) 2009 Free Software Foundation, Inc.
82583 This config.status script is free software; the Free Software Foundation
82584 gives unlimited permission to copy, distribute and modify it."
82586 ac_pwd='$ac_pwd'
82587 srcdir='$srcdir'
82588 INSTALL='$INSTALL'
82589 MKDIR_P='$MKDIR_P'
82590 AWK='$AWK'
82591 test -n "\$AWK" || AWK=awk
82592 _ACEOF
82594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82595 # The default lists apply if the user does not specify any file.
82596 ac_need_defaults=:
82597 while test $# != 0
82599 case $1 in
82600 --*=*)
82601 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82602 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82603 ac_shift=:
82606 ac_option=$1
82607 ac_optarg=$2
82608 ac_shift=shift
82610 esac
82612 case $ac_option in
82613 # Handling of the options.
82614 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82615 ac_cs_recheck=: ;;
82616 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82617 $as_echo "$ac_cs_version"; exit ;;
82618 --debug | --debu | --deb | --de | --d | -d )
82619 debug=: ;;
82620 --file | --fil | --fi | --f )
82621 $ac_shift
82622 case $ac_optarg in
82623 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82624 esac
82625 as_fn_append CONFIG_FILES " '$ac_optarg'"
82626 ac_need_defaults=false;;
82627 --header | --heade | --head | --hea )
82628 $ac_shift
82629 case $ac_optarg in
82630 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82631 esac
82632 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82633 ac_need_defaults=false;;
82634 --he | --h)
82635 # Conflict between --help and --header
82636 as_fn_error "ambiguous option: \`$1'
82637 Try \`$0 --help' for more information.";;
82638 --help | --hel | -h )
82639 $as_echo "$ac_cs_usage"; exit ;;
82640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82641 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82642 ac_cs_silent=: ;;
82644 # This is an error.
82645 -*) as_fn_error "unrecognized option: \`$1'
82646 Try \`$0 --help' for more information." ;;
82648 *) as_fn_append ac_config_targets " $1"
82649 ac_need_defaults=false ;;
82651 esac
82652 shift
82653 done
82655 ac_configure_extra_args=
82657 if $ac_cs_silent; then
82658 exec 6>/dev/null
82659 ac_configure_extra_args="$ac_configure_extra_args --silent"
82662 _ACEOF
82663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82664 if \$ac_cs_recheck; then
82665 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82666 shift
82667 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82668 CONFIG_SHELL='$SHELL'
82669 export CONFIG_SHELL
82670 exec "\$@"
82673 _ACEOF
82674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82675 exec 5>>config.log
82677 echo
82678 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82679 ## Running $as_me. ##
82680 _ASBOX
82681 $as_echo "$ac_log"
82682 } >&5
82684 _ACEOF
82685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82687 # INIT-COMMANDS
82690 srcdir="$srcdir"
82691 host="$host"
82692 target="$target"
82693 with_multisubdir="$with_multisubdir"
82694 with_multisrctop="$with_multisrctop"
82695 with_target_subdir="$with_target_subdir"
82696 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82697 multi_basedir="$multi_basedir"
82698 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82699 CC="$CC"
82700 CXX="$CXX"
82701 GFORTRAN="$GFORTRAN"
82704 # The HP-UX ksh and POSIX shell print the target directory to stdout
82705 # if CDPATH is set.
82706 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82708 sed_quote_subst='$sed_quote_subst'
82709 double_quote_subst='$double_quote_subst'
82710 delay_variable_subst='$delay_variable_subst'
82711 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82712 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82713 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82714 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82715 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82716 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82717 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82718 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82719 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82720 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82721 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82722 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82723 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82724 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82725 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82726 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82727 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82728 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82729 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82730 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82731 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82732 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82733 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82734 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82735 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82736 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82737 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82738 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82739 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82740 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82741 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82742 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82743 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82744 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82745 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82746 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82747 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82748 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82749 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82750 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82751 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82752 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82753 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82754 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82755 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82756 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82757 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82758 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82759 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"`'
82760 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82761 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82762 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82763 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82764 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82765 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82766 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82767 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82768 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82769 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82770 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82771 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82772 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82773 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82774 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82775 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82776 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82777 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82778 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82779 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82780 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82781 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82782 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82783 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82784 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82785 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82786 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82787 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82788 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82789 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82790 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82791 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82792 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82793 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82794 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82795 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82796 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82797 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82798 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82799 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82800 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82801 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82802 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82803 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82804 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82805 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82806 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82807 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82808 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82809 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82810 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82811 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82812 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82813 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82814 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82815 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82816 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82817 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82818 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82819 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82820 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82821 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82822 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82823 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82824 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82825 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82826 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82827 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82828 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82829 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82830 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82831 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82832 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82833 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82834 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82835 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82836 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82837 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82838 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82839 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82840 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82841 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82842 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82843 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82844 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82845 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82846 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82847 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82848 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82849 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82850 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82851 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82852 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82853 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82854 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82855 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82856 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82857 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82858 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82859 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82860 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82861 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82862 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82863 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82864 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82865 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82866 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82867 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82868 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82869 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82870 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82871 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82872 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82873 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82874 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82875 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82876 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82877 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82878 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82879 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82880 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82881 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82882 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82883 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82884 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82885 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82887 LTCC='$LTCC'
82888 LTCFLAGS='$LTCFLAGS'
82889 compiler='$compiler_DEFAULT'
82891 # A function that is used when there is no print builtin or printf.
82892 func_fallback_echo ()
82894 eval 'cat <<_LTECHO_EOF
82896 _LTECHO_EOF'
82899 # Quote evaled strings.
82900 for var in SHELL \
82901 ECHO \
82902 SED \
82903 GREP \
82904 EGREP \
82905 FGREP \
82906 LD \
82907 NM \
82908 LN_S \
82909 lt_SP2NL \
82910 lt_NL2SP \
82911 reload_flag \
82912 OBJDUMP \
82913 deplibs_check_method \
82914 file_magic_cmd \
82915 AR \
82916 AR_FLAGS \
82917 STRIP \
82918 RANLIB \
82919 CC \
82920 CFLAGS \
82921 compiler \
82922 lt_cv_sys_global_symbol_pipe \
82923 lt_cv_sys_global_symbol_to_cdecl \
82924 lt_cv_sys_global_symbol_to_c_name_address \
82925 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82926 lt_prog_compiler_no_builtin_flag \
82927 lt_prog_compiler_wl \
82928 lt_prog_compiler_pic \
82929 lt_prog_compiler_static \
82930 lt_cv_prog_compiler_c_o \
82931 need_locks \
82932 DSYMUTIL \
82933 NMEDIT \
82934 LIPO \
82935 OTOOL \
82936 OTOOL64 \
82937 shrext_cmds \
82938 export_dynamic_flag_spec \
82939 whole_archive_flag_spec \
82940 compiler_needs_object \
82941 with_gnu_ld \
82942 allow_undefined_flag \
82943 no_undefined_flag \
82944 hardcode_libdir_flag_spec \
82945 hardcode_libdir_flag_spec_ld \
82946 hardcode_libdir_separator \
82947 fix_srcfile_path \
82948 exclude_expsyms \
82949 include_expsyms \
82950 file_list_spec \
82951 variables_saved_for_relink \
82952 libname_spec \
82953 library_names_spec \
82954 soname_spec \
82955 install_override_mode \
82956 finish_eval \
82957 old_striplib \
82958 striplib \
82959 compiler_lib_search_dirs \
82960 predep_objects \
82961 postdep_objects \
82962 predeps \
82963 postdeps \
82964 compiler_lib_search_path \
82965 LD_CXX \
82966 reload_flag_CXX \
82967 compiler_CXX \
82968 lt_prog_compiler_no_builtin_flag_CXX \
82969 lt_prog_compiler_wl_CXX \
82970 lt_prog_compiler_pic_CXX \
82971 lt_prog_compiler_static_CXX \
82972 lt_cv_prog_compiler_c_o_CXX \
82973 export_dynamic_flag_spec_CXX \
82974 whole_archive_flag_spec_CXX \
82975 compiler_needs_object_CXX \
82976 with_gnu_ld_CXX \
82977 allow_undefined_flag_CXX \
82978 no_undefined_flag_CXX \
82979 hardcode_libdir_flag_spec_CXX \
82980 hardcode_libdir_flag_spec_ld_CXX \
82981 hardcode_libdir_separator_CXX \
82982 fix_srcfile_path_CXX \
82983 exclude_expsyms_CXX \
82984 include_expsyms_CXX \
82985 file_list_spec_CXX \
82986 compiler_lib_search_dirs_CXX \
82987 predep_objects_CXX \
82988 postdep_objects_CXX \
82989 predeps_CXX \
82990 postdeps_CXX \
82991 compiler_lib_search_path_CXX; do
82992 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82993 *[\\\\\\\`\\"\\\$]*)
82994 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82997 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82999 esac
83000 done
83002 # Double-quote double-evaled strings.
83003 for var in reload_cmds \
83004 old_postinstall_cmds \
83005 old_postuninstall_cmds \
83006 old_archive_cmds \
83007 extract_expsyms_cmds \
83008 old_archive_from_new_cmds \
83009 old_archive_from_expsyms_cmds \
83010 archive_cmds \
83011 archive_expsym_cmds \
83012 module_cmds \
83013 module_expsym_cmds \
83014 export_symbols_cmds \
83015 prelink_cmds \
83016 postinstall_cmds \
83017 postuninstall_cmds \
83018 finish_cmds \
83019 sys_lib_search_path_spec \
83020 sys_lib_dlsearch_path_spec \
83021 reload_cmds_CXX \
83022 old_archive_cmds_CXX \
83023 old_archive_from_new_cmds_CXX \
83024 old_archive_from_expsyms_cmds_CXX \
83025 archive_cmds_CXX \
83026 archive_expsym_cmds_CXX \
83027 module_cmds_CXX \
83028 module_expsym_cmds_CXX \
83029 export_symbols_cmds_CXX \
83030 prelink_cmds_CXX; do
83031 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83032 *[\\\\\\\`\\"\\\$]*)
83033 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83036 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83038 esac
83039 done
83041 ac_aux_dir='$ac_aux_dir'
83042 xsi_shell='$xsi_shell'
83043 lt_shell_append='$lt_shell_append'
83045 # See if we are running on zsh, and set the options which allow our
83046 # commands through without removal of \ escapes INIT.
83047 if test -n "\${ZSH_VERSION+set}" ; then
83048 setopt NO_GLOB_SUBST
83052 PACKAGE='$PACKAGE'
83053 VERSION='$VERSION'
83054 TIMESTAMP='$TIMESTAMP'
83055 RM='$RM'
83056 ofile='$ofile'
83063 GCC="$GCC"
83064 CC="$CC"
83065 acx_cv_header_stdint="$acx_cv_header_stdint"
83066 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83067 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83068 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83069 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83070 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83071 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83072 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83073 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83074 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83075 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83076 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83077 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83078 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83081 _ACEOF
83083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83085 # Handling of arguments.
83086 for ac_config_target in $ac_config_targets
83088 case $ac_config_target in
83089 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83090 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83091 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83092 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83093 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83094 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83095 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83096 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83097 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83098 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83099 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83100 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83101 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83102 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83103 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83104 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83105 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83106 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83107 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83108 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83110 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83111 esac
83112 done
83115 # If the user did not use the arguments to specify the items to instantiate,
83116 # then the envvar interface is used. Set only those that are not.
83117 # We use the long form for the default assignment because of an extremely
83118 # bizarre bug on SunOS 4.1.3.
83119 if $ac_need_defaults; then
83120 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83121 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83122 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83125 # Have a temporary directory for convenience. Make it in the build tree
83126 # simply because there is no reason against having it here, and in addition,
83127 # creating and moving files from /tmp can sometimes cause problems.
83128 # Hook for its removal unless debugging.
83129 # Note that there is a small window in which the directory will not be cleaned:
83130 # after its creation but before its name has been assigned to `$tmp'.
83131 $debug ||
83133 tmp=
83134 trap 'exit_status=$?
83135 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
83137 trap 'as_fn_exit 1' 1 2 13 15
83139 # Create a (secure) tmp directory for tmp files.
83142 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83143 test -n "$tmp" && test -d "$tmp"
83144 } ||
83146 tmp=./conf$$-$RANDOM
83147 (umask 077 && mkdir "$tmp")
83148 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
83150 # Set up the scripts for CONFIG_FILES section.
83151 # No need to generate them if there are no CONFIG_FILES.
83152 # This happens for instance with `./config.status config.h'.
83153 if test -n "$CONFIG_FILES"; then
83156 ac_cr=`echo X | tr X '\015'`
83157 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83158 # But we know of no other shell where ac_cr would be empty at this
83159 # point, so we can use a bashism as a fallback.
83160 if test "x$ac_cr" = x; then
83161 eval ac_cr=\$\'\\r\'
83163 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83164 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83165 ac_cs_awk_cr='\r'
83166 else
83167 ac_cs_awk_cr=$ac_cr
83170 echo 'BEGIN {' >"$tmp/subs1.awk" &&
83171 _ACEOF
83175 echo "cat >conf$$subs.awk <<_ACEOF" &&
83176 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83177 echo "_ACEOF"
83178 } >conf$$subs.sh ||
83179 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83180 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
83181 ac_delim='%!_!# '
83182 for ac_last_try in false false false false false :; do
83183 . ./conf$$subs.sh ||
83184 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83186 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83187 if test $ac_delim_n = $ac_delim_num; then
83188 break
83189 elif $ac_last_try; then
83190 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83191 else
83192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83194 done
83195 rm -f conf$$subs.sh
83197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83198 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83199 _ACEOF
83200 sed -n '
83202 s/^/S["/; s/!.*/"]=/
83205 s/^[^!]*!//
83206 :repl
83207 t repl
83208 s/'"$ac_delim"'$//
83209 t delim
83212 s/\(.\{148\}\).*/\1/
83213 t more1
83214 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83217 b repl
83218 :more1
83219 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83222 s/.\{148\}//
83223 t nl
83224 :delim
83226 s/\(.\{148\}\).*/\1/
83227 t more2
83228 s/["\\]/\\&/g; s/^/"/; s/$/"/
83231 :more2
83232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83235 s/.\{148\}//
83236 t delim
83237 ' <conf$$subs.awk | sed '
83238 /^[^""]/{
83240 s/\n//
83242 ' >>$CONFIG_STATUS || ac_write_fail=1
83243 rm -f conf$$subs.awk
83244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83245 _ACAWK
83246 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83247 for (key in S) S_is_set[key] = 1
83248 FS = "\a"
83252 line = $ 0
83253 nfields = split(line, field, "@")
83254 substed = 0
83255 len = length(field[1])
83256 for (i = 2; i < nfields; i++) {
83257 key = field[i]
83258 keylen = length(key)
83259 if (S_is_set[key]) {
83260 value = S[key]
83261 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83262 len += length(value) + length(field[++i])
83263 substed = 1
83264 } else
83265 len += 1 + keylen
83268 print line
83271 _ACAWK
83272 _ACEOF
83273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83274 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83275 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83276 else
83278 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83279 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83280 _ACEOF
83282 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83283 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83284 # trailing colons and then remove the whole line if VPATH becomes empty
83285 # (actually we leave an empty line to preserve line numbers).
83286 if test "x$srcdir" = x.; then
83287 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83288 s/:*\$(srcdir):*/:/
83289 s/:*\${srcdir}:*/:/
83290 s/:*@srcdir@:*/:/
83291 s/^\([^=]*=[ ]*\):*/\1/
83292 s/:*$//
83293 s/^[^=]*=[ ]*$//
83297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83298 fi # test -n "$CONFIG_FILES"
83300 # Set up the scripts for CONFIG_HEADERS section.
83301 # No need to generate them if there are no CONFIG_HEADERS.
83302 # This happens for instance with `./config.status Makefile'.
83303 if test -n "$CONFIG_HEADERS"; then
83304 cat >"$tmp/defines.awk" <<\_ACAWK ||
83305 BEGIN {
83306 _ACEOF
83308 # Transform confdefs.h into an awk script `defines.awk', embedded as
83309 # here-document in config.status, that substitutes the proper values into
83310 # config.h.in to produce config.h.
83312 # Create a delimiter string that does not exist in confdefs.h, to ease
83313 # handling of long lines.
83314 ac_delim='%!_!# '
83315 for ac_last_try in false false :; do
83316 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83317 if test -z "$ac_t"; then
83318 break
83319 elif $ac_last_try; then
83320 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83321 else
83322 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83324 done
83326 # For the awk script, D is an array of macro values keyed by name,
83327 # likewise P contains macro parameters if any. Preserve backslash
83328 # newline sequences.
83330 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83331 sed -n '
83332 s/.\{148\}/&'"$ac_delim"'/g
83333 t rset
83334 :rset
83335 s/^[ ]*#[ ]*define[ ][ ]*/ /
83336 t def
83338 :def
83339 s/\\$//
83340 t bsnl
83341 s/["\\]/\\&/g
83342 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83343 D["\1"]=" \3"/p
83344 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83346 :bsnl
83347 s/["\\]/\\&/g
83348 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83349 D["\1"]=" \3\\\\\\n"\\/p
83350 t cont
83351 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83352 t cont
83354 :cont
83356 s/.\{148\}/&'"$ac_delim"'/g
83357 t clear
83358 :clear
83359 s/\\$//
83360 t bsnlc
83361 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83363 :bsnlc
83364 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83365 b cont
83366 ' <confdefs.h | sed '
83367 s/'"$ac_delim"'/"\\\
83368 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83371 for (key in D) D_is_set[key] = 1
83372 FS = "\a"
83374 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83375 line = \$ 0
83376 split(line, arg, " ")
83377 if (arg[1] == "#") {
83378 defundef = arg[2]
83379 mac1 = arg[3]
83380 } else {
83381 defundef = substr(arg[1], 2)
83382 mac1 = arg[2]
83384 split(mac1, mac2, "(") #)
83385 macro = mac2[1]
83386 prefix = substr(line, 1, index(line, defundef) - 1)
83387 if (D_is_set[macro]) {
83388 # Preserve the white space surrounding the "#".
83389 print prefix "define", macro P[macro] D[macro]
83390 next
83391 } else {
83392 # Replace #undef with comments. This is necessary, for example,
83393 # in the case of _POSIX_SOURCE, which is predefined and required
83394 # on some systems where configure will not decide to define it.
83395 if (defundef == "undef") {
83396 print "/*", prefix defundef, macro, "*/"
83397 next
83401 { print }
83402 _ACAWK
83403 _ACEOF
83404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83405 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83406 fi # test -n "$CONFIG_HEADERS"
83409 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83410 shift
83411 for ac_tag
83413 case $ac_tag in
83414 :[FHLC]) ac_mode=$ac_tag; continue;;
83415 esac
83416 case $ac_mode$ac_tag in
83417 :[FHL]*:*);;
83418 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83419 :[FH]-) ac_tag=-:-;;
83420 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83421 esac
83422 ac_save_IFS=$IFS
83423 IFS=:
83424 set x $ac_tag
83425 IFS=$ac_save_IFS
83426 shift
83427 ac_file=$1
83428 shift
83430 case $ac_mode in
83431 :L) ac_source=$1;;
83432 :[FH])
83433 ac_file_inputs=
83434 for ac_f
83436 case $ac_f in
83437 -) ac_f="$tmp/stdin";;
83438 *) # Look for the file first in the build tree, then in the source tree
83439 # (if the path is not absolute). The absolute path cannot be DOS-style,
83440 # because $ac_f cannot contain `:'.
83441 test -f "$ac_f" ||
83442 case $ac_f in
83443 [\\/$]*) false;;
83444 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83445 esac ||
83446 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83447 esac
83448 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83449 as_fn_append ac_file_inputs " '$ac_f'"
83450 done
83452 # Let's still pretend it is `configure' which instantiates (i.e., don't
83453 # use $as_me), people would be surprised to read:
83454 # /* config.h. Generated by config.status. */
83455 configure_input='Generated from '`
83456 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83457 `' by configure.'
83458 if test x"$ac_file" != x-; then
83459 configure_input="$ac_file. $configure_input"
83460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83461 $as_echo "$as_me: creating $ac_file" >&6;}
83463 # Neutralize special characters interpreted by sed in replacement strings.
83464 case $configure_input in #(
83465 *\&* | *\|* | *\\* )
83466 ac_sed_conf_input=`$as_echo "$configure_input" |
83467 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83468 *) ac_sed_conf_input=$configure_input;;
83469 esac
83471 case $ac_tag in
83472 *:-:* | *:-) cat >"$tmp/stdin" \
83473 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83474 esac
83476 esac
83478 ac_dir=`$as_dirname -- "$ac_file" ||
83479 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83480 X"$ac_file" : 'X\(//\)[^/]' \| \
83481 X"$ac_file" : 'X\(//\)$' \| \
83482 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83483 $as_echo X"$ac_file" |
83484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83485 s//\1/
83488 /^X\(\/\/\)[^/].*/{
83489 s//\1/
83492 /^X\(\/\/\)$/{
83493 s//\1/
83496 /^X\(\/\).*/{
83497 s//\1/
83500 s/.*/./; q'`
83501 as_dir="$ac_dir"; as_fn_mkdir_p
83502 ac_builddir=.
83504 case "$ac_dir" in
83505 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83507 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83508 # A ".." for each directory in $ac_dir_suffix.
83509 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83510 case $ac_top_builddir_sub in
83511 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83512 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83513 esac ;;
83514 esac
83515 ac_abs_top_builddir=$ac_pwd
83516 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83517 # for backward compatibility:
83518 ac_top_builddir=$ac_top_build_prefix
83520 case $srcdir in
83521 .) # We are building in place.
83522 ac_srcdir=.
83523 ac_top_srcdir=$ac_top_builddir_sub
83524 ac_abs_top_srcdir=$ac_pwd ;;
83525 [\\/]* | ?:[\\/]* ) # Absolute name.
83526 ac_srcdir=$srcdir$ac_dir_suffix;
83527 ac_top_srcdir=$srcdir
83528 ac_abs_top_srcdir=$srcdir ;;
83529 *) # Relative name.
83530 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83531 ac_top_srcdir=$ac_top_build_prefix$srcdir
83532 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83533 esac
83534 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83537 case $ac_mode in
83540 # CONFIG_FILE
83543 case $INSTALL in
83544 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83545 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83546 esac
83547 ac_MKDIR_P=$MKDIR_P
83548 case $MKDIR_P in
83549 [\\/$]* | ?:[\\/]* ) ;;
83550 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83551 esac
83552 _ACEOF
83554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83555 # If the template does not know about datarootdir, expand it.
83556 # FIXME: This hack should be removed a few years after 2.60.
83557 ac_datarootdir_hack=; ac_datarootdir_seen=
83558 ac_sed_dataroot='
83559 /datarootdir/ {
83563 /@datadir@/p
83564 /@docdir@/p
83565 /@infodir@/p
83566 /@localedir@/p
83567 /@mandir@/p'
83568 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83569 *datarootdir*) ac_datarootdir_seen=yes;;
83570 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83572 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83573 _ACEOF
83574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83575 ac_datarootdir_hack='
83576 s&@datadir@&$datadir&g
83577 s&@docdir@&$docdir&g
83578 s&@infodir@&$infodir&g
83579 s&@localedir@&$localedir&g
83580 s&@mandir@&$mandir&g
83581 s&\\\${datarootdir}&$datarootdir&g' ;;
83582 esac
83583 _ACEOF
83585 # Neutralize VPATH when `$srcdir' = `.'.
83586 # Shell code in configure.ac might set extrasub.
83587 # FIXME: do we really want to maintain this feature?
83588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83589 ac_sed_extra="$ac_vpsub
83590 $extrasub
83591 _ACEOF
83592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83595 s|@configure_input@|$ac_sed_conf_input|;t t
83596 s&@top_builddir@&$ac_top_builddir_sub&;t t
83597 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83598 s&@srcdir@&$ac_srcdir&;t t
83599 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83600 s&@top_srcdir@&$ac_top_srcdir&;t t
83601 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83602 s&@builddir@&$ac_builddir&;t t
83603 s&@abs_builddir@&$ac_abs_builddir&;t t
83604 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83605 s&@INSTALL@&$ac_INSTALL&;t t
83606 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83607 $ac_datarootdir_hack
83609 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83610 || as_fn_error "could not create $ac_file" "$LINENO" 5
83612 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83613 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83614 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83616 which seems to be undefined. Please make sure it is defined." >&5
83617 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83618 which seems to be undefined. Please make sure it is defined." >&2;}
83620 rm -f "$tmp/stdin"
83621 case $ac_file in
83622 -) cat "$tmp/out" && rm -f "$tmp/out";;
83623 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83624 esac \
83625 || as_fn_error "could not create $ac_file" "$LINENO" 5
83629 # CONFIG_HEADER
83631 if test x"$ac_file" != x-; then
83633 $as_echo "/* $configure_input */" \
83634 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83635 } >"$tmp/config.h" \
83636 || as_fn_error "could not create $ac_file" "$LINENO" 5
83637 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83638 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83639 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83640 else
83641 rm -f "$ac_file"
83642 mv "$tmp/config.h" "$ac_file" \
83643 || as_fn_error "could not create $ac_file" "$LINENO" 5
83645 else
83646 $as_echo "/* $configure_input */" \
83647 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83648 || as_fn_error "could not create -" "$LINENO" 5
83650 # Compute "$ac_file"'s index in $config_headers.
83651 _am_arg="$ac_file"
83652 _am_stamp_count=1
83653 for _am_header in $config_headers :; do
83654 case $_am_header in
83655 $_am_arg | $_am_arg:* )
83656 break ;;
83658 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83659 esac
83660 done
83661 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83662 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83663 X"$_am_arg" : 'X\(//\)[^/]' \| \
83664 X"$_am_arg" : 'X\(//\)$' \| \
83665 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83666 $as_echo X"$_am_arg" |
83667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83668 s//\1/
83671 /^X\(\/\/\)[^/].*/{
83672 s//\1/
83675 /^X\(\/\/\)$/{
83676 s//\1/
83679 /^X\(\/\).*/{
83680 s//\1/
83683 s/.*/./; q'`/stamp-h$_am_stamp_count
83686 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83687 $as_echo "$as_me: executing $ac_file commands" >&6;}
83689 esac
83692 case $ac_file$ac_mode in
83693 "default-1":C)
83694 # Only add multilib support code if we just rebuilt the top-level
83695 # Makefile.
83696 case " $CONFIG_FILES " in
83697 *" Makefile "*)
83698 ac_file=Makefile . ${multi_basedir}/config-ml.in
83700 esac ;;
83701 "libtool":C)
83703 # See if we are running on zsh, and set the options which allow our
83704 # commands through without removal of \ escapes.
83705 if test -n "${ZSH_VERSION+set}" ; then
83706 setopt NO_GLOB_SUBST
83709 cfgfile="${ofile}T"
83710 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83711 $RM "$cfgfile"
83713 cat <<_LT_EOF >> "$cfgfile"
83714 #! $SHELL
83716 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83717 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83718 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83719 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83721 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83722 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83723 # Written by Gordon Matzigkeit, 1996
83725 # This file is part of GNU Libtool.
83727 # GNU Libtool is free software; you can redistribute it and/or
83728 # modify it under the terms of the GNU General Public License as
83729 # published by the Free Software Foundation; either version 2 of
83730 # the License, or (at your option) any later version.
83732 # As a special exception to the GNU General Public License,
83733 # if you distribute this file as part of a program or library that
83734 # is built using GNU Libtool, you may include this file under the
83735 # same distribution terms that you use for the rest of that program.
83737 # GNU Libtool is distributed in the hope that it will be useful,
83738 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83739 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83740 # GNU General Public License for more details.
83742 # You should have received a copy of the GNU General Public License
83743 # along with GNU Libtool; see the file COPYING. If not, a copy
83744 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83745 # obtained by writing to the Free Software Foundation, Inc.,
83746 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83749 # The names of the tagged configurations supported by this script.
83750 available_tags="CXX "
83752 # ### BEGIN LIBTOOL CONFIG
83754 # Which release of libtool.m4 was used?
83755 macro_version=$macro_version
83756 macro_revision=$macro_revision
83758 # Whether or not to build shared libraries.
83759 build_libtool_libs=$enable_shared
83761 # Whether or not to build static libraries.
83762 build_old_libs=$enable_static
83764 # What type of objects to build.
83765 pic_mode=$pic_mode
83767 # Whether or not to optimize for fast installation.
83768 fast_install=$enable_fast_install
83770 # Shell to use when invoking shell scripts.
83771 SHELL=$lt_SHELL
83773 # An echo program that protects backslashes.
83774 ECHO=$lt_ECHO
83776 # The host system.
83777 host_alias=$host_alias
83778 host=$host
83779 host_os=$host_os
83781 # The build system.
83782 build_alias=$build_alias
83783 build=$build
83784 build_os=$build_os
83786 # A sed program that does not truncate output.
83787 SED=$lt_SED
83789 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83790 Xsed="\$SED -e 1s/^X//"
83792 # A grep program that handles long lines.
83793 GREP=$lt_GREP
83795 # An ERE matcher.
83796 EGREP=$lt_EGREP
83798 # A literal string matcher.
83799 FGREP=$lt_FGREP
83801 # A BSD- or MS-compatible name lister.
83802 NM=$lt_NM
83804 # Whether we need soft or hard links.
83805 LN_S=$lt_LN_S
83807 # What is the maximum length of a command?
83808 max_cmd_len=$max_cmd_len
83810 # Object file suffix (normally "o").
83811 objext=$ac_objext
83813 # Executable file suffix (normally "").
83814 exeext=$exeext
83816 # whether the shell understands "unset".
83817 lt_unset=$lt_unset
83819 # turn spaces into newlines.
83820 SP2NL=$lt_lt_SP2NL
83822 # turn newlines into spaces.
83823 NL2SP=$lt_lt_NL2SP
83825 # An object symbol dumper.
83826 OBJDUMP=$lt_OBJDUMP
83828 # Method to check whether dependent libraries are shared objects.
83829 deplibs_check_method=$lt_deplibs_check_method
83831 # Command to use when deplibs_check_method == "file_magic".
83832 file_magic_cmd=$lt_file_magic_cmd
83834 # The archiver.
83835 AR=$lt_AR
83836 AR_FLAGS=$lt_AR_FLAGS
83838 # A symbol stripping program.
83839 STRIP=$lt_STRIP
83841 # Commands used to install an old-style archive.
83842 RANLIB=$lt_RANLIB
83843 old_postinstall_cmds=$lt_old_postinstall_cmds
83844 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83846 # Whether to use a lock for old archive extraction.
83847 lock_old_archive_extraction=$lock_old_archive_extraction
83849 # A C compiler.
83850 LTCC=$lt_CC
83852 # LTCC compiler flags.
83853 LTCFLAGS=$lt_CFLAGS
83855 # Take the output of nm and produce a listing of raw symbols and C names.
83856 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83858 # Transform the output of nm in a proper C declaration.
83859 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83861 # Transform the output of nm in a C name address pair.
83862 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83864 # Transform the output of nm in a C name address pair when lib prefix is needed.
83865 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83867 # The name of the directory that contains temporary libtool files.
83868 objdir=$objdir
83870 # Used to examine libraries when file_magic_cmd begins with "file".
83871 MAGIC_CMD=$MAGIC_CMD
83873 # Must we lock files when doing compilation?
83874 need_locks=$lt_need_locks
83876 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83877 DSYMUTIL=$lt_DSYMUTIL
83879 # Tool to change global to local symbols on Mac OS X.
83880 NMEDIT=$lt_NMEDIT
83882 # Tool to manipulate fat objects and archives on Mac OS X.
83883 LIPO=$lt_LIPO
83885 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83886 OTOOL=$lt_OTOOL
83888 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83889 OTOOL64=$lt_OTOOL64
83891 # Old archive suffix (normally "a").
83892 libext=$libext
83894 # Shared library suffix (normally ".so").
83895 shrext_cmds=$lt_shrext_cmds
83897 # The commands to extract the exported symbol list from a shared archive.
83898 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83900 # Variables whose values should be saved in libtool wrapper scripts and
83901 # restored at link time.
83902 variables_saved_for_relink=$lt_variables_saved_for_relink
83904 # Do we need the "lib" prefix for modules?
83905 need_lib_prefix=$need_lib_prefix
83907 # Do we need a version for libraries?
83908 need_version=$need_version
83910 # Library versioning type.
83911 version_type=$version_type
83913 # Shared library runtime path variable.
83914 runpath_var=$runpath_var
83916 # Shared library path variable.
83917 shlibpath_var=$shlibpath_var
83919 # Is shlibpath searched before the hard-coded library search path?
83920 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83922 # Format of library name prefix.
83923 libname_spec=$lt_libname_spec
83925 # List of archive names. First name is the real one, the rest are links.
83926 # The last name is the one that the linker finds with -lNAME
83927 library_names_spec=$lt_library_names_spec
83929 # The coded name of the library, if different from the real name.
83930 soname_spec=$lt_soname_spec
83932 # Permission mode override for installation of shared libraries.
83933 install_override_mode=$lt_install_override_mode
83935 # Command to use after installation of a shared archive.
83936 postinstall_cmds=$lt_postinstall_cmds
83938 # Command to use after uninstallation of a shared archive.
83939 postuninstall_cmds=$lt_postuninstall_cmds
83941 # Commands used to finish a libtool library installation in a directory.
83942 finish_cmds=$lt_finish_cmds
83944 # As "finish_cmds", except a single script fragment to be evaled but
83945 # not shown.
83946 finish_eval=$lt_finish_eval
83948 # Whether we should hardcode library paths into libraries.
83949 hardcode_into_libs=$hardcode_into_libs
83951 # Compile-time system search path for libraries.
83952 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83954 # Run-time system search path for libraries.
83955 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83957 # Whether dlopen is supported.
83958 dlopen_support=$enable_dlopen
83960 # Whether dlopen of programs is supported.
83961 dlopen_self=$enable_dlopen_self
83963 # Whether dlopen of statically linked programs is supported.
83964 dlopen_self_static=$enable_dlopen_self_static
83966 # Commands to strip libraries.
83967 old_striplib=$lt_old_striplib
83968 striplib=$lt_striplib
83971 # The linker used to build libraries.
83972 LD=$lt_LD
83974 # How to create reloadable object files.
83975 reload_flag=$lt_reload_flag
83976 reload_cmds=$lt_reload_cmds
83978 # Commands used to build an old-style archive.
83979 old_archive_cmds=$lt_old_archive_cmds
83981 # A language specific compiler.
83982 CC=$lt_compiler
83984 # Is the compiler the GNU compiler?
83985 with_gcc=$GCC
83987 # Compiler flag to turn off builtin functions.
83988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83990 # How to pass a linker flag through the compiler.
83991 wl=$lt_lt_prog_compiler_wl
83993 # Additional compiler flags for building library objects.
83994 pic_flag=$lt_lt_prog_compiler_pic
83996 # Compiler flag to prevent dynamic linking.
83997 link_static_flag=$lt_lt_prog_compiler_static
83999 # Does compiler simultaneously support -c and -o options?
84000 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84002 # Whether or not to add -lc for building shared libraries.
84003 build_libtool_need_lc=$archive_cmds_need_lc
84005 # Whether or not to disallow shared libs when runtime libs are static.
84006 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84008 # Compiler flag to allow reflexive dlopens.
84009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84011 # Compiler flag to generate shared objects directly from archives.
84012 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84014 # Whether the compiler copes with passing no objects directly.
84015 compiler_needs_object=$lt_compiler_needs_object
84017 # Create an old-style archive from a shared archive.
84018 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84020 # Create a temporary old-style archive to link instead of a shared archive.
84021 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84023 # Commands used to build a shared archive.
84024 archive_cmds=$lt_archive_cmds
84025 archive_expsym_cmds=$lt_archive_expsym_cmds
84027 # Commands used to build a loadable module if different from building
84028 # a shared archive.
84029 module_cmds=$lt_module_cmds
84030 module_expsym_cmds=$lt_module_expsym_cmds
84032 # Whether we are building with GNU ld or not.
84033 with_gnu_ld=$lt_with_gnu_ld
84035 # Flag that allows shared libraries with undefined symbols to be built.
84036 allow_undefined_flag=$lt_allow_undefined_flag
84038 # Flag that enforces no undefined symbols.
84039 no_undefined_flag=$lt_no_undefined_flag
84041 # Flag to hardcode \$libdir into a binary during linking.
84042 # This must work even if \$libdir does not exist
84043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84045 # If ld is used when linking, flag to hardcode \$libdir into a binary
84046 # during linking. This must work even if \$libdir does not exist.
84047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84049 # Whether we need a single "-rpath" flag with a separated argument.
84050 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84053 # DIR into the resulting binary.
84054 hardcode_direct=$hardcode_direct
84056 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84057 # DIR into the resulting binary and the resulting library dependency is
84058 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84059 # library is relocated.
84060 hardcode_direct_absolute=$hardcode_direct_absolute
84062 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84063 # into the resulting binary.
84064 hardcode_minus_L=$hardcode_minus_L
84066 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84067 # into the resulting binary.
84068 hardcode_shlibpath_var=$hardcode_shlibpath_var
84070 # Set to "yes" if building a shared library automatically hardcodes DIR
84071 # into the library and all subsequent libraries and executables linked
84072 # against it.
84073 hardcode_automatic=$hardcode_automatic
84075 # Set to yes if linker adds runtime paths of dependent libraries
84076 # to runtime path list.
84077 inherit_rpath=$inherit_rpath
84079 # Whether libtool must link a program against all its dependency libraries.
84080 link_all_deplibs=$link_all_deplibs
84082 # Fix the shell variable \$srcfile for the compiler.
84083 fix_srcfile_path=$lt_fix_srcfile_path
84085 # Set to "yes" if exported symbols are required.
84086 always_export_symbols=$always_export_symbols
84088 # The commands to list exported symbols.
84089 export_symbols_cmds=$lt_export_symbols_cmds
84091 # Symbols that should not be listed in the preloaded symbols.
84092 exclude_expsyms=$lt_exclude_expsyms
84094 # Symbols that must always be exported.
84095 include_expsyms=$lt_include_expsyms
84097 # Commands necessary for linking programs (against libraries) with templates.
84098 prelink_cmds=$lt_prelink_cmds
84100 # Specify filename containing input files.
84101 file_list_spec=$lt_file_list_spec
84103 # How to hardcode a shared library path into an executable.
84104 hardcode_action=$hardcode_action
84106 # The directories searched by this compiler when creating a shared library.
84107 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84109 # Dependencies to place before and after the objects being linked to
84110 # create a shared library.
84111 predep_objects=$lt_predep_objects
84112 postdep_objects=$lt_postdep_objects
84113 predeps=$lt_predeps
84114 postdeps=$lt_postdeps
84116 # The library search path used internally by the compiler when linking
84117 # a shared library.
84118 compiler_lib_search_path=$lt_compiler_lib_search_path
84120 # ### END LIBTOOL CONFIG
84122 _LT_EOF
84124 case $host_os in
84125 aix3*)
84126 cat <<\_LT_EOF >> "$cfgfile"
84127 # AIX sometimes has problems with the GCC collect2 program. For some
84128 # reason, if we set the COLLECT_NAMES environment variable, the problems
84129 # vanish in a puff of smoke.
84130 if test "X${COLLECT_NAMES+set}" != Xset; then
84131 COLLECT_NAMES=
84132 export COLLECT_NAMES
84134 _LT_EOF
84136 esac
84139 ltmain="$ac_aux_dir/ltmain.sh"
84142 # We use sed instead of cat because bash on DJGPP gets confused if
84143 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84144 # text mode, it properly converts lines to CR/LF. This bash problem
84145 # is reportedly fixed, but why not run on old versions too?
84146 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84147 || (rm -f "$cfgfile"; exit 1)
84149 case $xsi_shell in
84150 yes)
84151 cat << \_LT_EOF >> "$cfgfile"
84153 # func_dirname file append nondir_replacement
84154 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84155 # otherwise set result to NONDIR_REPLACEMENT.
84156 func_dirname ()
84158 case ${1} in
84159 */*) func_dirname_result="${1%/*}${2}" ;;
84160 * ) func_dirname_result="${3}" ;;
84161 esac
84164 # func_basename file
84165 func_basename ()
84167 func_basename_result="${1##*/}"
84170 # func_dirname_and_basename file append nondir_replacement
84171 # perform func_basename and func_dirname in a single function
84172 # call:
84173 # dirname: Compute the dirname of FILE. If nonempty,
84174 # add APPEND to the result, otherwise set result
84175 # to NONDIR_REPLACEMENT.
84176 # value returned in "$func_dirname_result"
84177 # basename: Compute filename of FILE.
84178 # value retuned in "$func_basename_result"
84179 # Implementation must be kept synchronized with func_dirname
84180 # and func_basename. For efficiency, we do not delegate to
84181 # those functions but instead duplicate the functionality here.
84182 func_dirname_and_basename ()
84184 case ${1} in
84185 */*) func_dirname_result="${1%/*}${2}" ;;
84186 * ) func_dirname_result="${3}" ;;
84187 esac
84188 func_basename_result="${1##*/}"
84191 # func_stripname prefix suffix name
84192 # strip PREFIX and SUFFIX off of NAME.
84193 # PREFIX and SUFFIX must not contain globbing or regex special
84194 # characters, hashes, percent signs, but SUFFIX may contain a leading
84195 # dot (in which case that matches only a dot).
84196 func_stripname ()
84198 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84199 # positional parameters, so assign one to ordinary parameter first.
84200 func_stripname_result=${3}
84201 func_stripname_result=${func_stripname_result#"${1}"}
84202 func_stripname_result=${func_stripname_result%"${2}"}
84205 # func_opt_split
84206 func_opt_split ()
84208 func_opt_split_opt=${1%%=*}
84209 func_opt_split_arg=${1#*=}
84212 # func_lo2o object
84213 func_lo2o ()
84215 case ${1} in
84216 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84217 *) func_lo2o_result=${1} ;;
84218 esac
84221 # func_xform libobj-or-source
84222 func_xform ()
84224 func_xform_result=${1%.*}.lo
84227 # func_arith arithmetic-term...
84228 func_arith ()
84230 func_arith_result=$(( $* ))
84233 # func_len string
84234 # STRING may not start with a hyphen.
84235 func_len ()
84237 func_len_result=${#1}
84240 _LT_EOF
84242 *) # Bourne compatible functions.
84243 cat << \_LT_EOF >> "$cfgfile"
84245 # func_dirname file append nondir_replacement
84246 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84247 # otherwise set result to NONDIR_REPLACEMENT.
84248 func_dirname ()
84250 # Extract subdirectory from the argument.
84251 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84252 if test "X$func_dirname_result" = "X${1}"; then
84253 func_dirname_result="${3}"
84254 else
84255 func_dirname_result="$func_dirname_result${2}"
84259 # func_basename file
84260 func_basename ()
84262 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84266 # func_stripname prefix suffix name
84267 # strip PREFIX and SUFFIX off of NAME.
84268 # PREFIX and SUFFIX must not contain globbing or regex special
84269 # characters, hashes, percent signs, but SUFFIX may contain a leading
84270 # dot (in which case that matches only a dot).
84271 # func_strip_suffix prefix name
84272 func_stripname ()
84274 case ${2} in
84275 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84276 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84277 esac
84280 # sed scripts:
84281 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84282 my_sed_long_arg='1s/^-[^=]*=//'
84284 # func_opt_split
84285 func_opt_split ()
84287 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84288 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84291 # func_lo2o object
84292 func_lo2o ()
84294 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84297 # func_xform libobj-or-source
84298 func_xform ()
84300 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84303 # func_arith arithmetic-term...
84304 func_arith ()
84306 func_arith_result=`expr "$@"`
84309 # func_len string
84310 # STRING may not start with a hyphen.
84311 func_len ()
84313 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84316 _LT_EOF
84317 esac
84319 case $lt_shell_append in
84320 yes)
84321 cat << \_LT_EOF >> "$cfgfile"
84323 # func_append var value
84324 # Append VALUE to the end of shell variable VAR.
84325 func_append ()
84327 eval "$1+=\$2"
84329 _LT_EOF
84332 cat << \_LT_EOF >> "$cfgfile"
84334 # func_append var value
84335 # Append VALUE to the end of shell variable VAR.
84336 func_append ()
84338 eval "$1=\$$1\$2"
84341 _LT_EOF
84343 esac
84346 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84347 || (rm -f "$cfgfile"; exit 1)
84349 mv -f "$cfgfile" "$ofile" ||
84350 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84351 chmod +x "$ofile"
84354 cat <<_LT_EOF >> "$ofile"
84356 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84358 # The linker used to build libraries.
84359 LD=$lt_LD_CXX
84361 # How to create reloadable object files.
84362 reload_flag=$lt_reload_flag_CXX
84363 reload_cmds=$lt_reload_cmds_CXX
84365 # Commands used to build an old-style archive.
84366 old_archive_cmds=$lt_old_archive_cmds_CXX
84368 # A language specific compiler.
84369 CC=$lt_compiler_CXX
84371 # Is the compiler the GNU compiler?
84372 with_gcc=$GCC_CXX
84374 # Compiler flag to turn off builtin functions.
84375 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84377 # How to pass a linker flag through the compiler.
84378 wl=$lt_lt_prog_compiler_wl_CXX
84380 # Additional compiler flags for building library objects.
84381 pic_flag=$lt_lt_prog_compiler_pic_CXX
84383 # Compiler flag to prevent dynamic linking.
84384 link_static_flag=$lt_lt_prog_compiler_static_CXX
84386 # Does compiler simultaneously support -c and -o options?
84387 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84389 # Whether or not to add -lc for building shared libraries.
84390 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84392 # Whether or not to disallow shared libs when runtime libs are static.
84393 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84395 # Compiler flag to allow reflexive dlopens.
84396 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84398 # Compiler flag to generate shared objects directly from archives.
84399 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84401 # Whether the compiler copes with passing no objects directly.
84402 compiler_needs_object=$lt_compiler_needs_object_CXX
84404 # Create an old-style archive from a shared archive.
84405 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84407 # Create a temporary old-style archive to link instead of a shared archive.
84408 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84410 # Commands used to build a shared archive.
84411 archive_cmds=$lt_archive_cmds_CXX
84412 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84414 # Commands used to build a loadable module if different from building
84415 # a shared archive.
84416 module_cmds=$lt_module_cmds_CXX
84417 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84419 # Whether we are building with GNU ld or not.
84420 with_gnu_ld=$lt_with_gnu_ld_CXX
84422 # Flag that allows shared libraries with undefined symbols to be built.
84423 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84425 # Flag that enforces no undefined symbols.
84426 no_undefined_flag=$lt_no_undefined_flag_CXX
84428 # Flag to hardcode \$libdir into a binary during linking.
84429 # This must work even if \$libdir does not exist
84430 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84432 # If ld is used when linking, flag to hardcode \$libdir into a binary
84433 # during linking. This must work even if \$libdir does not exist.
84434 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84436 # Whether we need a single "-rpath" flag with a separated argument.
84437 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84439 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84440 # DIR into the resulting binary.
84441 hardcode_direct=$hardcode_direct_CXX
84443 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84444 # DIR into the resulting binary and the resulting library dependency is
84445 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84446 # library is relocated.
84447 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84449 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84450 # into the resulting binary.
84451 hardcode_minus_L=$hardcode_minus_L_CXX
84453 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84454 # into the resulting binary.
84455 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84457 # Set to "yes" if building a shared library automatically hardcodes DIR
84458 # into the library and all subsequent libraries and executables linked
84459 # against it.
84460 hardcode_automatic=$hardcode_automatic_CXX
84462 # Set to yes if linker adds runtime paths of dependent libraries
84463 # to runtime path list.
84464 inherit_rpath=$inherit_rpath_CXX
84466 # Whether libtool must link a program against all its dependency libraries.
84467 link_all_deplibs=$link_all_deplibs_CXX
84469 # Fix the shell variable \$srcfile for the compiler.
84470 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84472 # Set to "yes" if exported symbols are required.
84473 always_export_symbols=$always_export_symbols_CXX
84475 # The commands to list exported symbols.
84476 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84478 # Symbols that should not be listed in the preloaded symbols.
84479 exclude_expsyms=$lt_exclude_expsyms_CXX
84481 # Symbols that must always be exported.
84482 include_expsyms=$lt_include_expsyms_CXX
84484 # Commands necessary for linking programs (against libraries) with templates.
84485 prelink_cmds=$lt_prelink_cmds_CXX
84487 # Specify filename containing input files.
84488 file_list_spec=$lt_file_list_spec_CXX
84490 # How to hardcode a shared library path into an executable.
84491 hardcode_action=$hardcode_action_CXX
84493 # The directories searched by this compiler when creating a shared library.
84494 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84496 # Dependencies to place before and after the objects being linked to
84497 # create a shared library.
84498 predep_objects=$lt_predep_objects_CXX
84499 postdep_objects=$lt_postdep_objects_CXX
84500 predeps=$lt_predeps_CXX
84501 postdeps=$lt_postdeps_CXX
84503 # The library search path used internally by the compiler when linking
84504 # a shared library.
84505 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84507 # ### END LIBTOOL TAG CONFIG: CXX
84508 _LT_EOF
84511 "include/gstdint.h":C)
84512 if test "$GCC" = yes; then
84513 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84514 else
84515 echo "/* generated for $CC */" > tmp-stdint.h
84518 sed 's/^ *//' >> tmp-stdint.h <<EOF
84520 #ifndef GCC_GENERATED_STDINT_H
84521 #define GCC_GENERATED_STDINT_H 1
84523 #include <sys/types.h>
84526 if test "$acx_cv_header_stdint" != stdint.h; then
84527 echo "#include <stddef.h>" >> tmp-stdint.h
84529 if test "$acx_cv_header_stdint" != stddef.h; then
84530 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84533 sed 's/^ *//' >> tmp-stdint.h <<EOF
84534 /* glibc uses these symbols as guards to prevent redefinitions. */
84535 #ifdef __int8_t_defined
84536 #define _INT8_T
84537 #define _INT16_T
84538 #define _INT32_T
84539 #endif
84540 #ifdef __uint32_t_defined
84541 #define _UINT32_T
84542 #endif
84546 # ----------------- done header, emit basic int types -------------
84547 if test "$acx_cv_header_stdint" = stddef.h; then
84548 sed 's/^ *//' >> tmp-stdint.h <<EOF
84550 #ifndef _UINT8_T
84551 #define _UINT8_T
84552 #ifndef __uint8_t_defined
84553 #define __uint8_t_defined
84554 #ifndef uint8_t
84555 typedef unsigned $acx_cv_type_int8_t uint8_t;
84556 #endif
84557 #endif
84558 #endif
84560 #ifndef _UINT16_T
84561 #define _UINT16_T
84562 #ifndef __uint16_t_defined
84563 #define __uint16_t_defined
84564 #ifndef uint16_t
84565 typedef unsigned $acx_cv_type_int16_t uint16_t;
84566 #endif
84567 #endif
84568 #endif
84570 #ifndef _UINT32_T
84571 #define _UINT32_T
84572 #ifndef __uint32_t_defined
84573 #define __uint32_t_defined
84574 #ifndef uint32_t
84575 typedef unsigned $acx_cv_type_int32_t uint32_t;
84576 #endif
84577 #endif
84578 #endif
84580 #ifndef _INT8_T
84581 #define _INT8_T
84582 #ifndef __int8_t_defined
84583 #define __int8_t_defined
84584 #ifndef int8_t
84585 typedef $acx_cv_type_int8_t int8_t;
84586 #endif
84587 #endif
84588 #endif
84590 #ifndef _INT16_T
84591 #define _INT16_T
84592 #ifndef __int16_t_defined
84593 #define __int16_t_defined
84594 #ifndef int16_t
84595 typedef $acx_cv_type_int16_t int16_t;
84596 #endif
84597 #endif
84598 #endif
84600 #ifndef _INT32_T
84601 #define _INT32_T
84602 #ifndef __int32_t_defined
84603 #define __int32_t_defined
84604 #ifndef int32_t
84605 typedef $acx_cv_type_int32_t int32_t;
84606 #endif
84607 #endif
84608 #endif
84610 elif test "$ac_cv_type_u_int32_t" = yes; then
84611 sed 's/^ *//' >> tmp-stdint.h <<EOF
84613 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84614 #ifndef _INT8_T
84615 #define _INT8_T
84616 #endif
84617 #ifndef _INT16_T
84618 #define _INT16_T
84619 #endif
84620 #ifndef _INT32_T
84621 #define _INT32_T
84622 #endif
84624 #ifndef _UINT8_T
84625 #define _UINT8_T
84626 #ifndef __uint8_t_defined
84627 #define __uint8_t_defined
84628 #ifndef uint8_t
84629 typedef u_int8_t uint8_t;
84630 #endif
84631 #endif
84632 #endif
84634 #ifndef _UINT16_T
84635 #define _UINT16_T
84636 #ifndef __uint16_t_defined
84637 #define __uint16_t_defined
84638 #ifndef uint16_t
84639 typedef u_int16_t uint16_t;
84640 #endif
84641 #endif
84642 #endif
84644 #ifndef _UINT32_T
84645 #define _UINT32_T
84646 #ifndef __uint32_t_defined
84647 #define __uint32_t_defined
84648 #ifndef uint32_t
84649 typedef u_int32_t uint32_t;
84650 #endif
84651 #endif
84652 #endif
84654 else
84655 sed 's/^ *//' >> tmp-stdint.h <<EOF
84657 /* Some systems have guard macros to prevent redefinitions, define them. */
84658 #ifndef _INT8_T
84659 #define _INT8_T
84660 #endif
84661 #ifndef _INT16_T
84662 #define _INT16_T
84663 #endif
84664 #ifndef _INT32_T
84665 #define _INT32_T
84666 #endif
84667 #ifndef _UINT8_T
84668 #define _UINT8_T
84669 #endif
84670 #ifndef _UINT16_T
84671 #define _UINT16_T
84672 #endif
84673 #ifndef _UINT32_T
84674 #define _UINT32_T
84675 #endif
84679 # ------------- done basic int types, emit int64_t types ------------
84680 if test "$ac_cv_type_uint64_t" = yes; then
84681 sed 's/^ *//' >> tmp-stdint.h <<EOF
84683 /* system headers have good uint64_t and int64_t */
84684 #ifndef _INT64_T
84685 #define _INT64_T
84686 #endif
84687 #ifndef _UINT64_T
84688 #define _UINT64_T
84689 #endif
84691 elif test "$ac_cv_type_u_int64_t" = yes; then
84692 sed 's/^ *//' >> tmp-stdint.h <<EOF
84694 /* system headers have an u_int64_t (and int64_t) */
84695 #ifndef _INT64_T
84696 #define _INT64_T
84697 #endif
84698 #ifndef _UINT64_T
84699 #define _UINT64_T
84700 #ifndef __uint64_t_defined
84701 #define __uint64_t_defined
84702 #ifndef uint64_t
84703 typedef u_int64_t uint64_t;
84704 #endif
84705 #endif
84706 #endif
84708 elif test -n "$acx_cv_type_int64_t"; then
84709 sed 's/^ *//' >> tmp-stdint.h <<EOF
84711 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84712 #ifndef _INT64_T
84713 #define _INT64_T
84714 #ifndef int64_t
84715 typedef $acx_cv_type_int64_t int64_t;
84716 #endif
84717 #endif
84718 #ifndef _UINT64_T
84719 #define _UINT64_T
84720 #ifndef __uint64_t_defined
84721 #define __uint64_t_defined
84722 #ifndef uint64_t
84723 typedef unsigned $acx_cv_type_int64_t uint64_t;
84724 #endif
84725 #endif
84726 #endif
84728 else
84729 sed 's/^ *//' >> tmp-stdint.h <<EOF
84731 /* some common heuristics for int64_t, using compiler-specific tests */
84732 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84733 #ifndef _INT64_T
84734 #define _INT64_T
84735 #ifndef __int64_t_defined
84736 #ifndef int64_t
84737 typedef long long int64_t;
84738 #endif
84739 #endif
84740 #endif
84741 #ifndef _UINT64_T
84742 #define _UINT64_T
84743 #ifndef uint64_t
84744 typedef unsigned long long uint64_t;
84745 #endif
84746 #endif
84748 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84749 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84750 does not implement __extension__. But that compiler doesn't define
84751 __GNUC_MINOR__. */
84752 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84753 # define __extension__
84754 # endif
84756 # ifndef _INT64_T
84757 # define _INT64_T
84758 # ifndef int64_t
84759 __extension__ typedef long long int64_t;
84760 # endif
84761 # endif
84762 # ifndef _UINT64_T
84763 # define _UINT64_T
84764 # ifndef uint64_t
84765 __extension__ typedef unsigned long long uint64_t;
84766 # endif
84767 # endif
84769 #elif !defined __STRICT_ANSI__
84770 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84772 # ifndef _INT64_T
84773 # define _INT64_T
84774 # ifndef int64_t
84775 typedef __int64 int64_t;
84776 # endif
84777 # endif
84778 # ifndef _UINT64_T
84779 # define _UINT64_T
84780 # ifndef uint64_t
84781 typedef unsigned __int64 uint64_t;
84782 # endif
84783 # endif
84784 # endif /* compiler */
84786 #endif /* ANSI version */
84790 # ------------- done int64_t types, emit intptr types ------------
84791 if test "$ac_cv_type_uintptr_t" != yes; then
84792 sed 's/^ *//' >> tmp-stdint.h <<EOF
84794 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84795 #ifndef __uintptr_t_defined
84796 #ifndef uintptr_t
84797 typedef u$acx_cv_type_intptr_t uintptr_t;
84798 #endif
84799 #endif
84800 #ifndef __intptr_t_defined
84801 #ifndef intptr_t
84802 typedef $acx_cv_type_intptr_t intptr_t;
84803 #endif
84804 #endif
84808 # ------------- done intptr types, emit int_least types ------------
84809 if test "$ac_cv_type_int_least32_t" != yes; then
84810 sed 's/^ *//' >> tmp-stdint.h <<EOF
84812 /* Define int_least types */
84813 typedef int8_t int_least8_t;
84814 typedef int16_t int_least16_t;
84815 typedef int32_t int_least32_t;
84816 #ifdef _INT64_T
84817 typedef int64_t int_least64_t;
84818 #endif
84820 typedef uint8_t uint_least8_t;
84821 typedef uint16_t uint_least16_t;
84822 typedef uint32_t uint_least32_t;
84823 #ifdef _UINT64_T
84824 typedef uint64_t uint_least64_t;
84825 #endif
84829 # ------------- done intptr types, emit int_fast types ------------
84830 if test "$ac_cv_type_int_fast32_t" != yes; then
84831 sed 's/^ *//' >> tmp-stdint.h <<EOF
84833 /* Define int_fast types. short is often slow */
84834 typedef int8_t int_fast8_t;
84835 typedef int int_fast16_t;
84836 typedef int32_t int_fast32_t;
84837 #ifdef _INT64_T
84838 typedef int64_t int_fast64_t;
84839 #endif
84841 typedef uint8_t uint_fast8_t;
84842 typedef unsigned int uint_fast16_t;
84843 typedef uint32_t uint_fast32_t;
84844 #ifdef _UINT64_T
84845 typedef uint64_t uint_fast64_t;
84846 #endif
84850 if test "$ac_cv_type_uintmax_t" != yes; then
84851 sed 's/^ *//' >> tmp-stdint.h <<EOF
84853 /* Define intmax based on what we found */
84854 #ifndef intmax_t
84855 #ifdef _INT64_T
84856 typedef int64_t intmax_t;
84857 #else
84858 typedef long intmax_t;
84859 #endif
84860 #endif
84861 #ifndef uintmax_t
84862 #ifdef _UINT64_T
84863 typedef uint64_t uintmax_t;
84864 #else
84865 typedef unsigned long uintmax_t;
84866 #endif
84867 #endif
84871 sed 's/^ *//' >> tmp-stdint.h <<EOF
84873 #endif /* GCC_GENERATED_STDINT_H */
84876 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84877 rm -f tmp-stdint.h
84878 else
84879 mv -f tmp-stdint.h include/gstdint.h
84883 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84884 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84885 "include/Makefile":F) cat > vpsed$$ << \_EOF
84886 s!`test -f '$<' || echo '$(srcdir)/'`!!
84887 _EOF
84888 sed -f vpsed$$ $ac_file > tmp$$
84889 mv tmp$$ $ac_file
84890 rm vpsed$$
84891 echo 'MULTISUBDIR =' >> $ac_file
84892 ml_norecursion=yes
84893 . ${multi_basedir}/config-ml.in
84894 { ml_norecursion=; unset ml_norecursion;}
84896 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84897 s!`test -f '$<' || echo '$(srcdir)/'`!!
84898 _EOF
84899 sed -f vpsed$$ $ac_file > tmp$$
84900 mv tmp$$ $ac_file
84901 rm vpsed$$
84902 echo 'MULTISUBDIR =' >> $ac_file
84903 ml_norecursion=yes
84904 . ${multi_basedir}/config-ml.in
84905 { ml_norecursion=; unset ml_norecursion;}
84907 "src/Makefile":F) cat > vpsed$$ << \_EOF
84908 s!`test -f '$<' || echo '$(srcdir)/'`!!
84909 _EOF
84910 sed -f vpsed$$ $ac_file > tmp$$
84911 mv tmp$$ $ac_file
84912 rm vpsed$$
84913 echo 'MULTISUBDIR =' >> $ac_file
84914 ml_norecursion=yes
84915 . ${multi_basedir}/config-ml.in
84916 { ml_norecursion=; unset ml_norecursion;}
84918 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84919 s!`test -f '$<' || echo '$(srcdir)/'`!!
84920 _EOF
84921 sed -f vpsed$$ $ac_file > tmp$$
84922 mv tmp$$ $ac_file
84923 rm vpsed$$
84924 echo 'MULTISUBDIR =' >> $ac_file
84925 ml_norecursion=yes
84926 . ${multi_basedir}/config-ml.in
84927 { ml_norecursion=; unset ml_norecursion;}
84929 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84930 s!`test -f '$<' || echo '$(srcdir)/'`!!
84931 _EOF
84932 sed -f vpsed$$ $ac_file > tmp$$
84933 mv tmp$$ $ac_file
84934 rm vpsed$$
84935 echo 'MULTISUBDIR =' >> $ac_file
84936 ml_norecursion=yes
84937 . ${multi_basedir}/config-ml.in
84938 { ml_norecursion=; unset ml_norecursion;}
84940 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
84941 s!`test -f '$<' || echo '$(srcdir)/'`!!
84942 _EOF
84943 sed -f vpsed$$ $ac_file > tmp$$
84944 mv tmp$$ $ac_file
84945 rm vpsed$$
84946 echo 'MULTISUBDIR =' >> $ac_file
84947 ml_norecursion=yes
84948 . ${multi_basedir}/config-ml.in
84949 { ml_norecursion=; unset ml_norecursion;}
84951 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84952 s!`test -f '$<' || echo '$(srcdir)/'`!!
84953 _EOF
84954 sed -f vpsed$$ $ac_file > tmp$$
84955 mv tmp$$ $ac_file
84956 rm vpsed$$
84957 echo 'MULTISUBDIR =' >> $ac_file
84958 ml_norecursion=yes
84959 . ${multi_basedir}/config-ml.in
84960 { ml_norecursion=; unset ml_norecursion;}
84962 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84963 s!`test -f '$<' || echo '$(srcdir)/'`!!
84964 _EOF
84965 sed -f vpsed$$ $ac_file > tmp$$
84966 mv tmp$$ $ac_file
84967 rm vpsed$$
84968 echo 'MULTISUBDIR =' >> $ac_file
84969 ml_norecursion=yes
84970 . ${multi_basedir}/config-ml.in
84971 { ml_norecursion=; unset ml_norecursion;}
84973 "po/Makefile":F) cat > vpsed$$ << \_EOF
84974 s!`test -f '$<' || echo '$(srcdir)/'`!!
84975 _EOF
84976 sed -f vpsed$$ $ac_file > tmp$$
84977 mv tmp$$ $ac_file
84978 rm vpsed$$
84979 echo 'MULTISUBDIR =' >> $ac_file
84980 ml_norecursion=yes
84981 . ${multi_basedir}/config-ml.in
84982 { ml_norecursion=; unset ml_norecursion;}
84984 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84985 s!`test -f '$<' || echo '$(srcdir)/'`!!
84986 _EOF
84987 sed -f vpsed$$ $ac_file > tmp$$
84988 mv tmp$$ $ac_file
84989 rm vpsed$$
84990 echo 'MULTISUBDIR =' >> $ac_file
84991 ml_norecursion=yes
84992 . ${multi_basedir}/config-ml.in
84993 { ml_norecursion=; unset ml_norecursion;}
84995 "python/Makefile":F) cat > vpsed$$ << \_EOF
84996 s!`test -f '$<' || echo '$(srcdir)/'`!!
84997 _EOF
84998 sed -f vpsed$$ $ac_file > tmp$$
84999 mv tmp$$ $ac_file
85000 rm vpsed$$
85001 echo 'MULTISUBDIR =' >> $ac_file
85002 ml_norecursion=yes
85003 . ${multi_basedir}/config-ml.in
85004 { ml_norecursion=; unset ml_norecursion;}
85006 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85008 esac
85009 done # for ac_tag
85012 as_fn_exit 0
85013 _ACEOF
85014 ac_clean_files=$ac_clean_files_save
85016 test $ac_write_fail = 0 ||
85017 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
85020 # configure is writing to config.log, and then calls config.status.
85021 # config.status does its own redirection, appending to config.log.
85022 # Unfortunately, on DOS this fails, as config.log is still kept open
85023 # by configure, so config.status won't be able to write to it; its
85024 # output is simply discarded. So we exec the FD to /dev/null,
85025 # effectively closing config.log, so it can be properly (re)opened and
85026 # appended to by config.status. When coming back to configure, we
85027 # need to make the FD available again.
85028 if test "$no_create" != yes; then
85029 ac_cs_success=:
85030 ac_config_status_args=
85031 test "$silent" = yes &&
85032 ac_config_status_args="$ac_config_status_args --quiet"
85033 exec 5>/dev/null
85034 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85035 exec 5>>config.log
85036 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85037 # would make configure fail if this is the last instruction.
85038 $ac_cs_success || as_fn_exit $?
85040 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85042 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}