Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blobc9dbaa139d5a73769b20a65929ec67218d6d2f8a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 INCLUDE_DIR_NOTPARALLEL_FALSE
625 INCLUDE_DIR_NOTPARALLEL_TRUE
626 BUILD_PDF_FALSE
627 BUILD_PDF_TRUE
628 PDFLATEX
629 DBLATEX
630 BUILD_MAN_FALSE
631 BUILD_MAN_TRUE
632 BUILD_HTML_FALSE
633 BUILD_HTML_TRUE
634 BUILD_XML_FALSE
635 BUILD_XML_TRUE
636 BUILD_EPUB_FALSE
637 BUILD_EPUB_TRUE
638 XSL_STYLE_DIR
639 XMLLINT
640 XSLTPROC
642 DOXYGEN
643 BUILD_INFO_FALSE
644 BUILD_INFO_TRUE
645 ENABLE_FILESYSTEM_TS_FALSE
646 ENABLE_FILESYSTEM_TS_TRUE
647 baseline_subdir_switch
648 baseline_dir
649 HWCAP_CFLAGS
650 GLIBCXX_LDBL_COMPAT_FALSE
651 GLIBCXX_LDBL_COMPAT_TRUE
652 LONG_DOUBLE_COMPAT_FLAGS
653 ENABLE_CXX11_ABI_FALSE
654 ENABLE_CXX11_ABI_TRUE
655 glibcxx_cxx98_abi
656 ENABLE_DUAL_ABI_FALSE
657 ENABLE_DUAL_ABI_TRUE
658 ENABLE_VISIBILITY_FALSE
659 ENABLE_VISIBILITY_TRUE
660 libtool_VERSION
661 ENABLE_SYMVERS_SUN_FALSE
662 ENABLE_SYMVERS_SUN_TRUE
663 ENABLE_SYMVERS_DARWIN_FALSE
664 ENABLE_SYMVERS_DARWIN_TRUE
665 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
667 ENABLE_SYMVERS_GNU_FALSE
668 ENABLE_SYMVERS_GNU_TRUE
669 ENABLE_SYMVERS_FALSE
670 ENABLE_SYMVERS_TRUE
671 port_specific_symbol_files
672 SYMVER_FILE
673 CXXFILT
674 LTLIBICONV
675 LIBICONV
676 OPT_LDFLAGS
677 SECTION_LDFLAGS
678 GLIBCXX_LIBS
679 ENABLE_VTABLE_VERIFY_FALSE
680 ENABLE_VTABLE_VERIFY_TRUE
681 VTV_CYGMIN_FALSE
682 VTV_CYGMIN_TRUE
683 VTV_CXXLINKFLAGS
684 VTV_PCH_CXXFLAGS
685 VTV_CXXFLAGS
686 ENABLE_WERROR_FALSE
687 ENABLE_WERROR_TRUE
688 ENABLE_PYTHONDIR_FALSE
689 ENABLE_PYTHONDIR_TRUE
690 python_mod_dir
691 ENABLE_EXTERN_TEMPLATE_FALSE
692 ENABLE_EXTERN_TEMPLATE_TRUE
693 EXTRA_CXX_FLAGS
694 GLIBCXX_BUILD_DEBUG_FALSE
695 GLIBCXX_BUILD_DEBUG_TRUE
696 DEBUG_FLAGS
697 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
698 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
701 GLIBCXX_C_HEADERS_C_STD_FALSE
702 GLIBCXX_C_HEADERS_C_STD_TRUE
703 GLIBCXX_C_HEADERS_C_FALSE
704 GLIBCXX_C_HEADERS_C_TRUE
705 C_INCLUDE_DIR
706 ALLOCATOR_NAME
707 ALLOCATOR_H
708 ENABLE_ALLOCATOR_NEW_FALSE
709 ENABLE_ALLOCATOR_NEW_TRUE
710 CLOCALE_INTERNAL_H
711 CLOCALE_CC
712 CTIME_CC
713 CTIME_H
714 CNUMERIC_CC
715 CMONEY_CC
716 CMESSAGES_CC
717 CCTYPE_CC
718 CCOLLATE_CC
719 CCODECVT_CC
720 CMESSAGES_H
721 CLOCALE_H
722 USE_NLS
723 glibcxx_localedir
724 glibcxx_POFILES
725 glibcxx_MOFILES
726 check_msgfmt
727 BASIC_FILE_CC
728 BASIC_FILE_H
729 CSTDIO_H
730 SECTION_FLAGS
731 WERROR
732 ENABLE_FLOAT128_FALSE
733 ENABLE_FLOAT128_TRUE
734 thread_header
735 glibcxx_PCHFLAGS
736 GLIBCXX_BUILD_PCH_FALSE
737 GLIBCXX_BUILD_PCH_TRUE
738 GLIBCXX_HOSTED_FALSE
739 GLIBCXX_HOSTED_TRUE
740 glibcxx_compiler_shared_flag
741 glibcxx_compiler_pic_flag
742 glibcxx_lt_pic_flag
743 enable_static
744 enable_shared
745 lt_host_flags
746 CXXCPP
747 OTOOL64
748 OTOOL
749 LIPO
750 NMEDIT
751 DSYMUTIL
752 OBJDUMP
754 ac_ct_DUMPBIN
755 DUMPBIN
757 FGREP
759 LIBTOOL
760 EGREP
761 GREP
763 MAINT
764 MAINTAINER_MODE_FALSE
765 MAINTAINER_MODE_TRUE
766 RANLIB
769 LN_S
770 toplevel_srcdir
771 toplevel_builddir
772 glibcxx_srcdir
773 glibcxx_builddir
774 ac_ct_CXX
775 CXXFLAGS
777 OBJEXT
778 EXEEXT
779 ac_ct_CC
780 CPPFLAGS
781 LDFLAGS
782 CFLAGS
784 am__untar
785 am__tar
786 AMTAR
787 am__leading_dot
788 SET_MAKE
790 mkdir_p
791 MKDIR_P
792 INSTALL_STRIP_PROGRAM
793 STRIP
794 install_sh
795 MAKEINFO
796 AUTOHEADER
797 AUTOMAKE
798 AUTOCONF
799 ACLOCAL
800 VERSION
801 PACKAGE
802 CYGPATH_W
803 am__isrc
804 INSTALL_DATA
805 INSTALL_SCRIPT
806 INSTALL_PROGRAM
807 target_os
808 target_vendor
809 target_cpu
810 target
811 host_os
812 host_vendor
813 host_cpu
814 host
815 build_os
816 build_vendor
817 build_cpu
818 build
819 multi_basedir
820 target_alias
821 host_alias
822 build_alias
823 LIBS
824 ECHO_T
825 ECHO_N
826 ECHO_C
827 DEFS
828 mandir
829 localedir
830 libdir
831 psdir
832 pdfdir
833 dvidir
834 htmldir
835 infodir
836 docdir
837 oldincludedir
838 includedir
839 localstatedir
840 sharedstatedir
841 sysconfdir
842 datadir
843 datarootdir
844 libexecdir
845 sbindir
846 bindir
847 program_transform_name
848 prefix
849 exec_prefix
850 PACKAGE_URL
851 PACKAGE_BUGREPORT
852 PACKAGE_STRING
853 PACKAGE_VERSION
854 PACKAGE_TARNAME
855 PACKAGE_NAME
856 PATH_SEPARATOR
857 SHELL'
858 ac_subst_files=''
859 ac_user_opts='
860 enable_option_checking
861 enable_multilib
862 with_target_subdir
863 with_cross_host
864 with_newlib
865 enable_maintainer_mode
866 enable_shared
867 enable_static
868 with_pic
869 enable_fast_install
870 with_gnu_ld
871 enable_libtool_lock
872 enable_hosted_libstdcxx
873 enable_libstdcxx_verbose
874 enable_libstdcxx_pch
875 enable_cstdio
876 enable_clocale
877 enable_nls
878 enable_libstdcxx_allocator
879 enable_cheaders
880 enable_long_long
881 enable_wchar_t
882 enable_c99
883 enable_concept_checks
884 enable_libstdcxx_debug_flags
885 enable_libstdcxx_debug
886 enable_cxx_flags
887 enable_fully_dynamic_string
888 enable_extern_template
889 with_python_dir
890 enable_werror
891 enable_vtable_verify
892 enable_libstdcxx_time
893 enable_tls
894 enable_rpath
895 with_libiconv_prefix
896 with_system_libunwind
897 enable_linux_futex
898 enable_symvers
899 enable_libstdcxx_visibility
900 enable_libstdcxx_dual_abi
901 with_default_libstdcxx_abi
902 enable_libstdcxx_threads
903 enable_libstdcxx_filesystem_ts
904 enable_cet
905 with_gxx_include_dir
906 enable_version_specific_runtime_libs
907 with_gcc_major_version_only
909 ac_precious_vars='build_alias
910 host_alias
911 target_alias
913 CFLAGS
914 LDFLAGS
915 LIBS
916 CPPFLAGS
918 CXXFLAGS
921 CXXCPP
922 CXXFILT'
925 # Initialize some variables set by options.
926 ac_init_help=
927 ac_init_version=false
928 ac_unrecognized_opts=
929 ac_unrecognized_sep=
930 # The variables have the same names as the options, with
931 # dashes changed to underlines.
932 cache_file=/dev/null
933 exec_prefix=NONE
934 no_create=
935 no_recursion=
936 prefix=NONE
937 program_prefix=NONE
938 program_suffix=NONE
939 program_transform_name=s,x,x,
940 silent=
941 site=
942 srcdir=
943 verbose=
944 x_includes=NONE
945 x_libraries=NONE
947 # Installation directory options.
948 # These are left unexpanded so users can "make install exec_prefix=/foo"
949 # and all the variables that are supposed to be based on exec_prefix
950 # by default will actually change.
951 # Use braces instead of parens because sh, perl, etc. also accept them.
952 # (The list follows the same order as the GNU Coding Standards.)
953 bindir='${exec_prefix}/bin'
954 sbindir='${exec_prefix}/sbin'
955 libexecdir='${exec_prefix}/libexec'
956 datarootdir='${prefix}/share'
957 datadir='${datarootdir}'
958 sysconfdir='${prefix}/etc'
959 sharedstatedir='${prefix}/com'
960 localstatedir='${prefix}/var'
961 includedir='${prefix}/include'
962 oldincludedir='/usr/include'
963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
964 infodir='${datarootdir}/info'
965 htmldir='${docdir}'
966 dvidir='${docdir}'
967 pdfdir='${docdir}'
968 psdir='${docdir}'
969 libdir='${exec_prefix}/lib'
970 localedir='${datarootdir}/locale'
971 mandir='${datarootdir}/man'
973 ac_prev=
974 ac_dashdash=
975 for ac_option
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 eval $ac_prev=\$ac_option
980 ac_prev=
981 continue
984 case $ac_option in
985 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 *) ac_optarg=yes ;;
987 esac
989 # Accept the important Cygnus configure options, so we can diagnose typos.
991 case $ac_dashdash$ac_option in
993 ac_dashdash=yes ;;
995 -bindir | --bindir | --bindi | --bind | --bin | --bi)
996 ac_prev=bindir ;;
997 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
998 bindir=$ac_optarg ;;
1000 -build | --build | --buil | --bui | --bu)
1001 ac_prev=build_alias ;;
1002 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1003 build_alias=$ac_optarg ;;
1005 -cache-file | --cache-file | --cache-fil | --cache-fi \
1006 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1007 ac_prev=cache_file ;;
1008 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1009 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1010 cache_file=$ac_optarg ;;
1012 --config-cache | -C)
1013 cache_file=config.cache ;;
1015 -datadir | --datadir | --datadi | --datad)
1016 ac_prev=datadir ;;
1017 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1018 datadir=$ac_optarg ;;
1020 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1021 | --dataroo | --dataro | --datar)
1022 ac_prev=datarootdir ;;
1023 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1024 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1025 datarootdir=$ac_optarg ;;
1027 -disable-* | --disable-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error "invalid feature name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_$ac_useropt"
1037 "*) ;;
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1040 esac
1041 eval enable_$ac_useropt=no ;;
1043 -docdir | --docdir | --docdi | --doc | --do)
1044 ac_prev=docdir ;;
1045 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1046 docdir=$ac_optarg ;;
1048 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1049 ac_prev=dvidir ;;
1050 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1051 dvidir=$ac_optarg ;;
1053 -enable-* | --enable-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 as_fn_error "invalid feature name: $ac_useropt"
1058 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_$ac_useropt"
1063 "*) ;;
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065 ac_unrecognized_sep=', ';;
1066 esac
1067 eval enable_$ac_useropt=\$ac_optarg ;;
1069 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1070 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1071 | --exec | --exe | --ex)
1072 ac_prev=exec_prefix ;;
1073 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1074 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1075 | --exec=* | --exe=* | --ex=*)
1076 exec_prefix=$ac_optarg ;;
1078 -gas | --gas | --ga | --g)
1079 # Obsolete; use --with-gas.
1080 with_gas=yes ;;
1082 -help | --help | --hel | --he | -h)
1083 ac_init_help=long ;;
1084 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1085 ac_init_help=recursive ;;
1086 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1087 ac_init_help=short ;;
1089 -host | --host | --hos | --ho)
1090 ac_prev=host_alias ;;
1091 -host=* | --host=* | --hos=* | --ho=*)
1092 host_alias=$ac_optarg ;;
1094 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1095 ac_prev=htmldir ;;
1096 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1097 | --ht=*)
1098 htmldir=$ac_optarg ;;
1100 -includedir | --includedir | --includedi | --included | --include \
1101 | --includ | --inclu | --incl | --inc)
1102 ac_prev=includedir ;;
1103 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1104 | --includ=* | --inclu=* | --incl=* | --inc=*)
1105 includedir=$ac_optarg ;;
1107 -infodir | --infodir | --infodi | --infod | --info | --inf)
1108 ac_prev=infodir ;;
1109 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1110 infodir=$ac_optarg ;;
1112 -libdir | --libdir | --libdi | --libd)
1113 ac_prev=libdir ;;
1114 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1115 libdir=$ac_optarg ;;
1117 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1118 | --libexe | --libex | --libe)
1119 ac_prev=libexecdir ;;
1120 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1121 | --libexe=* | --libex=* | --libe=*)
1122 libexecdir=$ac_optarg ;;
1124 -localedir | --localedir | --localedi | --localed | --locale)
1125 ac_prev=localedir ;;
1126 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1127 localedir=$ac_optarg ;;
1129 -localstatedir | --localstatedir | --localstatedi | --localstated \
1130 | --localstate | --localstat | --localsta | --localst | --locals)
1131 ac_prev=localstatedir ;;
1132 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1133 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1134 localstatedir=$ac_optarg ;;
1136 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1137 ac_prev=mandir ;;
1138 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1139 mandir=$ac_optarg ;;
1141 -nfp | --nfp | --nf)
1142 # Obsolete; use --without-fp.
1143 with_fp=no ;;
1145 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1146 | --no-cr | --no-c | -n)
1147 no_create=yes ;;
1149 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1150 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1151 no_recursion=yes ;;
1153 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1154 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1155 | --oldin | --oldi | --old | --ol | --o)
1156 ac_prev=oldincludedir ;;
1157 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1158 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1159 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1160 oldincludedir=$ac_optarg ;;
1162 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1163 ac_prev=prefix ;;
1164 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1165 prefix=$ac_optarg ;;
1167 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1168 | --program-pre | --program-pr | --program-p)
1169 ac_prev=program_prefix ;;
1170 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1171 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1172 program_prefix=$ac_optarg ;;
1174 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1175 | --program-suf | --program-su | --program-s)
1176 ac_prev=program_suffix ;;
1177 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1178 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1179 program_suffix=$ac_optarg ;;
1181 -program-transform-name | --program-transform-name \
1182 | --program-transform-nam | --program-transform-na \
1183 | --program-transform-n | --program-transform- \
1184 | --program-transform | --program-transfor \
1185 | --program-transfo | --program-transf \
1186 | --program-trans | --program-tran \
1187 | --progr-tra | --program-tr | --program-t)
1188 ac_prev=program_transform_name ;;
1189 -program-transform-name=* | --program-transform-name=* \
1190 | --program-transform-nam=* | --program-transform-na=* \
1191 | --program-transform-n=* | --program-transform-=* \
1192 | --program-transform=* | --program-transfor=* \
1193 | --program-transfo=* | --program-transf=* \
1194 | --program-trans=* | --program-tran=* \
1195 | --progr-tra=* | --program-tr=* | --program-t=*)
1196 program_transform_name=$ac_optarg ;;
1198 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1199 ac_prev=pdfdir ;;
1200 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1201 pdfdir=$ac_optarg ;;
1203 -psdir | --psdir | --psdi | --psd | --ps)
1204 ac_prev=psdir ;;
1205 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1206 psdir=$ac_optarg ;;
1208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1209 | -silent | --silent | --silen | --sile | --sil)
1210 silent=yes ;;
1212 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1213 ac_prev=sbindir ;;
1214 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1215 | --sbi=* | --sb=*)
1216 sbindir=$ac_optarg ;;
1218 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1219 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1220 | --sharedst | --shareds | --shared | --share | --shar \
1221 | --sha | --sh)
1222 ac_prev=sharedstatedir ;;
1223 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1224 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1225 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1226 | --sha=* | --sh=*)
1227 sharedstatedir=$ac_optarg ;;
1229 -site | --site | --sit)
1230 ac_prev=site ;;
1231 -site=* | --site=* | --sit=*)
1232 site=$ac_optarg ;;
1234 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1235 ac_prev=srcdir ;;
1236 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1237 srcdir=$ac_optarg ;;
1239 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1240 | --syscon | --sysco | --sysc | --sys | --sy)
1241 ac_prev=sysconfdir ;;
1242 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1243 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1244 sysconfdir=$ac_optarg ;;
1246 -target | --target | --targe | --targ | --tar | --ta | --t)
1247 ac_prev=target_alias ;;
1248 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1249 target_alias=$ac_optarg ;;
1251 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1252 verbose=yes ;;
1254 -version | --version | --versio | --versi | --vers | -V)
1255 ac_init_version=: ;;
1257 -with-* | --with-*)
1258 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261 as_fn_error "invalid package name: $ac_useropt"
1262 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1266 "with_$ac_useropt"
1267 "*) ;;
1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep=', ';;
1270 esac
1271 eval with_$ac_useropt=\$ac_optarg ;;
1273 -without-* | --without-*)
1274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1277 as_fn_error "invalid package name: $ac_useropt"
1278 ac_useropt_orig=$ac_useropt
1279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1282 "with_$ac_useropt"
1283 "*) ;;
1284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1285 ac_unrecognized_sep=', ';;
1286 esac
1287 eval with_$ac_useropt=no ;;
1289 --x)
1290 # Obsolete; use --with-x.
1291 with_x=yes ;;
1293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1294 | --x-incl | --x-inc | --x-in | --x-i)
1295 ac_prev=x_includes ;;
1296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1298 x_includes=$ac_optarg ;;
1300 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1302 ac_prev=x_libraries ;;
1303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1305 x_libraries=$ac_optarg ;;
1307 -*) as_fn_error "unrecognized option: \`$ac_option'
1308 Try \`$0 --help' for more information."
1311 *=*)
1312 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1313 # Reject names that are not valid shell variable names.
1314 case $ac_envvar in #(
1315 '' | [0-9]* | *[!_$as_cr_alnum]* )
1316 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1317 esac
1318 eval $ac_envvar=\$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1329 esac
1330 done
1332 if test -n "$ac_prev"; then
1333 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1334 as_fn_error "missing argument to $ac_option"
1337 if test -n "$ac_unrecognized_opts"; then
1338 case $enable_option_checking in
1339 no) ;;
1340 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342 esac
1345 # Check all directory arguments for consistency.
1346 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347 datadir sysconfdir sharedstatedir localstatedir includedir \
1348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349 libdir localedir mandir
1351 eval ac_val=\$$ac_var
1352 # Remove trailing slashes.
1353 case $ac_val in
1354 */ )
1355 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1356 eval $ac_var=\$ac_val;;
1357 esac
1358 # Be sure to have absolute directory names.
1359 case $ac_val in
1360 [\\/$]* | ?:[\\/]* ) continue;;
1361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1362 esac
1363 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1364 done
1366 # There might be people who depend on the old broken behavior: `$host'
1367 # used to hold the argument of --host etc.
1368 # FIXME: To remove some day.
1369 build=$build_alias
1370 host=$host_alias
1371 target=$target_alias
1373 # FIXME: To remove some day.
1374 if test "x$host_alias" != x; then
1375 if test "x$build_alias" = x; then
1376 cross_compiling=maybe
1377 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1378 If a cross compiler is detected then cross compile mode will be used." >&2
1379 elif test "x$build_alias" != "x$host_alias"; then
1380 cross_compiling=yes
1384 ac_tool_prefix=
1385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1387 test "$silent" = yes && exec 6>/dev/null
1390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di=`ls -di .` &&
1392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1393 as_fn_error "working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395 as_fn_error "pwd does not report name of working directory"
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1409 s//\1/
1412 /^X\(\/\/\)[^/].*/{
1413 s//\1/
1416 /^X\(\/\/\)$/{
1417 s//\1/
1420 /^X\(\/\).*/{
1421 s//\1/
1424 s/.*/./; q'`
1425 srcdir=$ac_confdir
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1427 srcdir=..
1429 else
1430 ac_srcdir_defaulted=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 ac_abs_confdir=`(
1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1439 pwd)`
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1442 srcdir=.
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1447 case $srcdir in
1448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 esac
1450 for ac_var in $ac_precious_vars; do
1451 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_${ac_var}_value=\$${ac_var}
1453 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1455 done
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1463 cat <<_ACEOF
1464 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1473 Configuration:
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1488 [PREFIX]
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1517 _ACEOF
1519 cat <<\_ACEOF
1521 Program names:
1522 --program-prefix=PREFIX prepend PREFIX to installed program names
1523 --program-suffix=SUFFIX append SUFFIX to installed program names
1524 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1526 System types:
1527 --build=BUILD configure for building on BUILD [guessed]
1528 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1529 --target=TARGET configure for building compilers for TARGET [HOST]
1530 _ACEOF
1533 if test -n "$ac_init_help"; then
1534 case $ac_init_help in
1535 short | recursive ) echo "Configuration of package-unused version-unused:";;
1536 esac
1537 cat <<\_ACEOF
1539 Optional Features:
1540 --disable-option-checking ignore unrecognized --enable/--with options
1541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1543 --enable-multilib build many library versions (default)
1544 --enable-maintainer-mode enable make rules and dependencies not useful
1545 (and sometimes confusing) to the casual installer
1546 --enable-shared[=PKGS] build shared libraries [default=yes]
1547 --enable-static[=PKGS] build static libraries [default=yes]
1548 --enable-fast-install[=PKGS]
1549 optimize for fast installation [default=yes]
1550 --disable-libtool-lock avoid locking (might break parallel builds)
1551 --disable-hosted-libstdcxx
1552 only build freestanding C++ runtime support
1553 --disable-libstdcxx-verbose
1554 disable termination messages to standard error
1555 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1556 [default=$is_hosted]
1557 --enable-cstdio[=PACKAGE]
1558 use target-specific I/O package [default=stdio]
1559 --enable-clocale[=MODEL]
1560 use MODEL for target locale package [default=auto]
1561 --enable-nls use Native Language Support (default)
1562 --enable-libstdcxx-allocator[=KIND]
1563 use KIND for target std::allocator base
1564 [default=auto]
1565 --enable-cheaders[=KIND]
1566 construct "C" headers for g++ [default=$c_model]
1567 --enable-long-long enable template specializations for 'long long'
1568 [default=yes]
1569 --enable-wchar_t enable template specializations for 'wchar_t'
1570 [default=yes]
1571 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1572 --enable-concept-checks use Boost-derived template checks [default=no]
1573 --enable-libstdcxx-debug-flags=FLAGS
1574 pass compiler FLAGS when building debug library
1575 [default="-gdwarf-4 -g3 -O0"]
1576 --enable-libstdcxx-debug
1577 build extra debug library [default=no]
1578 --enable-cxx-flags=FLAGS
1579 pass compiler FLAGS when building library [default=]
1580 --enable-fully-dynamic-string
1581 do not put empty strings in per-process static
1582 memory [default=no]
1583 --enable-extern-template
1584 enable extern template [default=yes]
1585 --enable-werror turns on -Werror [default=yes]
1586 --enable-vtable-verify enable vtable verify [default=no]
1587 --enable-libstdcxx-time[=KIND]
1588 use KIND for check type [default=auto]
1589 --enable-tls Use thread-local storage [default=yes]
1590 --disable-rpath do not hardcode runtime library paths
1591 --enable-linux-futex use the Linux futex system call [default=default]
1592 --enable-symvers[=STYLE]
1593 enables symbol versioning of the shared library
1594 [default=yes]
1595 --enable-libstdcxx-visibility
1596 enables visibility safe usage [default=yes]
1597 --enable-libstdcxx-dual-abi
1598 support two versions of std::string [default=yes]
1599 --enable-libstdcxx-threads
1600 enable C++11 threads support [default=auto]
1601 --enable-libstdcxx-filesystem-ts
1602 turns on ISO/IEC TS 18822 support [default=auto]
1603 --enable-cet enable Intel CET in target libraries [default=no]
1604 --enable-version-specific-runtime-libs
1605 Specify that runtime libraries should be installed
1606 in a compiler-specific directory
1608 Optional Packages:
1609 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1610 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1611 --with-target-subdir=SUBDIR
1612 configuring in a subdirectory
1613 --with-cross-host=HOST configuring with a cross compiler
1614 --with-newlib assume newlib as a system C library
1615 --with-pic try to use only PIC/non-PIC objects [default=use
1616 both]
1617 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1618 --with-python-dir the location to install Python modules. This path is
1619 relative starting from the prefix.
1620 --with-gnu-ld assume the C compiler uses GNU ld default=no
1621 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1622 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1623 --with-system-libunwind use installed libunwind
1624 --with-default-libstdcxx-abi
1625 set the std::string ABI to use by default
1626 --with-gxx-include-dir=DIR
1627 installation directory for include files
1628 --with-gcc-major-version-only
1629 use only GCC major number in filesystem paths
1631 Some influential environment variables:
1632 CC C compiler command
1633 CFLAGS C compiler flags
1634 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1635 nonstandard directory <lib dir>
1636 LIBS libraries to pass to the linker, e.g. -l<library>
1637 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1638 you have headers in a nonstandard directory <include dir>
1639 CXX C++ compiler command
1640 CXXFLAGS C++ compiler flags
1641 CPP C preprocessor
1642 CXXCPP C++ preprocessor
1643 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1644 `c++filt', `gc++filt' on PATH.
1646 Use these variables to override the choices made by `configure' or to help
1647 it to find libraries and programs with nonstandard names/locations.
1649 Report bugs to the package provider.
1650 _ACEOF
1651 ac_status=$?
1654 if test "$ac_init_help" = "recursive"; then
1655 # If there are subdirs, report their specific --help.
1656 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1657 test -d "$ac_dir" ||
1658 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1659 continue
1660 ac_builddir=.
1662 case "$ac_dir" in
1663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1665 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1666 # A ".." for each directory in $ac_dir_suffix.
1667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1668 case $ac_top_builddir_sub in
1669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1671 esac ;;
1672 esac
1673 ac_abs_top_builddir=$ac_pwd
1674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1675 # for backward compatibility:
1676 ac_top_builddir=$ac_top_build_prefix
1678 case $srcdir in
1679 .) # We are building in place.
1680 ac_srcdir=.
1681 ac_top_srcdir=$ac_top_builddir_sub
1682 ac_abs_top_srcdir=$ac_pwd ;;
1683 [\\/]* | ?:[\\/]* ) # Absolute name.
1684 ac_srcdir=$srcdir$ac_dir_suffix;
1685 ac_top_srcdir=$srcdir
1686 ac_abs_top_srcdir=$srcdir ;;
1687 *) # Relative name.
1688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1689 ac_top_srcdir=$ac_top_build_prefix$srcdir
1690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1691 esac
1692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1694 cd "$ac_dir" || { ac_status=$?; continue; }
1695 # Check for guested configure.
1696 if test -f "$ac_srcdir/configure.gnu"; then
1697 echo &&
1698 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1699 elif test -f "$ac_srcdir/configure"; then
1700 echo &&
1701 $SHELL "$ac_srcdir/configure" --help=recursive
1702 else
1703 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1704 fi || ac_status=$?
1705 cd "$ac_pwd" || { ac_status=$?; break; }
1706 done
1709 test -n "$ac_init_help" && exit $ac_status
1710 if $ac_init_version; then
1711 cat <<\_ACEOF
1712 package-unused configure version-unused
1713 generated by GNU Autoconf 2.64
1715 Copyright (C) 2009 Free Software Foundation, Inc.
1716 This configure script is free software; the Free Software Foundation
1717 gives unlimited permission to copy, distribute and modify it.
1718 _ACEOF
1719 exit
1722 ## ------------------------ ##
1723 ## Autoconf initialization. ##
1724 ## ------------------------ ##
1726 # ac_fn_c_try_compile LINENO
1727 # --------------------------
1728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1729 ac_fn_c_try_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext
1733 if { { ac_try="$ac_compile"
1734 case "(($ac_try" in
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1737 esac
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_compile") 2>conftest.err
1741 ac_status=$?
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest.$ac_objext; then :
1752 ac_retval=0
1753 else
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1757 ac_retval=1
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 return $ac_retval
1762 } # ac_fn_c_try_compile
1764 # ac_fn_cxx_try_compile LINENO
1765 # ----------------------------
1766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1767 ac_fn_cxx_try_compile ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext
1771 if { { ac_try="$ac_compile"
1772 case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_compile") 2>conftest.err
1779 ac_status=$?
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_cxx_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest.$ac_objext; then :
1790 ac_retval=0
1791 else
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1795 ac_retval=1
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798 return $ac_retval
1800 } # ac_fn_cxx_try_compile
1802 # ac_fn_c_try_cpp LINENO
1803 # ----------------------
1804 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1805 ac_fn_c_try_cpp ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 if { { ac_try="$ac_cpp conftest.$ac_ext"
1809 case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1816 ac_status=$?
1817 if test -s conftest.err; then
1818 grep -v '^ *+' conftest.err >conftest.er1
1819 cat conftest.er1 >&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } >/dev/null && {
1824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1825 test ! -s conftest.err
1826 }; then :
1827 ac_retval=0
1828 else
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=1
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835 return $ac_retval
1837 } # ac_fn_c_try_cpp
1839 # ac_fn_c_try_link LINENO
1840 # -----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded.
1842 ac_fn_c_try_link ()
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 rm -f conftest.$ac_objext conftest$ac_exeext
1846 if { { ac_try="$ac_link"
1847 case "(($ac_try" in
1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1850 esac
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>conftest.err
1854 ac_status=$?
1855 if test -s conftest.err; then
1856 grep -v '^ *+' conftest.err >conftest.er1
1857 cat conftest.er1 >&5
1858 mv -f conftest.er1 conftest.err
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && {
1862 test -z "$ac_c_werror_flag" ||
1863 test ! -s conftest.err
1864 } && test -s conftest$ac_exeext && {
1865 test "$cross_compiling" = yes ||
1866 $as_test_x conftest$ac_exeext
1867 }; then :
1868 ac_retval=0
1869 else
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1873 ac_retval=1
1875 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1876 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1877 # interfere with the next link command; also delete a directory that is
1878 # left behind by Apple's compiler. We do this before executing the actions.
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 return $ac_retval
1883 } # ac_fn_c_try_link
1885 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1886 # -------------------------------------------------------
1887 # Tests whether HEADER exists and can be compiled using the include files in
1888 # INCLUDES, setting the cache variable VAR accordingly.
1889 ac_fn_c_check_header_compile ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895 $as_echo_n "(cached) " >&6
1896 else
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1900 #include <$2>
1901 _ACEOF
1902 if ac_fn_c_try_compile "$LINENO"; then :
1903 eval "$3=yes"
1904 else
1905 eval "$3=no"
1907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 eval ac_res=\$$3
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 } # ac_fn_c_check_header_compile
1916 # ac_fn_c_try_run LINENO
1917 # ----------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1919 # that executables *can* be run.
1920 ac_fn_c_try_run ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 if { { ac_try="$ac_link"
1924 case "(($ac_try" in
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>&5
1931 ac_status=$?
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1934 { { case "(($ac_try" in
1935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1936 *) ac_try_echo=$ac_try;;
1937 esac
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_try") 2>&5
1941 ac_status=$?
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; }; }; then :
1944 ac_retval=0
1945 else
1946 $as_echo "$as_me: program exited with status $ac_status" >&5
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1950 ac_retval=$ac_status
1952 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1953 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1954 return $ac_retval
1956 } # ac_fn_c_try_run
1958 # ac_fn_c_check_func LINENO FUNC VAR
1959 # ----------------------------------
1960 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1961 ac_fn_c_check_func ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 if test x$gcc_no_link = xyes; then
1970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1974 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1976 #define $2 innocuous_$2
1978 /* System header to define __stub macros and hopefully few prototypes,
1979 which can conflict with char $2 (); below.
1980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1981 <limits.h> exists even on freestanding compilers. */
1983 #ifdef __STDC__
1984 # include <limits.h>
1985 #else
1986 # include <assert.h>
1987 #endif
1989 #undef $2
1991 /* Override any GCC internal prototype to avoid an error.
1992 Use char because int might match the return type of a GCC
1993 builtin and then its argument prototype would still apply. */
1994 #ifdef __cplusplus
1995 extern "C"
1996 #endif
1997 char $2 ();
1998 /* The GNU C library defines this for functions which it implements
1999 to always fail with ENOSYS. Some functions are actually named
2000 something starting with __ and the normal name is an alias. */
2001 #if defined __stub_$2 || defined __stub___$2
2002 choke me
2003 #endif
2006 main ()
2008 return $2 ();
2010 return 0;
2012 _ACEOF
2013 if ac_fn_c_try_link "$LINENO"; then :
2014 eval "$3=yes"
2015 else
2016 eval "$3=no"
2018 rm -f core conftest.err conftest.$ac_objext \
2019 conftest$ac_exeext conftest.$ac_ext
2021 eval ac_res=\$$3
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 } # ac_fn_c_check_func
2028 # ac_fn_cxx_try_cpp LINENO
2029 # ------------------------
2030 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2031 ac_fn_cxx_try_cpp ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 if { { ac_try="$ac_cpp conftest.$ac_ext"
2035 case "(($ac_try" in
2036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037 *) ac_try_echo=$ac_try;;
2038 esac
2039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2042 ac_status=$?
2043 if test -s conftest.err; then
2044 grep -v '^ *+' conftest.err >conftest.er1
2045 cat conftest.er1 >&5
2046 mv -f conftest.er1 conftest.err
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } >/dev/null && {
2050 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 }; then :
2053 ac_retval=0
2054 else
2055 $as_echo "$as_me: failed program was:" >&5
2056 sed 's/^/| /' conftest.$ac_ext >&5
2058 ac_retval=1
2060 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2061 return $ac_retval
2063 } # ac_fn_cxx_try_cpp
2065 # ac_fn_cxx_try_link LINENO
2066 # -------------------------
2067 # Try to link conftest.$ac_ext, and return whether this succeeded.
2068 ac_fn_cxx_try_link ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 rm -f conftest.$ac_objext conftest$ac_exeext
2072 if { { ac_try="$ac_link"
2073 case "(($ac_try" in
2074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2075 *) ac_try_echo=$ac_try;;
2076 esac
2077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2078 $as_echo "$ac_try_echo"; } >&5
2079 (eval "$ac_link") 2>conftest.err
2080 ac_status=$?
2081 if test -s conftest.err; then
2082 grep -v '^ *+' conftest.err >conftest.er1
2083 cat conftest.er1 >&5
2084 mv -f conftest.er1 conftest.err
2086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2087 test $ac_status = 0; } && {
2088 test -z "$ac_cxx_werror_flag" ||
2089 test ! -s conftest.err
2090 } && test -s conftest$ac_exeext && {
2091 test "$cross_compiling" = yes ||
2092 $as_test_x conftest$ac_exeext
2093 }; then :
2094 ac_retval=0
2095 else
2096 $as_echo "$as_me: failed program was:" >&5
2097 sed 's/^/| /' conftest.$ac_ext >&5
2099 ac_retval=1
2101 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2102 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2103 # interfere with the next link command; also delete a directory that is
2104 # left behind by Apple's compiler. We do this before executing the actions.
2105 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2106 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 return $ac_retval
2109 } # ac_fn_cxx_try_link
2111 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2112 # -------------------------------------------------------
2113 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114 # the include files in INCLUDES and setting the cache variable VAR
2115 # accordingly.
2116 ac_fn_c_check_header_mongrel ()
2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2123 $as_echo_n "(cached) " >&6
2125 eval ac_res=\$$3
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 else
2129 # Is the header compilable?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131 $as_echo_n "checking $2 usability... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2135 #include <$2>
2136 _ACEOF
2137 if ac_fn_c_try_compile "$LINENO"; then :
2138 ac_header_compiler=yes
2139 else
2140 ac_header_compiler=no
2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144 $as_echo "$ac_header_compiler" >&6; }
2146 # Is the header present?
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148 $as_echo_n "checking $2 presence... " >&6; }
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2151 #include <$2>
2152 _ACEOF
2153 if ac_fn_c_try_cpp "$LINENO"; then :
2154 ac_header_preproc=yes
2155 else
2156 ac_header_preproc=no
2158 rm -f conftest.err conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160 $as_echo "$ac_header_preproc" >&6; }
2162 # So? What about this header?
2163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2164 yes:no: )
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 no:yes:* )
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2182 esac
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2184 $as_echo_n "checking for $2... " >&6; }
2185 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2186 $as_echo_n "(cached) " >&6
2187 else
2188 eval "$3=\$ac_header_compiler"
2190 eval ac_res=\$$3
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2192 $as_echo "$ac_res" >&6; }
2194 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2196 } # ac_fn_c_check_header_mongrel
2198 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2199 # ---------------------------------------------------------
2200 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2201 # the include files in INCLUDES and setting the cache variable VAR
2202 # accordingly.
2203 ac_fn_cxx_check_header_mongrel ()
2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2208 $as_echo_n "checking for $2... " >&6; }
2209 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2210 $as_echo_n "(cached) " >&6
2212 eval ac_res=\$$3
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2214 $as_echo "$ac_res" >&6; }
2215 else
2216 # Is the header compilable?
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2218 $as_echo_n "checking $2 usability... " >&6; }
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2222 #include <$2>
2223 _ACEOF
2224 if ac_fn_cxx_try_compile "$LINENO"; then :
2225 ac_header_compiler=yes
2226 else
2227 ac_header_compiler=no
2229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2231 $as_echo "$ac_header_compiler" >&6; }
2233 # Is the header present?
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2235 $as_echo_n "checking $2 presence... " >&6; }
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2238 #include <$2>
2239 _ACEOF
2240 if ac_fn_cxx_try_cpp "$LINENO"; then :
2241 ac_header_preproc=yes
2242 else
2243 ac_header_preproc=no
2245 rm -f conftest.err conftest.$ac_ext
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2247 $as_echo "$ac_header_preproc" >&6; }
2249 # So? What about this header?
2250 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2251 yes:no: )
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2253 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 no:yes:* )
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2259 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2261 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2263 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2265 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2267 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2269 esac
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2271 $as_echo_n "checking for $2... " >&6; }
2272 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2273 $as_echo_n "(cached) " >&6
2274 else
2275 eval "$3=\$ac_header_compiler"
2277 eval ac_res=\$$3
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2279 $as_echo "$ac_res" >&6; }
2281 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2283 } # ac_fn_cxx_check_header_mongrel
2285 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2286 # --------------------------------------------
2287 # Tries to find the compile-time value of EXPR in a program that includes
2288 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2289 # computed
2290 ac_fn_c_compute_int ()
2292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293 if test "$cross_compiling" = yes; then
2294 # Depending upon the size, compute the lo and hi bounds.
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2299 main ()
2301 static int test_array [1 - 2 * !(($2) >= 0)];
2302 test_array [0] = 0
2305 return 0;
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_lo=0 ac_mid=0
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2315 main ()
2317 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2318 test_array [0] = 0
2321 return 0;
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_hi=$ac_mid; break
2326 else
2327 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2328 if test $ac_lo -le $ac_mid; then
2329 ac_lo= ac_hi=
2330 break
2332 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2341 main ()
2343 static int test_array [1 - 2 * !(($2) < 0)];
2344 test_array [0] = 0
2347 return 0;
2349 _ACEOF
2350 if ac_fn_c_try_compile "$LINENO"; then :
2351 ac_hi=-1 ac_mid=-1
2352 while :; do
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2357 main ()
2359 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2360 test_array [0] = 0
2363 return 0;
2365 _ACEOF
2366 if ac_fn_c_try_compile "$LINENO"; then :
2367 ac_lo=$ac_mid; break
2368 else
2369 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2370 if test $ac_mid -le $ac_hi; then
2371 ac_lo= ac_hi=
2372 break
2374 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 done
2378 else
2379 ac_lo= ac_hi=
2381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384 # Binary search between lo and hi bounds.
2385 while test "x$ac_lo" != "x$ac_hi"; do
2386 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2391 main ()
2393 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2394 test_array [0] = 0
2397 return 0;
2399 _ACEOF
2400 if ac_fn_c_try_compile "$LINENO"; then :
2401 ac_hi=$ac_mid
2402 else
2403 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2406 done
2407 case $ac_lo in #((
2408 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2409 '') ac_retval=1 ;;
2410 esac
2411 else
2412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413 /* end confdefs.h. */
2415 static long int longval () { return $2; }
2416 static unsigned long int ulongval () { return $2; }
2417 #include <stdio.h>
2418 #include <stdlib.h>
2420 main ()
2423 FILE *f = fopen ("conftest.val", "w");
2424 if (! f)
2425 return 1;
2426 if (($2) < 0)
2428 long int i = longval ();
2429 if (i != ($2))
2430 return 1;
2431 fprintf (f, "%ld", i);
2433 else
2435 unsigned long int i = ulongval ();
2436 if (i != ($2))
2437 return 1;
2438 fprintf (f, "%lu", i);
2440 /* Do not output a trailing newline, as this causes \r\n confusion
2441 on some platforms. */
2442 return ferror (f) || fclose (f) != 0;
2445 return 0;
2447 _ACEOF
2448 if ac_fn_c_try_run "$LINENO"; then :
2449 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2450 else
2451 ac_retval=1
2453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2454 conftest.$ac_objext conftest.beam conftest.$ac_ext
2455 rm -f conftest.val
2458 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2459 return $ac_retval
2461 } # ac_fn_c_compute_int
2463 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2464 # -------------------------------------------
2465 # Tests whether TYPE exists after having included INCLUDES, setting cache
2466 # variable VAR accordingly.
2467 ac_fn_c_check_type ()
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2471 $as_echo_n "checking for $2... " >&6; }
2472 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2473 $as_echo_n "(cached) " >&6
2474 else
2475 eval "$3=no"
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2480 main ()
2482 if (sizeof ($2))
2483 return 0;
2485 return 0;
2487 _ACEOF
2488 if ac_fn_c_try_compile "$LINENO"; then :
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2493 main ()
2495 if (sizeof (($2)))
2496 return 0;
2498 return 0;
2500 _ACEOF
2501 if ac_fn_c_try_compile "$LINENO"; then :
2503 else
2504 eval "$3=yes"
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 eval ac_res=\$$3
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2512 $as_echo "$ac_res" >&6; }
2513 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2515 } # ac_fn_c_check_type
2517 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2518 # ---------------------------------------------
2519 # Tests whether TYPE exists after having included INCLUDES, setting cache
2520 # variable VAR accordingly.
2521 ac_fn_cxx_check_type ()
2523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2525 $as_echo_n "checking for $2... " >&6; }
2526 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 eval "$3=no"
2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531 /* end confdefs.h. */
2534 main ()
2536 if (sizeof ($2))
2537 return 0;
2539 return 0;
2541 _ACEOF
2542 if ac_fn_cxx_try_compile "$LINENO"; then :
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2547 main ()
2549 if (sizeof (($2)))
2550 return 0;
2552 return 0;
2554 _ACEOF
2555 if ac_fn_cxx_try_compile "$LINENO"; then :
2557 else
2558 eval "$3=yes"
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564 eval ac_res=\$$3
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2566 $as_echo "$ac_res" >&6; }
2567 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2569 } # ac_fn_cxx_check_type
2570 cat >config.log <<_ACEOF
2571 This file contains any messages produced by compilers while
2572 running configure, to aid debugging if configure makes a mistake.
2574 It was created by package-unused $as_me version-unused, which was
2575 generated by GNU Autoconf 2.64. Invocation command line was
2577 $ $0 $@
2579 _ACEOF
2580 exec 5>>config.log
2582 cat <<_ASUNAME
2583 ## --------- ##
2584 ## Platform. ##
2585 ## --------- ##
2587 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2588 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2589 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2590 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2591 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2593 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2594 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2596 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2597 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2598 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2599 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2600 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2601 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2602 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2604 _ASUNAME
2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 for as_dir in $PATH
2609 IFS=$as_save_IFS
2610 test -z "$as_dir" && as_dir=.
2611 $as_echo "PATH: $as_dir"
2612 done
2613 IFS=$as_save_IFS
2615 } >&5
2617 cat >&5 <<_ACEOF
2620 ## ----------- ##
2621 ## Core tests. ##
2622 ## ----------- ##
2624 _ACEOF
2627 # Keep a trace of the command line.
2628 # Strip out --no-create and --no-recursion so they do not pile up.
2629 # Strip out --silent because we don't want to record it for future runs.
2630 # Also quote any args containing shell meta-characters.
2631 # Make two passes to allow for proper duplicate-argument suppression.
2632 ac_configure_args=
2633 ac_configure_args0=
2634 ac_configure_args1=
2635 ac_must_keep_next=false
2636 for ac_pass in 1 2
2638 for ac_arg
2640 case $ac_arg in
2641 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2642 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2643 | -silent | --silent | --silen | --sile | --sil)
2644 continue ;;
2645 *\'*)
2646 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2647 esac
2648 case $ac_pass in
2649 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2651 as_fn_append ac_configure_args1 " '$ac_arg'"
2652 if test $ac_must_keep_next = true; then
2653 ac_must_keep_next=false # Got value, back to normal.
2654 else
2655 case $ac_arg in
2656 *=* | --config-cache | -C | -disable-* | --disable-* \
2657 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2658 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2659 | -with-* | --with-* | -without-* | --without-* | --x)
2660 case "$ac_configure_args0 " in
2661 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2662 esac
2664 -* ) ac_must_keep_next=true ;;
2665 esac
2667 as_fn_append ac_configure_args " '$ac_arg'"
2669 esac
2670 done
2671 done
2672 { ac_configure_args0=; unset ac_configure_args0;}
2673 { ac_configure_args1=; unset ac_configure_args1;}
2675 # When interrupted or exit'd, cleanup temporary files, and complete
2676 # config.log. We remove comments because anyway the quotes in there
2677 # would cause problems or look ugly.
2678 # WARNING: Use '\'' to represent an apostrophe within the trap.
2679 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2680 trap 'exit_status=$?
2681 # Save into config.log some information that might help in debugging.
2683 echo
2685 cat <<\_ASBOX
2686 ## ---------------- ##
2687 ## Cache variables. ##
2688 ## ---------------- ##
2689 _ASBOX
2690 echo
2691 # The following way of writing the cache mishandles newlines in values,
2693 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2694 eval ac_val=\$$ac_var
2695 case $ac_val in #(
2696 *${as_nl}*)
2697 case $ac_var in #(
2698 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2699 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2700 esac
2701 case $ac_var in #(
2702 _ | IFS | as_nl) ;; #(
2703 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2704 *) { eval $ac_var=; unset $ac_var;} ;;
2705 esac ;;
2706 esac
2707 done
2708 (set) 2>&1 |
2709 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2710 *${as_nl}ac_space=\ *)
2711 sed -n \
2712 "s/'\''/'\''\\\\'\'''\''/g;
2713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2714 ;; #(
2716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2718 esac |
2719 sort
2721 echo
2723 cat <<\_ASBOX
2724 ## ----------------- ##
2725 ## Output variables. ##
2726 ## ----------------- ##
2727 _ASBOX
2728 echo
2729 for ac_var in $ac_subst_vars
2731 eval ac_val=\$$ac_var
2732 case $ac_val in
2733 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2734 esac
2735 $as_echo "$ac_var='\''$ac_val'\''"
2736 done | sort
2737 echo
2739 if test -n "$ac_subst_files"; then
2740 cat <<\_ASBOX
2741 ## ------------------- ##
2742 ## File substitutions. ##
2743 ## ------------------- ##
2744 _ASBOX
2745 echo
2746 for ac_var in $ac_subst_files
2748 eval ac_val=\$$ac_var
2749 case $ac_val in
2750 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2751 esac
2752 $as_echo "$ac_var='\''$ac_val'\''"
2753 done | sort
2754 echo
2757 if test -s confdefs.h; then
2758 cat <<\_ASBOX
2759 ## ----------- ##
2760 ## confdefs.h. ##
2761 ## ----------- ##
2762 _ASBOX
2763 echo
2764 cat confdefs.h
2765 echo
2767 test "$ac_signal" != 0 &&
2768 $as_echo "$as_me: caught signal $ac_signal"
2769 $as_echo "$as_me: exit $exit_status"
2770 } >&5
2771 rm -f core *.core core.conftest.* &&
2772 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2773 exit $exit_status
2775 for ac_signal in 1 2 13 15; do
2776 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2777 done
2778 ac_signal=0
2780 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2781 rm -f -r conftest* confdefs.h
2783 $as_echo "/* confdefs.h */" > confdefs.h
2785 # Predefined preprocessor variables.
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_NAME "$PACKAGE_NAME"
2789 _ACEOF
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2793 _ACEOF
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2797 _ACEOF
2799 cat >>confdefs.h <<_ACEOF
2800 #define PACKAGE_STRING "$PACKAGE_STRING"
2801 _ACEOF
2803 cat >>confdefs.h <<_ACEOF
2804 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2805 _ACEOF
2807 cat >>confdefs.h <<_ACEOF
2808 #define PACKAGE_URL "$PACKAGE_URL"
2809 _ACEOF
2812 # Let the site file select an alternate cache file if it wants to.
2813 # Prefer an explicitly selected file to automatically selected ones.
2814 ac_site_file1=NONE
2815 ac_site_file2=NONE
2816 if test -n "$CONFIG_SITE"; then
2817 ac_site_file1=$CONFIG_SITE
2818 elif test "x$prefix" != xNONE; then
2819 ac_site_file1=$prefix/share/config.site
2820 ac_site_file2=$prefix/etc/config.site
2821 else
2822 ac_site_file1=$ac_default_prefix/share/config.site
2823 ac_site_file2=$ac_default_prefix/etc/config.site
2825 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2827 test "x$ac_site_file" = xNONE && continue
2828 if test -r "$ac_site_file"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2830 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2831 sed 's/^/| /' "$ac_site_file" >&5
2832 . "$ac_site_file"
2834 done
2836 if test -r "$cache_file"; then
2837 # Some versions of bash will fail to source /dev/null (special
2838 # files actually), so we avoid doing that.
2839 if test -f "$cache_file"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2841 $as_echo "$as_me: loading cache $cache_file" >&6;}
2842 case $cache_file in
2843 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2844 *) . "./$cache_file";;
2845 esac
2847 else
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2849 $as_echo "$as_me: creating cache $cache_file" >&6;}
2850 >$cache_file
2853 # Check that the precious variables saved in the cache have kept the same
2854 # value.
2855 ac_cache_corrupted=false
2856 for ac_var in $ac_precious_vars; do
2857 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2858 eval ac_new_set=\$ac_env_${ac_var}_set
2859 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2860 eval ac_new_val=\$ac_env_${ac_var}_value
2861 case $ac_old_set,$ac_new_set in
2862 set,)
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2864 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2865 ac_cache_corrupted=: ;;
2866 ,set)
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2868 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2869 ac_cache_corrupted=: ;;
2870 ,);;
2872 if test "x$ac_old_val" != "x$ac_new_val"; then
2873 # differences in whitespace do not lead to failure.
2874 ac_old_val_w=`echo x $ac_old_val`
2875 ac_new_val_w=`echo x $ac_new_val`
2876 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2878 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2879 ac_cache_corrupted=:
2880 else
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2882 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2883 eval $ac_var=\$ac_old_val
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2886 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2888 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2889 fi;;
2890 esac
2891 # Pass precious variables to config.status.
2892 if test "$ac_new_set" = set; then
2893 case $ac_new_val in
2894 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2895 *) ac_arg=$ac_var=$ac_new_val ;;
2896 esac
2897 case " $ac_configure_args " in
2898 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2899 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2900 esac
2902 done
2903 if $ac_cache_corrupted; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2907 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2908 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2910 ## -------------------- ##
2911 ## Main body of script. ##
2912 ## -------------------- ##
2914 ac_ext=c
2915 ac_cpp='$CPP $CPPFLAGS'
2916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925 ac_config_headers="$ac_config_headers config.h"
2928 # This works around the fact that libtool configuration may change LD
2929 # for this particular configuration, but some shells, instead of
2930 # keeping the changes in LD private, export them just because LD is
2931 # exported. Only used at the end of this file.
2932 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2934 # Find the rest of the source tree framework.
2935 # Default to --enable-multilib
2936 # Check whether --enable-multilib was given.
2937 if test "${enable_multilib+set}" = set; then :
2938 enableval=$enable_multilib; case "$enableval" in
2939 yes) multilib=yes ;;
2940 no) multilib=no ;;
2941 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2942 esac
2943 else
2944 multilib=yes
2948 # We may get other options which we leave undocumented:
2949 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2950 # See config-ml.in if you want the gory details.
2952 if test "$srcdir" = "."; then
2953 if test "$with_target_subdir" != "."; then
2954 multi_basedir="$srcdir/$with_multisrctop../.."
2955 else
2956 multi_basedir="$srcdir/$with_multisrctop.."
2958 else
2959 multi_basedir="$srcdir/.."
2963 # Even if the default multilib is not a cross compilation,
2964 # it may be that some of the other multilibs are.
2965 if test $cross_compiling = no && test $multilib = yes \
2966 && test "x${with_multisubdir}" != x ; then
2967 cross_compiling=maybe
2970 ac_config_commands="$ac_config_commands default-1"
2973 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2975 # You will slowly go insane if you do not grok the following fact: when
2976 # building v3 as part of the compiler, the top-level /target/ becomes the
2977 # library's /host/. configure then causes --target to default to --host,
2978 # exactly like any other package using autoconf. Therefore, 'target' and
2979 # 'host' will always be the same. This makes sense both for native and
2980 # cross compilers, just think about it for a little while. :-)
2982 # Also, if v3 is being configured as part of a cross compiler, the top-level
2983 # configure script will pass the "real" host as $with_cross_host.
2985 # Do not delete or change the following two lines. For why, see
2986 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2987 ac_aux_dir=
2988 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2989 for ac_t in install-sh install.sh shtool; do
2990 if test -f "$ac_dir/$ac_t"; then
2991 ac_aux_dir=$ac_dir
2992 ac_install_sh="$ac_aux_dir/$ac_t -c"
2993 break 2
2995 done
2996 done
2997 if test -z "$ac_aux_dir"; then
2998 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3001 # These three variables are undocumented and unsupported,
3002 # and are intended to be withdrawn in a future Autoconf release.
3003 # They can cause serious problems if a builder's source tree is in a directory
3004 # whose full name contains unusual characters.
3005 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3006 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3007 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3010 # Make sure we can run config.sub.
3011 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3012 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3015 $as_echo_n "checking build system type... " >&6; }
3016 if test "${ac_cv_build+set}" = set; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 ac_build_alias=$build_alias
3020 test "x$ac_build_alias" = x &&
3021 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3022 test "x$ac_build_alias" = x &&
3023 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3024 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3025 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3029 $as_echo "$ac_cv_build" >&6; }
3030 case $ac_cv_build in
3031 *-*-*) ;;
3032 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3033 esac
3034 build=$ac_cv_build
3035 ac_save_IFS=$IFS; IFS='-'
3036 set x $ac_cv_build
3037 shift
3038 build_cpu=$1
3039 build_vendor=$2
3040 shift; shift
3041 # Remember, the first character of IFS is used to create $*,
3042 # except with old shells:
3043 build_os=$*
3044 IFS=$ac_save_IFS
3045 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3049 $as_echo_n "checking host system type... " >&6; }
3050 if test "${ac_cv_host+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 if test "x$host_alias" = x; then
3054 ac_cv_host=$ac_cv_build
3055 else
3056 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3057 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3062 $as_echo "$ac_cv_host" >&6; }
3063 case $ac_cv_host in
3064 *-*-*) ;;
3065 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3066 esac
3067 host=$ac_cv_host
3068 ac_save_IFS=$IFS; IFS='-'
3069 set x $ac_cv_host
3070 shift
3071 host_cpu=$1
3072 host_vendor=$2
3073 shift; shift
3074 # Remember, the first character of IFS is used to create $*,
3075 # except with old shells:
3076 host_os=$*
3077 IFS=$ac_save_IFS
3078 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3082 $as_echo_n "checking target system type... " >&6; }
3083 if test "${ac_cv_target+set}" = set; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 if test "x$target_alias" = x; then
3087 ac_cv_target=$ac_cv_host
3088 else
3089 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3090 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3095 $as_echo "$ac_cv_target" >&6; }
3096 case $ac_cv_target in
3097 *-*-*) ;;
3098 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3099 esac
3100 target=$ac_cv_target
3101 ac_save_IFS=$IFS; IFS='-'
3102 set x $ac_cv_target
3103 shift
3104 target_cpu=$1
3105 target_vendor=$2
3106 shift; shift
3107 # Remember, the first character of IFS is used to create $*,
3108 # except with old shells:
3109 target_os=$*
3110 IFS=$ac_save_IFS
3111 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3114 # The aliases save the names the user supplied, while $host etc.
3115 # will get canonicalized.
3116 test -n "$target_alias" &&
3117 test "$program_prefix$program_suffix$program_transform_name" = \
3118 NONENONEs,x,x, &&
3119 program_prefix=${target_alias}-
3121 target_alias=${target_alias-$host_alias}
3123 # Handy for debugging:
3124 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3126 if test "$build" != "$host"; then
3127 # We are being configured with some form of cross compiler.
3128 GLIBCXX_IS_NATIVE=false
3129 case "$host","$target" in
3130 # Darwin crosses can use the host system's libraries and headers,
3131 # because of the fat library support. Of course, it must be the
3132 # same version of Darwin on both sides. Allow the user to
3133 # just say --target=foo-darwin without a version number to mean
3134 # "the version on this system".
3135 *-*-darwin*,*-*-darwin*)
3136 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3137 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3138 if test $hostos = $targetos -o $targetos = darwin ; then
3139 GLIBCXX_IS_NATIVE=true
3146 esac
3147 else
3148 GLIBCXX_IS_NATIVE=true
3151 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3152 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3153 # 1.x: minimum required version
3154 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3155 # of other PACKAGE_* variables will, however, and there's nothing
3156 # we can do about that; they come from AC_INIT).
3157 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3158 # file in the top srcdir, etc, etc), so stop complaining.
3159 # no-dependencies: turns off auto dependency generation (just for now)
3160 # no-dist: we don't want 'dist' and related rules.
3161 # -Wall: turns on all automake warnings...
3162 # -Wno-portability: ...except this one, since GNU make is now required.
3163 am__api_version='1.11'
3165 # Find a good install program. We prefer a C program (faster),
3166 # so one script is as good as another. But avoid the broken or
3167 # incompatible versions:
3168 # SysV /etc/install, /usr/sbin/install
3169 # SunOS /usr/etc/install
3170 # IRIX /sbin/install
3171 # AIX /bin/install
3172 # AmigaOS /C/install, which installs bootblocks on floppy discs
3173 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3174 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3175 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3176 # OS/2's system install, which has a completely different semantic
3177 # ./install, which can be erroneously created by make from ./install.sh.
3178 # Reject install programs that cannot install multiple files.
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3180 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3181 if test -z "$INSTALL"; then
3182 if test "${ac_cv_path_install+set}" = set; then :
3183 $as_echo_n "(cached) " >&6
3184 else
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 # Account for people who put trailing slashes in PATH elements.
3191 case $as_dir/ in #((
3192 ./ | .// | /[cC]/* | \
3193 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3194 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3195 /usr/ucb/* ) ;;
3197 # OSF1 and SCO ODT 3.0 have their own names for install.
3198 # Don't use installbsd from OSF since it installs stuff as root
3199 # by default.
3200 for ac_prog in ginstall scoinst install; do
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3203 if test $ac_prog = install &&
3204 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3205 # AIX install. It has an incompatible calling convention.
3207 elif test $ac_prog = install &&
3208 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3209 # program-specific install script used by HP pwplus--don't use.
3211 else
3212 rm -rf conftest.one conftest.two conftest.dir
3213 echo one > conftest.one
3214 echo two > conftest.two
3215 mkdir conftest.dir
3216 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3217 test -s conftest.one && test -s conftest.two &&
3218 test -s conftest.dir/conftest.one &&
3219 test -s conftest.dir/conftest.two
3220 then
3221 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3222 break 3
3226 done
3227 done
3229 esac
3231 done
3232 IFS=$as_save_IFS
3234 rm -rf conftest.one conftest.two conftest.dir
3237 if test "${ac_cv_path_install+set}" = set; then
3238 INSTALL=$ac_cv_path_install
3239 else
3240 # As a last resort, use the slow shell script. Don't cache a
3241 # value for INSTALL within a source directory, because that will
3242 # break other packages using the cache if that directory is
3243 # removed, or if the value is a relative name.
3244 INSTALL=$ac_install_sh
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3248 $as_echo "$INSTALL" >&6; }
3250 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3251 # It thinks the first close brace ends the variable substitution.
3252 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3254 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3256 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3259 $as_echo_n "checking whether build environment is sane... " >&6; }
3260 # Just in case
3261 sleep 1
3262 echo timestamp > conftest.file
3263 # Reject unsafe characters in $srcdir or the absolute working directory
3264 # name. Accept space and tab only in the latter.
3265 am_lf='
3267 case `pwd` in
3268 *[\\\"\#\$\&\'\`$am_lf]*)
3269 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3270 esac
3271 case $srcdir in
3272 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3273 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3274 esac
3276 # Do `set' in a subshell so we don't clobber the current shell's
3277 # arguments. Must try -L first in case configure is actually a
3278 # symlink; some systems play weird games with the mod time of symlinks
3279 # (eg FreeBSD returns the mod time of the symlink's containing
3280 # directory).
3281 if (
3282 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3283 if test "$*" = "X"; then
3284 # -L didn't work.
3285 set X `ls -t "$srcdir/configure" conftest.file`
3287 rm -f conftest.file
3288 if test "$*" != "X $srcdir/configure conftest.file" \
3289 && test "$*" != "X conftest.file $srcdir/configure"; then
3291 # If neither matched, then we have a broken ls. This can happen
3292 # if, for instance, CONFIG_SHELL is bash and it inherits a
3293 # broken ls alias from the environment. This has actually
3294 # happened. Such a system could not be considered "sane".
3295 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3296 alias in your environment" "$LINENO" 5
3299 test "$2" = conftest.file
3301 then
3302 # Ok.
3304 else
3305 as_fn_error "newly created file is older than distributed files!
3306 Check your system clock" "$LINENO" 5
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3309 $as_echo "yes" >&6; }
3310 test "$program_prefix" != NONE &&
3311 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3312 # Use a double $ so make ignores it.
3313 test "$program_suffix" != NONE &&
3314 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3315 # Double any \ or $.
3316 # By default was `s,x,x', remove it if useless.
3317 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3318 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3320 # expand $ac_aux_dir to an absolute path
3321 am_aux_dir=`cd $ac_aux_dir && pwd`
3323 if test x"${MISSING+set}" != xset; then
3324 case $am_aux_dir in
3325 *\ * | *\ *)
3326 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3328 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3329 esac
3331 # Use eval to expand $SHELL
3332 if eval "$MISSING --run true"; then
3333 am_missing_run="$MISSING --run "
3334 else
3335 am_missing_run=
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3337 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3340 if test x"${install_sh}" != xset; then
3341 case $am_aux_dir in
3342 *\ * | *\ *)
3343 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3345 install_sh="\${SHELL} $am_aux_dir/install-sh"
3346 esac
3349 # Installed binaries are usually stripped using `strip' when the user
3350 # run `make install-strip'. However `strip' might not be the right
3351 # tool to use in cross-compilation environments, therefore Automake
3352 # will honor the `STRIP' environment variable to overrule this program.
3353 if test "$cross_compiling" != no; then
3354 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3356 set dummy ${ac_tool_prefix}strip; ac_word=$2
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if test "${ac_cv_prog_STRIP+set}" = set; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 if test -n "$STRIP"; then
3363 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3364 else
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH
3368 IFS=$as_save_IFS
3369 test -z "$as_dir" && as_dir=.
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3372 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 break 2
3376 done
3377 done
3378 IFS=$as_save_IFS
3382 STRIP=$ac_cv_prog_STRIP
3383 if test -n "$STRIP"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3385 $as_echo "$STRIP" >&6; }
3386 else
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3393 if test -z "$ac_cv_prog_STRIP"; then
3394 ac_ct_STRIP=$STRIP
3395 # Extract the first word of "strip", so it can be a program name with args.
3396 set dummy strip; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3400 $as_echo_n "(cached) " >&6
3401 else
3402 if test -n "$ac_ct_STRIP"; then
3403 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3408 IFS=$as_save_IFS
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3412 ac_cv_prog_ac_ct_STRIP="strip"
3413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 break 2
3416 done
3417 done
3418 IFS=$as_save_IFS
3422 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3423 if test -n "$ac_ct_STRIP"; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3425 $as_echo "$ac_ct_STRIP" >&6; }
3426 else
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428 $as_echo "no" >&6; }
3431 if test "x$ac_ct_STRIP" = x; then
3432 STRIP=":"
3433 else
3434 case $cross_compiling:$ac_tool_warned in
3435 yes:)
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438 ac_tool_warned=yes ;;
3439 esac
3440 STRIP=$ac_ct_STRIP
3442 else
3443 STRIP="$ac_cv_prog_STRIP"
3447 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3450 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3451 if test -z "$MKDIR_P"; then
3452 if test "${ac_cv_path_mkdir+set}" = set; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3458 IFS=$as_save_IFS
3459 test -z "$as_dir" && as_dir=.
3460 for ac_prog in mkdir gmkdir; do
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3463 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3464 'mkdir (GNU coreutils) '* | \
3465 'mkdir (coreutils) '* | \
3466 'mkdir (fileutils) '4.1*)
3467 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3468 break 3;;
3469 esac
3470 done
3471 done
3472 done
3473 IFS=$as_save_IFS
3477 if test "${ac_cv_path_mkdir+set}" = set; then
3478 MKDIR_P="$ac_cv_path_mkdir -p"
3479 else
3480 # As a last resort, use the slow shell script. Don't cache a
3481 # value for MKDIR_P within a source directory, because that will
3482 # break other packages using the cache if that directory is
3483 # removed, or if the value is a relative name.
3484 test -d ./--version && rmdir ./--version
3485 MKDIR_P="$ac_install_sh -d"
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3489 $as_echo "$MKDIR_P" >&6; }
3491 mkdir_p="$MKDIR_P"
3492 case $mkdir_p in
3493 [\\/$]* | ?:[\\/]*) ;;
3494 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3495 esac
3497 for ac_prog in gawk mawk nawk awk
3499 # Extract the first word of "$ac_prog", so it can be a program name with args.
3500 set dummy $ac_prog; ac_word=$2
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502 $as_echo_n "checking for $ac_word... " >&6; }
3503 if test "${ac_cv_prog_AWK+set}" = set; then :
3504 $as_echo_n "(cached) " >&6
3505 else
3506 if test -n "$AWK"; then
3507 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3508 else
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH
3512 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3516 ac_cv_prog_AWK="$ac_prog"
3517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 break 2
3520 done
3521 done
3522 IFS=$as_save_IFS
3526 AWK=$ac_cv_prog_AWK
3527 if test -n "$AWK"; then
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3529 $as_echo "$AWK" >&6; }
3530 else
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3536 test -n "$AWK" && break
3537 done
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3540 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3541 set x ${MAKE-make}
3542 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3543 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3544 $as_echo_n "(cached) " >&6
3545 else
3546 cat >conftest.make <<\_ACEOF
3547 SHELL = /bin/sh
3548 all:
3549 @echo '@@@%%%=$(MAKE)=@@@%%%'
3550 _ACEOF
3551 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3552 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3553 *@@@%%%=?*=@@@%%%*)
3554 eval ac_cv_prog_make_${ac_make}_set=yes;;
3556 eval ac_cv_prog_make_${ac_make}_set=no;;
3557 esac
3558 rm -f conftest.make
3560 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3562 $as_echo "yes" >&6; }
3563 SET_MAKE=
3564 else
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 SET_MAKE="MAKE=${MAKE-make}"
3570 rm -rf .tst 2>/dev/null
3571 mkdir .tst 2>/dev/null
3572 if test -d .tst; then
3573 am__leading_dot=.
3574 else
3575 am__leading_dot=_
3577 rmdir .tst 2>/dev/null
3579 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3580 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3581 # is not polluted with repeated "-I."
3582 am__isrc=' -I$(srcdir)'
3583 # test to see if srcdir already configured
3584 if test -f $srcdir/config.status; then
3585 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3589 # test whether we have cygpath
3590 if test -z "$CYGPATH_W"; then
3591 if (cygpath --version) >/dev/null 2>/dev/null; then
3592 CYGPATH_W='cygpath -w'
3593 else
3594 CYGPATH_W=echo
3599 # Define the identity of the package.
3600 PACKAGE='libstdc++'
3601 VERSION='version-unused'
3604 # Some tools Automake needs.
3606 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3609 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3612 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3615 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3618 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3620 # We need awk for the "check" target. The system "awk" is bad on
3621 # some platforms.
3622 # Always define AMTAR for backward compatibility. Yes, it's still used
3623 # in the wild :-( We should find a proper way to deprecate it ...
3624 AMTAR='$${TAR-tar}'
3626 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3635 # -fno-builtin must be present here so that a non-conflicting form of
3636 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3638 save_CXXFLAGS="$CXXFLAGS"
3639 CXXFLAGS="$CXXFLAGS -fno-builtin"
3640 ac_ext=c
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if test "${ac_cv_prog_CC+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC="$CC" # Let the user override the test.
3655 else
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3659 IFS=$as_save_IFS
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 break 2
3667 done
3668 done
3669 IFS=$as_save_IFS
3673 CC=$ac_cv_prog_CC
3674 if test -n "$CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3676 $as_echo "$CC" >&6; }
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3684 if test -z "$ac_cv_prog_CC"; then
3685 ac_ct_CC=$CC
3686 # Extract the first word of "gcc", so it can be a program name with args.
3687 set dummy gcc; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3691 $as_echo_n "(cached) " >&6
3692 else
3693 if test -n "$ac_ct_CC"; then
3694 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3695 else
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3699 IFS=$as_save_IFS
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703 ac_cv_prog_ac_ct_CC="gcc"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 break 2
3707 done
3708 done
3709 IFS=$as_save_IFS
3713 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3714 if test -n "$ac_ct_CC"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3716 $as_echo "$ac_ct_CC" >&6; }
3717 else
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3722 if test "x$ac_ct_CC" = x; then
3723 CC=""
3724 else
3725 case $cross_compiling:$ac_tool_warned in
3726 yes:)
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3729 ac_tool_warned=yes ;;
3730 esac
3731 CC=$ac_ct_CC
3733 else
3734 CC="$ac_cv_prog_CC"
3737 if test -z "$CC"; then
3738 if test -n "$ac_tool_prefix"; then
3739 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3740 set dummy ${ac_tool_prefix}cc; ac_word=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if test "${ac_cv_prog_CC+set}" = set; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 if test -n "$CC"; then
3747 ac_cv_prog_CC="$CC" # Let the user override the test.
3748 else
3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 for as_dir in $PATH
3752 IFS=$as_save_IFS
3753 test -z "$as_dir" && as_dir=.
3754 for ac_exec_ext in '' $ac_executable_extensions; do
3755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3756 ac_cv_prog_CC="${ac_tool_prefix}cc"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 break 2
3760 done
3761 done
3762 IFS=$as_save_IFS
3766 CC=$ac_cv_prog_CC
3767 if test -n "$CC"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3769 $as_echo "$CC" >&6; }
3770 else
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3778 if test -z "$CC"; then
3779 # Extract the first word of "cc", so it can be a program name with args.
3780 set dummy cc; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$CC"; then
3787 ac_cv_prog_CC="$CC" # Let the user override the test.
3788 else
3789 ac_prog_rejected=no
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3793 IFS=$as_save_IFS
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3798 ac_prog_rejected=yes
3799 continue
3801 ac_cv_prog_CC="cc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 break 2
3805 done
3806 done
3807 IFS=$as_save_IFS
3809 if test $ac_prog_rejected = yes; then
3810 # We found a bogon in the path, so make sure we never use it.
3811 set dummy $ac_cv_prog_CC
3812 shift
3813 if test $# != 0; then
3814 # We chose a different compiler from the bogus one.
3815 # However, it has the same basename, so the bogon will be chosen
3816 # first if we set CC to just the basename; use the full file name.
3817 shift
3818 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3823 CC=$ac_cv_prog_CC
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3834 if test -z "$CC"; then
3835 if test -n "$ac_tool_prefix"; then
3836 for ac_prog in cl.exe
3838 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3839 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if test "${ac_cv_prog_CC+set}" = set; then :
3843 $as_echo_n "(cached) " >&6
3844 else
3845 if test -n "$CC"; then
3846 ac_cv_prog_CC="$CC" # Let the user override the test.
3847 else
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 break 2
3859 done
3860 done
3861 IFS=$as_save_IFS
3865 CC=$ac_cv_prog_CC
3866 if test -n "$CC"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3868 $as_echo "$CC" >&6; }
3869 else
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3875 test -n "$CC" && break
3876 done
3878 if test -z "$CC"; then
3879 ac_ct_CC=$CC
3880 for ac_prog in cl.exe
3882 # Extract the first word of "$ac_prog", so it can be a program name with args.
3883 set dummy $ac_prog; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3888 else
3889 if test -n "$ac_ct_CC"; then
3890 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3895 IFS=$as_save_IFS
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_ac_ct_CC="$ac_prog"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 break 2
3903 done
3904 done
3905 IFS=$as_save_IFS
3909 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3910 if test -n "$ac_ct_CC"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3912 $as_echo "$ac_ct_CC" >&6; }
3913 else
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3919 test -n "$ac_ct_CC" && break
3920 done
3922 if test "x$ac_ct_CC" = x; then
3923 CC=""
3924 else
3925 case $cross_compiling:$ac_tool_warned in
3926 yes:)
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3929 ac_tool_warned=yes ;;
3930 esac
3931 CC=$ac_ct_CC
3938 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3940 as_fn_error "no acceptable C compiler found in \$PATH
3941 See \`config.log' for more details." "$LINENO" 5; }
3943 # Provide some information about the compiler.
3944 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3945 set X $ac_compile
3946 ac_compiler=$2
3947 for ac_option in --version -v -V -qversion; do
3948 { { ac_try="$ac_compiler $ac_option >&5"
3949 case "(($ac_try" in
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3952 esac
3953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954 $as_echo "$ac_try_echo"; } >&5
3955 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3956 ac_status=$?
3957 if test -s conftest.err; then
3958 sed '10a\
3959 ... rest of stderr output deleted ...
3960 10q' conftest.err >conftest.er1
3961 cat conftest.er1 >&5
3962 rm -f conftest.er1 conftest.err
3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965 test $ac_status = 0; }
3966 done
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3972 main ()
3976 return 0;
3978 _ACEOF
3979 # FIXME: Cleanup?
3980 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3981 (eval $ac_link) 2>&5
3982 ac_status=$?
3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3984 test $ac_status = 0; }; then :
3985 gcc_no_link=no
3986 else
3987 gcc_no_link=yes
3989 if test x$gcc_no_link = xyes; then
3990 # Setting cross_compile will disable run tests; it will
3991 # also disable AC_CHECK_FILE but that's generally
3992 # correct if we can't link.
3993 cross_compiling=yes
3994 EXEEXT=
3995 else
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4000 main ()
4004 return 0;
4006 _ACEOF
4007 ac_clean_files_save=$ac_clean_files
4008 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4009 # Try to create an executable without -o first, disregard a.out.
4010 # It will help us diagnose broken compilers, and finding out an intuition
4011 # of exeext.
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4013 $as_echo_n "checking for C compiler default output file name... " >&6; }
4014 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4016 # The possible output files:
4017 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4019 ac_rmfiles=
4020 for ac_file in $ac_files
4022 case $ac_file in
4023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4024 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4025 esac
4026 done
4027 rm -f $ac_rmfiles
4029 if { { ac_try="$ac_link_default"
4030 case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link_default") 2>&5
4037 ac_status=$?
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4041 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4042 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4043 # so that the user can short-circuit this test for compilers unknown to
4044 # Autoconf.
4045 for ac_file in $ac_files ''
4047 test -f "$ac_file" || continue
4048 case $ac_file in
4049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4051 [ab].out )
4052 # We found the default executable, but exeext='' is most
4053 # certainly right.
4054 break;;
4055 *.* )
4056 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4057 then :; else
4058 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4060 # We set ac_cv_exeext here because the later test for it is not
4061 # safe: cross compilers may not add the suffix if given an `-o'
4062 # argument, so we may need to know it at that point already.
4063 # Even if this section looks crufty: it has the advantage of
4064 # actually working.
4065 break;;
4067 break;;
4068 esac
4069 done
4070 test "$ac_cv_exeext" = no && ac_cv_exeext=
4072 else
4073 ac_file=''
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4076 $as_echo "$ac_file" >&6; }
4077 if test -z "$ac_file"; then :
4078 $as_echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 { as_fn_set_status 77
4084 as_fn_error "C compiler cannot create executables
4085 See \`config.log' for more details." "$LINENO" 5; }; }
4087 ac_exeext=$ac_cv_exeext
4089 # Check that the compiler produces executables we can run. If not, either
4090 # the compiler is broken, or we cross compile.
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4092 $as_echo_n "checking whether the C compiler works... " >&6; }
4093 # If not cross compiling, check that we can run a simple program.
4094 if test "$cross_compiling" != yes; then
4095 if { ac_try='./$ac_file'
4096 { { case "(($ac_try" in
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4099 esac
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_try") 2>&5
4103 ac_status=$?
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; }; then
4106 cross_compiling=no
4107 else
4108 if test "$cross_compiling" = maybe; then
4109 cross_compiling=yes
4110 else
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "cannot run C compiled programs.
4114 If you meant to cross compile, use \`--host'.
4115 See \`config.log' for more details." "$LINENO" 5; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120 $as_echo "yes" >&6; }
4122 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4123 ac_clean_files=$ac_clean_files_save
4124 # Check that the compiler produces executables we can run. If not, either
4125 # the compiler is broken, or we cross compile.
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4127 $as_echo_n "checking whether we are cross compiling... " >&6; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4129 $as_echo "$cross_compiling" >&6; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4132 $as_echo_n "checking for suffix of executables... " >&6; }
4133 if { { ac_try="$ac_link"
4134 case "(($ac_try" in
4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136 *) ac_try_echo=$ac_try;;
4137 esac
4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139 $as_echo "$ac_try_echo"; } >&5
4140 (eval "$ac_link") 2>&5
4141 ac_status=$?
4142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143 test $ac_status = 0; }; then :
4144 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4145 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4146 # work properly (i.e., refer to `conftest.exe'), while it won't with
4147 # `rm'.
4148 for ac_file in conftest.exe conftest conftest.*; do
4149 test -f "$ac_file" || continue
4150 case $ac_file in
4151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4152 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4153 break;;
4154 * ) break;;
4155 esac
4156 done
4157 else
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error "cannot compute suffix of executables: cannot compile and link
4161 See \`config.log' for more details." "$LINENO" 5; }
4163 rm -f conftest$ac_cv_exeext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4165 $as_echo "$ac_cv_exeext" >&6; }
4167 rm -f conftest.$ac_ext
4168 EXEEXT=$ac_cv_exeext
4169 ac_exeext=$EXEEXT
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4172 $as_echo_n "checking for suffix of object files... " >&6; }
4173 if test "${ac_cv_objext+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 main ()
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.o conftest.obj
4188 if { { ac_try="$ac_compile"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4194 $as_echo "$ac_try_echo"; } >&5
4195 (eval "$ac_compile") 2>&5
4196 ac_status=$?
4197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4198 test $ac_status = 0; }; then :
4199 for ac_file in conftest.o conftest.obj conftest.*; do
4200 test -f "$ac_file" || continue;
4201 case $ac_file in
4202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4203 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4204 break;;
4205 esac
4206 done
4207 else
4208 $as_echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error "cannot compute suffix of object files: cannot compile
4214 See \`config.log' for more details." "$LINENO" 5; }
4216 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4219 $as_echo "$ac_cv_objext" >&6; }
4220 OBJEXT=$ac_cv_objext
4221 ac_objext=$OBJEXT
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4223 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4224 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4231 main ()
4233 #ifndef __GNUC__
4234 choke me
4235 #endif
4238 return 0;
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242 ac_compiler_gnu=yes
4243 else
4244 ac_compiler_gnu=no
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4251 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4252 if test $ac_compiler_gnu = yes; then
4253 GCC=yes
4254 else
4255 GCC=
4257 ac_test_CFLAGS=${CFLAGS+set}
4258 ac_save_CFLAGS=$CFLAGS
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4260 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4261 if test "${ac_cv_prog_cc_g+set}" = set; then :
4262 $as_echo_n "(cached) " >&6
4263 else
4264 ac_save_c_werror_flag=$ac_c_werror_flag
4265 ac_c_werror_flag=yes
4266 ac_cv_prog_cc_g=no
4267 CFLAGS="-g"
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4272 main ()
4276 return 0;
4278 _ACEOF
4279 if ac_fn_c_try_compile "$LINENO"; then :
4280 ac_cv_prog_cc_g=yes
4281 else
4282 CFLAGS=""
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4287 main ()
4291 return 0;
4293 _ACEOF
4294 if ac_fn_c_try_compile "$LINENO"; then :
4296 else
4297 ac_c_werror_flag=$ac_save_c_werror_flag
4298 CFLAGS="-g"
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4303 main ()
4307 return 0;
4309 _ACEOF
4310 if ac_fn_c_try_compile "$LINENO"; then :
4311 ac_cv_prog_cc_g=yes
4313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 ac_c_werror_flag=$ac_save_c_werror_flag
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4321 $as_echo "$ac_cv_prog_cc_g" >&6; }
4322 if test "$ac_test_CFLAGS" = set; then
4323 CFLAGS=$ac_save_CFLAGS
4324 elif test $ac_cv_prog_cc_g = yes; then
4325 if test "$GCC" = yes; then
4326 CFLAGS="-g -O2"
4327 else
4328 CFLAGS="-g"
4330 else
4331 if test "$GCC" = yes; then
4332 CFLAGS="-O2"
4333 else
4334 CFLAGS=
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4338 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4339 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 ac_cv_prog_cc_c89=no
4343 ac_save_CC=$CC
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4346 #include <stdarg.h>
4347 #include <stdio.h>
4348 #include <sys/types.h>
4349 #include <sys/stat.h>
4350 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4351 struct buf { int x; };
4352 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4353 static char *e (p, i)
4354 char **p;
4355 int i;
4357 return p[i];
4359 static char *f (char * (*g) (char **, int), char **p, ...)
4361 char *s;
4362 va_list v;
4363 va_start (v,p);
4364 s = g (p, va_arg (v,int));
4365 va_end (v);
4366 return s;
4369 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4370 function prototypes and stuff, but not '\xHH' hex character constants.
4371 These don't provoke an error unfortunately, instead are silently treated
4372 as 'x'. The following induces an error, until -std is added to get
4373 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4374 array size at least. It's necessary to write '\x00'==0 to get something
4375 that's true only with -std. */
4376 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4378 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4379 inside strings and character constants. */
4380 #define FOO(x) 'x'
4381 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4383 int test (int i, double x);
4384 struct s1 {int (*f) (int a);};
4385 struct s2 {int (*f) (double a);};
4386 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4387 int argc;
4388 char **argv;
4390 main ()
4392 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4394 return 0;
4396 _ACEOF
4397 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4398 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4400 CC="$ac_save_CC $ac_arg"
4401 if ac_fn_c_try_compile "$LINENO"; then :
4402 ac_cv_prog_cc_c89=$ac_arg
4404 rm -f core conftest.err conftest.$ac_objext
4405 test "x$ac_cv_prog_cc_c89" != "xno" && break
4406 done
4407 rm -f conftest.$ac_ext
4408 CC=$ac_save_CC
4411 # AC_CACHE_VAL
4412 case "x$ac_cv_prog_cc_c89" in
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4415 $as_echo "none needed" >&6; } ;;
4416 xno)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4418 $as_echo "unsupported" >&6; } ;;
4420 CC="$CC $ac_cv_prog_cc_c89"
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4422 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4423 esac
4424 if test "x$ac_cv_prog_cc_c89" != xno; then :
4428 ac_ext=c
4429 ac_cpp='$CPP $CPPFLAGS'
4430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434 ac_ext=cpp
4435 ac_cpp='$CXXCPP $CPPFLAGS'
4436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4439 if test -z "$CXX"; then
4440 if test -n "$CCC"; then
4441 CXX=$CCC
4442 else
4443 if test -n "$ac_tool_prefix"; then
4444 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4447 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if test "${ac_cv_prog_CXX+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4452 else
4453 if test -n "$CXX"; then
4454 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4455 else
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH
4459 IFS=$as_save_IFS
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 break 2
4467 done
4468 done
4469 IFS=$as_save_IFS
4473 CXX=$ac_cv_prog_CXX
4474 if test -n "$CXX"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4476 $as_echo "$CXX" >&6; }
4477 else
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4483 test -n "$CXX" && break
4484 done
4486 if test -z "$CXX"; then
4487 ac_ct_CXX=$CXX
4488 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4490 # Extract the first word of "$ac_prog", so it can be a program name with args.
4491 set dummy $ac_prog; ac_word=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4495 $as_echo_n "(cached) " >&6
4496 else
4497 if test -n "$ac_ct_CXX"; then
4498 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4499 else
4500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501 for as_dir in $PATH
4503 IFS=$as_save_IFS
4504 test -z "$as_dir" && as_dir=.
4505 for ac_exec_ext in '' $ac_executable_extensions; do
4506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507 ac_cv_prog_ac_ct_CXX="$ac_prog"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 break 2
4511 done
4512 done
4513 IFS=$as_save_IFS
4517 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4518 if test -n "$ac_ct_CXX"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4520 $as_echo "$ac_ct_CXX" >&6; }
4521 else
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4527 test -n "$ac_ct_CXX" && break
4528 done
4530 if test "x$ac_ct_CXX" = x; then
4531 CXX="g++"
4532 else
4533 case $cross_compiling:$ac_tool_warned in
4534 yes:)
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4537 ac_tool_warned=yes ;;
4538 esac
4539 CXX=$ac_ct_CXX
4545 # Provide some information about the compiler.
4546 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4547 set X $ac_compile
4548 ac_compiler=$2
4549 for ac_option in --version -v -V -qversion; do
4550 { { ac_try="$ac_compiler $ac_option >&5"
4551 case "(($ac_try" in
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4554 esac
4555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4556 $as_echo "$ac_try_echo"; } >&5
4557 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4558 ac_status=$?
4559 if test -s conftest.err; then
4560 sed '10a\
4561 ... rest of stderr output deleted ...
4562 10q' conftest.err >conftest.er1
4563 cat conftest.er1 >&5
4564 rm -f conftest.er1 conftest.err
4566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4567 test $ac_status = 0; }
4568 done
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4571 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4572 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4573 $as_echo_n "(cached) " >&6
4574 else
4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4579 main ()
4581 #ifndef __GNUC__
4582 choke me
4583 #endif
4586 return 0;
4588 _ACEOF
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 ac_compiler_gnu=yes
4591 else
4592 ac_compiler_gnu=no
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4599 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4600 if test $ac_compiler_gnu = yes; then
4601 GXX=yes
4602 else
4603 GXX=
4605 ac_test_CXXFLAGS=${CXXFLAGS+set}
4606 ac_save_CXXFLAGS=$CXXFLAGS
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4608 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4609 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4611 else
4612 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4613 ac_cxx_werror_flag=yes
4614 ac_cv_prog_cxx_g=no
4615 CXXFLAGS="-g"
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4620 main ()
4624 return 0;
4626 _ACEOF
4627 if ac_fn_cxx_try_compile "$LINENO"; then :
4628 ac_cv_prog_cxx_g=yes
4629 else
4630 CXXFLAGS=""
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4639 return 0;
4641 _ACEOF
4642 if ac_fn_cxx_try_compile "$LINENO"; then :
4644 else
4645 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4646 CXXFLAGS="-g"
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4651 main ()
4655 return 0;
4657 _ACEOF
4658 if ac_fn_cxx_try_compile "$LINENO"; then :
4659 ac_cv_prog_cxx_g=yes
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4669 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4670 if test "$ac_test_CXXFLAGS" = set; then
4671 CXXFLAGS=$ac_save_CXXFLAGS
4672 elif test $ac_cv_prog_cxx_g = yes; then
4673 if test "$GXX" = yes; then
4674 CXXFLAGS="-g -O2"
4675 else
4676 CXXFLAGS="-g"
4678 else
4679 if test "$GXX" = yes; then
4680 CXXFLAGS="-O2"
4681 else
4682 CXXFLAGS=
4685 ac_ext=c
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4691 CXXFLAGS="$save_CXXFLAGS"
4693 # Runs configure.host, and assorted other critical bits. Sets
4694 # up critical shell variables.
4696 ac_ext=c
4697 ac_cpp='$CPP $CPPFLAGS'
4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4702 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4703 # On Suns, sometimes $CPP names a directory.
4704 if test -n "$CPP" && test -d "$CPP"; then
4705 CPP=
4707 if test -z "$CPP"; then
4708 if test "${ac_cv_prog_CPP+set}" = set; then :
4709 $as_echo_n "(cached) " >&6
4710 else
4711 # Double quotes because CPP needs to be expanded
4712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4714 ac_preproc_ok=false
4715 for ac_c_preproc_warn_flag in '' yes
4717 # Use a header file that comes with gcc, so configuring glibc
4718 # with a fresh cross-compiler works.
4719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4720 # <limits.h> exists even on freestanding compilers.
4721 # On the NeXT, cc -E runs the code through the compiler's parser,
4722 # not just through cpp. "Syntax error" is here to catch this case.
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4725 #ifdef __STDC__
4726 # include <limits.h>
4727 #else
4728 # include <assert.h>
4729 #endif
4730 Syntax error
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4734 else
4735 # Broken: fails on valid input.
4736 continue
4738 rm -f conftest.err conftest.$ac_ext
4740 # OK, works on sane cases. Now check whether nonexistent headers
4741 # can be detected and how.
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4744 #include <ac_nonexistent.h>
4745 _ACEOF
4746 if ac_fn_c_try_cpp "$LINENO"; then :
4747 # Broken: success on invalid input.
4748 continue
4749 else
4750 # Passes both tests.
4751 ac_preproc_ok=:
4752 break
4754 rm -f conftest.err conftest.$ac_ext
4756 done
4757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4758 rm -f conftest.err conftest.$ac_ext
4759 if $ac_preproc_ok; then :
4760 break
4763 done
4764 ac_cv_prog_CPP=$CPP
4767 CPP=$ac_cv_prog_CPP
4768 else
4769 ac_cv_prog_CPP=$CPP
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4772 $as_echo "$CPP" >&6; }
4773 ac_preproc_ok=false
4774 for ac_c_preproc_warn_flag in '' yes
4776 # Use a header file that comes with gcc, so configuring glibc
4777 # with a fresh cross-compiler works.
4778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4779 # <limits.h> exists even on freestanding compilers.
4780 # On the NeXT, cc -E runs the code through the compiler's parser,
4781 # not just through cpp. "Syntax error" is here to catch this case.
4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4789 Syntax error
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4793 else
4794 # Broken: fails on valid input.
4795 continue
4797 rm -f conftest.err conftest.$ac_ext
4799 # OK, works on sane cases. Now check whether nonexistent headers
4800 # can be detected and how.
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 #include <ac_nonexistent.h>
4804 _ACEOF
4805 if ac_fn_c_try_cpp "$LINENO"; then :
4806 # Broken: success on invalid input.
4807 continue
4808 else
4809 # Passes both tests.
4810 ac_preproc_ok=:
4811 break
4813 rm -f conftest.err conftest.$ac_ext
4815 done
4816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4817 rm -f conftest.err conftest.$ac_ext
4818 if $ac_preproc_ok; then :
4820 else
4821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4823 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4824 See \`config.log' for more details." "$LINENO" 5; }
4827 ac_ext=c
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4835 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4836 if test "${ac_cv_path_GREP+set}" = set; then :
4837 $as_echo_n "(cached) " >&6
4838 else
4839 if test -z "$GREP"; then
4840 ac_path_GREP_found=false
4841 # Loop through the user's path and test for each of PROGNAME-LIST
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4845 IFS=$as_save_IFS
4846 test -z "$as_dir" && as_dir=.
4847 for ac_prog in grep ggrep; do
4848 for ac_exec_ext in '' $ac_executable_extensions; do
4849 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4850 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4851 # Check for GNU ac_path_GREP and select it if it is found.
4852 # Check for GNU $ac_path_GREP
4853 case `"$ac_path_GREP" --version 2>&1` in
4854 *GNU*)
4855 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4857 ac_count=0
4858 $as_echo_n 0123456789 >"conftest.in"
4859 while :
4861 cat "conftest.in" "conftest.in" >"conftest.tmp"
4862 mv "conftest.tmp" "conftest.in"
4863 cp "conftest.in" "conftest.nl"
4864 $as_echo 'GREP' >> "conftest.nl"
4865 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4866 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4867 as_fn_arith $ac_count + 1 && ac_count=$as_val
4868 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4869 # Best one so far, save it but keep looking for a better one
4870 ac_cv_path_GREP="$ac_path_GREP"
4871 ac_path_GREP_max=$ac_count
4873 # 10*(2^10) chars as input seems more than enough
4874 test $ac_count -gt 10 && break
4875 done
4876 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4877 esac
4879 $ac_path_GREP_found && break 3
4880 done
4881 done
4882 done
4883 IFS=$as_save_IFS
4884 if test -z "$ac_cv_path_GREP"; then
4885 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4887 else
4888 ac_cv_path_GREP=$GREP
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4893 $as_echo "$ac_cv_path_GREP" >&6; }
4894 GREP="$ac_cv_path_GREP"
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4898 $as_echo_n "checking for egrep... " >&6; }
4899 if test "${ac_cv_path_EGREP+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4903 then ac_cv_path_EGREP="$GREP -E"
4904 else
4905 if test -z "$EGREP"; then
4906 ac_path_EGREP_found=false
4907 # Loop through the user's path and test for each of PROGNAME-LIST
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4911 IFS=$as_save_IFS
4912 test -z "$as_dir" && as_dir=.
4913 for ac_prog in egrep; do
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4916 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4917 # Check for GNU ac_path_EGREP and select it if it is found.
4918 # Check for GNU $ac_path_EGREP
4919 case `"$ac_path_EGREP" --version 2>&1` in
4920 *GNU*)
4921 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4923 ac_count=0
4924 $as_echo_n 0123456789 >"conftest.in"
4925 while :
4927 cat "conftest.in" "conftest.in" >"conftest.tmp"
4928 mv "conftest.tmp" "conftest.in"
4929 cp "conftest.in" "conftest.nl"
4930 $as_echo 'EGREP' >> "conftest.nl"
4931 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4932 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4933 as_fn_arith $ac_count + 1 && ac_count=$as_val
4934 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4935 # Best one so far, save it but keep looking for a better one
4936 ac_cv_path_EGREP="$ac_path_EGREP"
4937 ac_path_EGREP_max=$ac_count
4939 # 10*(2^10) chars as input seems more than enough
4940 test $ac_count -gt 10 && break
4941 done
4942 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4943 esac
4945 $ac_path_EGREP_found && break 3
4946 done
4947 done
4948 done
4949 IFS=$as_save_IFS
4950 if test -z "$ac_cv_path_EGREP"; then
4951 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4953 else
4954 ac_cv_path_EGREP=$EGREP
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4960 $as_echo "$ac_cv_path_EGREP" >&6; }
4961 EGREP="$ac_cv_path_EGREP"
4965 # Keep these sync'd with the list in Makefile.am. The first provides an
4966 # expandable list at autoconf time; the second provides an expandable list
4967 # (i.e., shell variable) at configure time.
4969 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4971 # These need to be absolute paths, yet at the same time need to
4972 # canonicalize only relative paths, because then amd will not unmount
4973 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4974 glibcxx_builddir=`${PWDCMD-pwd}`
4975 case $srcdir in
4976 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4977 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4978 esac
4979 toplevel_builddir=${glibcxx_builddir}/..
4980 toplevel_srcdir=${glibcxx_srcdir}/..
4986 # We use these options to decide which functions to include. They are
4987 # set from the top level.
4989 # Check whether --with-target-subdir was given.
4990 if test "${with_target_subdir+set}" = set; then :
4991 withval=$with_target_subdir;
4996 # Check whether --with-cross-host was given.
4997 if test "${with_cross_host+set}" = set; then :
4998 withval=$with_cross_host;
5003 # Check whether --with-newlib was given.
5004 if test "${with_newlib+set}" = set; then :
5005 withval=$with_newlib;
5009 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5010 # available). Uncomment the next line to force a particular method.
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5012 $as_echo_n "checking whether ln -s works... " >&6; }
5013 LN_S=$as_ln_s
5014 if test "$LN_S" = "ln -s"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5016 $as_echo "yes" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5019 $as_echo "no, using $LN_S" >&6; }
5022 #LN_S='cp -p'
5024 if test -n "$ac_tool_prefix"; then
5025 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5026 set dummy ${ac_tool_prefix}as; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_AS+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5031 else
5032 if test -n "$AS"; then
5033 ac_cv_prog_AS="$AS" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_AS="${ac_tool_prefix}as"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5048 IFS=$as_save_IFS
5052 AS=$ac_cv_prog_AS
5053 if test -n "$AS"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5055 $as_echo "$AS" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5063 if test -z "$ac_cv_prog_AS"; then
5064 ac_ct_AS=$AS
5065 # Extract the first word of "as", so it can be a program name with args.
5066 set dummy as; ac_word=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if test -n "$ac_ct_AS"; then
5073 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5074 else
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_prog_ac_ct_AS="as"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 break 2
5086 done
5087 done
5088 IFS=$as_save_IFS
5092 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5093 if test -n "$ac_ct_AS"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5095 $as_echo "$ac_ct_AS" >&6; }
5096 else
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5101 if test "x$ac_ct_AS" = x; then
5102 AS=""
5103 else
5104 case $cross_compiling:$ac_tool_warned in
5105 yes:)
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned=yes ;;
5109 esac
5110 AS=$ac_ct_AS
5112 else
5113 AS="$ac_cv_prog_AS"
5116 if test -n "$ac_tool_prefix"; then
5117 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5118 set dummy ${ac_tool_prefix}ar; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if test "${ac_cv_prog_AR+set}" = set; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 if test -n "$AR"; then
5125 ac_cv_prog_AR="$AR" # Let the user override the test.
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH
5130 IFS=$as_save_IFS
5131 test -z "$as_dir" && as_dir=.
5132 for ac_exec_ext in '' $ac_executable_extensions; do
5133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 ac_cv_prog_AR="${ac_tool_prefix}ar"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 break 2
5138 done
5139 done
5140 IFS=$as_save_IFS
5144 AR=$ac_cv_prog_AR
5145 if test -n "$AR"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5147 $as_echo "$AR" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5155 if test -z "$ac_cv_prog_AR"; then
5156 ac_ct_AR=$AR
5157 # Extract the first word of "ar", so it can be a program name with args.
5158 set dummy ar; ac_word=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5163 else
5164 if test -n "$ac_ct_AR"; then
5165 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5166 else
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 for as_dir in $PATH
5170 IFS=$as_save_IFS
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174 ac_cv_prog_ac_ct_AR="ar"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 break 2
5178 done
5179 done
5180 IFS=$as_save_IFS
5184 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5185 if test -n "$ac_ct_AR"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5187 $as_echo "$ac_ct_AR" >&6; }
5188 else
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5193 if test "x$ac_ct_AR" = x; then
5194 AR=""
5195 else
5196 case $cross_compiling:$ac_tool_warned in
5197 yes:)
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200 ac_tool_warned=yes ;;
5201 esac
5202 AR=$ac_ct_AR
5204 else
5205 AR="$ac_cv_prog_AR"
5208 if test -n "$ac_tool_prefix"; then
5209 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5210 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 if test -n "$RANLIB"; then
5217 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5218 else
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH
5222 IFS=$as_save_IFS
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 break 2
5230 done
5231 done
5232 IFS=$as_save_IFS
5236 RANLIB=$ac_cv_prog_RANLIB
5237 if test -n "$RANLIB"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5239 $as_echo "$RANLIB" >&6; }
5240 else
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5247 if test -z "$ac_cv_prog_RANLIB"; then
5248 ac_ct_RANLIB=$RANLIB
5249 # Extract the first word of "ranlib", so it can be a program name with args.
5250 set dummy ranlib; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 if test -n "$ac_ct_RANLIB"; then
5257 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5258 else
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 for as_dir in $PATH
5262 IFS=$as_save_IFS
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_ac_ct_RANLIB="ranlib"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 break 2
5270 done
5271 done
5272 IFS=$as_save_IFS
5276 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5277 if test -n "$ac_ct_RANLIB"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5279 $as_echo "$ac_ct_RANLIB" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5285 if test "x$ac_ct_RANLIB" = x; then
5286 RANLIB="ranlib-not-found-in-path-error"
5287 else
5288 case $cross_compiling:$ac_tool_warned in
5289 yes:)
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292 ac_tool_warned=yes ;;
5293 esac
5294 RANLIB=$ac_ct_RANLIB
5296 else
5297 RANLIB="$ac_cv_prog_RANLIB"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5303 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5304 # Check whether --enable-maintainer-mode was given.
5305 if test "${enable_maintainer_mode+set}" = set; then :
5306 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5307 else
5308 USE_MAINTAINER_MODE=no
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5312 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5313 if test $USE_MAINTAINER_MODE = yes; then
5314 MAINTAINER_MODE_TRUE=
5315 MAINTAINER_MODE_FALSE='#'
5316 else
5317 MAINTAINER_MODE_TRUE='#'
5318 MAINTAINER_MODE_FALSE=
5321 MAINT=$MAINTAINER_MODE_TRUE
5325 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5326 # which are themselves conditionally expanded.
5327 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5328 ## other macros from doing the same. This should be automated.) -pme
5330 # Check for C library flavor since GNU/Linux platforms use different
5331 # configuration directories depending on the C library in use.
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5335 #include <stdio.h>
5336 #if __UCLIBC__
5337 _using_uclibc
5338 #endif
5340 _ACEOF
5341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5342 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5343 uclibc=yes
5344 else
5345 uclibc=no
5347 rm -f conftest*
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5353 #include <stdio.h>
5354 #if __BIONIC__
5355 _using_bionic
5356 #endif
5358 _ACEOF
5359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5360 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5361 bionic=yes
5362 else
5363 bionic=no
5365 rm -f conftest*
5368 # Find platform-specific directories containing configuration info.
5369 # Also possibly modify flags used elsewhere, as needed by the platform.
5371 . $glibcxx_srcdir/configure.host
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5373 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5375 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5379 # Libtool setup.
5380 if test "x${with_newlib}" != "xyes"; then
5381 enable_dlopen=yes
5386 case `pwd` in
5387 *\ * | *\ *)
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5389 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5390 esac
5394 macro_version='2.2.7a'
5395 macro_revision='1.3134'
5409 ltmain="$ac_aux_dir/ltmain.sh"
5411 # Backslashify metacharacters that are still active within
5412 # double-quoted strings.
5413 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5415 # Same as above, but do not quote variable references.
5416 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5418 # Sed substitution to delay expansion of an escaped shell variable in a
5419 # double_quote_subst'ed string.
5420 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5422 # Sed substitution to delay expansion of an escaped single quote.
5423 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5425 # Sed substitution to avoid accidental globbing in evaled expressions
5426 no_glob_subst='s/\*/\\\*/g'
5428 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5430 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5433 $as_echo_n "checking how to print strings... " >&6; }
5434 # Test print first, because it will be a builtin if present.
5435 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5436 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5437 ECHO='print -r --'
5438 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5439 ECHO='printf %s\n'
5440 else
5441 # Use this function as a fallback that always works.
5442 func_fallback_echo ()
5444 eval 'cat <<_LTECHO_EOF
5446 _LTECHO_EOF'
5448 ECHO='func_fallback_echo'
5451 # func_echo_all arg...
5452 # Invoke $ECHO with all args, space-separated.
5453 func_echo_all ()
5455 $ECHO ""
5458 case "$ECHO" in
5459 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5460 $as_echo "printf" >&6; } ;;
5461 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5462 $as_echo "print -r" >&6; } ;;
5463 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5464 $as_echo "cat" >&6; } ;;
5465 esac
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5481 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5482 if test "${ac_cv_path_SED+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5486 for ac_i in 1 2 3 4 5 6 7; do
5487 ac_script="$ac_script$as_nl$ac_script"
5488 done
5489 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5490 { ac_script=; unset ac_script;}
5491 if test -z "$SED"; then
5492 ac_path_SED_found=false
5493 # Loop through the user's path and test for each of PROGNAME-LIST
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $PATH
5497 IFS=$as_save_IFS
5498 test -z "$as_dir" && as_dir=.
5499 for ac_prog in sed gsed; do
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5502 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5503 # Check for GNU ac_path_SED and select it if it is found.
5504 # Check for GNU $ac_path_SED
5505 case `"$ac_path_SED" --version 2>&1` in
5506 *GNU*)
5507 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5509 ac_count=0
5510 $as_echo_n 0123456789 >"conftest.in"
5511 while :
5513 cat "conftest.in" "conftest.in" >"conftest.tmp"
5514 mv "conftest.tmp" "conftest.in"
5515 cp "conftest.in" "conftest.nl"
5516 $as_echo '' >> "conftest.nl"
5517 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5518 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5519 as_fn_arith $ac_count + 1 && ac_count=$as_val
5520 if test $ac_count -gt ${ac_path_SED_max-0}; then
5521 # Best one so far, save it but keep looking for a better one
5522 ac_cv_path_SED="$ac_path_SED"
5523 ac_path_SED_max=$ac_count
5525 # 10*(2^10) chars as input seems more than enough
5526 test $ac_count -gt 10 && break
5527 done
5528 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5529 esac
5531 $ac_path_SED_found && break 3
5532 done
5533 done
5534 done
5535 IFS=$as_save_IFS
5536 if test -z "$ac_cv_path_SED"; then
5537 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5539 else
5540 ac_cv_path_SED=$SED
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5545 $as_echo "$ac_cv_path_SED" >&6; }
5546 SED="$ac_cv_path_SED"
5547 rm -f conftest.sed
5549 test -z "$SED" && SED=sed
5550 Xsed="$SED -e 1s/^X//"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5563 $as_echo_n "checking for fgrep... " >&6; }
5564 if test "${ac_cv_path_FGREP+set}" = set; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5568 then ac_cv_path_FGREP="$GREP -F"
5569 else
5570 if test -z "$FGREP"; then
5571 ac_path_FGREP_found=false
5572 # Loop through the user's path and test for each of PROGNAME-LIST
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_prog in fgrep; do
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5581 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5582 # Check for GNU ac_path_FGREP and select it if it is found.
5583 # Check for GNU $ac_path_FGREP
5584 case `"$ac_path_FGREP" --version 2>&1` in
5585 *GNU*)
5586 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5588 ac_count=0
5589 $as_echo_n 0123456789 >"conftest.in"
5590 while :
5592 cat "conftest.in" "conftest.in" >"conftest.tmp"
5593 mv "conftest.tmp" "conftest.in"
5594 cp "conftest.in" "conftest.nl"
5595 $as_echo 'FGREP' >> "conftest.nl"
5596 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5598 as_fn_arith $ac_count + 1 && ac_count=$as_val
5599 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5600 # Best one so far, save it but keep looking for a better one
5601 ac_cv_path_FGREP="$ac_path_FGREP"
5602 ac_path_FGREP_max=$ac_count
5604 # 10*(2^10) chars as input seems more than enough
5605 test $ac_count -gt 10 && break
5606 done
5607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5608 esac
5610 $ac_path_FGREP_found && break 3
5611 done
5612 done
5613 done
5614 IFS=$as_save_IFS
5615 if test -z "$ac_cv_path_FGREP"; then
5616 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5618 else
5619 ac_cv_path_FGREP=$FGREP
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5625 $as_echo "$ac_cv_path_FGREP" >&6; }
5626 FGREP="$ac_cv_path_FGREP"
5629 test -z "$GREP" && GREP=grep
5649 # Check whether --with-gnu-ld was given.
5650 if test "${with_gnu_ld+set}" = set; then :
5651 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5652 else
5653 with_gnu_ld=no
5656 ac_prog=ld
5657 if test "$GCC" = yes; then
5658 # Check if gcc -print-prog-name=ld gives a path.
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5660 $as_echo_n "checking for ld used by $CC... " >&6; }
5661 case $host in
5662 *-*-mingw*)
5663 # gcc leaves a trailing carriage return which upsets mingw
5664 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5666 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5667 esac
5668 case $ac_prog in
5669 # Accept absolute paths.
5670 [\\/]* | ?:[\\/]*)
5671 re_direlt='/[^/][^/]*/\.\./'
5672 # Canonicalize the pathname of ld
5673 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5674 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5675 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5676 done
5677 test -z "$LD" && LD="$ac_prog"
5680 # If it fails, then pretend we aren't using GCC.
5681 ac_prog=ld
5684 # If it is relative, then search for the first ld in PATH.
5685 with_gnu_ld=unknown
5687 esac
5688 elif test "$with_gnu_ld" = yes; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5690 $as_echo_n "checking for GNU ld... " >&6; }
5691 else
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5693 $as_echo_n "checking for non-GNU ld... " >&6; }
5695 if test "${lt_cv_path_LD+set}" = set; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 if test -z "$LD"; then
5699 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5700 for ac_dir in $PATH; do
5701 IFS="$lt_save_ifs"
5702 test -z "$ac_dir" && ac_dir=.
5703 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5704 lt_cv_path_LD="$ac_dir/$ac_prog"
5705 # Check to see if the program is GNU ld. I'd rather use --version,
5706 # but apparently some variants of GNU ld only accept -v.
5707 # Break only if it was the GNU/non-GNU ld that we prefer.
5708 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5709 *GNU* | *'with BFD'*)
5710 test "$with_gnu_ld" != no && break
5713 test "$with_gnu_ld" != yes && break
5715 esac
5717 done
5718 IFS="$lt_save_ifs"
5719 else
5720 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5724 LD="$lt_cv_path_LD"
5725 if test -n "$LD"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5727 $as_echo "$LD" >&6; }
5728 else
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5732 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5734 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5735 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5739 case `$LD -v 2>&1 </dev/null` in
5740 *GNU* | *'with BFD'*)
5741 lt_cv_prog_gnu_ld=yes
5744 lt_cv_prog_gnu_ld=no
5746 esac
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5749 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5750 with_gnu_ld=$lt_cv_prog_gnu_ld
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5761 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5762 if test "${lt_cv_path_NM+set}" = set; then :
5763 $as_echo_n "(cached) " >&6
5764 else
5765 if test -n "$NM"; then
5766 # Let the user override the test.
5767 lt_cv_path_NM="$NM"
5768 else
5769 lt_nm_to_check="${ac_tool_prefix}nm"
5770 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5771 lt_nm_to_check="$lt_nm_to_check nm"
5773 for lt_tmp_nm in $lt_nm_to_check; do
5774 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5775 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5776 IFS="$lt_save_ifs"
5777 test -z "$ac_dir" && ac_dir=.
5778 tmp_nm="$ac_dir/$lt_tmp_nm"
5779 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5780 # Check to see if the nm accepts a BSD-compat flag.
5781 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5782 # nm: unknown option "B" ignored
5783 # Tru64's nm complains that /dev/null is an invalid object file
5784 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5785 */dev/null* | *'Invalid file or object type'*)
5786 lt_cv_path_NM="$tmp_nm -B"
5787 break
5790 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5791 */dev/null*)
5792 lt_cv_path_NM="$tmp_nm -p"
5793 break
5796 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5797 continue # so that we can try to find one that supports BSD flags
5799 esac
5801 esac
5803 done
5804 IFS="$lt_save_ifs"
5805 done
5806 : ${lt_cv_path_NM=no}
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5810 $as_echo "$lt_cv_path_NM" >&6; }
5811 if test "$lt_cv_path_NM" != "no"; then
5812 NM="$lt_cv_path_NM"
5813 else
5814 # Didn't find any BSD compatible name lister, look for dumpbin.
5815 if test -n "$DUMPBIN"; then :
5816 # Let the user override the test.
5817 else
5818 if test -n "$ac_tool_prefix"; then
5819 for ac_prog in dumpbin "link -dump"
5821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$DUMPBIN"; then
5829 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 DUMPBIN=$ac_cv_prog_DUMPBIN
5849 if test -n "$DUMPBIN"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5851 $as_echo "$DUMPBIN" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5858 test -n "$DUMPBIN" && break
5859 done
5861 if test -z "$DUMPBIN"; then
5862 ac_ct_DUMPBIN=$DUMPBIN
5863 for ac_prog in dumpbin "link -dump"
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy $ac_prog; ac_word=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 if test -n "$ac_ct_DUMPBIN"; then
5873 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5878 IFS=$as_save_IFS
5879 test -z "$as_dir" && as_dir=.
5880 for ac_exec_ext in '' $ac_executable_extensions; do
5881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5882 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 break 2
5886 done
5887 done
5888 IFS=$as_save_IFS
5892 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5893 if test -n "$ac_ct_DUMPBIN"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5895 $as_echo "$ac_ct_DUMPBIN" >&6; }
5896 else
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$ac_ct_DUMPBIN" && break
5903 done
5905 if test "x$ac_ct_DUMPBIN" = x; then
5906 DUMPBIN=":"
5907 else
5908 case $cross_compiling:$ac_tool_warned in
5909 yes:)
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912 ac_tool_warned=yes ;;
5913 esac
5914 DUMPBIN=$ac_ct_DUMPBIN
5918 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5919 *COFF*)
5920 DUMPBIN="$DUMPBIN -symbols"
5923 DUMPBIN=:
5925 esac
5928 if test "$DUMPBIN" != ":"; then
5929 NM="$DUMPBIN"
5932 test -z "$NM" && NM=nm
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5940 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5941 if test "${lt_cv_nm_interface+set}" = set; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 lt_cv_nm_interface="BSD nm"
5945 echo "int some_variable = 0;" > conftest.$ac_ext
5946 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5947 (eval "$ac_compile" 2>conftest.err)
5948 cat conftest.err >&5
5949 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5950 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5951 cat conftest.err >&5
5952 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5953 cat conftest.out >&5
5954 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5955 lt_cv_nm_interface="MS dumpbin"
5957 rm -f conftest*
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5960 $as_echo "$lt_cv_nm_interface" >&6; }
5962 # find the maximum length of command line arguments
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5964 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5965 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5969 teststring="ABCD"
5971 case $build_os in
5972 msdosdjgpp*)
5973 # On DJGPP, this test can blow up pretty badly due to problems in libc
5974 # (any single argument exceeding 2000 bytes causes a buffer overrun
5975 # during glob expansion). Even if it were fixed, the result of this
5976 # check would be larger than it should be.
5977 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5980 gnu*)
5981 # Under GNU Hurd, this test is not required because there is
5982 # no limit to the length of command line arguments.
5983 # Libtool will interpret -1 as no limit whatsoever
5984 lt_cv_sys_max_cmd_len=-1;
5987 cygwin* | mingw* | cegcc*)
5988 # On Win9x/ME, this test blows up -- it succeeds, but takes
5989 # about 5 minutes as the teststring grows exponentially.
5990 # Worse, since 9x/ME are not pre-emptively multitasking,
5991 # you end up with a "frozen" computer, even though with patience
5992 # the test eventually succeeds (with a max line length of 256k).
5993 # Instead, let's just punt: use the minimum linelength reported by
5994 # all of the supported platforms: 8192 (on NT/2K/XP).
5995 lt_cv_sys_max_cmd_len=8192;
5998 mint*)
5999 # On MiNT this can take a long time and run out of memory.
6000 lt_cv_sys_max_cmd_len=8192;
6003 amigaos*)
6004 # On AmigaOS with pdksh, this test takes hours, literally.
6005 # So we just punt and use a minimum line length of 8192.
6006 lt_cv_sys_max_cmd_len=8192;
6009 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6010 # This has been around since 386BSD, at least. Likely further.
6011 if test -x /sbin/sysctl; then
6012 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6013 elif test -x /usr/sbin/sysctl; then
6014 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6015 else
6016 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6018 # And add a safety zone
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6020 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6023 interix*)
6024 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6025 lt_cv_sys_max_cmd_len=196608
6028 osf*)
6029 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6030 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6031 # nice to cause kernel panics so lets avoid the loop below.
6032 # First set a reasonable default.
6033 lt_cv_sys_max_cmd_len=16384
6035 if test -x /sbin/sysconfig; then
6036 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6037 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6038 esac
6041 sco3.2v5*)
6042 lt_cv_sys_max_cmd_len=102400
6044 sysv5* | sco5v6* | sysv4.2uw2*)
6045 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6046 if test -n "$kargmax"; then
6047 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6048 else
6049 lt_cv_sys_max_cmd_len=32768
6053 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6054 if test -n "$lt_cv_sys_max_cmd_len"; then
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6056 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6057 else
6058 # Make teststring a little bigger before we do anything with it.
6059 # a 1K string should be a reasonable start.
6060 for i in 1 2 3 4 5 6 7 8 ; do
6061 teststring=$teststring$teststring
6062 done
6063 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6064 # If test is not a shell built-in, we'll probably end up computing a
6065 # maximum length that is only half of the actual maximum length, but
6066 # we can't tell.
6067 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6068 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6069 test $i != 17 # 1/2 MB should be enough
6071 i=`expr $i + 1`
6072 teststring=$teststring$teststring
6073 done
6074 # Only check the string length outside the loop.
6075 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6076 teststring=
6077 # Add a significant safety factor because C++ compilers can tack on
6078 # massive amounts of additional arguments before passing them to the
6079 # linker. It appears as though 1/2 is a usable value.
6080 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6083 esac
6087 if test -n $lt_cv_sys_max_cmd_len ; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6089 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6092 $as_echo "none" >&6; }
6094 max_cmd_len=$lt_cv_sys_max_cmd_len
6101 : ${CP="cp -f"}
6102 : ${MV="mv -f"}
6103 : ${RM="rm -f"}
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6106 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6107 # Try some XSI features
6108 xsi_shell=no
6109 ( _lt_dummy="a/b/c"
6110 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6111 = c,a/b,, \
6112 && eval 'test $(( 1 + 1 )) -eq 2 \
6113 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6114 && xsi_shell=yes
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6116 $as_echo "$xsi_shell" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6120 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6121 lt_shell_append=no
6122 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6123 >/dev/null 2>&1 \
6124 && lt_shell_append=yes
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6126 $as_echo "$lt_shell_append" >&6; }
6129 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6130 lt_unset=unset
6131 else
6132 lt_unset=false
6139 # test EBCDIC or ASCII
6140 case `echo X|tr X '\101'` in
6141 A) # ASCII based system
6142 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6143 lt_SP2NL='tr \040 \012'
6144 lt_NL2SP='tr \015\012 \040\040'
6146 *) # EBCDIC based system
6147 lt_SP2NL='tr \100 \n'
6148 lt_NL2SP='tr \r\n \100\100'
6150 esac
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6161 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6162 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6163 $as_echo_n "(cached) " >&6
6164 else
6165 lt_cv_ld_reload_flag='-r'
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6168 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6169 reload_flag=$lt_cv_ld_reload_flag
6170 case $reload_flag in
6171 "" | " "*) ;;
6172 *) reload_flag=" $reload_flag" ;;
6173 esac
6174 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6175 case $host_os in
6176 darwin*)
6177 if test "$GCC" = yes; then
6178 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6179 else
6180 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6183 esac
6193 if test -n "$ac_tool_prefix"; then
6194 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6195 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6201 if test -n "$OBJDUMP"; then
6202 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 OBJDUMP=$ac_cv_prog_OBJDUMP
6222 if test -n "$OBJDUMP"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6224 $as_echo "$OBJDUMP" >&6; }
6225 else
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6232 if test -z "$ac_cv_prog_OBJDUMP"; then
6233 ac_ct_OBJDUMP=$OBJDUMP
6234 # Extract the first word of "objdump", so it can be a program name with args.
6235 set dummy objdump; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6239 $as_echo_n "(cached) " >&6
6240 else
6241 if test -n "$ac_ct_OBJDUMP"; then
6242 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6243 else
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH
6247 IFS=$as_save_IFS
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6251 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 break 2
6255 done
6256 done
6257 IFS=$as_save_IFS
6261 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6262 if test -n "$ac_ct_OBJDUMP"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6264 $as_echo "$ac_ct_OBJDUMP" >&6; }
6265 else
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6270 if test "x$ac_ct_OBJDUMP" = x; then
6271 OBJDUMP="false"
6272 else
6273 case $cross_compiling:$ac_tool_warned in
6274 yes:)
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277 ac_tool_warned=yes ;;
6278 esac
6279 OBJDUMP=$ac_ct_OBJDUMP
6281 else
6282 OBJDUMP="$ac_cv_prog_OBJDUMP"
6285 test -z "$OBJDUMP" && OBJDUMP=objdump
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6296 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6297 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 lt_cv_file_magic_cmd='$MAGIC_CMD'
6301 lt_cv_file_magic_test_file=
6302 lt_cv_deplibs_check_method='unknown'
6303 # Need to set the preceding variable on all platforms that support
6304 # interlibrary dependencies.
6305 # 'none' -- dependencies not supported.
6306 # `unknown' -- same as none, but documents that we really don't know.
6307 # 'pass_all' -- all dependencies passed with no checks.
6308 # 'test_compile' -- check by making test program.
6309 # 'file_magic [[regex]]' -- check by looking for files in library path
6310 # which responds to the $file_magic_cmd with a given extended regex.
6311 # If you have `file' or equivalent on your system and you're not sure
6312 # whether `pass_all' will *always* work, you probably want this one.
6314 case $host_os in
6315 aix[4-9]*)
6316 lt_cv_deplibs_check_method=pass_all
6319 beos*)
6320 lt_cv_deplibs_check_method=pass_all
6323 bsdi[45]*)
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6325 lt_cv_file_magic_cmd='/usr/bin/file -L'
6326 lt_cv_file_magic_test_file=/shlib/libc.so
6329 cygwin*)
6330 # func_win32_libid is a shell function defined in ltmain.sh
6331 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6332 lt_cv_file_magic_cmd='func_win32_libid'
6335 mingw* | pw32*)
6336 # Base MSYS/MinGW do not provide the 'file' command needed by
6337 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6338 # unless we find 'file', for example because we are cross-compiling.
6339 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6340 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6341 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6342 lt_cv_file_magic_cmd='func_win32_libid'
6343 else
6344 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6345 lt_cv_file_magic_cmd='$OBJDUMP -f'
6349 cegcc*)
6350 # use the weaker test based on 'objdump'. See mingw*.
6351 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6352 lt_cv_file_magic_cmd='$OBJDUMP -f'
6355 darwin* | rhapsody*)
6356 lt_cv_deplibs_check_method=pass_all
6359 freebsd* | dragonfly*)
6360 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6361 case $host_cpu in
6362 i*86 )
6363 # Not sure whether the presence of OpenBSD here was a mistake.
6364 # Let's accept both of them until this is cleared up.
6365 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6366 lt_cv_file_magic_cmd=/usr/bin/file
6367 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6369 esac
6370 else
6371 lt_cv_deplibs_check_method=pass_all
6375 gnu*)
6376 lt_cv_deplibs_check_method=pass_all
6379 haiku*)
6380 lt_cv_deplibs_check_method=pass_all
6383 hpux10.20* | hpux11*)
6384 lt_cv_file_magic_cmd=/usr/bin/file
6385 case $host_cpu in
6386 ia64*)
6387 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6388 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6390 hppa*64*)
6391 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6392 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6395 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6396 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6398 esac
6401 interix[3-9]*)
6402 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6406 irix5* | irix6* | nonstopux*)
6407 case $LD in
6408 *-32|*"-32 ") libmagic=32-bit;;
6409 *-n32|*"-n32 ") libmagic=N32;;
6410 *-64|*"-64 ") libmagic=64-bit;;
6411 *) libmagic=never-match;;
6412 esac
6413 lt_cv_deplibs_check_method=pass_all
6416 # This must be Linux ELF.
6417 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6418 lt_cv_deplibs_check_method=pass_all
6421 netbsd*)
6422 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6424 else
6425 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6429 newos6*)
6430 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6431 lt_cv_file_magic_cmd=/usr/bin/file
6432 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6435 *nto* | *qnx*)
6436 lt_cv_deplibs_check_method=pass_all
6439 openbsd*)
6440 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6442 else
6443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6447 osf3* | osf4* | osf5*)
6448 lt_cv_deplibs_check_method=pass_all
6451 rdos*)
6452 lt_cv_deplibs_check_method=pass_all
6455 solaris*)
6456 lt_cv_deplibs_check_method=pass_all
6459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6460 lt_cv_deplibs_check_method=pass_all
6463 sysv4 | sysv4.3*)
6464 case $host_vendor in
6465 motorola)
6466 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6467 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6469 ncr)
6470 lt_cv_deplibs_check_method=pass_all
6472 sequent)
6473 lt_cv_file_magic_cmd='/bin/file'
6474 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6476 sni)
6477 lt_cv_file_magic_cmd='/bin/file'
6478 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6479 lt_cv_file_magic_test_file=/lib/libc.so
6481 siemens)
6482 lt_cv_deplibs_check_method=pass_all
6485 lt_cv_deplibs_check_method=pass_all
6487 esac
6490 tpf*)
6491 lt_cv_deplibs_check_method=pass_all
6493 esac
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6497 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6498 file_magic_cmd=$lt_cv_file_magic_cmd
6499 deplibs_check_method=$lt_cv_deplibs_check_method
6500 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6513 if test -n "$ac_tool_prefix"; then
6514 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}ar; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if test "${ac_cv_prog_AR+set}" = set; then :
6519 $as_echo_n "(cached) " >&6
6520 else
6521 if test -n "$AR"; then
6522 ac_cv_prog_AR="$AR" # Let the user override the test.
6523 else
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 for as_dir in $PATH
6527 IFS=$as_save_IFS
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531 ac_cv_prog_AR="${ac_tool_prefix}ar"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6533 break 2
6535 done
6536 done
6537 IFS=$as_save_IFS
6541 AR=$ac_cv_prog_AR
6542 if test -n "$AR"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6544 $as_echo "$AR" >&6; }
6545 else
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547 $as_echo "no" >&6; }
6552 if test -z "$ac_cv_prog_AR"; then
6553 ac_ct_AR=$AR
6554 # Extract the first word of "ar", so it can be a program name with args.
6555 set dummy ar; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$ac_ct_AR"; then
6562 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571 ac_cv_prog_ac_ct_AR="ar"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6582 if test -n "$ac_ct_AR"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6584 $as_echo "$ac_ct_AR" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6590 if test "x$ac_ct_AR" = x; then
6591 AR="false"
6592 else
6593 case $cross_compiling:$ac_tool_warned in
6594 yes:)
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6597 ac_tool_warned=yes ;;
6598 esac
6599 AR=$ac_ct_AR
6601 else
6602 AR="$ac_cv_prog_AR"
6605 test -z "$AR" && AR=ar
6606 test -z "$AR_FLAGS" && AR_FLAGS=cru
6618 if test -n "$ac_tool_prefix"; then
6619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6620 set dummy ${ac_tool_prefix}strip; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if test "${ac_cv_prog_STRIP+set}" = set; then :
6624 $as_echo_n "(cached) " >&6
6625 else
6626 if test -n "$STRIP"; then
6627 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6636 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 STRIP=$ac_cv_prog_STRIP
6647 if test -n "$STRIP"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6649 $as_echo "$STRIP" >&6; }
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6657 if test -z "$ac_cv_prog_STRIP"; then
6658 ac_ct_STRIP=$STRIP
6659 # Extract the first word of "strip", so it can be a program name with args.
6660 set dummy strip; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6664 $as_echo_n "(cached) " >&6
6665 else
6666 if test -n "$ac_ct_STRIP"; then
6667 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6668 else
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6672 IFS=$as_save_IFS
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676 ac_cv_prog_ac_ct_STRIP="strip"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 break 2
6680 done
6681 done
6682 IFS=$as_save_IFS
6686 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6687 if test -n "$ac_ct_STRIP"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6689 $as_echo "$ac_ct_STRIP" >&6; }
6690 else
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6695 if test "x$ac_ct_STRIP" = x; then
6696 STRIP=":"
6697 else
6698 case $cross_compiling:$ac_tool_warned in
6699 yes:)
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6702 ac_tool_warned=yes ;;
6703 esac
6704 STRIP=$ac_ct_STRIP
6706 else
6707 STRIP="$ac_cv_prog_STRIP"
6710 test -z "$STRIP" && STRIP=:
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 if test -n "$RANLIB"; then
6726 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6727 else
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 for as_dir in $PATH
6731 IFS=$as_save_IFS
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 break 2
6739 done
6740 done
6741 IFS=$as_save_IFS
6745 RANLIB=$ac_cv_prog_RANLIB
6746 if test -n "$RANLIB"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6748 $as_echo "$RANLIB" >&6; }
6749 else
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6756 if test -z "$ac_cv_prog_RANLIB"; then
6757 ac_ct_RANLIB=$RANLIB
6758 # Extract the first word of "ranlib", so it can be a program name with args.
6759 set dummy ranlib; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6763 $as_echo_n "(cached) " >&6
6764 else
6765 if test -n "$ac_ct_RANLIB"; then
6766 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6767 else
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 for as_dir in $PATH
6771 IFS=$as_save_IFS
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_ac_ct_RANLIB="ranlib"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 break 2
6779 done
6780 done
6781 IFS=$as_save_IFS
6785 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6786 if test -n "$ac_ct_RANLIB"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6788 $as_echo "$ac_ct_RANLIB" >&6; }
6789 else
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6794 if test "x$ac_ct_RANLIB" = x; then
6795 RANLIB=":"
6796 else
6797 case $cross_compiling:$ac_tool_warned in
6798 yes:)
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6801 ac_tool_warned=yes ;;
6802 esac
6803 RANLIB=$ac_ct_RANLIB
6805 else
6806 RANLIB="$ac_cv_prog_RANLIB"
6809 test -z "$RANLIB" && RANLIB=:
6816 # Determine commands to create old-style static archives.
6817 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6818 old_postinstall_cmds='chmod 644 $oldlib'
6819 old_postuninstall_cmds=
6821 if test -n "$RANLIB"; then
6822 case $host_os in
6823 openbsd*)
6824 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6827 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6829 esac
6830 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6833 case $host_os in
6834 darwin*)
6835 lock_old_archive_extraction=yes ;;
6837 lock_old_archive_extraction=no ;;
6838 esac
6878 # If no C compiler was specified, use CC.
6879 LTCC=${LTCC-"$CC"}
6881 # If no C compiler flags were specified, use CFLAGS.
6882 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6884 # Allow CC to be a program name with arguments.
6885 compiler=$CC
6888 # Check for command to grab the raw symbol name followed by C symbol from nm.
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6890 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6891 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6892 $as_echo_n "(cached) " >&6
6893 else
6895 # These are sane defaults that work on at least a few old systems.
6896 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6898 # Character class describing NM global symbol codes.
6899 symcode='[BCDEGRST]'
6901 # Regexp to match symbols that can be accessed directly from C.
6902 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6904 # Define system-specific variables.
6905 case $host_os in
6906 aix*)
6907 symcode='[BCDT]'
6909 cygwin* | mingw* | pw32* | cegcc*)
6910 symcode='[ABCDGISTW]'
6912 hpux*)
6913 if test "$host_cpu" = ia64; then
6914 symcode='[ABCDEGRST]'
6917 irix* | nonstopux*)
6918 symcode='[BCDEGRST]'
6920 osf*)
6921 symcode='[BCDEGQRST]'
6923 solaris*)
6924 symcode='[BDRT]'
6926 sco3.2v5*)
6927 symcode='[DT]'
6929 sysv4.2uw2*)
6930 symcode='[DT]'
6932 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6933 symcode='[ABDT]'
6935 sysv4)
6936 symcode='[DFNSTU]'
6938 esac
6940 # If we're using GNU nm, then use its standard symbol codes.
6941 case `$NM -V 2>&1` in
6942 *GNU* | *'with BFD'*)
6943 symcode='[ABCDGIRSTW]' ;;
6944 esac
6946 # Transform an extracted symbol line into a proper C declaration.
6947 # Some systems (esp. on ia64) link data and code symbols differently,
6948 # so use this general approach.
6949 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6951 # Transform an extracted symbol line into symbol name and symbol address
6952 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6953 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6955 # Handle CRLF in mingw tool chain
6956 opt_cr=
6957 case $build_os in
6958 mingw*)
6959 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6961 esac
6963 # Try without a prefix underscore, then with it.
6964 for ac_symprfx in "" "_"; do
6966 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6967 symxfrm="\\1 $ac_symprfx\\2 \\2"
6969 # Write the raw and C identifiers.
6970 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6971 # Fake it for dumpbin and say T for any non-static function
6972 # and D for any global variable.
6973 # Also find C++ and __fastcall symbols from MSVC++,
6974 # which start with @ or ?.
6975 lt_cv_sys_global_symbol_pipe="$AWK '"\
6976 " {last_section=section; section=\$ 3};"\
6977 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6978 " \$ 0!~/External *\|/{next};"\
6979 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6980 " {if(hide[section]) next};"\
6981 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6982 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6983 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6984 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6985 " ' prfx=^$ac_symprfx"
6986 else
6987 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6990 # Check to see that the pipe works correctly.
6991 pipe_works=no
6993 rm -f conftest*
6994 cat > conftest.$ac_ext <<_LT_EOF
6995 #ifdef __cplusplus
6996 extern "C" {
6997 #endif
6998 char nm_test_var;
6999 void nm_test_func(void);
7000 void nm_test_func(void){}
7001 #ifdef __cplusplus
7003 #endif
7004 int main(){nm_test_var='a';nm_test_func();return(0);}
7005 _LT_EOF
7007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7008 (eval $ac_compile) 2>&5
7009 ac_status=$?
7010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7011 test $ac_status = 0; }; then
7012 # Now try to grab the symbols.
7013 nlist=conftest.nm
7014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7015 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7016 ac_status=$?
7017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7018 test $ac_status = 0; } && test -s "$nlist"; then
7019 # Try sorting and uniquifying the output.
7020 if sort "$nlist" | uniq > "$nlist"T; then
7021 mv -f "$nlist"T "$nlist"
7022 else
7023 rm -f "$nlist"T
7026 # Make sure that we snagged all the symbols we need.
7027 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7028 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7029 cat <<_LT_EOF > conftest.$ac_ext
7030 #ifdef __cplusplus
7031 extern "C" {
7032 #endif
7034 _LT_EOF
7035 # Now generate the symbol file.
7036 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7038 cat <<_LT_EOF >> conftest.$ac_ext
7040 /* The mapping between symbol names and symbols. */
7041 const struct {
7042 const char *name;
7043 void *address;
7045 lt__PROGRAM__LTX_preloaded_symbols[] =
7047 { "@PROGRAM@", (void *) 0 },
7048 _LT_EOF
7049 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7050 cat <<\_LT_EOF >> conftest.$ac_ext
7051 {0, (void *) 0}
7054 /* This works around a problem in FreeBSD linker */
7055 #ifdef FREEBSD_WORKAROUND
7056 static const void *lt_preloaded_setup() {
7057 return lt__PROGRAM__LTX_preloaded_symbols;
7059 #endif
7061 #ifdef __cplusplus
7063 #endif
7064 _LT_EOF
7065 # Now try linking the two files.
7066 mv conftest.$ac_objext conftstm.$ac_objext
7067 lt_save_LIBS="$LIBS"
7068 lt_save_CFLAGS="$CFLAGS"
7069 LIBS="conftstm.$ac_objext"
7070 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7072 (eval $ac_link) 2>&5
7073 ac_status=$?
7074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7075 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7076 pipe_works=yes
7078 LIBS="$lt_save_LIBS"
7079 CFLAGS="$lt_save_CFLAGS"
7080 else
7081 echo "cannot find nm_test_func in $nlist" >&5
7083 else
7084 echo "cannot find nm_test_var in $nlist" >&5
7086 else
7087 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7089 else
7090 echo "$progname: failed program was:" >&5
7091 cat conftest.$ac_ext >&5
7093 rm -rf conftest* conftst*
7095 # Do not use the global_symbol_pipe unless it works.
7096 if test "$pipe_works" = yes; then
7097 break
7098 else
7099 lt_cv_sys_global_symbol_pipe=
7101 done
7105 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7106 lt_cv_sys_global_symbol_to_cdecl=
7108 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7110 $as_echo "failed" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7113 $as_echo "ok" >&6; }
7137 # Check whether --enable-libtool-lock was given.
7138 if test "${enable_libtool_lock+set}" = set; then :
7139 enableval=$enable_libtool_lock;
7142 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7144 # Some flags need to be propagated to the compiler or linker for good
7145 # libtool support.
7146 case $host in
7147 ia64-*-hpux*)
7148 # Find out which ABI we are using.
7149 echo 'int i;' > conftest.$ac_ext
7150 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7151 (eval $ac_compile) 2>&5
7152 ac_status=$?
7153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7154 test $ac_status = 0; }; then
7155 case `/usr/bin/file conftest.$ac_objext` in
7156 *ELF-32*)
7157 HPUX_IA64_MODE="32"
7159 *ELF-64*)
7160 HPUX_IA64_MODE="64"
7162 esac
7164 rm -rf conftest*
7166 *-*-irix6*)
7167 # Find out which ABI we are using.
7168 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7170 (eval $ac_compile) 2>&5
7171 ac_status=$?
7172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7173 test $ac_status = 0; }; then
7174 if test "$lt_cv_prog_gnu_ld" = yes; then
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -melf32bsmip"
7179 *N32*)
7180 LD="${LD-ld} -melf32bmipn32"
7182 *64-bit*)
7183 LD="${LD-ld} -melf64bmip"
7185 esac
7186 else
7187 case `/usr/bin/file conftest.$ac_objext` in
7188 *32-bit*)
7189 LD="${LD-ld} -32"
7191 *N32*)
7192 LD="${LD-ld} -n32"
7194 *64-bit*)
7195 LD="${LD-ld} -64"
7197 esac
7200 rm -rf conftest*
7203 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7204 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7205 # Find out which ABI we are using.
7206 echo 'int i;' > conftest.$ac_ext
7207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7208 (eval $ac_compile) 2>&5
7209 ac_status=$?
7210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7211 test $ac_status = 0; }; then
7212 case `/usr/bin/file conftest.o` in
7213 *32-bit*)
7214 case $host in
7215 x86_64-*kfreebsd*-gnu)
7216 LD="${LD-ld} -m elf_i386_fbsd"
7218 x86_64-*linux*)
7219 case `/usr/bin/file conftest.o` in
7220 *x86-64*)
7221 LD="${LD-ld} -m elf32_x86_64"
7224 LD="${LD-ld} -m elf_i386"
7226 esac
7228 powerpc64le-*linux*)
7229 LD="${LD-ld} -m elf32lppclinux"
7231 powerpc64-*linux*)
7232 LD="${LD-ld} -m elf32ppclinux"
7234 s390x-*linux*)
7235 LD="${LD-ld} -m elf_s390"
7237 sparc64-*linux*)
7238 LD="${LD-ld} -m elf32_sparc"
7240 esac
7242 *64-bit*)
7243 case $host in
7244 x86_64-*kfreebsd*-gnu)
7245 LD="${LD-ld} -m elf_x86_64_fbsd"
7247 x86_64-*linux*)
7248 LD="${LD-ld} -m elf_x86_64"
7250 powerpcle-*linux*)
7251 LD="${LD-ld} -m elf64lppc"
7253 powerpc-*linux*)
7254 LD="${LD-ld} -m elf64ppc"
7256 s390*-*linux*|s390*-*tpf*)
7257 LD="${LD-ld} -m elf64_s390"
7259 sparc*-*linux*)
7260 LD="${LD-ld} -m elf64_sparc"
7262 esac
7264 esac
7266 rm -rf conftest*
7269 *-*-sco3.2v5*)
7270 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7271 SAVE_CFLAGS="$CFLAGS"
7272 CFLAGS="$CFLAGS -belf"
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7274 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7275 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 ac_ext=c
7279 ac_cpp='$CPP $CPPFLAGS'
7280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7284 if test x$gcc_no_link = xyes; then
7285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7291 main ()
7295 return 0;
7297 _ACEOF
7298 if ac_fn_c_try_link "$LINENO"; then :
7299 lt_cv_cc_needs_belf=yes
7300 else
7301 lt_cv_cc_needs_belf=no
7303 rm -f core conftest.err conftest.$ac_objext \
7304 conftest$ac_exeext conftest.$ac_ext
7305 ac_ext=c
7306 ac_cpp='$CPP $CPPFLAGS'
7307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7313 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7314 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7315 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7316 CFLAGS="$SAVE_CFLAGS"
7319 sparc*-*solaris*)
7320 # Find out which ABI we are using.
7321 echo 'int i;' > conftest.$ac_ext
7322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7323 (eval $ac_compile) 2>&5
7324 ac_status=$?
7325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7326 test $ac_status = 0; }; then
7327 case `/usr/bin/file conftest.o` in
7328 *64-bit*)
7329 case $lt_cv_prog_gnu_ld in
7330 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7332 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7333 LD="${LD-ld} -64"
7336 esac
7338 esac
7340 rm -rf conftest*
7342 esac
7344 need_locks="$enable_libtool_lock"
7347 case $host_os in
7348 rhapsody* | darwin*)
7349 if test -n "$ac_tool_prefix"; then
7350 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7351 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7355 $as_echo_n "(cached) " >&6
7356 else
7357 if test -n "$DSYMUTIL"; then
7358 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7359 else
7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 for as_dir in $PATH
7363 IFS=$as_save_IFS
7364 test -z "$as_dir" && as_dir=.
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7367 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 break 2
7371 done
7372 done
7373 IFS=$as_save_IFS
7377 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7378 if test -n "$DSYMUTIL"; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7380 $as_echo "$DSYMUTIL" >&6; }
7381 else
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 $as_echo "no" >&6; }
7388 if test -z "$ac_cv_prog_DSYMUTIL"; then
7389 ac_ct_DSYMUTIL=$DSYMUTIL
7390 # Extract the first word of "dsymutil", so it can be a program name with args.
7391 set dummy dsymutil; ac_word=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7395 $as_echo_n "(cached) " >&6
7396 else
7397 if test -n "$ac_ct_DSYMUTIL"; then
7398 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7399 else
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 for as_dir in $PATH
7403 IFS=$as_save_IFS
7404 test -z "$as_dir" && as_dir=.
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7407 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7418 if test -n "$ac_ct_DSYMUTIL"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7420 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7421 else
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7426 if test "x$ac_ct_DSYMUTIL" = x; then
7427 DSYMUTIL=":"
7428 else
7429 case $cross_compiling:$ac_tool_warned in
7430 yes:)
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7433 ac_tool_warned=yes ;;
7434 esac
7435 DSYMUTIL=$ac_ct_DSYMUTIL
7437 else
7438 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7441 if test -n "$ac_tool_prefix"; then
7442 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7443 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7447 $as_echo_n "(cached) " >&6
7448 else
7449 if test -n "$NMEDIT"; then
7450 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7451 else
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 for as_dir in $PATH
7455 IFS=$as_save_IFS
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 break 2
7463 done
7464 done
7465 IFS=$as_save_IFS
7469 NMEDIT=$ac_cv_prog_NMEDIT
7470 if test -n "$NMEDIT"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7472 $as_echo "$NMEDIT" >&6; }
7473 else
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7480 if test -z "$ac_cv_prog_NMEDIT"; then
7481 ac_ct_NMEDIT=$NMEDIT
7482 # Extract the first word of "nmedit", so it can be a program name with args.
7483 set dummy nmedit; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7487 $as_echo_n "(cached) " >&6
7488 else
7489 if test -n "$ac_ct_NMEDIT"; then
7490 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7491 else
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 for as_dir in $PATH
7495 IFS=$as_save_IFS
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 break 2
7503 done
7504 done
7505 IFS=$as_save_IFS
7509 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7510 if test -n "$ac_ct_NMEDIT"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7512 $as_echo "$ac_ct_NMEDIT" >&6; }
7513 else
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7518 if test "x$ac_ct_NMEDIT" = x; then
7519 NMEDIT=":"
7520 else
7521 case $cross_compiling:$ac_tool_warned in
7522 yes:)
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7525 ac_tool_warned=yes ;;
7526 esac
7527 NMEDIT=$ac_ct_NMEDIT
7529 else
7530 NMEDIT="$ac_cv_prog_NMEDIT"
7533 if test -n "$ac_tool_prefix"; then
7534 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7535 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 $as_echo_n "checking for $ac_word... " >&6; }
7538 if test "${ac_cv_prog_LIPO+set}" = set; then :
7539 $as_echo_n "(cached) " >&6
7540 else
7541 if test -n "$LIPO"; then
7542 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7543 else
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545 for as_dir in $PATH
7547 IFS=$as_save_IFS
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7551 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 break 2
7555 done
7556 done
7557 IFS=$as_save_IFS
7561 LIPO=$ac_cv_prog_LIPO
7562 if test -n "$LIPO"; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7564 $as_echo "$LIPO" >&6; }
7565 else
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7572 if test -z "$ac_cv_prog_LIPO"; then
7573 ac_ct_LIPO=$LIPO
7574 # Extract the first word of "lipo", so it can be a program name with args.
7575 set dummy lipo; ac_word=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7577 $as_echo_n "checking for $ac_word... " >&6; }
7578 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7579 $as_echo_n "(cached) " >&6
7580 else
7581 if test -n "$ac_ct_LIPO"; then
7582 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7583 else
7584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 for as_dir in $PATH
7587 IFS=$as_save_IFS
7588 test -z "$as_dir" && as_dir=.
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7591 ac_cv_prog_ac_ct_LIPO="lipo"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 break 2
7595 done
7596 done
7597 IFS=$as_save_IFS
7601 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7602 if test -n "$ac_ct_LIPO"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7604 $as_echo "$ac_ct_LIPO" >&6; }
7605 else
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607 $as_echo "no" >&6; }
7610 if test "x$ac_ct_LIPO" = x; then
7611 LIPO=":"
7612 else
7613 case $cross_compiling:$ac_tool_warned in
7614 yes:)
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7617 ac_tool_warned=yes ;;
7618 esac
7619 LIPO=$ac_ct_LIPO
7621 else
7622 LIPO="$ac_cv_prog_LIPO"
7625 if test -n "$ac_tool_prefix"; then
7626 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7627 set dummy ${ac_tool_prefix}otool; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7631 $as_echo_n "(cached) " >&6
7632 else
7633 if test -n "$OTOOL"; then
7634 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7635 else
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 for as_dir in $PATH
7639 IFS=$as_save_IFS
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 break 2
7647 done
7648 done
7649 IFS=$as_save_IFS
7653 OTOOL=$ac_cv_prog_OTOOL
7654 if test -n "$OTOOL"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7656 $as_echo "$OTOOL" >&6; }
7657 else
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7664 if test -z "$ac_cv_prog_OTOOL"; then
7665 ac_ct_OTOOL=$OTOOL
7666 # Extract the first word of "otool", so it can be a program name with args.
7667 set dummy otool; ac_word=$2
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669 $as_echo_n "checking for $ac_word... " >&6; }
7670 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7671 $as_echo_n "(cached) " >&6
7672 else
7673 if test -n "$ac_ct_OTOOL"; then
7674 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7675 else
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 for as_dir in $PATH
7679 IFS=$as_save_IFS
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683 ac_cv_prog_ac_ct_OTOOL="otool"
7684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 break 2
7687 done
7688 done
7689 IFS=$as_save_IFS
7693 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7694 if test -n "$ac_ct_OTOOL"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7696 $as_echo "$ac_ct_OTOOL" >&6; }
7697 else
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699 $as_echo "no" >&6; }
7702 if test "x$ac_ct_OTOOL" = x; then
7703 OTOOL=":"
7704 else
7705 case $cross_compiling:$ac_tool_warned in
7706 yes:)
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7709 ac_tool_warned=yes ;;
7710 esac
7711 OTOOL=$ac_ct_OTOOL
7713 else
7714 OTOOL="$ac_cv_prog_OTOOL"
7717 if test -n "$ac_tool_prefix"; then
7718 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7719 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721 $as_echo_n "checking for $ac_word... " >&6; }
7722 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7723 $as_echo_n "(cached) " >&6
7724 else
7725 if test -n "$OTOOL64"; then
7726 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7727 else
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 for as_dir in $PATH
7731 IFS=$as_save_IFS
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737 break 2
7739 done
7740 done
7741 IFS=$as_save_IFS
7745 OTOOL64=$ac_cv_prog_OTOOL64
7746 if test -n "$OTOOL64"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7748 $as_echo "$OTOOL64" >&6; }
7749 else
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7756 if test -z "$ac_cv_prog_OTOOL64"; then
7757 ac_ct_OTOOL64=$OTOOL64
7758 # Extract the first word of "otool64", so it can be a program name with args.
7759 set dummy otool64; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7761 $as_echo_n "checking for $ac_word... " >&6; }
7762 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7763 $as_echo_n "(cached) " >&6
7764 else
7765 if test -n "$ac_ct_OTOOL64"; then
7766 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7767 else
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 for as_dir in $PATH
7771 IFS=$as_save_IFS
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775 ac_cv_prog_ac_ct_OTOOL64="otool64"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 break 2
7779 done
7780 done
7781 IFS=$as_save_IFS
7785 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7786 if test -n "$ac_ct_OTOOL64"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7788 $as_echo "$ac_ct_OTOOL64" >&6; }
7789 else
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7791 $as_echo "no" >&6; }
7794 if test "x$ac_ct_OTOOL64" = x; then
7795 OTOOL64=":"
7796 else
7797 case $cross_compiling:$ac_tool_warned in
7798 yes:)
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7801 ac_tool_warned=yes ;;
7802 esac
7803 OTOOL64=$ac_ct_OTOOL64
7805 else
7806 OTOOL64="$ac_cv_prog_OTOOL64"
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7836 $as_echo_n "checking for -single_module linker flag... " >&6; }
7837 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7838 $as_echo_n "(cached) " >&6
7839 else
7840 lt_cv_apple_cc_single_mod=no
7841 if test -z "${LT_MULTI_MODULE}"; then
7842 # By default we will add the -single_module flag. You can override
7843 # by either setting the environment variable LT_MULTI_MODULE
7844 # non-empty at configure time, or by adding -multi_module to the
7845 # link flags.
7846 rm -rf libconftest.dylib*
7847 echo "int foo(void){return 1;}" > conftest.c
7848 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7849 -dynamiclib -Wl,-single_module conftest.c" >&5
7850 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7851 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7852 _lt_result=$?
7853 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7854 lt_cv_apple_cc_single_mod=yes
7855 else
7856 cat conftest.err >&5
7858 rm -rf libconftest.dylib*
7859 rm -f conftest.*
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7863 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7865 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7866 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7867 $as_echo_n "(cached) " >&6
7868 else
7869 lt_cv_ld_exported_symbols_list=no
7870 save_LDFLAGS=$LDFLAGS
7871 echo "_main" > conftest.sym
7872 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7873 if test x$gcc_no_link = xyes; then
7874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h. */
7880 main ()
7884 return 0;
7886 _ACEOF
7887 if ac_fn_c_try_link "$LINENO"; then :
7888 lt_cv_ld_exported_symbols_list=yes
7889 else
7890 lt_cv_ld_exported_symbols_list=no
7892 rm -f core conftest.err conftest.$ac_objext \
7893 conftest$ac_exeext conftest.$ac_ext
7894 LDFLAGS="$save_LDFLAGS"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7898 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7900 $as_echo_n "checking for -force_load linker flag... " >&6; }
7901 if test "${lt_cv_ld_force_load+set}" = set; then :
7902 $as_echo_n "(cached) " >&6
7903 else
7904 lt_cv_ld_force_load=no
7905 cat > conftest.c << _LT_EOF
7906 int forced_loaded() { return 2;}
7907 _LT_EOF
7908 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7909 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7910 echo "$AR cru libconftest.a conftest.o" >&5
7911 $AR cru libconftest.a conftest.o 2>&5
7912 cat > conftest.c << _LT_EOF
7913 int main() { return 0;}
7914 _LT_EOF
7915 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7916 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7917 _lt_result=$?
7918 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7919 lt_cv_ld_force_load=yes
7920 else
7921 cat conftest.err >&5
7923 rm -f conftest.err libconftest.a conftest conftest.c
7924 rm -rf conftest.dSYM
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7928 $as_echo "$lt_cv_ld_force_load" >&6; }
7929 case $host_os in
7930 rhapsody* | darwin1.[012])
7931 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7932 darwin1.*)
7933 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7934 darwin*) # darwin 5.x on
7935 # if running on 10.5 or later, the deployment target defaults
7936 # to the OS version, if on x86, and 10.4, the deployment
7937 # target defaults to 10.4. Don't you love it?
7938 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7939 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7940 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7941 10.[012][,.]*)
7942 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7943 10.*)
7944 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7945 esac
7947 esac
7948 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7949 _lt_dar_single_mod='$single_module'
7951 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7952 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7953 else
7954 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7956 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7957 _lt_dsymutil='~$DSYMUTIL $lib || :'
7958 else
7959 _lt_dsymutil=
7962 esac
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7965 $as_echo_n "checking for ANSI C header files... " >&6; }
7966 if test "${ac_cv_header_stdc+set}" = set; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 #include <stdlib.h>
7972 #include <stdarg.h>
7973 #include <string.h>
7974 #include <float.h>
7977 main ()
7981 return 0;
7983 _ACEOF
7984 if ac_fn_c_try_compile "$LINENO"; then :
7985 ac_cv_header_stdc=yes
7986 else
7987 ac_cv_header_stdc=no
7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7991 if test $ac_cv_header_stdc = yes; then
7992 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 #include <string.h>
7997 _ACEOF
7998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7999 $EGREP "memchr" >/dev/null 2>&1; then :
8001 else
8002 ac_cv_header_stdc=no
8004 rm -f conftest*
8008 if test $ac_cv_header_stdc = yes; then
8009 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8012 #include <stdlib.h>
8014 _ACEOF
8015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8016 $EGREP "free" >/dev/null 2>&1; then :
8018 else
8019 ac_cv_header_stdc=no
8021 rm -f conftest*
8025 if test $ac_cv_header_stdc = yes; then
8026 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8027 if test "$cross_compiling" = yes; then :
8029 else
8030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8032 #include <ctype.h>
8033 #include <stdlib.h>
8034 #if ((' ' & 0x0FF) == 0x020)
8035 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8036 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8037 #else
8038 # define ISLOWER(c) \
8039 (('a' <= (c) && (c) <= 'i') \
8040 || ('j' <= (c) && (c) <= 'r') \
8041 || ('s' <= (c) && (c) <= 'z'))
8042 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8043 #endif
8045 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8047 main ()
8049 int i;
8050 for (i = 0; i < 256; i++)
8051 if (XOR (islower (i), ISLOWER (i))
8052 || toupper (i) != TOUPPER (i))
8053 return 2;
8054 return 0;
8056 _ACEOF
8057 if ac_fn_c_try_run "$LINENO"; then :
8059 else
8060 ac_cv_header_stdc=no
8062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8063 conftest.$ac_objext conftest.beam conftest.$ac_ext
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8069 $as_echo "$ac_cv_header_stdc" >&6; }
8070 if test $ac_cv_header_stdc = yes; then
8072 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8076 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8077 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8078 inttypes.h stdint.h unistd.h
8079 do :
8080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8081 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8083 eval as_val=\$$as_ac_Header
8084 if test "x$as_val" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8087 _ACEOF
8091 done
8094 for ac_header in dlfcn.h
8095 do :
8096 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8098 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8099 cat >>confdefs.h <<_ACEOF
8100 #define HAVE_DLFCN_H 1
8101 _ACEOF
8105 done
8112 # Set options
8117 enable_win32_dll=no
8120 # Check whether --enable-shared was given.
8121 if test "${enable_shared+set}" = set; then :
8122 enableval=$enable_shared; p=${PACKAGE-default}
8123 case $enableval in
8124 yes) enable_shared=yes ;;
8125 no) enable_shared=no ;;
8127 enable_shared=no
8128 # Look at the argument we got. We use all the common list separators.
8129 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8130 for pkg in $enableval; do
8131 IFS="$lt_save_ifs"
8132 if test "X$pkg" = "X$p"; then
8133 enable_shared=yes
8135 done
8136 IFS="$lt_save_ifs"
8138 esac
8139 else
8140 enable_shared=yes
8151 # Check whether --enable-static was given.
8152 if test "${enable_static+set}" = set; then :
8153 enableval=$enable_static; p=${PACKAGE-default}
8154 case $enableval in
8155 yes) enable_static=yes ;;
8156 no) enable_static=no ;;
8158 enable_static=no
8159 # Look at the argument we got. We use all the common list separators.
8160 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8161 for pkg in $enableval; do
8162 IFS="$lt_save_ifs"
8163 if test "X$pkg" = "X$p"; then
8164 enable_static=yes
8166 done
8167 IFS="$lt_save_ifs"
8169 esac
8170 else
8171 enable_static=yes
8183 # Check whether --with-pic was given.
8184 if test "${with_pic+set}" = set; then :
8185 withval=$with_pic; pic_mode="$withval"
8186 else
8187 pic_mode=default
8191 test -z "$pic_mode" && pic_mode=default
8199 # Check whether --enable-fast-install was given.
8200 if test "${enable_fast_install+set}" = set; then :
8201 enableval=$enable_fast_install; p=${PACKAGE-default}
8202 case $enableval in
8203 yes) enable_fast_install=yes ;;
8204 no) enable_fast_install=no ;;
8206 enable_fast_install=no
8207 # Look at the argument we got. We use all the common list separators.
8208 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8209 for pkg in $enableval; do
8210 IFS="$lt_save_ifs"
8211 if test "X$pkg" = "X$p"; then
8212 enable_fast_install=yes
8214 done
8215 IFS="$lt_save_ifs"
8217 esac
8218 else
8219 enable_fast_install=yes
8232 # This can be used to rebuild libtool when needed
8233 LIBTOOL_DEPS="$ltmain"
8235 # Always use our own libtool.
8236 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8263 test -z "$LN_S" && LN_S="ln -s"
8278 if test -n "${ZSH_VERSION+set}" ; then
8279 setopt NO_GLOB_SUBST
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8283 $as_echo_n "checking for objdir... " >&6; }
8284 if test "${lt_cv_objdir+set}" = set; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 rm -f .libs 2>/dev/null
8288 mkdir .libs 2>/dev/null
8289 if test -d .libs; then
8290 lt_cv_objdir=.libs
8291 else
8292 # MS-DOS does not allow filenames that begin with a dot.
8293 lt_cv_objdir=_libs
8295 rmdir .libs 2>/dev/null
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8298 $as_echo "$lt_cv_objdir" >&6; }
8299 objdir=$lt_cv_objdir
8305 cat >>confdefs.h <<_ACEOF
8306 #define LT_OBJDIR "$lt_cv_objdir/"
8307 _ACEOF
8312 case $host_os in
8313 aix3*)
8314 # AIX sometimes has problems with the GCC collect2 program. For some
8315 # reason, if we set the COLLECT_NAMES environment variable, the problems
8316 # vanish in a puff of smoke.
8317 if test "X${COLLECT_NAMES+set}" != Xset; then
8318 COLLECT_NAMES=
8319 export COLLECT_NAMES
8322 esac
8324 # Global variables:
8325 ofile=libtool
8326 can_build_shared=yes
8328 # All known linkers require a `.a' archive for static linking (except MSVC,
8329 # which needs '.lib').
8330 libext=a
8332 with_gnu_ld="$lt_cv_prog_gnu_ld"
8334 old_CC="$CC"
8335 old_CFLAGS="$CFLAGS"
8337 # Set sane defaults for various variables
8338 test -z "$CC" && CC=cc
8339 test -z "$LTCC" && LTCC=$CC
8340 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8341 test -z "$LD" && LD=ld
8342 test -z "$ac_objext" && ac_objext=o
8344 for cc_temp in $compiler""; do
8345 case $cc_temp in
8346 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8347 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8348 \-*) ;;
8349 *) break;;
8350 esac
8351 done
8352 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8355 # Only perform the check for file, if the check method requires it
8356 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8357 case $deplibs_check_method in
8358 file_magic*)
8359 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8361 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8362 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 case $MAGIC_CMD in
8366 [\\/*] | ?:[\\/]*)
8367 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8370 lt_save_MAGIC_CMD="$MAGIC_CMD"
8371 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8372 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8373 for ac_dir in $ac_dummy; do
8374 IFS="$lt_save_ifs"
8375 test -z "$ac_dir" && ac_dir=.
8376 if test -f $ac_dir/${ac_tool_prefix}file; then
8377 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8378 if test -n "$file_magic_test_file"; then
8379 case $deplibs_check_method in
8380 "file_magic "*)
8381 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8384 $EGREP "$file_magic_regex" > /dev/null; then
8386 else
8387 cat <<_LT_EOF 1>&2
8389 *** Warning: the command libtool uses to detect shared libraries,
8390 *** $file_magic_cmd, produces output that libtool cannot recognize.
8391 *** The result is that libtool may fail to recognize shared libraries
8392 *** as such. This will affect the creation of libtool libraries that
8393 *** depend on shared libraries, but programs linked with such libtool
8394 *** libraries will work regardless of this problem. Nevertheless, you
8395 *** may want to report the problem to your system manager and/or to
8396 *** bug-libtool@gnu.org
8398 _LT_EOF
8399 fi ;;
8400 esac
8402 break
8404 done
8405 IFS="$lt_save_ifs"
8406 MAGIC_CMD="$lt_save_MAGIC_CMD"
8408 esac
8411 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8412 if test -n "$MAGIC_CMD"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8414 $as_echo "$MAGIC_CMD" >&6; }
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8424 if test -z "$lt_cv_path_MAGIC_CMD"; then
8425 if test -n "$ac_tool_prefix"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8427 $as_echo_n "checking for file... " >&6; }
8428 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 case $MAGIC_CMD in
8432 [\\/*] | ?:[\\/]*)
8433 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8436 lt_save_MAGIC_CMD="$MAGIC_CMD"
8437 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8438 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8439 for ac_dir in $ac_dummy; do
8440 IFS="$lt_save_ifs"
8441 test -z "$ac_dir" && ac_dir=.
8442 if test -f $ac_dir/file; then
8443 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8444 if test -n "$file_magic_test_file"; then
8445 case $deplibs_check_method in
8446 "file_magic "*)
8447 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8448 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8449 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8450 $EGREP "$file_magic_regex" > /dev/null; then
8452 else
8453 cat <<_LT_EOF 1>&2
8455 *** Warning: the command libtool uses to detect shared libraries,
8456 *** $file_magic_cmd, produces output that libtool cannot recognize.
8457 *** The result is that libtool may fail to recognize shared libraries
8458 *** as such. This will affect the creation of libtool libraries that
8459 *** depend on shared libraries, but programs linked with such libtool
8460 *** libraries will work regardless of this problem. Nevertheless, you
8461 *** may want to report the problem to your system manager and/or to
8462 *** bug-libtool@gnu.org
8464 _LT_EOF
8465 fi ;;
8466 esac
8468 break
8470 done
8471 IFS="$lt_save_ifs"
8472 MAGIC_CMD="$lt_save_MAGIC_CMD"
8474 esac
8477 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8478 if test -n "$MAGIC_CMD"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8480 $as_echo "$MAGIC_CMD" >&6; }
8481 else
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8483 $as_echo "no" >&6; }
8487 else
8488 MAGIC_CMD=:
8494 esac
8496 # Use C for the default configuration in the libtool script
8498 lt_save_CC="$CC"
8499 ac_ext=c
8500 ac_cpp='$CPP $CPPFLAGS'
8501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8506 # Source file extension for C test sources.
8507 ac_ext=c
8509 # Object file extension for compiled C test sources.
8510 objext=o
8511 objext=$objext
8513 # Code to be used in simple compile tests
8514 lt_simple_compile_test_code="int some_variable = 0;"
8516 # Code to be used in simple link tests
8517 lt_simple_link_test_code='int main(){return(0);}'
8525 # If no C compiler was specified, use CC.
8526 LTCC=${LTCC-"$CC"}
8528 # If no C compiler flags were specified, use CFLAGS.
8529 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8531 # Allow CC to be a program name with arguments.
8532 compiler=$CC
8534 # Save the default compiler, since it gets overwritten when the other
8535 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8536 compiler_DEFAULT=$CC
8538 # save warnings/boilerplate of simple test code
8539 ac_outfile=conftest.$ac_objext
8540 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8541 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8542 _lt_compiler_boilerplate=`cat conftest.err`
8543 $RM conftest*
8545 ac_outfile=conftest.$ac_objext
8546 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8547 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8548 _lt_linker_boilerplate=`cat conftest.err`
8549 $RM -r conftest*
8552 ## CAVEAT EMPTOR:
8553 ## There is no encapsulation within the following macros, do not change
8554 ## the running order or otherwise move them around unless you know exactly
8555 ## what you are doing...
8556 if test -n "$compiler"; then
8558 lt_prog_compiler_no_builtin_flag=
8560 if test "$GCC" = yes; then
8561 case $cc_basename in
8562 nvcc*)
8563 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8565 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8566 esac
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8569 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8570 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 lt_cv_prog_compiler_rtti_exceptions=no
8574 ac_outfile=conftest.$ac_objext
8575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8576 lt_compiler_flag="-fno-rtti -fno-exceptions"
8577 # Insert the option either (1) after the last *FLAGS variable, or
8578 # (2) before a word containing "conftest.", or (3) at the end.
8579 # Note that $ac_compile itself does not contain backslashes and begins
8580 # with a dollar sign (not a hyphen), so the echo should work correctly.
8581 # The option is referenced via a variable to avoid confusing sed.
8582 lt_compile=`echo "$ac_compile" | $SED \
8583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585 -e 's:$: $lt_compiler_flag:'`
8586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8587 (eval "$lt_compile" 2>conftest.err)
8588 ac_status=$?
8589 cat conftest.err >&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 if (exit $ac_status) && test -s "$ac_outfile"; then
8592 # The compiler can only warn and ignore the option if not recognized
8593 # So say no if there are warnings other than the usual output.
8594 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8596 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8597 lt_cv_prog_compiler_rtti_exceptions=yes
8600 $RM conftest*
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8604 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8606 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8607 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8608 else
8619 lt_prog_compiler_wl=
8620 lt_prog_compiler_pic=
8621 lt_prog_compiler_static=
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8624 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8626 if test "$GCC" = yes; then
8627 lt_prog_compiler_wl='-Wl,'
8628 lt_prog_compiler_static='-static'
8630 case $host_os in
8631 aix*)
8632 # All AIX code is PIC.
8633 if test "$host_cpu" = ia64; then
8634 # AIX 5 now supports IA64 processor
8635 lt_prog_compiler_static='-Bstatic'
8637 lt_prog_compiler_pic='-fPIC'
8640 amigaos*)
8641 case $host_cpu in
8642 powerpc)
8643 # see comment about AmigaOS4 .so support
8644 lt_prog_compiler_pic='-fPIC'
8646 m68k)
8647 # FIXME: we need at least 68020 code to build shared libraries, but
8648 # adding the `-m68020' flag to GCC prevents building anything better,
8649 # like `-m68040'.
8650 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8652 esac
8655 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8656 # PIC is the default for these OSes.
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8663 # (--disable-auto-import) libraries
8664 lt_prog_compiler_pic='-DDLL_EXPORT'
8667 darwin* | rhapsody*)
8668 # PIC is the default on this platform
8669 # Common symbols not allowed in MH_DYLIB files
8670 lt_prog_compiler_pic='-fno-common'
8673 haiku*)
8674 # PIC is the default for Haiku.
8675 # The "-static" flag exists, but is broken.
8676 lt_prog_compiler_static=
8679 hpux*)
8680 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8681 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8682 # sets the default TLS model and affects inlining.
8683 case $host_cpu in
8684 hppa*64*)
8685 # +Z the default
8688 lt_prog_compiler_pic='-fPIC'
8690 esac
8693 interix[3-9]*)
8694 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8695 # Instead, we relocate shared libraries at runtime.
8698 msdosdjgpp*)
8699 # Just because we use GCC doesn't mean we suddenly get shared libraries
8700 # on systems that don't support them.
8701 lt_prog_compiler_can_build_shared=no
8702 enable_shared=no
8705 *nto* | *qnx*)
8706 # QNX uses GNU C++, but need to define -shared option too, otherwise
8707 # it will coredump.
8708 lt_prog_compiler_pic='-fPIC -shared'
8711 sysv4*MP*)
8712 if test -d /usr/nec; then
8713 lt_prog_compiler_pic=-Kconform_pic
8718 lt_prog_compiler_pic='-fPIC'
8720 esac
8722 case $cc_basename in
8723 nvcc*) # Cuda Compiler Driver 2.2
8724 lt_prog_compiler_wl='-Xlinker '
8725 lt_prog_compiler_pic='-Xcompiler -fPIC'
8727 esac
8728 else
8729 # PORTME Check for flag to pass linker flags through the system compiler.
8730 case $host_os in
8731 aix*)
8732 lt_prog_compiler_wl='-Wl,'
8733 if test "$host_cpu" = ia64; then
8734 # AIX 5 now supports IA64 processor
8735 lt_prog_compiler_static='-Bstatic'
8736 else
8737 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8741 mingw* | cygwin* | pw32* | os2* | cegcc*)
8742 # This hack is so that the source file can tell whether it is being
8743 # built for inclusion in a dll (and should export symbols for example).
8744 lt_prog_compiler_pic='-DDLL_EXPORT'
8747 hpux9* | hpux10* | hpux11*)
8748 lt_prog_compiler_wl='-Wl,'
8749 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8750 # not for PA HP-UX.
8751 case $host_cpu in
8752 hppa*64*|ia64*)
8753 # +Z the default
8756 lt_prog_compiler_pic='+Z'
8758 esac
8759 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8760 lt_prog_compiler_static='${wl}-a ${wl}archive'
8763 irix5* | irix6* | nonstopux*)
8764 lt_prog_compiler_wl='-Wl,'
8765 # PIC (with -KPIC) is the default.
8766 lt_prog_compiler_static='-non_shared'
8769 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8770 case $cc_basename in
8771 # old Intel for x86_64 which still supported -KPIC.
8772 ecc*)
8773 lt_prog_compiler_wl='-Wl,'
8774 lt_prog_compiler_pic='-KPIC'
8775 lt_prog_compiler_static='-static'
8777 # icc used to be incompatible with GCC.
8778 # ICC 10 doesn't accept -KPIC any more.
8779 icc* | ifort*)
8780 lt_prog_compiler_wl='-Wl,'
8781 lt_prog_compiler_pic='-fPIC'
8782 lt_prog_compiler_static='-static'
8784 # Lahey Fortran 8.1.
8785 lf95*)
8786 lt_prog_compiler_wl='-Wl,'
8787 lt_prog_compiler_pic='--shared'
8788 lt_prog_compiler_static='--static'
8790 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8791 # Portland Group compilers (*not* the Pentium gcc compiler,
8792 # which looks to be a dead project)
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-fpic'
8795 lt_prog_compiler_static='-Bstatic'
8797 ccc*)
8798 lt_prog_compiler_wl='-Wl,'
8799 # All Alpha code is PIC.
8800 lt_prog_compiler_static='-non_shared'
8802 xl* | bgxl* | bgf* | mpixl*)
8803 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8804 lt_prog_compiler_wl='-Wl,'
8805 lt_prog_compiler_pic='-qpic'
8806 lt_prog_compiler_static='-qstaticlink'
8809 case `$CC -V 2>&1 | sed 5q` in
8810 *Sun\ F* | *Sun*Fortran*)
8811 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8812 lt_prog_compiler_pic='-KPIC'
8813 lt_prog_compiler_static='-Bstatic'
8814 lt_prog_compiler_wl=''
8816 *Sun\ C*)
8817 # Sun C 5.9
8818 lt_prog_compiler_pic='-KPIC'
8819 lt_prog_compiler_static='-Bstatic'
8820 lt_prog_compiler_wl='-Wl,'
8822 esac
8824 esac
8827 newsos6)
8828 lt_prog_compiler_pic='-KPIC'
8829 lt_prog_compiler_static='-Bstatic'
8832 *nto* | *qnx*)
8833 # QNX uses GNU C++, but need to define -shared option too, otherwise
8834 # it will coredump.
8835 lt_prog_compiler_pic='-fPIC -shared'
8838 osf3* | osf4* | osf5*)
8839 lt_prog_compiler_wl='-Wl,'
8840 # All OSF/1 code is PIC.
8841 lt_prog_compiler_static='-non_shared'
8844 rdos*)
8845 lt_prog_compiler_static='-non_shared'
8848 solaris*)
8849 lt_prog_compiler_pic='-KPIC'
8850 lt_prog_compiler_static='-Bstatic'
8851 case $cc_basename in
8852 f77* | f90* | f95*)
8853 lt_prog_compiler_wl='-Qoption ld ';;
8855 lt_prog_compiler_wl='-Wl,';;
8856 esac
8859 sunos4*)
8860 lt_prog_compiler_wl='-Qoption ld '
8861 lt_prog_compiler_pic='-PIC'
8862 lt_prog_compiler_static='-Bstatic'
8865 sysv4 | sysv4.2uw2* | sysv4.3*)
8866 lt_prog_compiler_wl='-Wl,'
8867 lt_prog_compiler_pic='-KPIC'
8868 lt_prog_compiler_static='-Bstatic'
8871 sysv4*MP*)
8872 if test -d /usr/nec ;then
8873 lt_prog_compiler_pic='-Kconform_pic'
8874 lt_prog_compiler_static='-Bstatic'
8878 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8879 lt_prog_compiler_wl='-Wl,'
8880 lt_prog_compiler_pic='-KPIC'
8881 lt_prog_compiler_static='-Bstatic'
8884 unicos*)
8885 lt_prog_compiler_wl='-Wl,'
8886 lt_prog_compiler_can_build_shared=no
8889 uts4*)
8890 lt_prog_compiler_pic='-pic'
8891 lt_prog_compiler_static='-Bstatic'
8895 lt_prog_compiler_can_build_shared=no
8897 esac
8900 case $host_os in
8901 # For platforms which do not support PIC, -DPIC is meaningless:
8902 *djgpp*)
8903 lt_prog_compiler_pic=
8906 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8908 esac
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8910 $as_echo "$lt_prog_compiler_pic" >&6; }
8918 # Check to make sure the PIC flag actually works.
8920 if test -n "$lt_prog_compiler_pic"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8922 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8923 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 lt_cv_prog_compiler_pic_works=no
8927 ac_outfile=conftest.$ac_objext
8928 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8929 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8930 # Insert the option either (1) after the last *FLAGS variable, or
8931 # (2) before a word containing "conftest.", or (3) at the end.
8932 # Note that $ac_compile itself does not contain backslashes and begins
8933 # with a dollar sign (not a hyphen), so the echo should work correctly.
8934 # The option is referenced via a variable to avoid confusing sed.
8935 lt_compile=`echo "$ac_compile" | $SED \
8936 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8938 -e 's:$: $lt_compiler_flag:'`
8939 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8940 (eval "$lt_compile" 2>conftest.err)
8941 ac_status=$?
8942 cat conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 if (exit $ac_status) && test -s "$ac_outfile"; then
8945 # The compiler can only warn and ignore the option if not recognized
8946 # So say no if there are warnings other than the usual output.
8947 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8948 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8949 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8950 lt_cv_prog_compiler_pic_works=yes
8953 $RM conftest*
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8957 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8959 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8960 case $lt_prog_compiler_pic in
8961 "" | " "*) ;;
8962 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8963 esac
8964 else
8965 lt_prog_compiler_pic=
8966 lt_prog_compiler_can_build_shared=no
8977 # Check to make sure the static flag actually works.
8979 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8981 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8982 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 lt_cv_prog_compiler_static_works=no
8986 save_LDFLAGS="$LDFLAGS"
8987 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8988 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8989 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8990 # The linker can only warn and ignore the option if not recognized
8991 # So say no if there are warnings
8992 if test -s conftest.err; then
8993 # Append any errors to the config.log.
8994 cat conftest.err 1>&5
8995 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8996 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8997 if diff conftest.exp conftest.er2 >/dev/null; then
8998 lt_cv_prog_compiler_static_works=yes
9000 else
9001 lt_cv_prog_compiler_static_works=yes
9004 $RM -r conftest*
9005 LDFLAGS="$save_LDFLAGS"
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9009 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9011 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9013 else
9014 lt_prog_compiler_static=
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9024 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9025 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9026 $as_echo_n "(cached) " >&6
9027 else
9028 lt_cv_prog_compiler_c_o=no
9029 $RM -r conftest 2>/dev/null
9030 mkdir conftest
9031 cd conftest
9032 mkdir out
9033 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9035 lt_compiler_flag="-o out/conftest2.$ac_objext"
9036 # Insert the option either (1) after the last *FLAGS variable, or
9037 # (2) before a word containing "conftest.", or (3) at the end.
9038 # Note that $ac_compile itself does not contain backslashes and begins
9039 # with a dollar sign (not a hyphen), so the echo should work correctly.
9040 lt_compile=`echo "$ac_compile" | $SED \
9041 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9042 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9043 -e 's:$: $lt_compiler_flag:'`
9044 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9045 (eval "$lt_compile" 2>out/conftest.err)
9046 ac_status=$?
9047 cat out/conftest.err >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9050 then
9051 # The compiler can only warn and ignore the option if not recognized
9052 # So say no if there are warnings
9053 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9054 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9055 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9056 lt_cv_prog_compiler_c_o=yes
9059 chmod u+w . 2>&5
9060 $RM conftest*
9061 # SGI C++ compiler will create directory out/ii_files/ for
9062 # template instantiation
9063 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9064 $RM out/* && rmdir out
9065 cd ..
9066 $RM -r conftest
9067 $RM conftest*
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9071 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9079 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9080 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 lt_cv_prog_compiler_c_o=no
9084 $RM -r conftest 2>/dev/null
9085 mkdir conftest
9086 cd conftest
9087 mkdir out
9088 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9090 lt_compiler_flag="-o out/conftest2.$ac_objext"
9091 # Insert the option either (1) after the last *FLAGS variable, or
9092 # (2) before a word containing "conftest.", or (3) at the end.
9093 # Note that $ac_compile itself does not contain backslashes and begins
9094 # with a dollar sign (not a hyphen), so the echo should work correctly.
9095 lt_compile=`echo "$ac_compile" | $SED \
9096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9098 -e 's:$: $lt_compiler_flag:'`
9099 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9100 (eval "$lt_compile" 2>out/conftest.err)
9101 ac_status=$?
9102 cat out/conftest.err >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9105 then
9106 # The compiler can only warn and ignore the option if not recognized
9107 # So say no if there are warnings
9108 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9109 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9110 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9111 lt_cv_prog_compiler_c_o=yes
9114 chmod u+w . 2>&5
9115 $RM conftest*
9116 # SGI C++ compiler will create directory out/ii_files/ for
9117 # template instantiation
9118 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9119 $RM out/* && rmdir out
9120 cd ..
9121 $RM -r conftest
9122 $RM conftest*
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9126 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9131 hard_links="nottested"
9132 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9133 # do not overwrite the value of need_locks provided by the user
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9135 $as_echo_n "checking if we can lock with hard links... " >&6; }
9136 hard_links=yes
9137 $RM conftest*
9138 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9139 touch conftest.a
9140 ln conftest.a conftest.b 2>&5 || hard_links=no
9141 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9143 $as_echo "$hard_links" >&6; }
9144 if test "$hard_links" = no; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9146 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9147 need_locks=warn
9149 else
9150 need_locks=no
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9159 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9161 runpath_var=
9162 allow_undefined_flag=
9163 always_export_symbols=no
9164 archive_cmds=
9165 archive_expsym_cmds=
9166 compiler_needs_object=no
9167 enable_shared_with_static_runtimes=no
9168 export_dynamic_flag_spec=
9169 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9170 hardcode_automatic=no
9171 hardcode_direct=no
9172 hardcode_direct_absolute=no
9173 hardcode_libdir_flag_spec=
9174 hardcode_libdir_flag_spec_ld=
9175 hardcode_libdir_separator=
9176 hardcode_minus_L=no
9177 hardcode_shlibpath_var=unsupported
9178 inherit_rpath=no
9179 link_all_deplibs=unknown
9180 module_cmds=
9181 module_expsym_cmds=
9182 old_archive_from_new_cmds=
9183 old_archive_from_expsyms_cmds=
9184 thread_safe_flag_spec=
9185 whole_archive_flag_spec=
9186 # include_expsyms should be a list of space-separated symbols to be *always*
9187 # included in the symbol list
9188 include_expsyms=
9189 # exclude_expsyms can be an extended regexp of symbols to exclude
9190 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9191 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9192 # as well as any symbol that contains `d'.
9193 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9194 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9195 # platforms (ab)use it in PIC code, but their linkers get confused if
9196 # the symbol is explicitly referenced. Since portable code cannot
9197 # rely on this symbol name, it's probably fine to never include it in
9198 # preloaded symbol tables.
9199 # Exclude shared library initialization/finalization symbols.
9200 extract_expsyms_cmds=
9202 case $host_os in
9203 cygwin* | mingw* | pw32* | cegcc*)
9204 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9205 # When not using gcc, we currently assume that we are using
9206 # Microsoft Visual C++.
9207 if test "$GCC" != yes; then
9208 with_gnu_ld=no
9211 interix*)
9212 # we just hope/assume this is gcc and not c89 (= MSVC++)
9213 with_gnu_ld=yes
9215 openbsd*)
9216 with_gnu_ld=no
9218 esac
9220 ld_shlibs=yes
9222 # On some targets, GNU ld is compatible enough with the native linker
9223 # that we're better off using the native interface for both.
9224 lt_use_gnu_ld_interface=no
9225 if test "$with_gnu_ld" = yes; then
9226 case $host_os in
9227 aix*)
9228 # The AIX port of GNU ld has always aspired to compatibility
9229 # with the native linker. However, as the warning in the GNU ld
9230 # block says, versions before 2.19.5* couldn't really create working
9231 # shared libraries, regardless of the interface used.
9232 case `$LD -v 2>&1` in
9233 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9234 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9235 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9237 lt_use_gnu_ld_interface=yes
9239 esac
9242 lt_use_gnu_ld_interface=yes
9244 esac
9247 if test "$lt_use_gnu_ld_interface" = yes; then
9248 # If archive_cmds runs LD, not CC, wlarc should be empty
9249 wlarc='${wl}'
9251 # Set some defaults for GNU ld with shared library support. These
9252 # are reset later if shared libraries are not supported. Putting them
9253 # here allows them to be overridden if necessary.
9254 runpath_var=LD_RUN_PATH
9255 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256 export_dynamic_flag_spec='${wl}--export-dynamic'
9257 # ancient GNU ld didn't support --whole-archive et. al.
9258 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9259 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9260 else
9261 whole_archive_flag_spec=
9263 supports_anon_versioning=no
9264 case `$LD -v 2>&1` in
9265 *GNU\ gold*) supports_anon_versioning=yes ;;
9266 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9267 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9268 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9269 *\ 2.11.*) ;; # other 2.11 versions
9270 *) supports_anon_versioning=yes ;;
9271 esac
9273 # See if GNU ld supports shared libraries.
9274 case $host_os in
9275 aix[3-9]*)
9276 # On AIX/PPC, the GNU linker is very broken
9277 if test "$host_cpu" != ia64; then
9278 ld_shlibs=no
9279 cat <<_LT_EOF 1>&2
9281 *** Warning: the GNU linker, at least up to release 2.19, is reported
9282 *** to be unable to reliably create shared libraries on AIX.
9283 *** Therefore, libtool is disabling shared libraries support. If you
9284 *** really care for shared libraries, you may want to install binutils
9285 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9286 *** You will then need to restart the configuration process.
9288 _LT_EOF
9292 amigaos*)
9293 case $host_cpu in
9294 powerpc)
9295 # see comment about AmigaOS4 .so support
9296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297 archive_expsym_cmds=''
9299 m68k)
9300 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9301 hardcode_libdir_flag_spec='-L$libdir'
9302 hardcode_minus_L=yes
9304 esac
9307 beos*)
9308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9309 allow_undefined_flag=unsupported
9310 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9311 # support --undefined. This deserves some investigation. FIXME
9312 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313 else
9314 ld_shlibs=no
9318 cygwin* | mingw* | pw32* | cegcc*)
9319 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9320 # as there is no search path for DLLs.
9321 hardcode_libdir_flag_spec='-L$libdir'
9322 export_dynamic_flag_spec='${wl}--export-all-symbols'
9323 allow_undefined_flag=unsupported
9324 always_export_symbols=no
9325 enable_shared_with_static_runtimes=yes
9326 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9328 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9329 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9330 # If the export-symbols file already is a .def file (1st line
9331 # is EXPORTS), use it as is; otherwise, prepend...
9332 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9333 cp $export_symbols $output_objdir/$soname.def;
9334 else
9335 echo EXPORTS > $output_objdir/$soname.def;
9336 cat $export_symbols >> $output_objdir/$soname.def;
9338 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9339 else
9340 ld_shlibs=no
9344 haiku*)
9345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 link_all_deplibs=yes
9349 interix[3-9]*)
9350 hardcode_direct=no
9351 hardcode_shlibpath_var=no
9352 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9353 export_dynamic_flag_spec='${wl}-E'
9354 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9355 # Instead, shared libraries are loaded at an image base (0x10000000 by
9356 # default) and relocated if they conflict, which is a slow very memory
9357 # consuming and fragmenting process. To avoid this, we pick a random,
9358 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9359 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9360 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9361 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9364 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9365 tmp_diet=no
9366 if test "$host_os" = linux-dietlibc; then
9367 case $cc_basename in
9368 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9369 esac
9371 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9372 && test "$tmp_diet" = no
9373 then
9374 tmp_addflag=' $pic_flag'
9375 tmp_sharedflag='-shared'
9376 case $cc_basename,$host_cpu in
9377 pgcc*) # Portland Group C compiler
9378 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9379 tmp_addflag=' $pic_flag'
9381 pgf77* | pgf90* | pgf95* | pgfortran*)
9382 # Portland Group f77 and f90 compilers
9383 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9384 tmp_addflag=' $pic_flag -Mnomain' ;;
9385 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9386 tmp_addflag=' -i_dynamic' ;;
9387 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9388 tmp_addflag=' -i_dynamic -nofor_main' ;;
9389 ifc* | ifort*) # Intel Fortran compiler
9390 tmp_addflag=' -nofor_main' ;;
9391 lf95*) # Lahey Fortran 8.1
9392 whole_archive_flag_spec=
9393 tmp_sharedflag='--shared' ;;
9394 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9395 tmp_sharedflag='-qmkshrobj'
9396 tmp_addflag= ;;
9397 nvcc*) # Cuda Compiler Driver 2.2
9398 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9399 compiler_needs_object=yes
9401 esac
9402 case `$CC -V 2>&1 | sed 5q` in
9403 *Sun\ C*) # Sun C 5.9
9404 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9405 compiler_needs_object=yes
9406 tmp_sharedflag='-G' ;;
9407 *Sun\ F*) # Sun Fortran 8.3
9408 tmp_sharedflag='-G' ;;
9409 esac
9410 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9419 case $cc_basename in
9420 xlf* | bgf* | bgxlf* | mpixlf*)
9421 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9422 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9423 hardcode_libdir_flag_spec=
9424 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9425 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9426 if test "x$supports_anon_versioning" = xyes; then
9427 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9428 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9429 echo "local: *; };" >> $output_objdir/$libname.ver~
9430 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9433 esac
9434 else
9435 ld_shlibs=no
9439 netbsd*)
9440 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9441 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9442 wlarc=
9443 else
9444 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9445 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9449 solaris*)
9450 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9451 ld_shlibs=no
9452 cat <<_LT_EOF 1>&2
9454 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9455 *** create shared libraries on Solaris systems. Therefore, libtool
9456 *** is disabling shared libraries support. We urge you to upgrade GNU
9457 *** binutils to release 2.9.1 or newer. Another option is to modify
9458 *** your PATH or compiler configuration so that the native linker is
9459 *** used, and then restart.
9461 _LT_EOF
9462 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9464 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9465 else
9466 ld_shlibs=no
9470 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9471 case `$LD -v 2>&1` in
9472 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9473 ld_shlibs=no
9474 cat <<_LT_EOF 1>&2
9476 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9477 *** reliably create shared libraries on SCO systems. Therefore, libtool
9478 *** is disabling shared libraries support. We urge you to upgrade GNU
9479 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9480 *** your PATH or compiler configuration so that the native linker is
9481 *** used, and then restart.
9483 _LT_EOF
9486 # For security reasons, it is highly recommended that you always
9487 # use absolute paths for naming shared libraries, and exclude the
9488 # DT_RUNPATH tag from executables and libraries. But doing so
9489 # requires that you compile everything twice, which is a pain.
9490 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9491 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9493 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9494 else
9495 ld_shlibs=no
9498 esac
9501 sunos4*)
9502 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9503 wlarc=
9504 hardcode_direct=yes
9505 hardcode_shlibpath_var=no
9509 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9510 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9511 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512 else
9513 ld_shlibs=no
9516 esac
9518 if test "$ld_shlibs" = no; then
9519 runpath_var=
9520 hardcode_libdir_flag_spec=
9521 export_dynamic_flag_spec=
9522 whole_archive_flag_spec=
9524 else
9525 # PORTME fill in a description of your system's linker (not GNU ld)
9526 case $host_os in
9527 aix3*)
9528 allow_undefined_flag=unsupported
9529 always_export_symbols=yes
9530 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9531 # Note: this linker hardcodes the directories in LIBPATH if there
9532 # are no directories specified by -L.
9533 hardcode_minus_L=yes
9534 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9535 # Neither direct hardcoding nor static linking is supported with a
9536 # broken collect2.
9537 hardcode_direct=unsupported
9541 aix[4-9]*)
9542 if test "$host_cpu" = ia64; then
9543 # On IA64, the linker does run time linking by default, so we don't
9544 # have to do anything special.
9545 aix_use_runtimelinking=no
9546 exp_sym_flag='-Bexport'
9547 no_entry_flag=""
9548 else
9549 # If we're using GNU nm, then we don't want the "-C" option.
9550 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9551 # Also, AIX nm treats weak defined symbols like other global
9552 # defined symbols, whereas GNU nm marks them as "W".
9553 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9554 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9555 else
9556 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9558 aix_use_runtimelinking=no
9560 # Test if we are trying to use run time linking or normal
9561 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9562 # need to do runtime linking.
9563 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9564 for ld_flag in $LDFLAGS; do
9565 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9566 aix_use_runtimelinking=yes
9567 break
9569 done
9571 esac
9573 exp_sym_flag='-bexport'
9574 no_entry_flag='-bnoentry'
9577 # When large executables or shared objects are built, AIX ld can
9578 # have problems creating the table of contents. If linking a library
9579 # or program results in "error TOC overflow" add -mminimal-toc to
9580 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9581 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9583 archive_cmds=''
9584 hardcode_direct=yes
9585 hardcode_direct_absolute=yes
9586 hardcode_libdir_separator=':'
9587 link_all_deplibs=yes
9588 file_list_spec='${wl}-f,'
9590 if test "$GCC" = yes; then
9591 case $host_os in aix4.[012]|aix4.[012].*)
9592 # We only want to do this on AIX 4.2 and lower, the check
9593 # below for broken collect2 doesn't work under 4.3+
9594 collect2name=`${CC} -print-prog-name=collect2`
9595 if test -f "$collect2name" &&
9596 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9597 then
9598 # We have reworked collect2
9600 else
9601 # We have old collect2
9602 hardcode_direct=unsupported
9603 # It fails to find uninstalled libraries when the uninstalled
9604 # path is not listed in the libpath. Setting hardcode_minus_L
9605 # to unsupported forces relinking
9606 hardcode_minus_L=yes
9607 hardcode_libdir_flag_spec='-L$libdir'
9608 hardcode_libdir_separator=
9611 esac
9612 shared_flag='-shared'
9613 if test "$aix_use_runtimelinking" = yes; then
9614 shared_flag="$shared_flag "'${wl}-G'
9616 else
9617 # not using gcc
9618 if test "$host_cpu" = ia64; then
9619 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9620 # chokes on -Wl,-G. The following line is correct:
9621 shared_flag='-G'
9622 else
9623 if test "$aix_use_runtimelinking" = yes; then
9624 shared_flag='${wl}-G'
9625 else
9626 shared_flag='${wl}-bM:SRE'
9631 export_dynamic_flag_spec='${wl}-bexpall'
9632 # It seems that -bexpall does not export symbols beginning with
9633 # underscore (_), so it is better to generate a list of symbols to export.
9634 always_export_symbols=yes
9635 if test "$aix_use_runtimelinking" = yes; then
9636 # Warning - without using the other runtime loading flags (-brtl),
9637 # -berok will link without error, but may produce a broken library.
9638 allow_undefined_flag='-berok'
9639 # Determine the default libpath from the value encoded in an
9640 # empty executable.
9641 if test x$gcc_no_link = xyes; then
9642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9645 /* end confdefs.h. */
9648 main ()
9652 return 0;
9654 _ACEOF
9655 if ac_fn_c_try_link "$LINENO"; then :
9657 lt_aix_libpath_sed='
9658 /Import File Strings/,/^$/ {
9659 /^0/ {
9660 s/^0 *\(.*\)$/\1/
9664 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9665 # Check for a 64-bit object if we didn't find anything.
9666 if test -z "$aix_libpath"; then
9667 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9674 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9675 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9676 else
9677 if test "$host_cpu" = ia64; then
9678 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9679 allow_undefined_flag="-z nodefs"
9680 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9681 else
9682 # Determine the default libpath from the value encoded in an
9683 # empty executable.
9684 if test x$gcc_no_link = xyes; then
9685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9691 main ()
9695 return 0;
9697 _ACEOF
9698 if ac_fn_c_try_link "$LINENO"; then :
9700 lt_aix_libpath_sed='
9701 /Import File Strings/,/^$/ {
9702 /^0/ {
9703 s/^0 *\(.*\)$/\1/
9707 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9708 # Check for a 64-bit object if we didn't find anything.
9709 if test -z "$aix_libpath"; then
9710 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9713 rm -f core conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9715 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9717 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9718 # Warning - without using the other run time loading flags,
9719 # -berok will link without error, but may produce a broken library.
9720 no_undefined_flag=' ${wl}-bernotok'
9721 allow_undefined_flag=' ${wl}-berok'
9722 if test "$with_gnu_ld" = yes; then
9723 # We only use this code for GNU lds that support --whole-archive.
9724 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9725 else
9726 # Exported symbols can be pulled into shared objects from archives
9727 whole_archive_flag_spec='$convenience'
9729 archive_cmds_need_lc=yes
9730 # This is similar to how AIX traditionally builds its shared libraries.
9731 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9736 amigaos*)
9737 case $host_cpu in
9738 powerpc)
9739 # see comment about AmigaOS4 .so support
9740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9741 archive_expsym_cmds=''
9743 m68k)
9744 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9745 hardcode_libdir_flag_spec='-L$libdir'
9746 hardcode_minus_L=yes
9748 esac
9751 bsdi[45]*)
9752 export_dynamic_flag_spec=-rdynamic
9755 cygwin* | mingw* | pw32* | cegcc*)
9756 # When not using gcc, we currently assume that we are using
9757 # Microsoft Visual C++.
9758 # hardcode_libdir_flag_spec is actually meaningless, as there is
9759 # no search path for DLLs.
9760 hardcode_libdir_flag_spec=' '
9761 allow_undefined_flag=unsupported
9762 # Tell ltmain to make .lib files, not .a files.
9763 libext=lib
9764 # Tell ltmain to make .dll files, not .so files.
9765 shrext_cmds=".dll"
9766 # FIXME: Setting linknames here is a bad hack.
9767 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9768 # The linker will automatically build a .lib file if we build a DLL.
9769 old_archive_from_new_cmds='true'
9770 # FIXME: Should let the user specify the lib program.
9771 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9772 fix_srcfile_path='`cygpath -w "$srcfile"`'
9773 enable_shared_with_static_runtimes=yes
9776 darwin* | rhapsody*)
9779 archive_cmds_need_lc=no
9780 hardcode_direct=no
9781 hardcode_automatic=yes
9782 hardcode_shlibpath_var=unsupported
9783 if test "$lt_cv_ld_force_load" = "yes"; then
9784 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9785 else
9786 whole_archive_flag_spec=''
9788 link_all_deplibs=yes
9789 allow_undefined_flag="$_lt_dar_allow_undefined"
9790 case $cc_basename in
9791 ifort*) _lt_dar_can_shared=yes ;;
9792 *) _lt_dar_can_shared=$GCC ;;
9793 esac
9794 if test "$_lt_dar_can_shared" = "yes"; then
9795 output_verbose_link_cmd=func_echo_all
9796 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9797 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9798 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9799 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9801 else
9802 ld_shlibs=no
9807 dgux*)
9808 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_libdir_flag_spec='-L$libdir'
9810 hardcode_shlibpath_var=no
9813 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9814 # support. Future versions do this automatically, but an explicit c++rt0.o
9815 # does not break anything, and helps significantly (at the cost of a little
9816 # extra space).
9817 freebsd2.2*)
9818 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9819 hardcode_libdir_flag_spec='-R$libdir'
9820 hardcode_direct=yes
9821 hardcode_shlibpath_var=no
9824 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9825 freebsd2.*)
9826 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_direct=yes
9828 hardcode_minus_L=yes
9829 hardcode_shlibpath_var=no
9832 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9833 freebsd* | dragonfly*)
9834 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9835 hardcode_libdir_flag_spec='-R$libdir'
9836 hardcode_direct=yes
9837 hardcode_shlibpath_var=no
9840 hpux9*)
9841 if test "$GCC" = yes; then
9842 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9843 else
9844 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9848 hardcode_direct=yes
9850 # hardcode_minus_L: Not really in the search PATH,
9851 # but as the default location of the library.
9852 hardcode_minus_L=yes
9853 export_dynamic_flag_spec='${wl}-E'
9856 hpux10*)
9857 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9858 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9859 else
9860 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9862 if test "$with_gnu_ld" = no; then
9863 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9864 hardcode_libdir_flag_spec_ld='+b $libdir'
9865 hardcode_libdir_separator=:
9866 hardcode_direct=yes
9867 hardcode_direct_absolute=yes
9868 export_dynamic_flag_spec='${wl}-E'
9869 # hardcode_minus_L: Not really in the search PATH,
9870 # but as the default location of the library.
9871 hardcode_minus_L=yes
9875 hpux11*)
9876 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ia64*)
9882 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9885 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9887 esac
9888 else
9889 case $host_cpu in
9890 hppa*64*)
9891 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 ia64*)
9894 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9898 # Older versions of the 11.00 compiler do not understand -b yet
9899 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9901 $as_echo_n "checking if $CC understands -b... " >&6; }
9902 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 lt_cv_prog_compiler__b=no
9906 save_LDFLAGS="$LDFLAGS"
9907 LDFLAGS="$LDFLAGS -b"
9908 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9909 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9910 # The linker can only warn and ignore the option if not recognized
9911 # So say no if there are warnings
9912 if test -s conftest.err; then
9913 # Append any errors to the config.log.
9914 cat conftest.err 1>&5
9915 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9916 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9917 if diff conftest.exp conftest.er2 >/dev/null; then
9918 lt_cv_prog_compiler__b=yes
9920 else
9921 lt_cv_prog_compiler__b=yes
9924 $RM -r conftest*
9925 LDFLAGS="$save_LDFLAGS"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9929 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9931 if test x"$lt_cv_prog_compiler__b" = xyes; then
9932 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9933 else
9934 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9938 esac
9940 if test "$with_gnu_ld" = no; then
9941 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9942 hardcode_libdir_separator=:
9944 case $host_cpu in
9945 hppa*64*|ia64*)
9946 hardcode_direct=no
9947 hardcode_shlibpath_var=no
9950 hardcode_direct=yes
9951 hardcode_direct_absolute=yes
9952 export_dynamic_flag_spec='${wl}-E'
9954 # hardcode_minus_L: Not really in the search PATH,
9955 # but as the default location of the library.
9956 hardcode_minus_L=yes
9958 esac
9962 irix5* | irix6* | nonstopux*)
9963 if test "$GCC" = yes; then
9964 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9965 # Try to use the -exported_symbol ld option, if it does not
9966 # work, assume that -exports_file does not work either and
9967 # implicitly export all symbols.
9968 save_LDFLAGS="$LDFLAGS"
9969 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9970 if test x$gcc_no_link = xyes; then
9971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int foo(void) {}
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 LDFLAGS="$save_LDFLAGS"
9984 else
9985 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9986 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9988 archive_cmds_need_lc='no'
9989 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9990 hardcode_libdir_separator=:
9991 inherit_rpath=yes
9992 link_all_deplibs=yes
9995 netbsd*)
9996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9997 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9998 else
9999 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10001 hardcode_libdir_flag_spec='-R$libdir'
10002 hardcode_direct=yes
10003 hardcode_shlibpath_var=no
10006 newsos6)
10007 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_direct=yes
10009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010 hardcode_libdir_separator=:
10011 hardcode_shlibpath_var=no
10014 *nto* | *qnx*)
10017 openbsd*)
10018 if test -f /usr/libexec/ld.so; then
10019 hardcode_direct=yes
10020 hardcode_shlibpath_var=no
10021 hardcode_direct_absolute=yes
10022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10025 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026 export_dynamic_flag_spec='${wl}-E'
10027 else
10028 case $host_os in
10029 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10030 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_libdir_flag_spec='-R$libdir'
10034 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10035 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10037 esac
10039 else
10040 ld_shlibs=no
10044 os2*)
10045 hardcode_libdir_flag_spec='-L$libdir'
10046 hardcode_minus_L=yes
10047 allow_undefined_flag=unsupported
10048 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10049 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10052 osf3*)
10053 if test "$GCC" = yes; then
10054 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10055 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10060 archive_cmds_need_lc='no'
10061 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062 hardcode_libdir_separator=:
10065 osf4* | osf5*) # as osf3* with the addition of -msym flag
10066 if test "$GCC" = yes; then
10067 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10068 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10069 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10070 else
10071 allow_undefined_flag=' -expect_unresolved \*'
10072 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10073 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10074 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10076 # Both c and cxx compiler support -rpath directly
10077 hardcode_libdir_flag_spec='-rpath $libdir'
10079 archive_cmds_need_lc='no'
10080 hardcode_libdir_separator=:
10083 solaris*)
10084 no_undefined_flag=' -z defs'
10085 if test "$GCC" = yes; then
10086 wlarc='${wl}'
10087 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10090 else
10091 case `$CC -V 2>&1` in
10092 *"Compilers 5.0"*)
10093 wlarc=''
10094 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10096 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10099 wlarc='${wl}'
10100 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10101 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10102 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10104 esac
10106 hardcode_libdir_flag_spec='-R$libdir'
10107 hardcode_shlibpath_var=no
10108 case $host_os in
10109 solaris2.[0-5] | solaris2.[0-5].*) ;;
10111 # The compiler driver will combine and reorder linker options,
10112 # but understands `-z linker_flag'. GCC discards it without `$wl',
10113 # but is careful enough not to reorder.
10114 # Supported since Solaris 2.6 (maybe 2.5.1?)
10115 if test "$GCC" = yes; then
10116 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10117 else
10118 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10121 esac
10122 link_all_deplibs=yes
10125 sunos4*)
10126 if test "x$host_vendor" = xsequent; then
10127 # Use $CC to link under sequent, because it throws in some extra .o
10128 # files that make .init and .fini sections work.
10129 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10133 hardcode_libdir_flag_spec='-L$libdir'
10134 hardcode_direct=yes
10135 hardcode_minus_L=yes
10136 hardcode_shlibpath_var=no
10139 sysv4)
10140 case $host_vendor in
10141 sni)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct=yes # is this really true???
10145 siemens)
10146 ## LD is ld it makes a PLAMLIB
10147 ## CC just makes a GrossModule.
10148 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10149 reload_cmds='$CC -r -o $output$reload_objs'
10150 hardcode_direct=no
10152 motorola)
10153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10154 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10156 esac
10157 runpath_var='LD_RUN_PATH'
10158 hardcode_shlibpath_var=no
10161 sysv4.3*)
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_shlibpath_var=no
10164 export_dynamic_flag_spec='-Bexport'
10167 sysv4*MP*)
10168 if test -d /usr/nec; then
10169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170 hardcode_shlibpath_var=no
10171 runpath_var=LD_RUN_PATH
10172 hardcode_runpath_var=yes
10173 ld_shlibs=yes
10177 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10178 no_undefined_flag='${wl}-z,text'
10179 archive_cmds_need_lc=no
10180 hardcode_shlibpath_var=no
10181 runpath_var='LD_RUN_PATH'
10183 if test "$GCC" = yes; then
10184 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10186 else
10187 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10192 sysv5* | sco3.2v5* | sco5v6*)
10193 # Note: We can NOT use -z defs as we might desire, because we do not
10194 # link with -lc, and that would cause any symbols used from libc to
10195 # always be unresolved, which means just about no library would
10196 # ever link correctly. If we're not using GNU ld we use -z text
10197 # though, which does catch some bad symbols but isn't as heavy-handed
10198 # as -z defs.
10199 no_undefined_flag='${wl}-z,text'
10200 allow_undefined_flag='${wl}-z,nodefs'
10201 archive_cmds_need_lc=no
10202 hardcode_shlibpath_var=no
10203 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10204 hardcode_libdir_separator=':'
10205 link_all_deplibs=yes
10206 export_dynamic_flag_spec='${wl}-Bexport'
10207 runpath_var='LD_RUN_PATH'
10209 if test "$GCC" = yes; then
10210 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 else
10213 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 uts4*)
10219 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10220 hardcode_libdir_flag_spec='-L$libdir'
10221 hardcode_shlibpath_var=no
10225 ld_shlibs=no
10227 esac
10229 if test x$host_vendor = xsni; then
10230 case $host in
10231 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10232 export_dynamic_flag_spec='${wl}-Blargedynsym'
10234 esac
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10239 $as_echo "$ld_shlibs" >&6; }
10240 test "$ld_shlibs" = no && can_build_shared=no
10242 with_gnu_ld=$with_gnu_ld
10259 # Do we need to explicitly link libc?
10261 case "x$archive_cmds_need_lc" in
10262 x|xyes)
10263 # Assume -lc should be added
10264 archive_cmds_need_lc=yes
10266 if test "$enable_shared" = yes && test "$GCC" = yes; then
10267 case $archive_cmds in
10268 *'~'*)
10269 # FIXME: we may have to deal with multi-command sequences.
10271 '$CC '*)
10272 # Test whether the compiler implicitly links with -lc since on some
10273 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10274 # to ld, don't add -lc before -lgcc.
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10276 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10277 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 $RM conftest*
10281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10284 (eval $ac_compile) 2>&5
10285 ac_status=$?
10286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287 test $ac_status = 0; } 2>conftest.err; then
10288 soname=conftest
10289 lib=conftest
10290 libobjs=conftest.$ac_objext
10291 deplibs=
10292 wl=$lt_prog_compiler_wl
10293 pic_flag=$lt_prog_compiler_pic
10294 compiler_flags=-v
10295 linker_flags=-v
10296 verstring=
10297 output_objdir=.
10298 libname=conftest
10299 lt_save_allow_undefined_flag=$allow_undefined_flag
10300 allow_undefined_flag=
10301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10302 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10303 ac_status=$?
10304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10305 test $ac_status = 0; }
10306 then
10307 lt_cv_archive_cmds_need_lc=no
10308 else
10309 lt_cv_archive_cmds_need_lc=yes
10311 allow_undefined_flag=$lt_save_allow_undefined_flag
10312 else
10313 cat conftest.err 1>&5
10315 $RM conftest*
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10319 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10320 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10322 esac
10325 esac
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10484 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10486 if test "$GCC" = yes; then
10487 case $host_os in
10488 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10489 *) lt_awk_arg="/^libraries:/" ;;
10490 esac
10491 case $host_os in
10492 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10493 *) lt_sed_strip_eq="s,=/,/,g" ;;
10494 esac
10495 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10496 case $lt_search_path_spec in
10497 *\;*)
10498 # if the path contains ";" then we assume it to be the separator
10499 # otherwise default to the standard path separator (i.e. ":") - it is
10500 # assumed that no part of a normal pathname contains ";" but that should
10501 # okay in the real world where ";" in dirpaths is itself problematic.
10502 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10505 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10507 esac
10508 # Ok, now we have the path, separated by spaces, we can step through it
10509 # and add multilib dir if necessary.
10510 lt_tmp_lt_search_path_spec=
10511 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10512 for lt_sys_path in $lt_search_path_spec; do
10513 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10514 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10515 else
10516 test -d "$lt_sys_path" && \
10517 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10519 done
10520 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10521 BEGIN {RS=" "; FS="/|\n";} {
10522 lt_foo="";
10523 lt_count=0;
10524 for (lt_i = NF; lt_i > 0; lt_i--) {
10525 if ($lt_i != "" && $lt_i != ".") {
10526 if ($lt_i == "..") {
10527 lt_count++;
10528 } else {
10529 if (lt_count == 0) {
10530 lt_foo="/" $lt_i lt_foo;
10531 } else {
10532 lt_count--;
10537 if (lt_foo != "") { lt_freq[lt_foo]++; }
10538 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10540 # AWK program above erroneously prepends '/' to C:/dos/paths
10541 # for these hosts.
10542 case $host_os in
10543 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10544 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10545 esac
10546 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10547 else
10548 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10550 library_names_spec=
10551 libname_spec='lib$name'
10552 soname_spec=
10553 shrext_cmds=".so"
10554 postinstall_cmds=
10555 postuninstall_cmds=
10556 finish_cmds=
10557 finish_eval=
10558 shlibpath_var=
10559 shlibpath_overrides_runpath=unknown
10560 version_type=none
10561 dynamic_linker="$host_os ld.so"
10562 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10563 need_lib_prefix=unknown
10564 hardcode_into_libs=no
10566 # when you set need_version to no, make sure it does not cause -set_version
10567 # flags to be left without arguments
10568 need_version=unknown
10570 case $host_os in
10571 aix3*)
10572 version_type=linux
10573 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10574 shlibpath_var=LIBPATH
10576 # AIX 3 has no versioning support, so we append a major version to the name.
10577 soname_spec='${libname}${release}${shared_ext}$major'
10580 aix[4-9]*)
10581 version_type=linux
10582 need_lib_prefix=no
10583 need_version=no
10584 hardcode_into_libs=yes
10585 if test "$host_cpu" = ia64; then
10586 # AIX 5 supports IA64
10587 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 else
10590 # With GCC up to 2.95.x, collect2 would create an import file
10591 # for dependence libraries. The import file would start with
10592 # the line `#! .'. This would cause the generated library to
10593 # depend on `.', always an invalid library. This was fixed in
10594 # development snapshots of GCC prior to 3.0.
10595 case $host_os in
10596 aix4 | aix4.[01] | aix4.[01].*)
10597 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10598 echo ' yes '
10599 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10601 else
10602 can_build_shared=no
10605 esac
10606 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10607 # soname into executable. Probably we can add versioning support to
10608 # collect2, so additional links can be useful in future.
10609 if test "$aix_use_runtimelinking" = yes; then
10610 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10611 # instead of lib<name>.a to let people know that these are not
10612 # typical AIX shared libraries.
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 else
10615 # We preserve .a as extension for shared libraries through AIX4.2
10616 # and later when we are not doing run time linking.
10617 library_names_spec='${libname}${release}.a $libname.a'
10618 soname_spec='${libname}${release}${shared_ext}$major'
10620 shlibpath_var=LIBPATH
10624 amigaos*)
10625 case $host_cpu in
10626 powerpc)
10627 # Since July 2007 AmigaOS4 officially supports .so libraries.
10628 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631 m68k)
10632 library_names_spec='$libname.ixlibrary $libname.a'
10633 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10634 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10636 esac
10639 beos*)
10640 library_names_spec='${libname}${shared_ext}'
10641 dynamic_linker="$host_os ld.so"
10642 shlibpath_var=LIBRARY_PATH
10645 bsdi[45]*)
10646 version_type=linux
10647 need_version=no
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec='${libname}${release}${shared_ext}$major'
10650 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10651 shlibpath_var=LD_LIBRARY_PATH
10652 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10653 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10654 # the default ld.so.conf also contains /usr/contrib/lib and
10655 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10656 # libtool to hard-code these into programs
10659 cygwin* | mingw* | pw32* | cegcc*)
10660 version_type=windows
10661 shrext_cmds=".dll"
10662 need_version=no
10663 need_lib_prefix=no
10665 case $GCC,$host_os in
10666 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10667 library_names_spec='$libname.dll.a'
10668 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10669 postinstall_cmds='base_file=`basename \${file}`~
10670 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10671 dldir=$destdir/`dirname \$dlpath`~
10672 test -d \$dldir || mkdir -p \$dldir~
10673 $install_prog $dir/$dlname \$dldir/$dlname~
10674 chmod a+x \$dldir/$dlname~
10675 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10676 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10678 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10679 dlpath=$dir/\$dldll~
10680 $RM \$dlpath'
10681 shlibpath_overrides_runpath=yes
10683 case $host_os in
10684 cygwin*)
10685 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10686 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10690 mingw* | cegcc*)
10691 # MinGW DLLs use traditional 'lib' prefix
10692 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10694 pw32*)
10695 # pw32 DLLs use 'pw' prefix rather than 'lib'
10696 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10698 esac
10702 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10704 esac
10705 dynamic_linker='Win32 ld.exe'
10706 # FIXME: first we should search . and the directory the executable is in
10707 shlibpath_var=PATH
10710 darwin* | rhapsody*)
10711 dynamic_linker="$host_os dyld"
10712 version_type=darwin
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10716 soname_spec='${libname}${release}${major}$shared_ext'
10717 shlibpath_overrides_runpath=yes
10718 shlibpath_var=DYLD_LIBRARY_PATH
10719 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10721 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10722 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10725 dgux*)
10726 version_type=linux
10727 need_lib_prefix=no
10728 need_version=no
10729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10730 soname_spec='${libname}${release}${shared_ext}$major'
10731 shlibpath_var=LD_LIBRARY_PATH
10734 freebsd* | dragonfly*)
10735 # DragonFly does not have aout. When/if they implement a new
10736 # versioning mechanism, adjust this.
10737 if test -x /usr/bin/objformat; then
10738 objformat=`/usr/bin/objformat`
10739 else
10740 case $host_os in
10741 freebsd[23].*) objformat=aout ;;
10742 *) objformat=elf ;;
10743 esac
10745 version_type=freebsd-$objformat
10746 case $version_type in
10747 freebsd-elf*)
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10749 need_version=no
10750 need_lib_prefix=no
10752 freebsd-*)
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10754 need_version=yes
10756 esac
10757 shlibpath_var=LD_LIBRARY_PATH
10758 case $host_os in
10759 freebsd2.*)
10760 shlibpath_overrides_runpath=yes
10762 freebsd3.[01]* | freebsdelf3.[01]*)
10763 shlibpath_overrides_runpath=yes
10764 hardcode_into_libs=yes
10766 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10767 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10768 shlibpath_overrides_runpath=no
10769 hardcode_into_libs=yes
10771 *) # from 4.6 on, and DragonFly
10772 shlibpath_overrides_runpath=yes
10773 hardcode_into_libs=yes
10775 esac
10778 gnu*)
10779 version_type=linux
10780 need_lib_prefix=no
10781 need_version=no
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 hardcode_into_libs=yes
10788 haiku*)
10789 version_type=linux
10790 need_lib_prefix=no
10791 need_version=no
10792 dynamic_linker="$host_os runtime_loader"
10793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10794 soname_spec='${libname}${release}${shared_ext}$major'
10795 shlibpath_var=LIBRARY_PATH
10796 shlibpath_overrides_runpath=yes
10797 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10798 hardcode_into_libs=yes
10801 hpux9* | hpux10* | hpux11*)
10802 # Give a soname corresponding to the major version so that dld.sl refuses to
10803 # link against other versions.
10804 version_type=sunos
10805 need_lib_prefix=no
10806 need_version=no
10807 case $host_cpu in
10808 ia64*)
10809 shrext_cmds='.so'
10810 hardcode_into_libs=yes
10811 dynamic_linker="$host_os dld.so"
10812 shlibpath_var=LD_LIBRARY_PATH
10813 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 if test "X$HPUX_IA64_MODE" = X32; then
10817 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10818 else
10819 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10821 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 hppa*64*)
10824 shrext_cmds='.sl'
10825 hardcode_into_libs=yes
10826 dynamic_linker="$host_os dld.sl"
10827 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10828 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10832 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10835 shrext_cmds='.sl'
10836 dynamic_linker="$host_os dld.sl"
10837 shlibpath_var=SHLIB_PATH
10838 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10842 esac
10843 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10844 postinstall_cmds='chmod 555 $lib'
10845 # or fails outright, so override atomically:
10846 install_override_mode=555
10849 interix[3-9]*)
10850 version_type=linux
10851 need_lib_prefix=no
10852 need_version=no
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10854 soname_spec='${libname}${release}${shared_ext}$major'
10855 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10856 shlibpath_var=LD_LIBRARY_PATH
10857 shlibpath_overrides_runpath=no
10858 hardcode_into_libs=yes
10861 irix5* | irix6* | nonstopux*)
10862 case $host_os in
10863 nonstopux*) version_type=nonstopux ;;
10865 if test "$lt_cv_prog_gnu_ld" = yes; then
10866 version_type=linux
10867 else
10868 version_type=irix
10869 fi ;;
10870 esac
10871 need_lib_prefix=no
10872 need_version=no
10873 soname_spec='${libname}${release}${shared_ext}$major'
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10875 case $host_os in
10876 irix5* | nonstopux*)
10877 libsuff= shlibsuff=
10880 case $LD in # libtool.m4 will add one of these switches to LD
10881 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10882 libsuff= shlibsuff= libmagic=32-bit;;
10883 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10884 libsuff=32 shlibsuff=N32 libmagic=N32;;
10885 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10886 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10887 *) libsuff= shlibsuff= libmagic=never-match;;
10888 esac
10890 esac
10891 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10892 shlibpath_overrides_runpath=no
10893 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10894 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10895 hardcode_into_libs=yes
10898 # No shared lib support for Linux oldld, aout, or coff.
10899 linux*oldld* | linux*aout* | linux*coff*)
10900 dynamic_linker=no
10903 # This must be Linux ELF.
10904 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10905 version_type=linux
10906 need_lib_prefix=no
10907 need_version=no
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10911 shlibpath_var=LD_LIBRARY_PATH
10912 shlibpath_overrides_runpath=no
10914 # Some binutils ld are patched to set DT_RUNPATH
10915 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 lt_cv_shlibpath_overrides_runpath=no
10919 save_LDFLAGS=$LDFLAGS
10920 save_libdir=$libdir
10921 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10922 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10923 if test x$gcc_no_link = xyes; then
10924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10930 main ()
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10939 lt_cv_shlibpath_overrides_runpath=yes
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LDFLAGS=$save_LDFLAGS
10945 libdir=$save_libdir
10949 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10951 # This implies no fast_install, which is unacceptable.
10952 # Some rework will be needed to allow for fast_install
10953 # before this can be enabled.
10954 hardcode_into_libs=yes
10956 # Append ld.so.conf contents to the search path
10957 if test -f /etc/ld.so.conf; then
10958 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10959 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10962 # We used to test for /lib/ld.so.1 and disable shared libraries on
10963 # powerpc, because MkLinux only supported shared libraries with the
10964 # GNU dynamic linker. Since this was broken with cross compilers,
10965 # most powerpc-linux boxes support dynamic linking these days and
10966 # people can always --disable-shared, the test was removed, and we
10967 # assume the GNU/Linux dynamic linker is in use.
10968 dynamic_linker='GNU/Linux ld.so'
10971 netbsd*)
10972 version_type=sunos
10973 need_lib_prefix=no
10974 need_version=no
10975 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10977 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10978 dynamic_linker='NetBSD (a.out) ld.so'
10979 else
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 dynamic_linker='NetBSD ld.elf_so'
10984 shlibpath_var=LD_LIBRARY_PATH
10985 shlibpath_overrides_runpath=yes
10986 hardcode_into_libs=yes
10989 newsos6)
10990 version_type=linux
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 shlibpath_overrides_runpath=yes
10996 *nto* | *qnx*)
10997 version_type=qnx
10998 need_lib_prefix=no
10999 need_version=no
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 shlibpath_var=LD_LIBRARY_PATH
11003 shlibpath_overrides_runpath=no
11004 hardcode_into_libs=yes
11005 dynamic_linker='ldqnx.so'
11008 openbsd*)
11009 version_type=sunos
11010 sys_lib_dlsearch_path_spec="/usr/lib"
11011 need_lib_prefix=no
11012 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11013 case $host_os in
11014 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11015 *) need_version=no ;;
11016 esac
11017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11018 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11019 shlibpath_var=LD_LIBRARY_PATH
11020 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11021 case $host_os in
11022 openbsd2.[89] | openbsd2.[89].*)
11023 shlibpath_overrides_runpath=no
11026 shlibpath_overrides_runpath=yes
11028 esac
11029 else
11030 shlibpath_overrides_runpath=yes
11034 os2*)
11035 libname_spec='$name'
11036 shrext_cmds=".dll"
11037 need_lib_prefix=no
11038 library_names_spec='$libname${shared_ext} $libname.a'
11039 dynamic_linker='OS/2 ld.exe'
11040 shlibpath_var=LIBPATH
11043 osf3* | osf4* | osf5*)
11044 version_type=osf
11045 need_lib_prefix=no
11046 need_version=no
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11051 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11054 rdos*)
11055 dynamic_linker=no
11058 solaris*)
11059 version_type=linux
11060 need_lib_prefix=no
11061 need_version=no
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec='${libname}${release}${shared_ext}$major'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=yes
11066 hardcode_into_libs=yes
11067 # ldd complains unless libraries are executable
11068 postinstall_cmds='chmod +x $lib'
11071 sunos4*)
11072 version_type=sunos
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11074 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 shlibpath_overrides_runpath=yes
11077 if test "$with_gnu_ld" = yes; then
11078 need_lib_prefix=no
11080 need_version=yes
11083 sysv4 | sysv4.3*)
11084 version_type=linux
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086 soname_spec='${libname}${release}${shared_ext}$major'
11087 shlibpath_var=LD_LIBRARY_PATH
11088 case $host_vendor in
11089 sni)
11090 shlibpath_overrides_runpath=no
11091 need_lib_prefix=no
11092 runpath_var=LD_RUN_PATH
11094 siemens)
11095 need_lib_prefix=no
11097 motorola)
11098 need_lib_prefix=no
11099 need_version=no
11100 shlibpath_overrides_runpath=no
11101 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11103 esac
11106 sysv4*MP*)
11107 if test -d /usr/nec ;then
11108 version_type=linux
11109 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11110 soname_spec='$libname${shared_ext}.$major'
11111 shlibpath_var=LD_LIBRARY_PATH
11115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11116 version_type=freebsd-elf
11117 need_lib_prefix=no
11118 need_version=no
11119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11120 soname_spec='${libname}${release}${shared_ext}$major'
11121 shlibpath_var=LD_LIBRARY_PATH
11122 shlibpath_overrides_runpath=yes
11123 hardcode_into_libs=yes
11124 if test "$with_gnu_ld" = yes; then
11125 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11126 else
11127 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11128 case $host_os in
11129 sco3.2v5*)
11130 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11132 esac
11134 sys_lib_dlsearch_path_spec='/usr/lib'
11137 tpf*)
11138 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11139 version_type=linux
11140 need_lib_prefix=no
11141 need_version=no
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath=no
11145 hardcode_into_libs=yes
11148 uts4*)
11149 version_type=linux
11150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151 soname_spec='${libname}${release}${shared_ext}$major'
11152 shlibpath_var=LD_LIBRARY_PATH
11156 dynamic_linker=no
11158 esac
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11160 $as_echo "$dynamic_linker" >&6; }
11161 test "$dynamic_linker" = no && can_build_shared=no
11163 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11164 if test "$GCC" = yes; then
11165 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11168 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11169 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11171 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11172 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11267 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11268 hardcode_action=
11269 if test -n "$hardcode_libdir_flag_spec" ||
11270 test -n "$runpath_var" ||
11271 test "X$hardcode_automatic" = "Xyes" ; then
11273 # We can hardcode non-existent directories.
11274 if test "$hardcode_direct" != no &&
11275 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11276 # have to relink, otherwise we might link with an installed library
11277 # when we should be linking with a yet-to-be-installed one
11278 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11279 test "$hardcode_minus_L" != no; then
11280 # Linking always hardcodes the temporary library directory.
11281 hardcode_action=relink
11282 else
11283 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11284 hardcode_action=immediate
11286 else
11287 # We cannot hardcode anything, or else we can only hardcode existing
11288 # directories.
11289 hardcode_action=unsupported
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11292 $as_echo "$hardcode_action" >&6; }
11294 if test "$hardcode_action" = relink ||
11295 test "$inherit_rpath" = yes; then
11296 # Fast installation is not supported
11297 enable_fast_install=no
11298 elif test "$shlibpath_overrides_runpath" = yes ||
11299 test "$enable_shared" = no; then
11300 # Fast installation is not necessary
11301 enable_fast_install=needless
11309 if test "x$enable_dlopen" != xyes; then
11310 enable_dlopen=unknown
11311 enable_dlopen_self=unknown
11312 enable_dlopen_self_static=unknown
11313 else
11314 lt_cv_dlopen=no
11315 lt_cv_dlopen_libs=
11317 case $host_os in
11318 beos*)
11319 lt_cv_dlopen="load_add_on"
11320 lt_cv_dlopen_libs=
11321 lt_cv_dlopen_self=yes
11324 mingw* | pw32* | cegcc*)
11325 lt_cv_dlopen="LoadLibrary"
11326 lt_cv_dlopen_libs=
11329 cygwin*)
11330 lt_cv_dlopen="dlopen"
11331 lt_cv_dlopen_libs=
11334 darwin*)
11335 # if libdl is installed we need to link against it
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11337 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11338 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11339 $as_echo_n "(cached) " >&6
11340 else
11341 ac_check_lib_save_LIBS=$LIBS
11342 LIBS="-ldl $LIBS"
11343 if test x$gcc_no_link = xyes; then
11344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11352 #ifdef __cplusplus
11353 extern "C"
11354 #endif
11355 char dlopen ();
11357 main ()
11359 return dlopen ();
11361 return 0;
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"; then :
11365 ac_cv_lib_dl_dlopen=yes
11366 else
11367 ac_cv_lib_dl_dlopen=no
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_lib_save_LIBS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11374 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11375 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11376 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11377 else
11379 lt_cv_dlopen="dyld"
11380 lt_cv_dlopen_libs=
11381 lt_cv_dlopen_self=yes
11388 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11389 if test "x$ac_cv_func_shl_load" = x""yes; then :
11390 lt_cv_dlopen="shl_load"
11391 else
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11393 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11394 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11395 $as_echo_n "(cached) " >&6
11396 else
11397 ac_check_lib_save_LIBS=$LIBS
11398 LIBS="-ldld $LIBS"
11399 if test x$gcc_no_link = xyes; then
11400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char shl_load ();
11413 main ()
11415 return shl_load ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_dld_shl_load=yes
11422 else
11423 ac_cv_lib_dld_shl_load=no
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11430 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11431 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11432 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11433 else
11434 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11435 if test "x$ac_cv_func_dlopen" = x""yes; then :
11436 lt_cv_dlopen="dlopen"
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11439 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11440 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_lib_save_LIBS=$LIBS
11444 LIBS="-ldl $LIBS"
11445 if test x$gcc_no_link = xyes; then
11446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 char dlopen ();
11459 main ()
11461 return dlopen ();
11463 return 0;
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 ac_cv_lib_dl_dlopen=yes
11468 else
11469 ac_cv_lib_dl_dlopen=no
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11476 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11477 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11478 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11479 else
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11481 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11482 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 ac_check_lib_save_LIBS=$LIBS
11486 LIBS="-lsvld $LIBS"
11487 if test x$gcc_no_link = xyes; then
11488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char dlopen ();
11501 main ()
11503 return dlopen ();
11505 return 0;
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 ac_cv_lib_svld_dlopen=yes
11510 else
11511 ac_cv_lib_svld_dlopen=no
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_lib_save_LIBS
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11518 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11519 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11520 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11521 else
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11523 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11524 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11525 $as_echo_n "(cached) " >&6
11526 else
11527 ac_check_lib_save_LIBS=$LIBS
11528 LIBS="-ldld $LIBS"
11529 if test x$gcc_no_link = xyes; then
11530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char dld_link ();
11543 main ()
11545 return dld_link ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 ac_cv_lib_dld_dld_link=yes
11552 else
11553 ac_cv_lib_dld_dld_link=no
11555 rm -f core conftest.err conftest.$ac_objext \
11556 conftest$ac_exeext conftest.$ac_ext
11557 LIBS=$ac_check_lib_save_LIBS
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11560 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11561 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11562 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11581 esac
11583 if test "x$lt_cv_dlopen" != xno; then
11584 enable_dlopen=yes
11585 else
11586 enable_dlopen=no
11589 case $lt_cv_dlopen in
11590 dlopen)
11591 save_CPPFLAGS="$CPPFLAGS"
11592 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11594 save_LDFLAGS="$LDFLAGS"
11595 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11597 save_LIBS="$LIBS"
11598 LIBS="$lt_cv_dlopen_libs $LIBS"
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11601 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11602 if test "${lt_cv_dlopen_self+set}" = set; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 if test "$cross_compiling" = yes; then :
11606 lt_cv_dlopen_self=cross
11607 else
11608 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11609 lt_status=$lt_dlunknown
11610 cat > conftest.$ac_ext <<_LT_EOF
11611 #line 11611 "configure"
11612 #include "confdefs.h"
11614 #if HAVE_DLFCN_H
11615 #include <dlfcn.h>
11616 #endif
11618 #include <stdio.h>
11620 #ifdef RTLD_GLOBAL
11621 # define LT_DLGLOBAL RTLD_GLOBAL
11622 #else
11623 # ifdef DL_GLOBAL
11624 # define LT_DLGLOBAL DL_GLOBAL
11625 # else
11626 # define LT_DLGLOBAL 0
11627 # endif
11628 #endif
11630 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11631 find out it does not work in some platform. */
11632 #ifndef LT_DLLAZY_OR_NOW
11633 # ifdef RTLD_LAZY
11634 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11635 # else
11636 # ifdef DL_LAZY
11637 # define LT_DLLAZY_OR_NOW DL_LAZY
11638 # else
11639 # ifdef RTLD_NOW
11640 # define LT_DLLAZY_OR_NOW RTLD_NOW
11641 # else
11642 # ifdef DL_NOW
11643 # define LT_DLLAZY_OR_NOW DL_NOW
11644 # else
11645 # define LT_DLLAZY_OR_NOW 0
11646 # endif
11647 # endif
11648 # endif
11649 # endif
11650 #endif
11652 /* When -fvisbility=hidden is used, assume the code has been annotated
11653 correspondingly for the symbols needed. */
11654 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11655 void fnord () __attribute__((visibility("default")));
11656 #endif
11658 void fnord () { int i=42; }
11659 int main ()
11661 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11662 int status = $lt_dlunknown;
11664 if (self)
11666 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11667 else
11669 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11670 else puts (dlerror ());
11672 /* dlclose (self); */
11674 else
11675 puts (dlerror ());
11677 return status;
11679 _LT_EOF
11680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11681 (eval $ac_link) 2>&5
11682 ac_status=$?
11683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11684 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11685 (./conftest; exit; ) >&5 2>/dev/null
11686 lt_status=$?
11687 case x$lt_status in
11688 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11689 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11690 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11691 esac
11692 else :
11693 # compilation failed
11694 lt_cv_dlopen_self=no
11697 rm -fr conftest*
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11702 $as_echo "$lt_cv_dlopen_self" >&6; }
11704 if test "x$lt_cv_dlopen_self" = xyes; then
11705 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11707 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11708 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 if test "$cross_compiling" = yes; then :
11712 lt_cv_dlopen_self_static=cross
11713 else
11714 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11715 lt_status=$lt_dlunknown
11716 cat > conftest.$ac_ext <<_LT_EOF
11717 #line 11717 "configure"
11718 #include "confdefs.h"
11720 #if HAVE_DLFCN_H
11721 #include <dlfcn.h>
11722 #endif
11724 #include <stdio.h>
11726 #ifdef RTLD_GLOBAL
11727 # define LT_DLGLOBAL RTLD_GLOBAL
11728 #else
11729 # ifdef DL_GLOBAL
11730 # define LT_DLGLOBAL DL_GLOBAL
11731 # else
11732 # define LT_DLGLOBAL 0
11733 # endif
11734 #endif
11736 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11737 find out it does not work in some platform. */
11738 #ifndef LT_DLLAZY_OR_NOW
11739 # ifdef RTLD_LAZY
11740 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11741 # else
11742 # ifdef DL_LAZY
11743 # define LT_DLLAZY_OR_NOW DL_LAZY
11744 # else
11745 # ifdef RTLD_NOW
11746 # define LT_DLLAZY_OR_NOW RTLD_NOW
11747 # else
11748 # ifdef DL_NOW
11749 # define LT_DLLAZY_OR_NOW DL_NOW
11750 # else
11751 # define LT_DLLAZY_OR_NOW 0
11752 # endif
11753 # endif
11754 # endif
11755 # endif
11756 #endif
11758 /* When -fvisbility=hidden is used, assume the code has been annotated
11759 correspondingly for the symbols needed. */
11760 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11761 void fnord () __attribute__((visibility("default")));
11762 #endif
11764 void fnord () { int i=42; }
11765 int main ()
11767 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11768 int status = $lt_dlunknown;
11770 if (self)
11772 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11773 else
11775 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11776 else puts (dlerror ());
11778 /* dlclose (self); */
11780 else
11781 puts (dlerror ());
11783 return status;
11785 _LT_EOF
11786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11787 (eval $ac_link) 2>&5
11788 ac_status=$?
11789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11790 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11791 (./conftest; exit; ) >&5 2>/dev/null
11792 lt_status=$?
11793 case x$lt_status in
11794 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11795 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11796 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11797 esac
11798 else :
11799 # compilation failed
11800 lt_cv_dlopen_self_static=no
11803 rm -fr conftest*
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11808 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11811 CPPFLAGS="$save_CPPFLAGS"
11812 LDFLAGS="$save_LDFLAGS"
11813 LIBS="$save_LIBS"
11815 esac
11817 case $lt_cv_dlopen_self in
11818 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11819 *) enable_dlopen_self=unknown ;;
11820 esac
11822 case $lt_cv_dlopen_self_static in
11823 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11824 *) enable_dlopen_self_static=unknown ;;
11825 esac
11844 striplib=
11845 old_striplib=
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11847 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11848 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11849 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11850 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11852 $as_echo "yes" >&6; }
11853 else
11854 # FIXME - insert some real tests, host_os isn't really good enough
11855 case $host_os in
11856 darwin*)
11857 if test -n "$STRIP" ; then
11858 striplib="$STRIP -x"
11859 old_striplib="$STRIP -S"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11861 $as_echo "yes" >&6; }
11862 else
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11864 $as_echo "no" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869 $as_echo "no" >&6; }
11871 esac
11885 # Report which library types will actually be built
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11887 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11889 $as_echo "$can_build_shared" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11892 $as_echo_n "checking whether to build shared libraries... " >&6; }
11893 test "$can_build_shared" = "no" && enable_shared=no
11895 # On AIX, shared libraries and static libraries use the same namespace, and
11896 # are all built from PIC.
11897 case $host_os in
11898 aix3*)
11899 test "$enable_shared" = yes && enable_static=no
11900 if test -n "$RANLIB"; then
11901 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11902 postinstall_cmds='$RANLIB $lib'
11906 aix[4-9]*)
11907 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11908 test "$enable_shared" = yes && enable_static=no
11911 esac
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11913 $as_echo "$enable_shared" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11916 $as_echo_n "checking whether to build static libraries... " >&6; }
11917 # Make sure either enable_shared or enable_static is yes.
11918 test "$enable_shared" = yes || enable_static=yes
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11920 $as_echo "$enable_static" >&6; }
11926 ac_ext=c
11927 ac_cpp='$CPP $CPPFLAGS'
11928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11932 CC="$lt_save_CC"
11934 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11935 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11936 (test "X$CXX" != "Xg++"))) ; then
11937 ac_ext=cpp
11938 ac_cpp='$CXXCPP $CPPFLAGS'
11939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11943 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11944 if test -z "$CXXCPP"; then
11945 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 # Double quotes because CXXCPP needs to be expanded
11949 for CXXCPP in "$CXX -E" "/lib/cpp"
11951 ac_preproc_ok=false
11952 for ac_cxx_preproc_warn_flag in '' yes
11954 # Use a header file that comes with gcc, so configuring glibc
11955 # with a fresh cross-compiler works.
11956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11957 # <limits.h> exists even on freestanding compilers.
11958 # On the NeXT, cc -E runs the code through the compiler's parser,
11959 # not just through cpp. "Syntax error" is here to catch this case.
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11962 #ifdef __STDC__
11963 # include <limits.h>
11964 #else
11965 # include <assert.h>
11966 #endif
11967 Syntax error
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11971 else
11972 # Broken: fails on valid input.
11973 continue
11975 rm -f conftest.err conftest.$ac_ext
11977 # OK, works on sane cases. Now check whether nonexistent headers
11978 # can be detected and how.
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #include <ac_nonexistent.h>
11982 _ACEOF
11983 if ac_fn_cxx_try_cpp "$LINENO"; then :
11984 # Broken: success on invalid input.
11985 continue
11986 else
11987 # Passes both tests.
11988 ac_preproc_ok=:
11989 break
11991 rm -f conftest.err conftest.$ac_ext
11993 done
11994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11995 rm -f conftest.err conftest.$ac_ext
11996 if $ac_preproc_ok; then :
11997 break
12000 done
12001 ac_cv_prog_CXXCPP=$CXXCPP
12004 CXXCPP=$ac_cv_prog_CXXCPP
12005 else
12006 ac_cv_prog_CXXCPP=$CXXCPP
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12009 $as_echo "$CXXCPP" >&6; }
12010 ac_preproc_ok=false
12011 for ac_cxx_preproc_warn_flag in '' yes
12013 # Use a header file that comes with gcc, so configuring glibc
12014 # with a fresh cross-compiler works.
12015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12016 # <limits.h> exists even on freestanding compilers.
12017 # On the NeXT, cc -E runs the code through the compiler's parser,
12018 # not just through cpp. "Syntax error" is here to catch this case.
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021 #ifdef __STDC__
12022 # include <limits.h>
12023 #else
12024 # include <assert.h>
12025 #endif
12026 Syntax error
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12030 else
12031 # Broken: fails on valid input.
12032 continue
12034 rm -f conftest.err conftest.$ac_ext
12036 # OK, works on sane cases. Now check whether nonexistent headers
12037 # can be detected and how.
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12040 #include <ac_nonexistent.h>
12041 _ACEOF
12042 if ac_fn_cxx_try_cpp "$LINENO"; then :
12043 # Broken: success on invalid input.
12044 continue
12045 else
12046 # Passes both tests.
12047 ac_preproc_ok=:
12048 break
12050 rm -f conftest.err conftest.$ac_ext
12052 done
12053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12054 rm -f conftest.err conftest.$ac_ext
12055 if $ac_preproc_ok; then :
12057 else
12058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12060 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12061 See \`config.log' for more details." "$LINENO" 5; }
12064 ac_ext=c
12065 ac_cpp='$CPP $CPPFLAGS'
12066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12070 else
12071 _lt_caught_CXX_error=yes
12074 ac_ext=cpp
12075 ac_cpp='$CXXCPP $CPPFLAGS'
12076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12080 archive_cmds_need_lc_CXX=no
12081 allow_undefined_flag_CXX=
12082 always_export_symbols_CXX=no
12083 archive_expsym_cmds_CXX=
12084 compiler_needs_object_CXX=no
12085 export_dynamic_flag_spec_CXX=
12086 hardcode_direct_CXX=no
12087 hardcode_direct_absolute_CXX=no
12088 hardcode_libdir_flag_spec_CXX=
12089 hardcode_libdir_flag_spec_ld_CXX=
12090 hardcode_libdir_separator_CXX=
12091 hardcode_minus_L_CXX=no
12092 hardcode_shlibpath_var_CXX=unsupported
12093 hardcode_automatic_CXX=no
12094 inherit_rpath_CXX=no
12095 module_cmds_CXX=
12096 module_expsym_cmds_CXX=
12097 link_all_deplibs_CXX=unknown
12098 old_archive_cmds_CXX=$old_archive_cmds
12099 reload_flag_CXX=$reload_flag
12100 reload_cmds_CXX=$reload_cmds
12101 no_undefined_flag_CXX=
12102 whole_archive_flag_spec_CXX=
12103 enable_shared_with_static_runtimes_CXX=no
12105 # Source file extension for C++ test sources.
12106 ac_ext=cpp
12108 # Object file extension for compiled C++ test sources.
12109 objext=o
12110 objext_CXX=$objext
12112 # No sense in running all these tests if we already determined that
12113 # the CXX compiler isn't working. Some variables (like enable_shared)
12114 # are currently assumed to apply to all compilers on this platform,
12115 # and will be corrupted by setting them based on a non-working compiler.
12116 if test "$_lt_caught_CXX_error" != yes; then
12117 # Code to be used in simple compile tests
12118 lt_simple_compile_test_code="int some_variable = 0;"
12120 # Code to be used in simple link tests
12121 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12123 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12130 # If no C compiler was specified, use CC.
12131 LTCC=${LTCC-"$CC"}
12133 # If no C compiler flags were specified, use CFLAGS.
12134 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12136 # Allow CC to be a program name with arguments.
12137 compiler=$CC
12140 # save warnings/boilerplate of simple test code
12141 ac_outfile=conftest.$ac_objext
12142 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12144 _lt_compiler_boilerplate=`cat conftest.err`
12145 $RM conftest*
12147 ac_outfile=conftest.$ac_objext
12148 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12150 _lt_linker_boilerplate=`cat conftest.err`
12151 $RM -r conftest*
12154 # Allow CC to be a program name with arguments.
12155 lt_save_CC=$CC
12156 lt_save_LD=$LD
12157 lt_save_GCC=$GCC
12158 GCC=$GXX
12159 lt_save_with_gnu_ld=$with_gnu_ld
12160 lt_save_path_LD=$lt_cv_path_LD
12161 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12162 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12163 else
12164 $as_unset lt_cv_prog_gnu_ld
12166 if test -n "${lt_cv_path_LDCXX+set}"; then
12167 lt_cv_path_LD=$lt_cv_path_LDCXX
12168 else
12169 $as_unset lt_cv_path_LD
12171 test -z "${LDCXX+set}" || LD=$LDCXX
12172 CC=${CXX-"c++"}
12173 compiler=$CC
12174 compiler_CXX=$CC
12175 for cc_temp in $compiler""; do
12176 case $cc_temp in
12177 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12178 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12179 \-*) ;;
12180 *) break;;
12181 esac
12182 done
12183 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12186 if test -n "$compiler"; then
12187 # We don't want -fno-exception when compiling C++ code, so set the
12188 # no_builtin_flag separately
12189 if test "$GXX" = yes; then
12190 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12191 else
12192 lt_prog_compiler_no_builtin_flag_CXX=
12195 if test "$GXX" = yes; then
12196 # Set up default GNU C++ configuration
12200 # Check whether --with-gnu-ld was given.
12201 if test "${with_gnu_ld+set}" = set; then :
12202 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12203 else
12204 with_gnu_ld=no
12207 ac_prog=ld
12208 if test "$GCC" = yes; then
12209 # Check if gcc -print-prog-name=ld gives a path.
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12211 $as_echo_n "checking for ld used by $CC... " >&6; }
12212 case $host in
12213 *-*-mingw*)
12214 # gcc leaves a trailing carriage return which upsets mingw
12215 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12217 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12218 esac
12219 case $ac_prog in
12220 # Accept absolute paths.
12221 [\\/]* | ?:[\\/]*)
12222 re_direlt='/[^/][^/]*/\.\./'
12223 # Canonicalize the pathname of ld
12224 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12225 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12226 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12227 done
12228 test -z "$LD" && LD="$ac_prog"
12231 # If it fails, then pretend we aren't using GCC.
12232 ac_prog=ld
12235 # If it is relative, then search for the first ld in PATH.
12236 with_gnu_ld=unknown
12238 esac
12239 elif test "$with_gnu_ld" = yes; then
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12241 $as_echo_n "checking for GNU ld... " >&6; }
12242 else
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12244 $as_echo_n "checking for non-GNU ld... " >&6; }
12246 if test "${lt_cv_path_LD+set}" = set; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 if test -z "$LD"; then
12250 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12251 for ac_dir in $PATH; do
12252 IFS="$lt_save_ifs"
12253 test -z "$ac_dir" && ac_dir=.
12254 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12255 lt_cv_path_LD="$ac_dir/$ac_prog"
12256 # Check to see if the program is GNU ld. I'd rather use --version,
12257 # but apparently some variants of GNU ld only accept -v.
12258 # Break only if it was the GNU/non-GNU ld that we prefer.
12259 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12260 *GNU* | *'with BFD'*)
12261 test "$with_gnu_ld" != no && break
12264 test "$with_gnu_ld" != yes && break
12266 esac
12268 done
12269 IFS="$lt_save_ifs"
12270 else
12271 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12275 LD="$lt_cv_path_LD"
12276 if test -n "$LD"; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12278 $as_echo "$LD" >&6; }
12279 else
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12281 $as_echo "no" >&6; }
12283 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12285 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12286 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12287 $as_echo_n "(cached) " >&6
12288 else
12289 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12290 case `$LD -v 2>&1 </dev/null` in
12291 *GNU* | *'with BFD'*)
12292 lt_cv_prog_gnu_ld=yes
12295 lt_cv_prog_gnu_ld=no
12297 esac
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12300 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12301 with_gnu_ld=$lt_cv_prog_gnu_ld
12309 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12310 # archiving commands below assume that GNU ld is being used.
12311 if test "$with_gnu_ld" = yes; then
12312 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12313 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12315 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12316 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12318 # If archive_cmds runs LD, not CC, wlarc should be empty
12319 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12320 # investigate it a little bit more. (MM)
12321 wlarc='${wl}'
12323 # ancient GNU ld didn't support --whole-archive et. al.
12324 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12325 $GREP 'no-whole-archive' > /dev/null; then
12326 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12327 else
12328 whole_archive_flag_spec_CXX=
12330 else
12331 with_gnu_ld=no
12332 wlarc=
12334 # A generic and very simple default shared library creation
12335 # command for GNU C++ for the case where it uses the native
12336 # linker, instead of GNU ld. If possible, this setting should
12337 # overridden to take advantage of the native linker features on
12338 # the platform it is being used on.
12339 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12342 # Commands to make compiler produce verbose output that lists
12343 # what "hidden" libraries, object files and flags are used when
12344 # linking a shared library.
12345 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12347 else
12348 GXX=no
12349 with_gnu_ld=no
12350 wlarc=
12353 # PORTME: fill in a description of your system's C++ link characteristics
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12355 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12356 ld_shlibs_CXX=yes
12357 case $host_os in
12358 aix3*)
12359 # FIXME: insert proper C++ library support
12360 ld_shlibs_CXX=no
12362 aix[4-9]*)
12363 if test "$host_cpu" = ia64; then
12364 # On IA64, the linker does run time linking by default, so we don't
12365 # have to do anything special.
12366 aix_use_runtimelinking=no
12367 exp_sym_flag='-Bexport'
12368 no_entry_flag=""
12369 else
12370 aix_use_runtimelinking=no
12372 # Test if we are trying to use run time linking or normal
12373 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12374 # need to do runtime linking.
12375 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12376 for ld_flag in $LDFLAGS; do
12377 case $ld_flag in
12378 *-brtl*)
12379 aix_use_runtimelinking=yes
12380 break
12382 esac
12383 done
12385 esac
12387 exp_sym_flag='-bexport'
12388 no_entry_flag='-bnoentry'
12391 # When large executables or shared objects are built, AIX ld can
12392 # have problems creating the table of contents. If linking a library
12393 # or program results in "error TOC overflow" add -mminimal-toc to
12394 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12395 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12397 archive_cmds_CXX=''
12398 hardcode_direct_CXX=yes
12399 hardcode_direct_absolute_CXX=yes
12400 hardcode_libdir_separator_CXX=':'
12401 link_all_deplibs_CXX=yes
12402 file_list_spec_CXX='${wl}-f,'
12404 if test "$GXX" = yes; then
12405 case $host_os in aix4.[012]|aix4.[012].*)
12406 # We only want to do this on AIX 4.2 and lower, the check
12407 # below for broken collect2 doesn't work under 4.3+
12408 collect2name=`${CC} -print-prog-name=collect2`
12409 if test -f "$collect2name" &&
12410 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12411 then
12412 # We have reworked collect2
12414 else
12415 # We have old collect2
12416 hardcode_direct_CXX=unsupported
12417 # It fails to find uninstalled libraries when the uninstalled
12418 # path is not listed in the libpath. Setting hardcode_minus_L
12419 # to unsupported forces relinking
12420 hardcode_minus_L_CXX=yes
12421 hardcode_libdir_flag_spec_CXX='-L$libdir'
12422 hardcode_libdir_separator_CXX=
12424 esac
12425 shared_flag='-shared'
12426 if test "$aix_use_runtimelinking" = yes; then
12427 shared_flag="$shared_flag "'${wl}-G'
12429 else
12430 # not using gcc
12431 if test "$host_cpu" = ia64; then
12432 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12433 # chokes on -Wl,-G. The following line is correct:
12434 shared_flag='-G'
12435 else
12436 if test "$aix_use_runtimelinking" = yes; then
12437 shared_flag='${wl}-G'
12438 else
12439 shared_flag='${wl}-bM:SRE'
12444 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12445 # It seems that -bexpall does not export symbols beginning with
12446 # underscore (_), so it is better to generate a list of symbols to
12447 # export.
12448 always_export_symbols_CXX=yes
12449 if test "$aix_use_runtimelinking" = yes; then
12450 # Warning - without using the other runtime loading flags (-brtl),
12451 # -berok will link without error, but may produce a broken library.
12452 allow_undefined_flag_CXX='-berok'
12453 # Determine the default libpath from the value encoded in an empty
12454 # executable.
12455 if test x$gcc_no_link = xyes; then
12456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12462 main ()
12466 return 0;
12468 _ACEOF
12469 if ac_fn_cxx_try_link "$LINENO"; then :
12471 lt_aix_libpath_sed='
12472 /Import File Strings/,/^$/ {
12473 /^0/ {
12474 s/^0 *\(.*\)$/\1/
12478 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12479 # Check for a 64-bit object if we didn't find anything.
12480 if test -z "$aix_libpath"; then
12481 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12488 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12490 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12491 else
12492 if test "$host_cpu" = ia64; then
12493 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12494 allow_undefined_flag_CXX="-z nodefs"
12495 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12496 else
12497 # Determine the default libpath from the value encoded in an
12498 # empty executable.
12499 if test x$gcc_no_link = xyes; then
12500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12506 main ()
12510 return 0;
12512 _ACEOF
12513 if ac_fn_cxx_try_link "$LINENO"; then :
12515 lt_aix_libpath_sed='
12516 /Import File Strings/,/^$/ {
12517 /^0/ {
12518 s/^0 *\(.*\)$/\1/
12522 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12523 # Check for a 64-bit object if we didn't find anything.
12524 if test -z "$aix_libpath"; then
12525 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12528 rm -f core conftest.err conftest.$ac_objext \
12529 conftest$ac_exeext conftest.$ac_ext
12530 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12532 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12533 # Warning - without using the other run time loading flags,
12534 # -berok will link without error, but may produce a broken library.
12535 no_undefined_flag_CXX=' ${wl}-bernotok'
12536 allow_undefined_flag_CXX=' ${wl}-berok'
12537 if test "$with_gnu_ld" = yes; then
12538 # We only use this code for GNU lds that support --whole-archive.
12539 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12540 else
12541 # Exported symbols can be pulled into shared objects from archives
12542 whole_archive_flag_spec_CXX='$convenience'
12544 archive_cmds_need_lc_CXX=yes
12545 # This is similar to how AIX traditionally builds its shared
12546 # libraries.
12547 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12552 beos*)
12553 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12554 allow_undefined_flag_CXX=unsupported
12555 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12556 # support --undefined. This deserves some investigation. FIXME
12557 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12558 else
12559 ld_shlibs_CXX=no
12563 chorus*)
12564 case $cc_basename in
12566 # FIXME: insert proper C++ library support
12567 ld_shlibs_CXX=no
12569 esac
12572 cygwin* | mingw* | pw32* | cegcc*)
12573 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12574 # as there is no search path for DLLs.
12575 hardcode_libdir_flag_spec_CXX='-L$libdir'
12576 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12577 allow_undefined_flag_CXX=unsupported
12578 always_export_symbols_CXX=no
12579 enable_shared_with_static_runtimes_CXX=yes
12581 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12582 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12583 # If the export-symbols file already is a .def file (1st line
12584 # is EXPORTS), use it as is; otherwise, prepend...
12585 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12586 cp $export_symbols $output_objdir/$soname.def;
12587 else
12588 echo EXPORTS > $output_objdir/$soname.def;
12589 cat $export_symbols >> $output_objdir/$soname.def;
12591 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12592 else
12593 ld_shlibs_CXX=no
12596 darwin* | rhapsody*)
12599 archive_cmds_need_lc_CXX=no
12600 hardcode_direct_CXX=no
12601 hardcode_automatic_CXX=yes
12602 hardcode_shlibpath_var_CXX=unsupported
12603 if test "$lt_cv_ld_force_load" = "yes"; then
12604 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12605 else
12606 whole_archive_flag_spec_CXX=''
12608 link_all_deplibs_CXX=yes
12609 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12610 case $cc_basename in
12611 ifort*) _lt_dar_can_shared=yes ;;
12612 *) _lt_dar_can_shared=$GCC ;;
12613 esac
12614 if test "$_lt_dar_can_shared" = "yes"; then
12615 output_verbose_link_cmd=func_echo_all
12616 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12617 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12618 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12619 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12620 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12621 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12622 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12625 else
12626 ld_shlibs_CXX=no
12631 dgux*)
12632 case $cc_basename in
12633 ec++*)
12634 # FIXME: insert proper C++ library support
12635 ld_shlibs_CXX=no
12637 ghcx*)
12638 # Green Hills C++ Compiler
12639 # FIXME: insert proper C++ library support
12640 ld_shlibs_CXX=no
12643 # FIXME: insert proper C++ library support
12644 ld_shlibs_CXX=no
12646 esac
12649 freebsd2.*)
12650 # C++ shared libraries reported to be fairly broken before
12651 # switch to ELF
12652 ld_shlibs_CXX=no
12655 freebsd-elf*)
12656 archive_cmds_need_lc_CXX=no
12659 freebsd* | dragonfly*)
12660 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12661 # conventions
12662 ld_shlibs_CXX=yes
12665 gnu*)
12668 haiku*)
12669 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12670 link_all_deplibs_CXX=yes
12673 hpux9*)
12674 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12675 hardcode_libdir_separator_CXX=:
12676 export_dynamic_flag_spec_CXX='${wl}-E'
12677 hardcode_direct_CXX=yes
12678 hardcode_minus_L_CXX=yes # Not in the search PATH,
12679 # but as the default
12680 # location of the library.
12682 case $cc_basename in
12683 CC*)
12684 # FIXME: insert proper C++ library support
12685 ld_shlibs_CXX=no
12687 aCC*)
12688 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12689 # Commands to make compiler produce verbose output that lists
12690 # what "hidden" libraries, object files and flags are used when
12691 # linking a shared library.
12693 # There doesn't appear to be a way to prevent this compiler from
12694 # explicitly linking system object files so we need to strip them
12695 # from the output so that they don't get included in the library
12696 # dependencies.
12697 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12700 if test "$GXX" = yes; then
12701 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12702 else
12703 # FIXME: insert proper C++ library support
12704 ld_shlibs_CXX=no
12707 esac
12710 hpux10*|hpux11*)
12711 if test $with_gnu_ld = no; then
12712 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12713 hardcode_libdir_separator_CXX=:
12715 case $host_cpu in
12716 hppa*64*|ia64*)
12719 export_dynamic_flag_spec_CXX='${wl}-E'
12721 esac
12723 case $host_cpu in
12724 hppa*64*|ia64*)
12725 hardcode_direct_CXX=no
12726 hardcode_shlibpath_var_CXX=no
12729 hardcode_direct_CXX=yes
12730 hardcode_direct_absolute_CXX=yes
12731 hardcode_minus_L_CXX=yes # Not in the search PATH,
12732 # but as the default
12733 # location of the library.
12735 esac
12737 case $cc_basename in
12738 CC*)
12739 # FIXME: insert proper C++ library support
12740 ld_shlibs_CXX=no
12742 aCC*)
12743 case $host_cpu in
12744 hppa*64*)
12745 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12747 ia64*)
12748 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12753 esac
12754 # Commands to make compiler produce verbose output that lists
12755 # what "hidden" libraries, object files and flags are used when
12756 # linking a shared library.
12758 # There doesn't appear to be a way to prevent this compiler from
12759 # explicitly linking system object files so we need to strip them
12760 # from the output so that they don't get included in the library
12761 # dependencies.
12762 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12765 if test "$GXX" = yes; then
12766 if test $with_gnu_ld = no; then
12767 case $host_cpu in
12768 hppa*64*)
12769 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12771 ia64*)
12772 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12775 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12777 esac
12779 else
12780 # FIXME: insert proper C++ library support
12781 ld_shlibs_CXX=no
12784 esac
12787 interix[3-9]*)
12788 hardcode_direct_CXX=no
12789 hardcode_shlibpath_var_CXX=no
12790 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12791 export_dynamic_flag_spec_CXX='${wl}-E'
12792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12793 # Instead, shared libraries are loaded at an image base (0x10000000 by
12794 # default) and relocated if they conflict, which is a slow very memory
12795 # consuming and fragmenting process. To avoid this, we pick a random,
12796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12798 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12799 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12801 irix5* | irix6*)
12802 case $cc_basename in
12803 CC*)
12804 # SGI C++
12805 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12807 # Archives containing C++ object files must be created using
12808 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12809 # necessary to make sure instantiated templates are included
12810 # in the archive.
12811 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12814 if test "$GXX" = yes; then
12815 if test "$with_gnu_ld" = no; then
12816 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12817 else
12818 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12821 link_all_deplibs_CXX=yes
12823 esac
12824 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12825 hardcode_libdir_separator_CXX=:
12826 inherit_rpath_CXX=yes
12829 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12830 case $cc_basename in
12831 KCC*)
12832 # Kuck and Associates, Inc. (KAI) C++ Compiler
12834 # KCC will only create a shared library if the output file
12835 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12836 # to its proper name (with version) after linking.
12837 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12838 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12839 # Commands to make compiler produce verbose output that lists
12840 # what "hidden" libraries, object files and flags are used when
12841 # linking a shared library.
12843 # There doesn't appear to be a way to prevent this compiler from
12844 # explicitly linking system object files so we need to strip them
12845 # from the output so that they don't get included in the library
12846 # dependencies.
12847 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12849 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12850 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12852 # Archives containing C++ object files must be created using
12853 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12854 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12856 icpc* | ecpc* )
12857 # Intel C++
12858 with_gnu_ld=yes
12859 # version 8.0 and above of icpc choke on multiply defined symbols
12860 # if we add $predep_objects and $postdep_objects, however 7.1 and
12861 # earlier do not add the objects themselves.
12862 case `$CC -V 2>&1` in
12863 *"Version 7."*)
12864 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12865 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12867 *) # Version 8.0 or newer
12868 tmp_idyn=
12869 case $host_cpu in
12870 ia64*) tmp_idyn=' -i_dynamic';;
12871 esac
12872 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12873 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12875 esac
12876 archive_cmds_need_lc_CXX=no
12877 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12878 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12879 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12881 pgCC* | pgcpp*)
12882 # Portland Group C++ compiler
12883 case `$CC -V` in
12884 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12885 prelink_cmds_CXX='tpldir=Template.dir~
12886 rm -rf $tpldir~
12887 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12888 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12889 old_archive_cmds_CXX='tpldir=Template.dir~
12890 rm -rf $tpldir~
12891 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12892 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12893 $RANLIB $oldlib'
12894 archive_cmds_CXX='tpldir=Template.dir~
12895 rm -rf $tpldir~
12896 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12897 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12898 archive_expsym_cmds_CXX='tpldir=Template.dir~
12899 rm -rf $tpldir~
12900 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12901 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12903 *) # Version 6 and above use weak symbols
12904 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12905 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12907 esac
12909 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12910 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12911 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12913 cxx*)
12914 # Compaq C++
12915 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12916 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12918 runpath_var=LD_RUN_PATH
12919 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12920 hardcode_libdir_separator_CXX=:
12922 # Commands to make compiler produce verbose output that lists
12923 # what "hidden" libraries, object files and flags are used when
12924 # linking a shared library.
12926 # There doesn't appear to be a way to prevent this compiler from
12927 # explicitly linking system object files so we need to strip them
12928 # from the output so that they don't get included in the library
12929 # dependencies.
12930 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12932 xl* | mpixl* | bgxl*)
12933 # IBM XL 8.0 on PPC, with GNU ld
12934 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12935 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12936 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12937 if test "x$supports_anon_versioning" = xyes; then
12938 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12939 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12940 echo "local: *; };" >> $output_objdir/$libname.ver~
12941 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12945 case `$CC -V 2>&1 | sed 5q` in
12946 *Sun\ C*)
12947 # Sun C++ 5.9
12948 no_undefined_flag_CXX=' -zdefs'
12949 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12950 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12951 hardcode_libdir_flag_spec_CXX='-R$libdir'
12952 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12953 compiler_needs_object_CXX=yes
12955 # Not sure whether something based on
12956 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12957 # would be better.
12958 output_verbose_link_cmd='func_echo_all'
12960 # Archives containing C++ object files must be created using
12961 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12962 # necessary to make sure instantiated templates are included
12963 # in the archive.
12964 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12966 esac
12968 esac
12971 lynxos*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12976 m88k*)
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12981 mvs*)
12982 case $cc_basename in
12983 cxx*)
12984 # FIXME: insert proper C++ library support
12985 ld_shlibs_CXX=no
12988 # FIXME: insert proper C++ library support
12989 ld_shlibs_CXX=no
12991 esac
12994 netbsd*)
12995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12996 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12997 wlarc=
12998 hardcode_libdir_flag_spec_CXX='-R$libdir'
12999 hardcode_direct_CXX=yes
13000 hardcode_shlibpath_var_CXX=no
13002 # Workaround some broken pre-1.5 toolchains
13003 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13006 *nto* | *qnx*)
13007 ld_shlibs_CXX=yes
13010 openbsd2*)
13011 # C++ shared libraries are fairly broken
13012 ld_shlibs_CXX=no
13015 openbsd*)
13016 if test -f /usr/libexec/ld.so; then
13017 hardcode_direct_CXX=yes
13018 hardcode_shlibpath_var_CXX=no
13019 hardcode_direct_absolute_CXX=yes
13020 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13021 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13022 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13023 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13024 export_dynamic_flag_spec_CXX='${wl}-E'
13025 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13027 output_verbose_link_cmd=func_echo_all
13028 else
13029 ld_shlibs_CXX=no
13033 osf3* | osf4* | osf5*)
13034 case $cc_basename in
13035 KCC*)
13036 # Kuck and Associates, Inc. (KAI) C++ Compiler
13038 # KCC will only create a shared library if the output file
13039 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13040 # to its proper name (with version) after linking.
13041 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13043 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13044 hardcode_libdir_separator_CXX=:
13046 # Archives containing C++ object files must be created using
13047 # the KAI C++ compiler.
13048 case $host in
13049 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13050 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13051 esac
13053 RCC*)
13054 # Rational C++ 2.4.1
13055 # FIXME: insert proper C++ library support
13056 ld_shlibs_CXX=no
13058 cxx*)
13059 case $host in
13060 osf3*)
13061 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13062 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13063 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13066 allow_undefined_flag_CXX=' -expect_unresolved \*'
13067 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13068 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13069 echo "-hidden">> $lib.exp~
13070 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13071 $RM $lib.exp'
13072 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13074 esac
13076 hardcode_libdir_separator_CXX=:
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13082 # There doesn't appear to be a way to prevent this compiler from
13083 # explicitly linking system object files so we need to strip them
13084 # from the output so that they don't get included in the library
13085 # dependencies.
13086 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13089 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13090 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13091 case $host in
13092 osf3*)
13093 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13096 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13098 esac
13100 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13101 hardcode_libdir_separator_CXX=:
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13108 else
13109 # FIXME: insert proper C++ library support
13110 ld_shlibs_CXX=no
13113 esac
13116 psos*)
13117 # FIXME: insert proper C++ library support
13118 ld_shlibs_CXX=no
13121 sunos4*)
13122 case $cc_basename in
13123 CC*)
13124 # Sun C++ 4.x
13125 # FIXME: insert proper C++ library support
13126 ld_shlibs_CXX=no
13128 lcc*)
13129 # Lucid
13130 # FIXME: insert proper C++ library support
13131 ld_shlibs_CXX=no
13134 # FIXME: insert proper C++ library support
13135 ld_shlibs_CXX=no
13137 esac
13140 solaris*)
13141 case $cc_basename in
13142 CC*)
13143 # Sun C++ 4.2, 5.x and Centerline C++
13144 archive_cmds_need_lc_CXX=yes
13145 no_undefined_flag_CXX=' -zdefs'
13146 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13147 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13148 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13150 hardcode_libdir_flag_spec_CXX='-R$libdir'
13151 hardcode_shlibpath_var_CXX=no
13152 case $host_os in
13153 solaris2.[0-5] | solaris2.[0-5].*) ;;
13155 # The compiler driver will combine and reorder linker options,
13156 # but understands `-z linker_flag'.
13157 # Supported since Solaris 2.6 (maybe 2.5.1?)
13158 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13160 esac
13161 link_all_deplibs_CXX=yes
13163 output_verbose_link_cmd='func_echo_all'
13165 # Archives containing C++ object files must be created using
13166 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13167 # necessary to make sure instantiated templates are included
13168 # in the archive.
13169 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13171 gcx*)
13172 # Green Hills C++ Compiler
13173 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13175 # The C++ compiler must be used to create the archive.
13176 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13179 # GNU C++ compiler with Solaris linker
13180 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13181 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13182 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13183 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13184 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13185 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13187 # Commands to make compiler produce verbose output that lists
13188 # what "hidden" libraries, object files and flags are used when
13189 # linking a shared library.
13190 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13191 else
13192 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13193 # platform.
13194 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13195 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13196 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13198 # Commands to make compiler produce verbose output that lists
13199 # what "hidden" libraries, object files and flags are used when
13200 # linking a shared library.
13201 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13204 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13205 case $host_os in
13206 solaris2.[0-5] | solaris2.[0-5].*) ;;
13208 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13210 esac
13213 esac
13216 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13217 no_undefined_flag_CXX='${wl}-z,text'
13218 archive_cmds_need_lc_CXX=no
13219 hardcode_shlibpath_var_CXX=no
13220 runpath_var='LD_RUN_PATH'
13222 case $cc_basename in
13223 CC*)
13224 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13231 esac
13234 sysv5* | sco3.2v5* | sco5v6*)
13235 # Note: We can NOT use -z defs as we might desire, because we do not
13236 # link with -lc, and that would cause any symbols used from libc to
13237 # always be unresolved, which means just about no library would
13238 # ever link correctly. If we're not using GNU ld we use -z text
13239 # though, which does catch some bad symbols but isn't as heavy-handed
13240 # as -z defs.
13241 no_undefined_flag_CXX='${wl}-z,text'
13242 allow_undefined_flag_CXX='${wl}-z,nodefs'
13243 archive_cmds_need_lc_CXX=no
13244 hardcode_shlibpath_var_CXX=no
13245 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13246 hardcode_libdir_separator_CXX=':'
13247 link_all_deplibs_CXX=yes
13248 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13249 runpath_var='LD_RUN_PATH'
13251 case $cc_basename in
13252 CC*)
13253 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13255 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13256 '"$old_archive_cmds_CXX"
13257 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13258 '"$reload_cmds_CXX"
13261 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13264 esac
13267 tandem*)
13268 case $cc_basename in
13269 NCC*)
13270 # NonStop-UX NCC 3.20
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13278 esac
13281 vxworks*)
13282 # FIXME: insert proper C++ library support
13283 ld_shlibs_CXX=no
13287 # FIXME: insert proper C++ library support
13288 ld_shlibs_CXX=no
13290 esac
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13293 $as_echo "$ld_shlibs_CXX" >&6; }
13294 test "$ld_shlibs_CXX" = no && can_build_shared=no
13296 GCC_CXX="$GXX"
13297 LD_CXX="$LD"
13299 ## CAVEAT EMPTOR:
13300 ## There is no encapsulation within the following macros, do not change
13301 ## the running order or otherwise move them around unless you know exactly
13302 ## what you are doing...
13303 # Dependencies to place before and after the object being linked:
13304 predep_objects_CXX=
13305 postdep_objects_CXX=
13306 predeps_CXX=
13307 postdeps_CXX=
13308 compiler_lib_search_path_CXX=
13310 cat > conftest.$ac_ext <<_LT_EOF
13311 class Foo
13313 public:
13314 Foo (void) { a = 0; }
13315 private:
13316 int a;
13318 _LT_EOF
13320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13321 (eval $ac_compile) 2>&5
13322 ac_status=$?
13323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13324 test $ac_status = 0; }; then
13325 # Parse the compiler output and extract the necessary
13326 # objects, libraries and library flags.
13328 # Sentinel used to keep track of whether or not we are before
13329 # the conftest object file.
13330 pre_test_object_deps_done=no
13332 for p in `eval "$output_verbose_link_cmd"`; do
13333 case $p in
13335 -L* | -R* | -l*)
13336 # Some compilers place space between "-{L,R}" and the path.
13337 # Remove the space.
13338 if test $p = "-L" ||
13339 test $p = "-R"; then
13340 prev=$p
13341 continue
13342 else
13343 prev=
13346 if test "$pre_test_object_deps_done" = no; then
13347 case $p in
13348 -L* | -R*)
13349 # Internal compiler library paths should come after those
13350 # provided the user. The postdeps already come after the
13351 # user supplied libs so there is no need to process them.
13352 if test -z "$compiler_lib_search_path_CXX"; then
13353 compiler_lib_search_path_CXX="${prev}${p}"
13354 else
13355 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13358 # The "-l" case would never come before the object being
13359 # linked, so don't bother handling this case.
13360 esac
13361 else
13362 if test -z "$postdeps_CXX"; then
13363 postdeps_CXX="${prev}${p}"
13364 else
13365 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13370 *.$objext)
13371 # This assumes that the test object file only shows up
13372 # once in the compiler output.
13373 if test "$p" = "conftest.$objext"; then
13374 pre_test_object_deps_done=yes
13375 continue
13378 if test "$pre_test_object_deps_done" = no; then
13379 if test -z "$predep_objects_CXX"; then
13380 predep_objects_CXX="$p"
13381 else
13382 predep_objects_CXX="$predep_objects_CXX $p"
13384 else
13385 if test -z "$postdep_objects_CXX"; then
13386 postdep_objects_CXX="$p"
13387 else
13388 postdep_objects_CXX="$postdep_objects_CXX $p"
13393 *) ;; # Ignore the rest.
13395 esac
13396 done
13398 # Clean up.
13399 rm -f a.out a.exe
13400 else
13401 echo "libtool.m4: error: problem compiling CXX test program"
13404 $RM -f confest.$objext
13406 # PORTME: override above test on systems where it is broken
13407 case $host_os in
13408 interix[3-9]*)
13409 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13410 # hack all around it, let's just trust "g++" to DTRT.
13411 predep_objects_CXX=
13412 postdep_objects_CXX=
13413 postdeps_CXX=
13416 linux*)
13417 case `$CC -V 2>&1 | sed 5q` in
13418 *Sun\ C*)
13419 # Sun C++ 5.9
13421 # The more standards-conforming stlport4 library is
13422 # incompatible with the Cstd library. Avoid specifying
13423 # it if it's in CXXFLAGS. Ignore libCrun as
13424 # -library=stlport4 depends on it.
13425 case " $CXX $CXXFLAGS " in
13426 *" -library=stlport4 "*)
13427 solaris_use_stlport4=yes
13429 esac
13431 if test "$solaris_use_stlport4" != yes; then
13432 postdeps_CXX='-library=Cstd -library=Crun'
13435 esac
13438 solaris*)
13439 case $cc_basename in
13440 CC*)
13441 # The more standards-conforming stlport4 library is
13442 # incompatible with the Cstd library. Avoid specifying
13443 # it if it's in CXXFLAGS. Ignore libCrun as
13444 # -library=stlport4 depends on it.
13445 case " $CXX $CXXFLAGS " in
13446 *" -library=stlport4 "*)
13447 solaris_use_stlport4=yes
13449 esac
13451 # Adding this requires a known-good setup of shared libraries for
13452 # Sun compiler versions before 5.6, else PIC objects from an old
13453 # archive will be linked into the output, leading to subtle bugs.
13454 if test "$solaris_use_stlport4" != yes; then
13455 postdeps_CXX='-library=Cstd -library=Crun'
13458 esac
13460 esac
13463 case " $postdeps_CXX " in
13464 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13465 esac
13466 compiler_lib_search_dirs_CXX=
13467 if test -n "${compiler_lib_search_path_CXX}"; then
13468 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13501 lt_prog_compiler_wl_CXX=
13502 lt_prog_compiler_pic_CXX=
13503 lt_prog_compiler_static_CXX=
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13506 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13508 # C++ specific cases for pic, static, wl, etc.
13509 if test "$GXX" = yes; then
13510 lt_prog_compiler_wl_CXX='-Wl,'
13511 lt_prog_compiler_static_CXX='-static'
13513 case $host_os in
13514 aix*)
13515 # All AIX code is PIC.
13516 if test "$host_cpu" = ia64; then
13517 # AIX 5 now supports IA64 processor
13518 lt_prog_compiler_static_CXX='-Bstatic'
13520 lt_prog_compiler_pic_CXX='-fPIC'
13523 amigaos*)
13524 case $host_cpu in
13525 powerpc)
13526 # see comment about AmigaOS4 .so support
13527 lt_prog_compiler_pic_CXX='-fPIC'
13529 m68k)
13530 # FIXME: we need at least 68020 code to build shared libraries, but
13531 # adding the `-m68020' flag to GCC prevents building anything better,
13532 # like `-m68040'.
13533 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13535 esac
13538 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13539 # PIC is the default for these OSes.
13541 mingw* | cygwin* | os2* | pw32* | cegcc*)
13542 # This hack is so that the source file can tell whether it is being
13543 # built for inclusion in a dll (and should export symbols for example).
13544 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13545 # (--disable-auto-import) libraries
13546 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13548 darwin* | rhapsody*)
13549 # PIC is the default on this platform
13550 # Common symbols not allowed in MH_DYLIB files
13551 lt_prog_compiler_pic_CXX='-fno-common'
13553 *djgpp*)
13554 # DJGPP does not support shared libraries at all
13555 lt_prog_compiler_pic_CXX=
13557 haiku*)
13558 # PIC is the default for Haiku.
13559 # The "-static" flag exists, but is broken.
13560 lt_prog_compiler_static_CXX=
13562 interix[3-9]*)
13563 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13564 # Instead, we relocate shared libraries at runtime.
13566 sysv4*MP*)
13567 if test -d /usr/nec; then
13568 lt_prog_compiler_pic_CXX=-Kconform_pic
13571 hpux*)
13572 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13573 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13574 # sets the default TLS model and affects inlining.
13575 case $host_cpu in
13576 hppa*64*)
13579 lt_prog_compiler_pic_CXX='-fPIC'
13581 esac
13583 *qnx* | *nto*)
13584 # QNX uses GNU C++, but need to define -shared option too, otherwise
13585 # it will coredump.
13586 lt_prog_compiler_pic_CXX='-fPIC -shared'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13591 esac
13592 else
13593 case $host_os in
13594 aix[4-9]*)
13595 # All AIX code is PIC.
13596 if test "$host_cpu" = ia64; then
13597 # AIX 5 now supports IA64 processor
13598 lt_prog_compiler_static_CXX='-Bstatic'
13599 else
13600 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13603 chorus*)
13604 case $cc_basename in
13605 cxch68*)
13606 # Green Hills C++ Compiler
13607 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13609 esac
13611 dgux*)
13612 case $cc_basename in
13613 ec++*)
13614 lt_prog_compiler_pic_CXX='-KPIC'
13616 ghcx*)
13617 # Green Hills C++ Compiler
13618 lt_prog_compiler_pic_CXX='-pic'
13622 esac
13624 freebsd* | dragonfly*)
13625 # FreeBSD uses GNU C++
13627 hpux9* | hpux10* | hpux11*)
13628 case $cc_basename in
13629 CC*)
13630 lt_prog_compiler_wl_CXX='-Wl,'
13631 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13632 if test "$host_cpu" != ia64; then
13633 lt_prog_compiler_pic_CXX='+Z'
13636 aCC*)
13637 lt_prog_compiler_wl_CXX='-Wl,'
13638 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13639 case $host_cpu in
13640 hppa*64*|ia64*)
13641 # +Z the default
13644 lt_prog_compiler_pic_CXX='+Z'
13646 esac
13650 esac
13652 interix*)
13653 # This is c89, which is MS Visual C++ (no shared libs)
13654 # Anyone wants to do a port?
13656 irix5* | irix6* | nonstopux*)
13657 case $cc_basename in
13658 CC*)
13659 lt_prog_compiler_wl_CXX='-Wl,'
13660 lt_prog_compiler_static_CXX='-non_shared'
13661 # CC pic flag -KPIC is the default.
13665 esac
13667 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13668 case $cc_basename in
13669 KCC*)
13670 # KAI C++ Compiler
13671 lt_prog_compiler_wl_CXX='--backend -Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13674 ecpc* )
13675 # old Intel C++ for x86_64 which still supported -KPIC.
13676 lt_prog_compiler_wl_CXX='-Wl,'
13677 lt_prog_compiler_pic_CXX='-KPIC'
13678 lt_prog_compiler_static_CXX='-static'
13680 icpc* )
13681 # Intel C++, used to be incompatible with GCC.
13682 # ICC 10 doesn't accept -KPIC any more.
13683 lt_prog_compiler_wl_CXX='-Wl,'
13684 lt_prog_compiler_pic_CXX='-fPIC'
13685 lt_prog_compiler_static_CXX='-static'
13687 pgCC* | pgcpp*)
13688 # Portland Group C++ compiler
13689 lt_prog_compiler_wl_CXX='-Wl,'
13690 lt_prog_compiler_pic_CXX='-fpic'
13691 lt_prog_compiler_static_CXX='-Bstatic'
13693 cxx*)
13694 # Compaq C++
13695 # Make sure the PIC flag is empty. It appears that all Alpha
13696 # Linux and Compaq Tru64 Unix objects are PIC.
13697 lt_prog_compiler_pic_CXX=
13698 lt_prog_compiler_static_CXX='-non_shared'
13700 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13701 # IBM XL 8.0, 9.0 on PPC and BlueGene
13702 lt_prog_compiler_wl_CXX='-Wl,'
13703 lt_prog_compiler_pic_CXX='-qpic'
13704 lt_prog_compiler_static_CXX='-qstaticlink'
13707 case `$CC -V 2>&1 | sed 5q` in
13708 *Sun\ C*)
13709 # Sun C++ 5.9
13710 lt_prog_compiler_pic_CXX='-KPIC'
13711 lt_prog_compiler_static_CXX='-Bstatic'
13712 lt_prog_compiler_wl_CXX='-Qoption ld '
13714 esac
13716 esac
13718 lynxos*)
13720 m88k*)
13722 mvs*)
13723 case $cc_basename in
13724 cxx*)
13725 lt_prog_compiler_pic_CXX='-W c,exportall'
13729 esac
13731 netbsd*)
13733 *qnx* | *nto*)
13734 # QNX uses GNU C++, but need to define -shared option too, otherwise
13735 # it will coredump.
13736 lt_prog_compiler_pic_CXX='-fPIC -shared'
13738 osf3* | osf4* | osf5*)
13739 case $cc_basename in
13740 KCC*)
13741 lt_prog_compiler_wl_CXX='--backend -Wl,'
13743 RCC*)
13744 # Rational C++ 2.4.1
13745 lt_prog_compiler_pic_CXX='-pic'
13747 cxx*)
13748 # Digital/Compaq C++
13749 lt_prog_compiler_wl_CXX='-Wl,'
13750 # Make sure the PIC flag is empty. It appears that all Alpha
13751 # Linux and Compaq Tru64 Unix objects are PIC.
13752 lt_prog_compiler_pic_CXX=
13753 lt_prog_compiler_static_CXX='-non_shared'
13757 esac
13759 psos*)
13761 solaris*)
13762 case $cc_basename in
13763 CC*)
13764 # Sun C++ 4.2, 5.x and Centerline C++
13765 lt_prog_compiler_pic_CXX='-KPIC'
13766 lt_prog_compiler_static_CXX='-Bstatic'
13767 lt_prog_compiler_wl_CXX='-Qoption ld '
13769 gcx*)
13770 # Green Hills C++ Compiler
13771 lt_prog_compiler_pic_CXX='-PIC'
13775 esac
13777 sunos4*)
13778 case $cc_basename in
13779 CC*)
13780 # Sun C++ 4.x
13781 lt_prog_compiler_pic_CXX='-pic'
13782 lt_prog_compiler_static_CXX='-Bstatic'
13784 lcc*)
13785 # Lucid
13786 lt_prog_compiler_pic_CXX='-pic'
13790 esac
13792 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13793 case $cc_basename in
13794 CC*)
13795 lt_prog_compiler_wl_CXX='-Wl,'
13796 lt_prog_compiler_pic_CXX='-KPIC'
13797 lt_prog_compiler_static_CXX='-Bstatic'
13799 esac
13801 tandem*)
13802 case $cc_basename in
13803 NCC*)
13804 # NonStop-UX NCC 3.20
13805 lt_prog_compiler_pic_CXX='-KPIC'
13809 esac
13811 vxworks*)
13814 lt_prog_compiler_can_build_shared_CXX=no
13816 esac
13819 case $host_os in
13820 # For platforms which do not support PIC, -DPIC is meaningless:
13821 *djgpp*)
13822 lt_prog_compiler_pic_CXX=
13825 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13827 esac
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13829 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13834 # Check to make sure the PIC flag actually works.
13836 if test -n "$lt_prog_compiler_pic_CXX"; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13838 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13839 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 lt_cv_prog_compiler_pic_works_CXX=no
13843 ac_outfile=conftest.$ac_objext
13844 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13845 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13846 # Insert the option either (1) after the last *FLAGS variable, or
13847 # (2) before a word containing "conftest.", or (3) at the end.
13848 # Note that $ac_compile itself does not contain backslashes and begins
13849 # with a dollar sign (not a hyphen), so the echo should work correctly.
13850 # The option is referenced via a variable to avoid confusing sed.
13851 lt_compile=`echo "$ac_compile" | $SED \
13852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13854 -e 's:$: $lt_compiler_flag:'`
13855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13856 (eval "$lt_compile" 2>conftest.err)
13857 ac_status=$?
13858 cat conftest.err >&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 if (exit $ac_status) && test -s "$ac_outfile"; then
13861 # The compiler can only warn and ignore the option if not recognized
13862 # So say no if there are warnings other than the usual output.
13863 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13864 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13865 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13866 lt_cv_prog_compiler_pic_works_CXX=yes
13869 $RM conftest*
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13873 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13875 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13876 case $lt_prog_compiler_pic_CXX in
13877 "" | " "*) ;;
13878 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13879 esac
13880 else
13881 lt_prog_compiler_pic_CXX=
13882 lt_prog_compiler_can_build_shared_CXX=no
13890 # Check to make sure the static flag actually works.
13892 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13894 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13895 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 lt_cv_prog_compiler_static_works_CXX=no
13899 save_LDFLAGS="$LDFLAGS"
13900 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13901 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13902 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13903 # The linker can only warn and ignore the option if not recognized
13904 # So say no if there are warnings
13905 if test -s conftest.err; then
13906 # Append any errors to the config.log.
13907 cat conftest.err 1>&5
13908 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13909 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13910 if diff conftest.exp conftest.er2 >/dev/null; then
13911 lt_cv_prog_compiler_static_works_CXX=yes
13913 else
13914 lt_cv_prog_compiler_static_works_CXX=yes
13917 $RM -r conftest*
13918 LDFLAGS="$save_LDFLAGS"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13922 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13924 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13926 else
13927 lt_prog_compiler_static_CXX=
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13934 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13935 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13936 $as_echo_n "(cached) " >&6
13937 else
13938 lt_cv_prog_compiler_c_o_CXX=no
13939 $RM -r conftest 2>/dev/null
13940 mkdir conftest
13941 cd conftest
13942 mkdir out
13943 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13945 lt_compiler_flag="-o out/conftest2.$ac_objext"
13946 # Insert the option either (1) after the last *FLAGS variable, or
13947 # (2) before a word containing "conftest.", or (3) at the end.
13948 # Note that $ac_compile itself does not contain backslashes and begins
13949 # with a dollar sign (not a hyphen), so the echo should work correctly.
13950 lt_compile=`echo "$ac_compile" | $SED \
13951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13953 -e 's:$: $lt_compiler_flag:'`
13954 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13955 (eval "$lt_compile" 2>out/conftest.err)
13956 ac_status=$?
13957 cat out/conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13960 then
13961 # The compiler can only warn and ignore the option if not recognized
13962 # So say no if there are warnings
13963 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13964 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13965 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13966 lt_cv_prog_compiler_c_o_CXX=yes
13969 chmod u+w . 2>&5
13970 $RM conftest*
13971 # SGI C++ compiler will create directory out/ii_files/ for
13972 # template instantiation
13973 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13974 $RM out/* && rmdir out
13975 cd ..
13976 $RM -r conftest
13977 $RM conftest*
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13981 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13986 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13987 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 lt_cv_prog_compiler_c_o_CXX=no
13991 $RM -r conftest 2>/dev/null
13992 mkdir conftest
13993 cd conftest
13994 mkdir out
13995 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13997 lt_compiler_flag="-o out/conftest2.$ac_objext"
13998 # Insert the option either (1) after the last *FLAGS variable, or
13999 # (2) before a word containing "conftest.", or (3) at the end.
14000 # Note that $ac_compile itself does not contain backslashes and begins
14001 # with a dollar sign (not a hyphen), so the echo should work correctly.
14002 lt_compile=`echo "$ac_compile" | $SED \
14003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14005 -e 's:$: $lt_compiler_flag:'`
14006 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14007 (eval "$lt_compile" 2>out/conftest.err)
14008 ac_status=$?
14009 cat out/conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14012 then
14013 # The compiler can only warn and ignore the option if not recognized
14014 # So say no if there are warnings
14015 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14016 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14017 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14018 lt_cv_prog_compiler_c_o_CXX=yes
14021 chmod u+w . 2>&5
14022 $RM conftest*
14023 # SGI C++ compiler will create directory out/ii_files/ for
14024 # template instantiation
14025 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14026 $RM out/* && rmdir out
14027 cd ..
14028 $RM -r conftest
14029 $RM conftest*
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14033 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14038 hard_links="nottested"
14039 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14040 # do not overwrite the value of need_locks provided by the user
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14042 $as_echo_n "checking if we can lock with hard links... " >&6; }
14043 hard_links=yes
14044 $RM conftest*
14045 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14046 touch conftest.a
14047 ln conftest.a conftest.b 2>&5 || hard_links=no
14048 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14050 $as_echo "$hard_links" >&6; }
14051 if test "$hard_links" = no; then
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14053 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14054 need_locks=warn
14056 else
14057 need_locks=no
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14063 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14065 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14066 case $host_os in
14067 aix[4-9]*)
14068 # If we're using GNU nm, then we don't want the "-C" option.
14069 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14070 # Also, AIX nm treats weak defined symbols like other global defined
14071 # symbols, whereas GNU nm marks them as "W".
14072 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14073 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14074 else
14075 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14078 pw32*)
14079 export_symbols_cmds_CXX="$ltdll_cmds"
14081 cygwin* | mingw* | cegcc*)
14082 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14085 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14087 esac
14088 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14091 $as_echo "$ld_shlibs_CXX" >&6; }
14092 test "$ld_shlibs_CXX" = no && can_build_shared=no
14094 with_gnu_ld_CXX=$with_gnu_ld
14102 # Do we need to explicitly link libc?
14104 case "x$archive_cmds_need_lc_CXX" in
14105 x|xyes)
14106 # Assume -lc should be added
14107 archive_cmds_need_lc_CXX=yes
14109 if test "$enable_shared" = yes && test "$GCC" = yes; then
14110 case $archive_cmds_CXX in
14111 *'~'*)
14112 # FIXME: we may have to deal with multi-command sequences.
14114 '$CC '*)
14115 # Test whether the compiler implicitly links with -lc since on some
14116 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14117 # to ld, don't add -lc before -lgcc.
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14119 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14120 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 $RM conftest*
14124 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14127 (eval $ac_compile) 2>&5
14128 ac_status=$?
14129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14130 test $ac_status = 0; } 2>conftest.err; then
14131 soname=conftest
14132 lib=conftest
14133 libobjs=conftest.$ac_objext
14134 deplibs=
14135 wl=$lt_prog_compiler_wl_CXX
14136 pic_flag=$lt_prog_compiler_pic_CXX
14137 compiler_flags=-v
14138 linker_flags=-v
14139 verstring=
14140 output_objdir=.
14141 libname=conftest
14142 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14143 allow_undefined_flag_CXX=
14144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14145 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14146 ac_status=$?
14147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148 test $ac_status = 0; }
14149 then
14150 lt_cv_archive_cmds_need_lc_CXX=no
14151 else
14152 lt_cv_archive_cmds_need_lc_CXX=yes
14154 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14155 else
14156 cat conftest.err 1>&5
14158 $RM conftest*
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14162 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14163 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14165 esac
14168 esac
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14234 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14236 library_names_spec=
14237 libname_spec='lib$name'
14238 soname_spec=
14239 shrext_cmds=".so"
14240 postinstall_cmds=
14241 postuninstall_cmds=
14242 finish_cmds=
14243 finish_eval=
14244 shlibpath_var=
14245 shlibpath_overrides_runpath=unknown
14246 version_type=none
14247 dynamic_linker="$host_os ld.so"
14248 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14249 need_lib_prefix=unknown
14250 hardcode_into_libs=no
14252 # when you set need_version to no, make sure it does not cause -set_version
14253 # flags to be left without arguments
14254 need_version=unknown
14256 case $host_os in
14257 aix3*)
14258 version_type=linux
14259 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14260 shlibpath_var=LIBPATH
14262 # AIX 3 has no versioning support, so we append a major version to the name.
14263 soname_spec='${libname}${release}${shared_ext}$major'
14266 aix[4-9]*)
14267 version_type=linux
14268 need_lib_prefix=no
14269 need_version=no
14270 hardcode_into_libs=yes
14271 if test "$host_cpu" = ia64; then
14272 # AIX 5 supports IA64
14273 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14274 shlibpath_var=LD_LIBRARY_PATH
14275 else
14276 # With GCC up to 2.95.x, collect2 would create an import file
14277 # for dependence libraries. The import file would start with
14278 # the line `#! .'. This would cause the generated library to
14279 # depend on `.', always an invalid library. This was fixed in
14280 # development snapshots of GCC prior to 3.0.
14281 case $host_os in
14282 aix4 | aix4.[01] | aix4.[01].*)
14283 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14284 echo ' yes '
14285 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14287 else
14288 can_build_shared=no
14291 esac
14292 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14293 # soname into executable. Probably we can add versioning support to
14294 # collect2, so additional links can be useful in future.
14295 if test "$aix_use_runtimelinking" = yes; then
14296 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14297 # instead of lib<name>.a to let people know that these are not
14298 # typical AIX shared libraries.
14299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14300 else
14301 # We preserve .a as extension for shared libraries through AIX4.2
14302 # and later when we are not doing run time linking.
14303 library_names_spec='${libname}${release}.a $libname.a'
14304 soname_spec='${libname}${release}${shared_ext}$major'
14306 shlibpath_var=LIBPATH
14310 amigaos*)
14311 case $host_cpu in
14312 powerpc)
14313 # Since July 2007 AmigaOS4 officially supports .so libraries.
14314 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14317 m68k)
14318 library_names_spec='$libname.ixlibrary $libname.a'
14319 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14320 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14322 esac
14325 beos*)
14326 library_names_spec='${libname}${shared_ext}'
14327 dynamic_linker="$host_os ld.so"
14328 shlibpath_var=LIBRARY_PATH
14331 bsdi[45]*)
14332 version_type=linux
14333 need_version=no
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 soname_spec='${libname}${release}${shared_ext}$major'
14336 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14337 shlibpath_var=LD_LIBRARY_PATH
14338 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14339 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14340 # the default ld.so.conf also contains /usr/contrib/lib and
14341 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14342 # libtool to hard-code these into programs
14345 cygwin* | mingw* | pw32* | cegcc*)
14346 version_type=windows
14347 shrext_cmds=".dll"
14348 need_version=no
14349 need_lib_prefix=no
14351 case $GCC,$host_os in
14352 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14353 library_names_spec='$libname.dll.a'
14354 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14355 postinstall_cmds='base_file=`basename \${file}`~
14356 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14357 dldir=$destdir/`dirname \$dlpath`~
14358 test -d \$dldir || mkdir -p \$dldir~
14359 $install_prog $dir/$dlname \$dldir/$dlname~
14360 chmod a+x \$dldir/$dlname~
14361 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14362 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14364 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14365 dlpath=$dir/\$dldll~
14366 $RM \$dlpath'
14367 shlibpath_overrides_runpath=yes
14369 case $host_os in
14370 cygwin*)
14371 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14372 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14375 mingw* | cegcc*)
14376 # MinGW DLLs use traditional 'lib' prefix
14377 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14379 pw32*)
14380 # pw32 DLLs use 'pw' prefix rather than 'lib'
14381 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14383 esac
14387 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14389 esac
14390 dynamic_linker='Win32 ld.exe'
14391 # FIXME: first we should search . and the directory the executable is in
14392 shlibpath_var=PATH
14395 darwin* | rhapsody*)
14396 dynamic_linker="$host_os dyld"
14397 version_type=darwin
14398 need_lib_prefix=no
14399 need_version=no
14400 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14401 soname_spec='${libname}${release}${major}$shared_ext'
14402 shlibpath_overrides_runpath=yes
14403 shlibpath_var=DYLD_LIBRARY_PATH
14404 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14406 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14409 dgux*)
14410 version_type=linux
14411 need_lib_prefix=no
14412 need_version=no
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 shlibpath_var=LD_LIBRARY_PATH
14418 freebsd* | dragonfly*)
14419 # DragonFly does not have aout. When/if they implement a new
14420 # versioning mechanism, adjust this.
14421 if test -x /usr/bin/objformat; then
14422 objformat=`/usr/bin/objformat`
14423 else
14424 case $host_os in
14425 freebsd[23].*) objformat=aout ;;
14426 *) objformat=elf ;;
14427 esac
14429 version_type=freebsd-$objformat
14430 case $version_type in
14431 freebsd-elf*)
14432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14433 need_version=no
14434 need_lib_prefix=no
14436 freebsd-*)
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14438 need_version=yes
14440 esac
14441 shlibpath_var=LD_LIBRARY_PATH
14442 case $host_os in
14443 freebsd2.*)
14444 shlibpath_overrides_runpath=yes
14446 freebsd3.[01]* | freebsdelf3.[01]*)
14447 shlibpath_overrides_runpath=yes
14448 hardcode_into_libs=yes
14450 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14451 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14452 shlibpath_overrides_runpath=no
14453 hardcode_into_libs=yes
14455 *) # from 4.6 on, and DragonFly
14456 shlibpath_overrides_runpath=yes
14457 hardcode_into_libs=yes
14459 esac
14462 gnu*)
14463 version_type=linux
14464 need_lib_prefix=no
14465 need_version=no
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 shlibpath_var=LD_LIBRARY_PATH
14469 hardcode_into_libs=yes
14472 haiku*)
14473 version_type=linux
14474 need_lib_prefix=no
14475 need_version=no
14476 dynamic_linker="$host_os runtime_loader"
14477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14478 soname_spec='${libname}${release}${shared_ext}$major'
14479 shlibpath_var=LIBRARY_PATH
14480 shlibpath_overrides_runpath=yes
14481 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14482 hardcode_into_libs=yes
14485 hpux9* | hpux10* | hpux11*)
14486 # Give a soname corresponding to the major version so that dld.sl refuses to
14487 # link against other versions.
14488 version_type=sunos
14489 need_lib_prefix=no
14490 need_version=no
14491 case $host_cpu in
14492 ia64*)
14493 shrext_cmds='.so'
14494 hardcode_into_libs=yes
14495 dynamic_linker="$host_os dld.so"
14496 shlibpath_var=LD_LIBRARY_PATH
14497 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 if test "X$HPUX_IA64_MODE" = X32; then
14501 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14502 else
14503 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14505 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14507 hppa*64*)
14508 shrext_cmds='.sl'
14509 hardcode_into_libs=yes
14510 dynamic_linker="$host_os dld.sl"
14511 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14512 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14516 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14519 shrext_cmds='.sl'
14520 dynamic_linker="$host_os dld.sl"
14521 shlibpath_var=SHLIB_PATH
14522 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14526 esac
14527 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14528 postinstall_cmds='chmod 555 $lib'
14529 # or fails outright, so override atomically:
14530 install_override_mode=555
14533 interix[3-9]*)
14534 version_type=linux
14535 need_lib_prefix=no
14536 need_version=no
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14538 soname_spec='${libname}${release}${shared_ext}$major'
14539 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14540 shlibpath_var=LD_LIBRARY_PATH
14541 shlibpath_overrides_runpath=no
14542 hardcode_into_libs=yes
14545 irix5* | irix6* | nonstopux*)
14546 case $host_os in
14547 nonstopux*) version_type=nonstopux ;;
14549 if test "$lt_cv_prog_gnu_ld" = yes; then
14550 version_type=linux
14551 else
14552 version_type=irix
14553 fi ;;
14554 esac
14555 need_lib_prefix=no
14556 need_version=no
14557 soname_spec='${libname}${release}${shared_ext}$major'
14558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14559 case $host_os in
14560 irix5* | nonstopux*)
14561 libsuff= shlibsuff=
14564 case $LD in # libtool.m4 will add one of these switches to LD
14565 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14566 libsuff= shlibsuff= libmagic=32-bit;;
14567 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14568 libsuff=32 shlibsuff=N32 libmagic=N32;;
14569 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14570 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14571 *) libsuff= shlibsuff= libmagic=never-match;;
14572 esac
14574 esac
14575 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14576 shlibpath_overrides_runpath=no
14577 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14578 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14579 hardcode_into_libs=yes
14582 # No shared lib support for Linux oldld, aout, or coff.
14583 linux*oldld* | linux*aout* | linux*coff*)
14584 dynamic_linker=no
14587 # This must be Linux ELF.
14588 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14589 version_type=linux
14590 need_lib_prefix=no
14591 need_version=no
14592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14593 soname_spec='${libname}${release}${shared_ext}$major'
14594 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14595 shlibpath_var=LD_LIBRARY_PATH
14596 shlibpath_overrides_runpath=no
14598 # Some binutils ld are patched to set DT_RUNPATH
14599 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 lt_cv_shlibpath_overrides_runpath=no
14603 save_LDFLAGS=$LDFLAGS
14604 save_libdir=$libdir
14605 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14606 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14607 if test x$gcc_no_link = xyes; then
14608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14614 main ()
14618 return 0;
14620 _ACEOF
14621 if ac_fn_cxx_try_link "$LINENO"; then :
14622 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14623 lt_cv_shlibpath_overrides_runpath=yes
14626 rm -f core conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628 LDFLAGS=$save_LDFLAGS
14629 libdir=$save_libdir
14633 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14635 # This implies no fast_install, which is unacceptable.
14636 # Some rework will be needed to allow for fast_install
14637 # before this can be enabled.
14638 hardcode_into_libs=yes
14640 # Append ld.so.conf contents to the search path
14641 if test -f /etc/ld.so.conf; then
14642 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14643 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14646 # We used to test for /lib/ld.so.1 and disable shared libraries on
14647 # powerpc, because MkLinux only supported shared libraries with the
14648 # GNU dynamic linker. Since this was broken with cross compilers,
14649 # most powerpc-linux boxes support dynamic linking these days and
14650 # people can always --disable-shared, the test was removed, and we
14651 # assume the GNU/Linux dynamic linker is in use.
14652 dynamic_linker='GNU/Linux ld.so'
14655 netbsd*)
14656 version_type=sunos
14657 need_lib_prefix=no
14658 need_version=no
14659 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14661 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14662 dynamic_linker='NetBSD (a.out) ld.so'
14663 else
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 dynamic_linker='NetBSD ld.elf_so'
14668 shlibpath_var=LD_LIBRARY_PATH
14669 shlibpath_overrides_runpath=yes
14670 hardcode_into_libs=yes
14673 newsos6)
14674 version_type=linux
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 shlibpath_overrides_runpath=yes
14680 *nto* | *qnx*)
14681 version_type=qnx
14682 need_lib_prefix=no
14683 need_version=no
14684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14685 soname_spec='${libname}${release}${shared_ext}$major'
14686 shlibpath_var=LD_LIBRARY_PATH
14687 shlibpath_overrides_runpath=no
14688 hardcode_into_libs=yes
14689 dynamic_linker='ldqnx.so'
14692 openbsd*)
14693 version_type=sunos
14694 sys_lib_dlsearch_path_spec="/usr/lib"
14695 need_lib_prefix=no
14696 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14697 case $host_os in
14698 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14699 *) need_version=no ;;
14700 esac
14701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14703 shlibpath_var=LD_LIBRARY_PATH
14704 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14705 case $host_os in
14706 openbsd2.[89] | openbsd2.[89].*)
14707 shlibpath_overrides_runpath=no
14710 shlibpath_overrides_runpath=yes
14712 esac
14713 else
14714 shlibpath_overrides_runpath=yes
14718 os2*)
14719 libname_spec='$name'
14720 shrext_cmds=".dll"
14721 need_lib_prefix=no
14722 library_names_spec='$libname${shared_ext} $libname.a'
14723 dynamic_linker='OS/2 ld.exe'
14724 shlibpath_var=LIBPATH
14727 osf3* | osf4* | osf5*)
14728 version_type=osf
14729 need_lib_prefix=no
14730 need_version=no
14731 soname_spec='${libname}${release}${shared_ext}$major'
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 shlibpath_var=LD_LIBRARY_PATH
14734 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14735 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14738 rdos*)
14739 dynamic_linker=no
14742 solaris*)
14743 version_type=linux
14744 need_lib_prefix=no
14745 need_version=no
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 soname_spec='${libname}${release}${shared_ext}$major'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath=yes
14750 hardcode_into_libs=yes
14751 # ldd complains unless libraries are executable
14752 postinstall_cmds='chmod +x $lib'
14755 sunos4*)
14756 version_type=sunos
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14758 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 shlibpath_overrides_runpath=yes
14761 if test "$with_gnu_ld" = yes; then
14762 need_lib_prefix=no
14764 need_version=yes
14767 sysv4 | sysv4.3*)
14768 version_type=linux
14769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14770 soname_spec='${libname}${release}${shared_ext}$major'
14771 shlibpath_var=LD_LIBRARY_PATH
14772 case $host_vendor in
14773 sni)
14774 shlibpath_overrides_runpath=no
14775 need_lib_prefix=no
14776 runpath_var=LD_RUN_PATH
14778 siemens)
14779 need_lib_prefix=no
14781 motorola)
14782 need_lib_prefix=no
14783 need_version=no
14784 shlibpath_overrides_runpath=no
14785 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14787 esac
14790 sysv4*MP*)
14791 if test -d /usr/nec ;then
14792 version_type=linux
14793 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14794 soname_spec='$libname${shared_ext}.$major'
14795 shlibpath_var=LD_LIBRARY_PATH
14799 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14800 version_type=freebsd-elf
14801 need_lib_prefix=no
14802 need_version=no
14803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14804 soname_spec='${libname}${release}${shared_ext}$major'
14805 shlibpath_var=LD_LIBRARY_PATH
14806 shlibpath_overrides_runpath=yes
14807 hardcode_into_libs=yes
14808 if test "$with_gnu_ld" = yes; then
14809 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14810 else
14811 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14812 case $host_os in
14813 sco3.2v5*)
14814 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14816 esac
14818 sys_lib_dlsearch_path_spec='/usr/lib'
14821 tpf*)
14822 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14823 version_type=linux
14824 need_lib_prefix=no
14825 need_version=no
14826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14827 shlibpath_var=LD_LIBRARY_PATH
14828 shlibpath_overrides_runpath=no
14829 hardcode_into_libs=yes
14832 uts4*)
14833 version_type=linux
14834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835 soname_spec='${libname}${release}${shared_ext}$major'
14836 shlibpath_var=LD_LIBRARY_PATH
14840 dynamic_linker=no
14842 esac
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14844 $as_echo "$dynamic_linker" >&6; }
14845 test "$dynamic_linker" = no && can_build_shared=no
14847 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14848 if test "$GCC" = yes; then
14849 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14852 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14853 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14855 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14856 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14897 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14898 hardcode_action_CXX=
14899 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14900 test -n "$runpath_var_CXX" ||
14901 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14903 # We can hardcode non-existent directories.
14904 if test "$hardcode_direct_CXX" != no &&
14905 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14906 # have to relink, otherwise we might link with an installed library
14907 # when we should be linking with a yet-to-be-installed one
14908 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14909 test "$hardcode_minus_L_CXX" != no; then
14910 # Linking always hardcodes the temporary library directory.
14911 hardcode_action_CXX=relink
14912 else
14913 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14914 hardcode_action_CXX=immediate
14916 else
14917 # We cannot hardcode anything, or else we can only hardcode existing
14918 # directories.
14919 hardcode_action_CXX=unsupported
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14922 $as_echo "$hardcode_action_CXX" >&6; }
14924 if test "$hardcode_action_CXX" = relink ||
14925 test "$inherit_rpath_CXX" = yes; then
14926 # Fast installation is not supported
14927 enable_fast_install=no
14928 elif test "$shlibpath_overrides_runpath" = yes ||
14929 test "$enable_shared" = no; then
14930 # Fast installation is not necessary
14931 enable_fast_install=needless
14940 fi # test -n "$compiler"
14942 CC=$lt_save_CC
14943 LDCXX=$LD
14944 LD=$lt_save_LD
14945 GCC=$lt_save_GCC
14946 with_gnu_ld=$lt_save_with_gnu_ld
14947 lt_cv_path_LDCXX=$lt_cv_path_LD
14948 lt_cv_path_LD=$lt_save_path_LD
14949 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14950 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14951 fi # test "$_lt_caught_CXX_error" != yes
14953 ac_ext=c
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14971 ac_config_commands="$ac_config_commands libtool"
14976 # Only expand once:
14982 case $host in
14983 *-cygwin* | *-mingw*)
14984 # 'host' will be top-level target in the case of a target lib,
14985 # we must compare to with_cross_host to decide if this is a native
14986 # or cross-compiler and select where to install dlls appropriately.
14987 if test -n "$with_cross_host" &&
14988 test x"$with_cross_host" != x"no"; then
14989 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14990 else
14991 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14995 lt_host_flags=
14997 esac
15004 if test "$enable_vtable_verify" = yes; then
15005 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15006 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15010 # libtool variables for C++ shared and position-independent compiles.
15012 # Use glibcxx_lt_pic_flag to designate the automake variable
15013 # used to encapsulate the default libtool approach to creating objects
15014 # with position-independent code. Default: -prefer-pic.
15016 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15017 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15019 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15020 # creating position-independent objects. This varies with the target
15021 # hardware and operating system, but is often: -DPIC -fPIC.
15022 if test "$enable_shared" = yes; then
15023 glibcxx_lt_pic_flag="-prefer-pic"
15024 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15025 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15027 else
15028 glibcxx_lt_pic_flag=
15029 glibcxx_compiler_pic_flag=
15030 glibcxx_compiler_shared_flag=
15036 # Override the libtool's pic_flag and pic_mode.
15037 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15038 # NB: this impacts --with-pic and --without-pic.
15039 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15040 pic_mode='default'
15042 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15043 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15045 # Possibly disable most of the library.
15046 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15047 ## than just ignoring the results. Faster /and/ more correct, win win.
15049 # Check whether --enable-hosted-libstdcxx was given.
15050 if test "${enable_hosted_libstdcxx+set}" = set; then :
15051 enableval=$enable_hosted_libstdcxx;
15052 else
15053 case "$host" in
15054 arm*-*-symbianelf*)
15055 enable_hosted_libstdcxx=no
15058 enable_hosted_libstdcxx=yes
15060 esac
15063 if test "$enable_hosted_libstdcxx" = no; then
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15065 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15066 is_hosted=no
15067 hosted_define=0
15068 enable_abi_check=no
15069 enable_libstdcxx_pch=no
15070 else
15071 is_hosted=yes
15072 hosted_define=1
15076 cat >>confdefs.h <<_ACEOF
15077 #define _GLIBCXX_HOSTED $hosted_define
15078 _ACEOF
15082 # Enable descriptive messages to standard output on termination.
15084 # Check whether --enable-libstdcxx-verbose was given.
15085 if test "${enable_libstdcxx_verbose+set}" = set; then :
15086 enableval=$enable_libstdcxx_verbose;
15087 else
15088 enable_libstdcxx_verbose=yes
15091 if test x"$enable_libstdcxx_verbose" = xyes; then
15092 verbose_define=1
15093 else
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15095 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15096 verbose_define=0
15099 cat >>confdefs.h <<_ACEOF
15100 #define _GLIBCXX_VERBOSE $verbose_define
15101 _ACEOF
15105 # Enable compiler support that doesn't require linking.
15107 # Check whether --enable-libstdcxx-pch was given.
15108 if test "${enable_libstdcxx_pch+set}" = set; then :
15109 enableval=$enable_libstdcxx_pch;
15110 case "$enableval" in
15111 yes|no) ;;
15112 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15113 esac
15115 else
15116 enable_libstdcxx_pch=$is_hosted
15120 if test $enable_libstdcxx_pch = yes; then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15122 $as_echo_n "checking for compiler with PCH support... " >&6; }
15123 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 ac_save_CXXFLAGS="$CXXFLAGS"
15127 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15129 ac_ext=cpp
15130 ac_cpp='$CXXCPP $CPPFLAGS'
15131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15135 echo '#include <math.h>' > conftest.h
15136 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15137 -o conftest.h.gch 1>&5 2>&1 &&
15138 echo '#error "pch failed"' > conftest.h &&
15139 echo '#include "conftest.h"' > conftest.cc &&
15140 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15141 then
15142 glibcxx_cv_prog_CXX_pch=yes
15143 else
15144 glibcxx_cv_prog_CXX_pch=no
15146 rm -f conftest*
15147 CXXFLAGS=$ac_save_CXXFLAGS
15148 ac_ext=c
15149 ac_cpp='$CPP $CPPFLAGS'
15150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15157 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15158 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15162 $as_echo_n "checking for enabled PCH... " >&6; }
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15164 $as_echo "$enable_libstdcxx_pch" >&6; }
15167 if test $enable_libstdcxx_pch = yes; then
15168 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15169 else
15170 glibcxx_PCHFLAGS=""
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15176 $as_echo_n "checking for thread model used by GCC... " >&6; }
15177 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15179 $as_echo "$target_thread_file" >&6; }
15181 case $target_thread_file in
15182 aix) thread_header=config/rs6000/gthr-aix.h ;;
15183 dce) thread_header=config/pa/gthr-dce.h ;;
15184 lynx) thread_header=config/gthr-lynx.h ;;
15185 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15186 posix) thread_header=gthr-posix.h ;;
15187 rtems) thread_header=config/gthr-rtems.h ;;
15188 single) thread_header=gthr-single.h ;;
15189 tpf) thread_header=config/s390/gthr-tpf.h ;;
15190 vxworks) thread_header=config/gthr-vxworks.h ;;
15191 win32) thread_header=config/i386/gthr-win32.h ;;
15192 esac
15198 ac_ext=cpp
15199 ac_cpp='$CXXCPP $CPPFLAGS'
15200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15204 old_CXXFLAGS="$CXXFLAGS"
15206 # Do link tests if possible, instead asm tests, limited to some platforms
15207 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15208 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15209 atomic_builtins_link_tests=no
15210 if test x$gcc_no_link != xyes; then
15211 # Can do link tests. Limit to some tested platforms
15212 case "$host" in
15213 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15214 atomic_builtins_link_tests=yes
15216 esac
15219 if test x$atomic_builtins_link_tests = xyes; then
15221 # Do link tests.
15223 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15226 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15227 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15228 $as_echo_n "(cached) " >&6
15229 else
15231 if test x$gcc_no_link = xyes; then
15232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15238 main ()
15240 typedef bool atomic_type;
15241 atomic_type c1;
15242 atomic_type c2;
15243 atomic_type c3(0);
15244 // N.B. __atomic_fetch_add is not supported for bool.
15245 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15246 __ATOMIC_RELAXED);
15247 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15248 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15251 return 0;
15253 _ACEOF
15254 if ac_fn_cxx_try_link "$LINENO"; then :
15255 glibcxx_cv_atomic_bool=yes
15256 else
15257 glibcxx_cv_atomic_bool=no
15259 rm -f core conftest.err conftest.$ac_objext \
15260 conftest$ac_exeext conftest.$ac_ext
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15265 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15268 $as_echo_n "checking for atomic builtins for short... " >&6; }
15269 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15273 if test x$gcc_no_link = xyes; then
15274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15280 main ()
15282 typedef short atomic_type;
15283 atomic_type c1;
15284 atomic_type c2;
15285 atomic_type c3(0);
15286 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15287 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15288 __ATOMIC_RELAXED);
15289 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15290 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15293 return 0;
15295 _ACEOF
15296 if ac_fn_cxx_try_link "$LINENO"; then :
15297 glibcxx_cv_atomic_short=yes
15298 else
15299 glibcxx_cv_atomic_short=no
15301 rm -f core conftest.err conftest.$ac_objext \
15302 conftest$ac_exeext conftest.$ac_ext
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15307 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15310 $as_echo_n "checking for atomic builtins for int... " >&6; }
15311 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15312 $as_echo_n "(cached) " >&6
15313 else
15315 if test x$gcc_no_link = xyes; then
15316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15322 main ()
15324 typedef int atomic_type;
15325 atomic_type c1;
15326 atomic_type c2;
15327 atomic_type c3(0);
15328 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15329 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15330 __ATOMIC_RELAXED);
15331 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15332 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15335 return 0;
15337 _ACEOF
15338 if ac_fn_cxx_try_link "$LINENO"; then :
15339 glibcxx_cv_atomic_int=yes
15340 else
15341 glibcxx_cv_atomic_int=no
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15349 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15352 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15353 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15354 $as_echo_n "(cached) " >&6
15355 else
15357 if test x$gcc_no_link = xyes; then
15358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15364 main ()
15366 typedef long long atomic_type;
15367 atomic_type c1;
15368 atomic_type c2;
15369 atomic_type c3(0);
15370 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15371 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15372 __ATOMIC_RELAXED);
15373 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15374 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15377 return 0;
15379 _ACEOF
15380 if ac_fn_cxx_try_link "$LINENO"; then :
15381 glibcxx_cv_atomic_long_long=yes
15382 else
15383 glibcxx_cv_atomic_long_long=no
15385 rm -f core conftest.err conftest.$ac_objext \
15386 conftest$ac_exeext conftest.$ac_ext
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15391 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15393 else
15395 # Do asm tests.
15397 # Compile unoptimized.
15398 CXXFLAGS='-O0 -S'
15400 # Fake what AC_TRY_COMPILE does.
15402 cat > conftest.$ac_ext << EOF
15403 #line 15403 "configure"
15404 int main()
15406 typedef bool atomic_type;
15407 atomic_type c1;
15408 atomic_type c2;
15409 atomic_type c3(0);
15410 // N.B. __atomic_fetch_add is not supported for bool.
15411 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15412 __ATOMIC_RELAXED);
15413 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15414 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15416 return 0;
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15421 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15423 (eval $ac_compile) 2>&5
15424 ac_status=$?
15425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 test $ac_status = 0; }; then
15427 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15428 glibcxx_cv_atomic_bool=no
15429 else
15430 glibcxx_cv_atomic_bool=yes
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15434 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15435 rm -f conftest*
15437 cat > conftest.$ac_ext << EOF
15438 #line 15438 "configure"
15439 int main()
15441 typedef short atomic_type;
15442 atomic_type c1;
15443 atomic_type c2;
15444 atomic_type c3(0);
15445 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15446 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15447 __ATOMIC_RELAXED);
15448 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15449 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15451 return 0;
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15456 $as_echo_n "checking for atomic builtins for short... " >&6; }
15457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15458 (eval $ac_compile) 2>&5
15459 ac_status=$?
15460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15461 test $ac_status = 0; }; then
15462 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15463 glibcxx_cv_atomic_short=no
15464 else
15465 glibcxx_cv_atomic_short=yes
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15469 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15470 rm -f conftest*
15472 cat > conftest.$ac_ext << EOF
15473 #line 15473 "configure"
15474 int main()
15476 // NB: _Atomic_word not necessarily int.
15477 typedef int atomic_type;
15478 atomic_type c1;
15479 atomic_type c2;
15480 atomic_type c3(0);
15481 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15482 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15483 __ATOMIC_RELAXED);
15484 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15485 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15487 return 0;
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15492 $as_echo_n "checking for atomic builtins for int... " >&6; }
15493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15494 (eval $ac_compile) 2>&5
15495 ac_status=$?
15496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15497 test $ac_status = 0; }; then
15498 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15499 glibcxx_cv_atomic_int=no
15500 else
15501 glibcxx_cv_atomic_int=yes
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15505 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15506 rm -f conftest*
15508 cat > conftest.$ac_ext << EOF
15509 #line 15509 "configure"
15510 int main()
15512 typedef long long atomic_type;
15513 atomic_type c1;
15514 atomic_type c2;
15515 atomic_type c3(0);
15516 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15517 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15518 __ATOMIC_RELAXED);
15519 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15520 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15522 return 0;
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15527 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15529 (eval $ac_compile) 2>&5
15530 ac_status=$?
15531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532 test $ac_status = 0; }; then
15533 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15534 glibcxx_cv_atomic_long_long=no
15535 else
15536 glibcxx_cv_atomic_long_long=yes
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15540 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15541 rm -f conftest*
15545 CXXFLAGS="$old_CXXFLAGS"
15546 ac_ext=c
15547 ac_cpp='$CPP $CPPFLAGS'
15548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15553 # Set atomicity_dir to builtins if all but the long long test above passes,
15554 # or if the builtins were already chosen (e.g. by configure.host).
15555 if { test "$glibcxx_cv_atomic_bool" = yes \
15556 && test "$glibcxx_cv_atomic_short" = yes \
15557 && test "$glibcxx_cv_atomic_int" = yes; } \
15558 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15560 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15562 atomicity_dir=cpu/generic/atomicity_builtins
15565 # If still generic, set to mutex.
15566 if test $atomicity_dir = "cpu/generic" ; then
15567 atomicity_dir=cpu/generic/atomicity_mutex
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15569 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15570 if test "x$target_thread_file" = xsingle; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15572 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15574 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15575 else
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15577 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15579 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15586 # Fake what AC_TRY_COMPILE does, without linking as this is
15587 # unnecessary for this test.
15589 cat > conftest.$ac_ext << EOF
15590 #line 15590 "configure"
15591 int main()
15593 _Decimal32 d1;
15594 _Decimal64 d2;
15595 _Decimal128 d3;
15596 return 0;
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15601 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15603 (eval $ac_compile) 2>&5
15604 ac_status=$?
15605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15606 test $ac_status = 0; }; then
15608 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15610 enable_dfp=yes
15611 else
15612 enable_dfp=no
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15615 $as_echo "$enable_dfp" >&6; }
15616 rm -f conftest*
15621 ac_ext=cpp
15622 ac_cpp='$CXXCPP $CPPFLAGS'
15623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15628 # Fake what AC_TRY_COMPILE does, without linking as this is
15629 # unnecessary for this test.
15631 cat > conftest.$ac_ext << EOF
15632 #line 15632 "configure"
15633 template<typename T1, typename T2>
15634 struct same
15635 { typedef T2 type; };
15637 template<typename T>
15638 struct same<T, T>;
15640 int main()
15642 typename same<long, __int128>::type i1;
15643 typename same<long long, __int128>::type i2;
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15648 $as_echo_n "checking for __int128... " >&6; }
15649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15650 (eval $ac_compile) 2>&5
15651 ac_status=$?
15652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15653 test $ac_status = 0; }; then
15655 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15657 enable_int128=yes
15658 else
15659 enable_int128=no
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15662 $as_echo "$enable_int128" >&6; }
15663 rm -f conftest*
15665 cat > conftest.$ac_ext << EOF
15666 #line 15666 "configure"
15667 template<typename T1, typename T2>
15668 struct same
15669 { typedef T2 type; };
15671 template<typename T>
15672 struct same<T, T>;
15674 int main()
15676 typename same<double, __float128>::type f1;
15677 typename same<long double, __float128>::type f2;
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15682 $as_echo_n "checking for __float128... " >&6; }
15683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15684 (eval $ac_compile) 2>&5
15685 ac_status=$?
15686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15687 test $ac_status = 0; }; then
15688 enable_float128=yes
15689 else
15690 enable_float128=no
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15693 $as_echo "$enable_float128" >&6; }
15695 rm -f conftest*
15697 ac_ext=c
15698 ac_cpp='$CPP $CPPFLAGS'
15699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15704 if test "$enable_float128" = yes; then
15705 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15708 # Checks for compiler support that doesn't require linking.
15710 # All these tests are for C++; save the language and the compiler flags.
15711 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15712 # found in GLIBCXX_CONFIGURE.
15714 ac_ext=cpp
15715 ac_cpp='$CXXCPP $CPPFLAGS'
15716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15720 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15721 ac_save_CXXFLAGS="$CXXFLAGS"
15723 # Check for maintainer-mode bits.
15724 if test x"$USE_MAINTAINER_MODE" = xno; then
15725 WERROR=''
15726 else
15727 WERROR='-Werror'
15730 # Check for -ffunction-sections -fdata-sections
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15732 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15733 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15736 int foo; void bar() { };
15738 main ()
15742 return 0;
15744 _ACEOF
15745 if ac_fn_cxx_try_compile "$LINENO"; then :
15746 ac_fdsections=yes
15747 else
15748 ac_fdsections=no
15750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15751 if test "$ac_test_CXXFLAGS" = set; then
15752 CXXFLAGS="$ac_save_CXXFLAGS"
15753 else
15754 # this is the suspicious part
15755 CXXFLAGS=''
15757 if test x"$ac_fdsections" = x"yes"; then
15758 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15761 $as_echo "$ac_fdsections" >&6; }
15763 ac_ext=c
15764 ac_cpp='$CPP $CPPFLAGS'
15765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773 # Enable all the variable C++ runtime options that don't require linking.
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15776 $as_echo_n "checking for underlying I/O to use... " >&6; }
15777 # Check whether --enable-cstdio was given.
15778 if test "${enable_cstdio+set}" = set; then :
15779 enableval=$enable_cstdio;
15780 case "$enableval" in
15781 stdio) ;;
15782 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15783 esac
15785 else
15786 enable_cstdio=stdio
15791 # Now that libio has been removed, you can have any color you want as long
15792 # as it's black. This is one big no-op until other packages are added, but
15793 # showing the framework never hurts.
15794 case ${enable_cstdio} in
15795 stdio)
15796 CSTDIO_H=config/io/c_io_stdio.h
15797 BASIC_FILE_H=config/io/basic_file_stdio.h
15798 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15800 $as_echo "stdio" >&6; }
15802 esac
15809 # Check whether --enable-clocale was given.
15810 if test "${enable_clocale+set}" = set; then :
15811 enableval=$enable_clocale;
15812 case "$enableval" in
15813 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15814 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15815 esac
15817 else
15818 enable_clocale=auto
15823 # Deal with gettext issues. Default to not using it (=no) until we detect
15824 # support for it later. Let the user turn it off via --e/d, but let that
15825 # default to on for easier handling.
15826 USE_NLS=no
15827 # Check whether --enable-nls was given.
15828 if test "${enable_nls+set}" = set; then :
15829 enableval=$enable_nls;
15830 else
15831 enable_nls=yes
15835 # Either a known package, or "auto"
15836 if test $enable_clocale = no || test $enable_clocale = yes; then
15837 enable_clocale=auto
15839 enable_clocale_flag=$enable_clocale
15841 # Probe for locale model to use if none specified.
15842 # Default to "generic".
15843 if test $enable_clocale_flag = auto; then
15844 case ${target_os} in
15845 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15846 enable_clocale_flag=gnu
15848 darwin*)
15849 enable_clocale_flag=darwin
15851 dragonfly* | freebsd*)
15852 enable_clocale_flag=dragonfly
15854 openbsd*)
15855 enable_clocale_flag=newlib
15858 if test x"$with_newlib" = x"yes"; then
15859 enable_clocale_flag=newlib
15860 else
15861 enable_clocale_flag=generic
15864 esac
15867 # Sanity check model, and test for special functionality.
15868 if test $enable_clocale_flag = gnu; then
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15872 #include <features.h>
15873 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15874 _GLIBCXX_ok
15875 #endif
15877 _ACEOF
15878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15879 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15880 enable_clocale_flag=gnu
15881 else
15882 enable_clocale_flag=generic
15884 rm -f conftest*
15887 # Set it to scream when it hurts.
15888 ac_save_CFLAGS="$CFLAGS"
15889 CFLAGS="-Wimplicit-function-declaration -Werror"
15891 # Use strxfrm_l if available.
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #define _GNU_SOURCE 1
15895 #include <string.h>
15896 #include <locale.h>
15898 main ()
15900 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_compile "$LINENO"; then :
15907 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912 # Use strerror_l if available.
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 #define _GNU_SOURCE 1
15916 #include <string.h>
15917 #include <locale.h>
15919 main ()
15921 __locale_t loc; strerror_l(5, loc);
15923 return 0;
15925 _ACEOF
15926 if ac_fn_c_try_compile "$LINENO"; then :
15928 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933 CFLAGS="$ac_save_CFLAGS"
15936 # Perhaps use strerror_r if available, and strerror_l isn't.
15937 ac_save_CFLAGS="$CFLAGS"
15938 CFLAGS="-Wimplicit-function-declaration -Werror"
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15941 #define _GNU_SOURCE 1
15942 #include <string.h>
15943 #include <locale.h>
15945 main ()
15947 char s[128]; strerror_r(5, s, 128);
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_compile "$LINENO"; then :
15954 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15958 CFLAGS="$ac_save_CFLAGS"
15960 # Set configure bits for specified locale package
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15962 $as_echo_n "checking for C locale to use... " >&6; }
15963 case ${enable_clocale_flag} in
15964 generic)
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15966 $as_echo "generic" >&6; }
15968 CLOCALE_H=config/locale/generic/c_locale.h
15969 CLOCALE_CC=config/locale/generic/c_locale.cc
15970 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15971 CCOLLATE_CC=config/locale/generic/collate_members.cc
15972 CCTYPE_CC=config/locale/generic/ctype_members.cc
15973 CMESSAGES_H=config/locale/generic/messages_members.h
15974 CMESSAGES_CC=config/locale/generic/messages_members.cc
15975 CMONEY_CC=config/locale/generic/monetary_members.cc
15976 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15977 CTIME_H=config/locale/generic/time_members.h
15978 CTIME_CC=config/locale/generic/time_members.cc
15979 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15981 darwin)
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15983 $as_echo "darwin" >&6; }
15985 CLOCALE_H=config/locale/generic/c_locale.h
15986 CLOCALE_CC=config/locale/generic/c_locale.cc
15987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15988 CCOLLATE_CC=config/locale/generic/collate_members.cc
15989 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15990 CMESSAGES_H=config/locale/generic/messages_members.h
15991 CMESSAGES_CC=config/locale/generic/messages_members.cc
15992 CMONEY_CC=config/locale/generic/monetary_members.cc
15993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15994 CTIME_H=config/locale/generic/time_members.h
15995 CTIME_CC=config/locale/generic/time_members.cc
15996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15999 dragonfly)
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16001 $as_echo "dragonfly or freebsd" >&6; }
16003 CLOCALE_H=config/locale/dragonfly/c_locale.h
16004 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16005 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16006 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16007 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16008 CMESSAGES_H=config/locale/generic/messages_members.h
16009 CMESSAGES_CC=config/locale/generic/messages_members.cc
16010 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16011 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16012 CTIME_H=config/locale/dragonfly/time_members.h
16013 CTIME_CC=config/locale/dragonfly/time_members.cc
16014 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16017 gnu)
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16019 $as_echo "gnu" >&6; }
16021 # Declare intention to use gettext, and add support for specific
16022 # languages.
16023 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16024 ALL_LINGUAS="de fr"
16026 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16027 # Extract the first word of "msgfmt", so it can be a program name with args.
16028 set dummy msgfmt; ac_word=$2
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16030 $as_echo_n "checking for $ac_word... " >&6; }
16031 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16032 $as_echo_n "(cached) " >&6
16033 else
16034 if test -n "$check_msgfmt"; then
16035 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16036 else
16037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16038 for as_dir in $PATH
16040 IFS=$as_save_IFS
16041 test -z "$as_dir" && as_dir=.
16042 for ac_exec_ext in '' $ac_executable_extensions; do
16043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16044 ac_cv_prog_check_msgfmt="yes"
16045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16046 break 2
16048 done
16049 done
16050 IFS=$as_save_IFS
16052 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16055 check_msgfmt=$ac_cv_prog_check_msgfmt
16056 if test -n "$check_msgfmt"; then
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16058 $as_echo "$check_msgfmt" >&6; }
16059 else
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16061 $as_echo "no" >&6; }
16065 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16066 USE_NLS=yes
16068 # Export the build objects.
16069 for ling in $ALL_LINGUAS; do \
16070 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16071 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16072 done
16076 CLOCALE_H=config/locale/gnu/c_locale.h
16077 CLOCALE_CC=config/locale/gnu/c_locale.cc
16078 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16079 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16080 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16081 CMESSAGES_H=config/locale/gnu/messages_members.h
16082 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16083 CMONEY_CC=config/locale/gnu/monetary_members.cc
16084 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16085 CTIME_H=config/locale/gnu/time_members.h
16086 CTIME_CC=config/locale/gnu/time_members.cc
16087 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16089 ieee_1003.1-2001)
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16091 $as_echo "IEEE 1003.1" >&6; }
16093 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16094 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16095 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16096 CCOLLATE_CC=config/locale/generic/collate_members.cc
16097 CCTYPE_CC=config/locale/generic/ctype_members.cc
16098 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16099 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16100 CMONEY_CC=config/locale/generic/monetary_members.cc
16101 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16102 CTIME_H=config/locale/generic/time_members.h
16103 CTIME_CC=config/locale/generic/time_members.cc
16104 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16106 newlib)
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16108 $as_echo "newlib" >&6; }
16110 CLOCALE_H=config/locale/generic/c_locale.h
16111 CLOCALE_CC=config/locale/generic/c_locale.cc
16112 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16113 CCOLLATE_CC=config/locale/generic/collate_members.cc
16114 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16115 CMESSAGES_H=config/locale/generic/messages_members.h
16116 CMESSAGES_CC=config/locale/generic/messages_members.cc
16117 CMONEY_CC=config/locale/generic/monetary_members.cc
16118 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16119 CTIME_H=config/locale/generic/time_members.h
16120 CTIME_CC=config/locale/generic/time_members.cc
16121 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123 esac
16125 # This is where the testsuite looks for locale catalogs, using the
16126 # -DLOCALEDIR define during testsuite compilation.
16127 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16130 # A standalone libintl (e.g., GNU libintl) may be in use.
16131 if test $USE_NLS = yes; then
16132 for ac_header in libintl.h
16133 do :
16134 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16135 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16136 cat >>confdefs.h <<_ACEOF
16137 #define HAVE_LIBINTL_H 1
16138 _ACEOF
16140 else
16141 USE_NLS=no
16144 done
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16147 $as_echo_n "checking for library containing gettext... " >&6; }
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 ac_func_search_save_LIBS=$LIBS
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16155 /* Override any GCC internal prototype to avoid an error.
16156 Use char because int might match the return type of a GCC
16157 builtin and then its argument prototype would still apply. */
16158 #ifdef __cplusplus
16159 extern "C"
16160 #endif
16161 char gettext ();
16163 main ()
16165 return gettext ();
16167 return 0;
16169 _ACEOF
16170 for ac_lib in '' intl; do
16171 if test -z "$ac_lib"; then
16172 ac_res="none required"
16173 else
16174 ac_res=-l$ac_lib
16175 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16177 if test x$gcc_no_link = xyes; then
16178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16180 if ac_fn_c_try_link "$LINENO"; then :
16181 ac_cv_search_gettext=$ac_res
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext
16185 if test "${ac_cv_search_gettext+set}" = set; then :
16186 break
16188 done
16189 if test "${ac_cv_search_gettext+set}" = set; then :
16191 else
16192 ac_cv_search_gettext=no
16194 rm conftest.$ac_ext
16195 LIBS=$ac_func_search_save_LIBS
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16198 $as_echo "$ac_cv_search_gettext" >&6; }
16199 ac_res=$ac_cv_search_gettext
16200 if test "$ac_res" != no; then :
16201 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16203 else
16204 USE_NLS=no
16208 if test $USE_NLS = yes; then
16210 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16230 $as_echo_n "checking for std::allocator base class... " >&6; }
16231 # Check whether --enable-libstdcxx-allocator was given.
16232 if test "${enable_libstdcxx_allocator+set}" = set; then :
16233 enableval=$enable_libstdcxx_allocator;
16234 case "$enableval" in
16235 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16236 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16237 esac
16239 else
16240 enable_libstdcxx_allocator=auto
16245 # If they didn't use this option switch, or if they specified --enable
16246 # with no specific model, we'll have to look for one. If they
16247 # specified --disable (???), do likewise.
16248 if test $enable_libstdcxx_allocator = no ||
16249 test $enable_libstdcxx_allocator = yes;
16250 then
16251 enable_libstdcxx_allocator=auto
16254 # Either a known package, or "auto". Auto implies the default choice
16255 # for a particular platform.
16256 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16258 # Probe for host-specific support if no specific model is specified.
16259 # Default to "new".
16260 if test $enable_libstdcxx_allocator_flag = auto; then
16261 case ${target_os} in
16262 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16263 enable_libstdcxx_allocator_flag=new
16266 enable_libstdcxx_allocator_flag=new
16268 esac
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16271 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16274 # Set configure bits for specified locale package
16275 case ${enable_libstdcxx_allocator_flag} in
16276 bitmap)
16277 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16280 malloc)
16281 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16285 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16286 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16288 new)
16289 ALLOCATOR_H=config/allocator/new_allocator_base.h
16290 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16292 pool)
16293 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16294 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16296 esac
16303 # Check whether --enable-cheaders was given.
16304 if test "${enable_cheaders+set}" = set; then :
16305 enableval=$enable_cheaders;
16306 case "$enableval" in
16307 c|c_std|c_global) ;;
16308 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16309 esac
16311 else
16312 enable_cheaders=$c_model
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16317 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16319 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16321 # Allow overrides to configure.host here.
16322 if test $enable_cheaders = c_global; then
16323 c_compatibility=yes
16332 # Check whether --enable-long-long was given.
16333 if test "${enable_long_long+set}" = set; then :
16334 enableval=$enable_long_long;
16335 case "$enableval" in
16336 yes|no) ;;
16337 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16338 esac
16340 else
16341 enable_long_long=yes
16345 if test $enable_long_long = yes; then
16347 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16351 $as_echo_n "checking for enabled long long specializations... " >&6; }
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16353 $as_echo "$enable_long_long" >&6; }
16356 # Check whether --enable-wchar_t was given.
16357 if test "${enable_wchar_t+set}" = set; then :
16358 enableval=$enable_wchar_t;
16359 case "$enableval" in
16360 yes|no) ;;
16361 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16362 esac
16364 else
16365 enable_wchar_t=yes
16370 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16371 for ac_header in wchar.h
16372 do :
16373 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_WCHAR_H 1
16377 _ACEOF
16378 ac_has_wchar_h=yes
16379 else
16380 ac_has_wchar_h=no
16383 done
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16386 $as_echo_n "checking for mbstate_t... " >&6; }
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <wchar.h>
16391 main ()
16393 mbstate_t teststate;
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_compile "$LINENO"; then :
16399 have_mbstate_t=yes
16400 else
16401 have_mbstate_t=no
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16405 $as_echo "$have_mbstate_t" >&6; }
16406 if test x"$have_mbstate_t" = xyes; then
16408 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16412 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16413 # ac_has_wchar_h.
16414 for ac_header in wctype.h
16415 do :
16416 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16417 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_WCTYPE_H 1
16420 _ACEOF
16421 ac_has_wctype_h=yes
16422 else
16423 ac_has_wctype_h=no
16426 done
16429 if test x"$enable_wchar_t" = x"yes"; then
16432 ac_ext=cpp
16433 ac_cpp='$CXXCPP $CPPFLAGS'
16434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16439 if test x"$ac_has_wchar_h" = xyes &&
16440 test x"$ac_has_wctype_h" = xyes; then
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #include <wchar.h>
16444 #include <stddef.h>
16445 wint_t i;
16446 long l = WEOF;
16447 long j = WCHAR_MIN;
16448 long k = WCHAR_MAX;
16449 namespace test
16451 using ::btowc;
16452 using ::fgetwc;
16453 using ::fgetws;
16454 using ::fputwc;
16455 using ::fputws;
16456 using ::fwide;
16457 using ::fwprintf;
16458 using ::fwscanf;
16459 using ::getwc;
16460 using ::getwchar;
16461 using ::mbrlen;
16462 using ::mbrtowc;
16463 using ::mbsinit;
16464 using ::mbsrtowcs;
16465 using ::putwc;
16466 using ::putwchar;
16467 using ::swprintf;
16468 using ::swscanf;
16469 using ::ungetwc;
16470 using ::vfwprintf;
16471 using ::vswprintf;
16472 using ::vwprintf;
16473 using ::wcrtomb;
16474 using ::wcscat;
16475 using ::wcschr;
16476 using ::wcscmp;
16477 using ::wcscoll;
16478 using ::wcscpy;
16479 using ::wcscspn;
16480 using ::wcsftime;
16481 using ::wcslen;
16482 using ::wcsncat;
16483 using ::wcsncmp;
16484 using ::wcsncpy;
16485 using ::wcspbrk;
16486 using ::wcsrchr;
16487 using ::wcsrtombs;
16488 using ::wcsspn;
16489 using ::wcsstr;
16490 using ::wcstod;
16491 using ::wcstok;
16492 using ::wcstol;
16493 using ::wcstoul;
16494 using ::wcsxfrm;
16495 using ::wctob;
16496 using ::wmemchr;
16497 using ::wmemcmp;
16498 using ::wmemcpy;
16499 using ::wmemmove;
16500 using ::wmemset;
16501 using ::wprintf;
16502 using ::wscanf;
16506 main ()
16510 return 0;
16512 _ACEOF
16513 if ac_fn_cxx_try_compile "$LINENO"; then :
16515 else
16516 enable_wchar_t=no
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 else
16520 enable_wchar_t=no
16523 ac_ext=c
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16531 if test x"$enable_wchar_t" = x"yes"; then
16533 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16538 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16540 $as_echo "$enable_wchar_t" >&6; }
16544 # Check whether --enable-c99 was given.
16545 if test "${enable_c99+set}" = set; then :
16546 enableval=$enable_c99;
16547 case "$enableval" in
16548 yes|no) ;;
16549 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16550 esac
16552 else
16553 enable_c99=yes
16558 if test x"$enable_c99" = x"yes"; then
16560 ac_ext=cpp
16561 ac_cpp='$CXXCPP $CPPFLAGS'
16562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16567 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16568 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16569 # to be spuriously enabled.
16570 ac_save_CXXFLAGS="$CXXFLAGS"
16571 CXXFLAGS="$CXXFLAGS -std=c++98"
16572 ac_save_LIBS="$LIBS"
16573 ac_save_gcc_no_link="$gcc_no_link"
16575 if test x$gcc_no_link != xyes; then
16576 # Use -fno-exceptions to that the C driver can link these tests without
16577 # hitting undefined references to personality routines.
16578 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16580 $as_echo_n "checking for sin in -lm... " >&6; }
16581 if test "${ac_cv_lib_m_sin+set}" = set; then :
16582 $as_echo_n "(cached) " >&6
16583 else
16584 ac_check_lib_save_LIBS=$LIBS
16585 LIBS="-lm $LIBS"
16586 if test x$gcc_no_link = xyes; then
16587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16592 /* Override any GCC internal prototype to avoid an error.
16593 Use char because int might match the return type of a GCC
16594 builtin and then its argument prototype would still apply. */
16595 #ifdef __cplusplus
16596 extern "C"
16597 #endif
16598 char sin ();
16600 main ()
16602 return sin ();
16604 return 0;
16606 _ACEOF
16607 if ac_fn_cxx_try_link "$LINENO"; then :
16608 ac_cv_lib_m_sin=yes
16609 else
16610 ac_cv_lib_m_sin=no
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16614 LIBS=$ac_check_lib_save_LIBS
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16617 $as_echo "$ac_cv_lib_m_sin" >&6; }
16618 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16619 LIBS="$LIBS -lm"
16620 else
16622 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16623 gcc_no_link=yes
16629 # Check for the existence of <math.h> functions used if C99 is enabled.
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16631 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16632 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16633 $as_echo_n "(cached) " >&6
16634 else
16636 if test x$gcc_no_link = xyes; then
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16639 #include <math.h>
16640 volatile double d1, d2;
16641 volatile int i;
16643 main ()
16645 i = fpclassify(d1);
16646 i = isfinite(d1);
16647 i = isinf(d1);
16648 i = isnan(d1);
16649 i = isnormal(d1);
16650 i = signbit(d1);
16651 i = isgreater(d1, d2);
16652 i = isgreaterequal(d1, d2);
16653 i = isless(d1, d2);
16654 i = islessequal(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = islessgreater(d1, d2);
16657 i = isunordered(d1, d2);
16660 return 0;
16662 _ACEOF
16663 if ac_fn_cxx_try_compile "$LINENO"; then :
16664 glibcxx_cv_c99_math_cxx98=yes
16665 else
16666 glibcxx_cv_c99_math_cxx98=no
16668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16669 else
16670 if test x$gcc_no_link = xyes; then
16671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16675 #include <math.h>
16676 volatile double d1, d2;
16677 volatile int i;
16679 main ()
16681 i = fpclassify(d1);
16682 i = isfinite(d1);
16683 i = isinf(d1);
16684 i = isnan(d1);
16685 i = isnormal(d1);
16686 i = signbit(d1);
16687 i = isgreater(d1, d2);
16688 i = isgreaterequal(d1, d2);
16689 i = isless(d1, d2);
16690 i = islessequal(d1, d2);
16691 i = islessgreater(d1, d2);
16692 i = islessgreater(d1, d2);
16693 i = isunordered(d1, d2);
16696 return 0;
16698 _ACEOF
16699 if ac_fn_cxx_try_link "$LINENO"; then :
16700 glibcxx_cv_c99_math_cxx98=yes
16701 else
16702 glibcxx_cv_c99_math_cxx98=no
16704 rm -f core conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16711 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16712 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16714 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16718 # Check for the existence of <complex.h> complex math functions.
16719 # This is necessary even though libstdc++ uses the builtin versions
16720 # of these functions, because if the builtin cannot be used, a reference
16721 # to the library function is emitted.
16722 for ac_header in tgmath.h
16723 do :
16724 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16725 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16726 cat >>confdefs.h <<_ACEOF
16727 #define HAVE_TGMATH_H 1
16728 _ACEOF
16729 ac_has_tgmath_h=yes
16730 else
16731 ac_has_tgmath_h=no
16734 done
16736 for ac_header in complex.h
16737 do :
16738 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16739 if test "x$ac_cv_header_complex_h" = x""yes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_COMPLEX_H 1
16742 _ACEOF
16743 ac_has_complex_h=yes
16744 else
16745 ac_has_complex_h=no
16748 done
16750 if test x"$ac_has_complex_h" = x"yes"; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16752 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16753 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16754 $as_echo_n "(cached) " >&6
16755 else
16757 if test x$gcc_no_link = xyes; then
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16760 #include <complex.h>
16761 typedef __complex__ float float_type;
16762 typedef __complex__ double double_type;
16763 typedef __complex__ long double ld_type;
16764 volatile float_type tmpf;
16765 volatile double_type tmpd;
16766 volatile ld_type tmpld;
16767 volatile float f;
16768 volatile double d;
16769 volatile long double ld;
16771 main ()
16773 f = cabsf(tmpf);
16774 f = cargf(tmpf);
16775 tmpf = ccosf(tmpf);
16776 tmpf = ccoshf(tmpf);
16777 tmpf = cexpf(tmpf);
16778 tmpf = clogf(tmpf);
16779 tmpf = csinf(tmpf);
16780 tmpf = csinhf(tmpf);
16781 tmpf = csqrtf(tmpf);
16782 tmpf = ctanf(tmpf);
16783 tmpf = ctanhf(tmpf);
16784 tmpf = cpowf(tmpf, tmpf);
16785 tmpf = cprojf(tmpf);
16786 d = cabs(tmpd);
16787 d = carg(tmpd);
16788 tmpd = ccos(tmpd);
16789 tmpd = ccosh(tmpd);
16790 tmpd = cexp(tmpd);
16791 tmpd = clog(tmpd);
16792 tmpd = csin(tmpd);
16793 tmpd = csinh(tmpd);
16794 tmpd = csqrt(tmpd);
16795 tmpd = ctan(tmpd);
16796 tmpd = ctanh(tmpd);
16797 tmpd = cpow(tmpd, tmpd);
16798 tmpd = cproj(tmpd);
16799 ld = cabsl(tmpld);
16800 ld = cargl(tmpld);
16801 tmpld = ccosl(tmpld);
16802 tmpld = ccoshl(tmpld);
16803 tmpld = cexpl(tmpld);
16804 tmpld = clogl(tmpld);
16805 tmpld = csinl(tmpld);
16806 tmpld = csinhl(tmpld);
16807 tmpld = csqrtl(tmpld);
16808 tmpld = ctanl(tmpld);
16809 tmpld = ctanhl(tmpld);
16810 tmpld = cpowl(tmpld, tmpld);
16811 tmpld = cprojl(tmpld);
16814 return 0;
16816 _ACEOF
16817 if ac_fn_cxx_try_compile "$LINENO"; then :
16818 glibcxx_cv_c99_complex_cxx98=yes
16819 else
16820 glibcxx_cv_c99_complex_cxx98=no
16822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823 else
16824 if test x$gcc_no_link = xyes; then
16825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16829 #include <complex.h>
16830 typedef __complex__ float float_type;
16831 typedef __complex__ double double_type;
16832 typedef __complex__ long double ld_type;
16833 volatile float_type tmpf;
16834 volatile double_type tmpd;
16835 volatile ld_type tmpld;
16836 volatile float f;
16837 volatile double d;
16838 volatile long double ld;
16840 main ()
16842 f = cabsf(tmpf);
16843 f = cargf(tmpf);
16844 tmpf = ccosf(tmpf);
16845 tmpf = ccoshf(tmpf);
16846 tmpf = cexpf(tmpf);
16847 tmpf = clogf(tmpf);
16848 tmpf = csinf(tmpf);
16849 tmpf = csinhf(tmpf);
16850 tmpf = csqrtf(tmpf);
16851 tmpf = ctanf(tmpf);
16852 tmpf = ctanhf(tmpf);
16853 tmpf = cpowf(tmpf, tmpf);
16854 tmpf = cprojf(tmpf);
16855 d = cabs(tmpd);
16856 d = carg(tmpd);
16857 tmpd = ccos(tmpd);
16858 tmpd = ccosh(tmpd);
16859 tmpd = cexp(tmpd);
16860 tmpd = clog(tmpd);
16861 tmpd = csin(tmpd);
16862 tmpd = csinh(tmpd);
16863 tmpd = csqrt(tmpd);
16864 tmpd = ctan(tmpd);
16865 tmpd = ctanh(tmpd);
16866 tmpd = cpow(tmpd, tmpd);
16867 tmpd = cproj(tmpd);
16868 ld = cabsl(tmpld);
16869 ld = cargl(tmpld);
16870 tmpld = ccosl(tmpld);
16871 tmpld = ccoshl(tmpld);
16872 tmpld = cexpl(tmpld);
16873 tmpld = clogl(tmpld);
16874 tmpld = csinl(tmpld);
16875 tmpld = csinhl(tmpld);
16876 tmpld = csqrtl(tmpld);
16877 tmpld = ctanl(tmpld);
16878 tmpld = ctanhl(tmpld);
16879 tmpld = cpowl(tmpld, tmpld);
16880 tmpld = cprojl(tmpld);
16883 return 0;
16885 _ACEOF
16886 if ac_fn_cxx_try_link "$LINENO"; then :
16887 glibcxx_cv_c99_complex_cxx98=yes
16888 else
16889 glibcxx_cv_c99_complex_cxx98=no
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16899 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16900 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16902 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16906 # Check for the existence in <stdio.h> of vscanf, et. al.
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16908 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16909 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16913 if test x$gcc_no_link = xyes; then
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <stdio.h>
16917 #include <stdarg.h>
16918 void foo(char* fmt, ...)
16920 va_list args; va_start(args, fmt);
16921 vfscanf(stderr, "%i", args);
16922 vscanf("%i", args);
16923 vsnprintf(fmt, 0, "%i", args);
16924 vsscanf(fmt, "%i", args);
16925 snprintf(fmt, 0, "%i");
16928 main ()
16932 return 0;
16934 _ACEOF
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16936 glibcxx_cv_c99_stdio_cxx98=yes
16937 else
16938 glibcxx_cv_c99_stdio_cxx98=no
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941 else
16942 if test x$gcc_no_link = xyes; then
16943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <stdio.h>
16948 #include <stdarg.h>
16949 void foo(char* fmt, ...)
16951 va_list args; va_start(args, fmt);
16952 vfscanf(stderr, "%i", args);
16953 vscanf("%i", args);
16954 vsnprintf(fmt, 0, "%i", args);
16955 vsscanf(fmt, "%i", args);
16956 snprintf(fmt, 0, "%i");
16959 main ()
16963 return 0;
16965 _ACEOF
16966 if ac_fn_cxx_try_link "$LINENO"; then :
16967 glibcxx_cv_c99_stdio_cxx98=yes
16968 else
16969 glibcxx_cv_c99_stdio_cxx98=no
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext conftest.$ac_ext
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16978 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16979 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16981 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16985 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16987 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16988 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16989 $as_echo_n "(cached) " >&6
16990 else
16992 if test x$gcc_no_link = xyes; then
16993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16994 /* end confdefs.h. */
16995 #include <stdlib.h>
16996 volatile float f;
16997 volatile long double ld;
16998 volatile unsigned long long ll;
16999 lldiv_t mydivt;
17001 main ()
17003 char* tmp;
17004 f = strtof("gnu", &tmp);
17005 ld = strtold("gnu", &tmp);
17006 ll = strtoll("gnu", &tmp, 10);
17007 ll = strtoull("gnu", &tmp, 10);
17008 ll = llabs(10);
17009 mydivt = lldiv(10,1);
17010 ll = mydivt.quot;
17011 ll = mydivt.rem;
17012 ll = atoll("10");
17013 _Exit(0);
17016 return 0;
17018 _ACEOF
17019 if ac_fn_cxx_try_compile "$LINENO"; then :
17020 glibcxx_cv_c99_stdlib_cxx98=yes
17021 else
17022 glibcxx_cv_c99_stdlib_cxx98=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025 else
17026 if test x$gcc_no_link = xyes; then
17027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 #include <stdlib.h>
17032 volatile float f;
17033 volatile long double ld;
17034 volatile unsigned long long ll;
17035 lldiv_t mydivt;
17037 main ()
17039 char* tmp;
17040 f = strtof("gnu", &tmp);
17041 ld = strtold("gnu", &tmp);
17042 ll = strtoll("gnu", &tmp, 10);
17043 ll = strtoull("gnu", &tmp, 10);
17044 ll = llabs(10);
17045 mydivt = lldiv(10,1);
17046 ll = mydivt.quot;
17047 ll = mydivt.rem;
17048 ll = atoll("10");
17049 _Exit(0);
17052 return 0;
17054 _ACEOF
17055 if ac_fn_cxx_try_link "$LINENO"; then :
17056 glibcxx_cv_c99_stdlib_cxx98=yes
17057 else
17058 glibcxx_cv_c99_stdlib_cxx98=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17067 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17068 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17070 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17074 # Check for the existence in <wchar.h> of wcstold, etc.
17075 if test x"$ac_has_wchar_h" = xyes &&
17076 test x"$ac_has_wctype_h" = xyes; then
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17078 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17079 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test
17088 using ::wcstold;
17089 using ::wcstoll;
17090 using ::wcstoull;
17094 main ()
17098 return 0;
17100 _ACEOF
17101 if ac_fn_cxx_try_compile "$LINENO"; then :
17102 glibcxx_cv_c99_wchar_cxx98=yes
17103 else
17104 glibcxx_cv_c99_wchar_cxx98=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 # Checks for wide character functions that may not be present.
17112 # Injection of these is wrapped with guard macros.
17113 # NB: only put functions here, instead of immediately above, if
17114 # absolutely necessary.
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <wchar.h>
17118 namespace test { using ::vfwscanf; }
17120 main ()
17124 return 0;
17126 _ACEOF
17127 if ac_fn_cxx_try_compile "$LINENO"; then :
17129 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 #include <wchar.h>
17137 namespace test { using ::vswscanf; }
17139 main ()
17143 return 0;
17145 _ACEOF
17146 if ac_fn_cxx_try_compile "$LINENO"; then :
17148 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 #include <wchar.h>
17156 namespace test { using ::vwscanf; }
17158 main ()
17162 return 0;
17164 _ACEOF
17165 if ac_fn_cxx_try_compile "$LINENO"; then :
17167 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 #include <wchar.h>
17175 namespace test { using ::wcstof; }
17177 main ()
17181 return 0;
17183 _ACEOF
17184 if ac_fn_cxx_try_compile "$LINENO"; then :
17186 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h. */
17193 #include <wctype.h>
17195 main ()
17197 wint_t t; int i = iswblank(t);
17199 return 0;
17201 _ACEOF
17202 if ac_fn_cxx_try_compile "$LINENO"; then :
17204 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17210 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17211 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17213 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17218 # Option parsed, now set things appropriately.
17219 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17220 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17223 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17224 enable_c99=no;
17225 else
17227 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17231 gcc_no_link="$ac_save_gcc_no_link"
17232 LIBS="$ac_save_LIBS"
17233 CXXFLAGS="$ac_save_CXXFLAGS"
17234 ac_ext=c
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242 ac_ext=cpp
17243 ac_cpp='$CXXCPP $CPPFLAGS'
17244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17249 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17250 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17251 ac_save_CXXFLAGS="$CXXFLAGS"
17252 CXXFLAGS="$CXXFLAGS -std=c++11"
17253 ac_save_LIBS="$LIBS"
17254 ac_save_gcc_no_link="$gcc_no_link"
17256 if test x$gcc_no_link != xyes; then
17257 # Use -fno-exceptions to that the C driver can link these tests without
17258 # hitting undefined references to personality routines.
17259 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17261 $as_echo_n "checking for sin in -lm... " >&6; }
17262 if test "${ac_cv_lib_m_sin+set}" = set; then :
17263 $as_echo_n "(cached) " >&6
17264 else
17265 ac_check_lib_save_LIBS=$LIBS
17266 LIBS="-lm $LIBS"
17267 if test x$gcc_no_link = xyes; then
17268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17273 /* Override any GCC internal prototype to avoid an error.
17274 Use char because int might match the return type of a GCC
17275 builtin and then its argument prototype would still apply. */
17276 #ifdef __cplusplus
17277 extern "C"
17278 #endif
17279 char sin ();
17281 main ()
17283 return sin ();
17285 return 0;
17287 _ACEOF
17288 if ac_fn_cxx_try_link "$LINENO"; then :
17289 ac_cv_lib_m_sin=yes
17290 else
17291 ac_cv_lib_m_sin=no
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 LIBS=$ac_check_lib_save_LIBS
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17298 $as_echo "$ac_cv_lib_m_sin" >&6; }
17299 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17300 LIBS="$LIBS -lm"
17301 else
17303 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17304 gcc_no_link=yes
17310 # Check for the existence of <math.h> functions used if C99 is enabled.
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17312 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17313 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17317 if test x$gcc_no_link = xyes; then
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 #include <math.h>
17321 volatile double d1, d2;
17322 volatile int i;
17324 main ()
17326 i = fpclassify(d1);
17327 i = isfinite(d1);
17328 i = isinf(d1);
17329 i = isnan(d1);
17330 i = isnormal(d1);
17331 i = signbit(d1);
17332 i = isgreater(d1, d2);
17333 i = isgreaterequal(d1, d2);
17334 i = isless(d1, d2);
17335 i = islessequal(d1, d2);
17336 i = islessgreater(d1, d2);
17337 i = islessgreater(d1, d2);
17338 i = isunordered(d1, d2);
17341 return 0;
17343 _ACEOF
17344 if ac_fn_cxx_try_compile "$LINENO"; then :
17345 glibcxx_cv_c99_math_cxx11=yes
17346 else
17347 glibcxx_cv_c99_math_cxx11=no
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 else
17351 if test x$gcc_no_link = xyes; then
17352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #include <math.h>
17357 volatile double d1, d2;
17358 volatile int i;
17360 main ()
17362 i = fpclassify(d1);
17363 i = isfinite(d1);
17364 i = isinf(d1);
17365 i = isnan(d1);
17366 i = isnormal(d1);
17367 i = signbit(d1);
17368 i = isgreater(d1, d2);
17369 i = isgreaterequal(d1, d2);
17370 i = isless(d1, d2);
17371 i = islessequal(d1, d2);
17372 i = islessgreater(d1, d2);
17373 i = islessgreater(d1, d2);
17374 i = isunordered(d1, d2);
17377 return 0;
17379 _ACEOF
17380 if ac_fn_cxx_try_link "$LINENO"; then :
17381 glibcxx_cv_c99_math_cxx11=yes
17382 else
17383 glibcxx_cv_c99_math_cxx11=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17392 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17393 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17395 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17399 # Check for the existence of <complex.h> complex math functions.
17400 # This is necessary even though libstdc++ uses the builtin versions
17401 # of these functions, because if the builtin cannot be used, a reference
17402 # to the library function is emitted.
17403 for ac_header in tgmath.h
17404 do :
17405 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17406 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_TGMATH_H 1
17409 _ACEOF
17410 ac_has_tgmath_h=yes
17411 else
17412 ac_has_tgmath_h=no
17415 done
17417 for ac_header in complex.h
17418 do :
17419 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17420 if test "x$ac_cv_header_complex_h" = x""yes; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_COMPLEX_H 1
17423 _ACEOF
17424 ac_has_complex_h=yes
17425 else
17426 ac_has_complex_h=no
17429 done
17431 if test x"$ac_has_complex_h" = x"yes"; then
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17433 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17434 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17435 $as_echo_n "(cached) " >&6
17436 else
17438 if test x$gcc_no_link = xyes; then
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 #include <complex.h>
17442 typedef __complex__ float float_type;
17443 typedef __complex__ double double_type;
17444 typedef __complex__ long double ld_type;
17445 volatile float_type tmpf;
17446 volatile double_type tmpd;
17447 volatile ld_type tmpld;
17448 volatile float f;
17449 volatile double d;
17450 volatile long double ld;
17452 main ()
17454 f = cabsf(tmpf);
17455 f = cargf(tmpf);
17456 tmpf = ccosf(tmpf);
17457 tmpf = ccoshf(tmpf);
17458 tmpf = cexpf(tmpf);
17459 tmpf = clogf(tmpf);
17460 tmpf = csinf(tmpf);
17461 tmpf = csinhf(tmpf);
17462 tmpf = csqrtf(tmpf);
17463 tmpf = ctanf(tmpf);
17464 tmpf = ctanhf(tmpf);
17465 tmpf = cpowf(tmpf, tmpf);
17466 tmpf = cprojf(tmpf);
17467 d = cabs(tmpd);
17468 d = carg(tmpd);
17469 tmpd = ccos(tmpd);
17470 tmpd = ccosh(tmpd);
17471 tmpd = cexp(tmpd);
17472 tmpd = clog(tmpd);
17473 tmpd = csin(tmpd);
17474 tmpd = csinh(tmpd);
17475 tmpd = csqrt(tmpd);
17476 tmpd = ctan(tmpd);
17477 tmpd = ctanh(tmpd);
17478 tmpd = cpow(tmpd, tmpd);
17479 tmpd = cproj(tmpd);
17480 ld = cabsl(tmpld);
17481 ld = cargl(tmpld);
17482 tmpld = ccosl(tmpld);
17483 tmpld = ccoshl(tmpld);
17484 tmpld = cexpl(tmpld);
17485 tmpld = clogl(tmpld);
17486 tmpld = csinl(tmpld);
17487 tmpld = csinhl(tmpld);
17488 tmpld = csqrtl(tmpld);
17489 tmpld = ctanl(tmpld);
17490 tmpld = ctanhl(tmpld);
17491 tmpld = cpowl(tmpld, tmpld);
17492 tmpld = cprojl(tmpld);
17495 return 0;
17497 _ACEOF
17498 if ac_fn_cxx_try_compile "$LINENO"; then :
17499 glibcxx_cv_c99_complex_cxx11=yes
17500 else
17501 glibcxx_cv_c99_complex_cxx11=no
17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 else
17505 if test x$gcc_no_link = xyes; then
17506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <complex.h>
17511 typedef __complex__ float float_type;
17512 typedef __complex__ double double_type;
17513 typedef __complex__ long double ld_type;
17514 volatile float_type tmpf;
17515 volatile double_type tmpd;
17516 volatile ld_type tmpld;
17517 volatile float f;
17518 volatile double d;
17519 volatile long double ld;
17521 main ()
17523 f = cabsf(tmpf);
17524 f = cargf(tmpf);
17525 tmpf = ccosf(tmpf);
17526 tmpf = ccoshf(tmpf);
17527 tmpf = cexpf(tmpf);
17528 tmpf = clogf(tmpf);
17529 tmpf = csinf(tmpf);
17530 tmpf = csinhf(tmpf);
17531 tmpf = csqrtf(tmpf);
17532 tmpf = ctanf(tmpf);
17533 tmpf = ctanhf(tmpf);
17534 tmpf = cpowf(tmpf, tmpf);
17535 tmpf = cprojf(tmpf);
17536 d = cabs(tmpd);
17537 d = carg(tmpd);
17538 tmpd = ccos(tmpd);
17539 tmpd = ccosh(tmpd);
17540 tmpd = cexp(tmpd);
17541 tmpd = clog(tmpd);
17542 tmpd = csin(tmpd);
17543 tmpd = csinh(tmpd);
17544 tmpd = csqrt(tmpd);
17545 tmpd = ctan(tmpd);
17546 tmpd = ctanh(tmpd);
17547 tmpd = cpow(tmpd, tmpd);
17548 tmpd = cproj(tmpd);
17549 ld = cabsl(tmpld);
17550 ld = cargl(tmpld);
17551 tmpld = ccosl(tmpld);
17552 tmpld = ccoshl(tmpld);
17553 tmpld = cexpl(tmpld);
17554 tmpld = clogl(tmpld);
17555 tmpld = csinl(tmpld);
17556 tmpld = csinhl(tmpld);
17557 tmpld = csqrtl(tmpld);
17558 tmpld = ctanl(tmpld);
17559 tmpld = ctanhl(tmpld);
17560 tmpld = cpowl(tmpld, tmpld);
17561 tmpld = cprojl(tmpld);
17564 return 0;
17566 _ACEOF
17567 if ac_fn_cxx_try_link "$LINENO"; then :
17568 glibcxx_cv_c99_complex_cxx11=yes
17569 else
17570 glibcxx_cv_c99_complex_cxx11=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17580 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17581 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17583 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17587 # Check for the existence in <stdio.h> of vscanf, et. al.
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17589 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17590 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17594 if test x$gcc_no_link = xyes; then
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <stdio.h>
17598 #include <stdarg.h>
17599 void foo(char* fmt, ...)
17601 va_list args; va_start(args, fmt);
17602 vfscanf(stderr, "%i", args);
17603 vscanf("%i", args);
17604 vsnprintf(fmt, 0, "%i", args);
17605 vsscanf(fmt, "%i", args);
17606 snprintf(fmt, 0, "%i");
17609 main ()
17613 return 0;
17615 _ACEOF
17616 if ac_fn_cxx_try_compile "$LINENO"; then :
17617 glibcxx_cv_c99_stdio_cxx11=yes
17618 else
17619 glibcxx_cv_c99_stdio_cxx11=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622 else
17623 if test x$gcc_no_link = xyes; then
17624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #include <stdio.h>
17629 #include <stdarg.h>
17630 void foo(char* fmt, ...)
17632 va_list args; va_start(args, fmt);
17633 vfscanf(stderr, "%i", args);
17634 vscanf("%i", args);
17635 vsnprintf(fmt, 0, "%i", args);
17636 vsscanf(fmt, "%i", args);
17637 snprintf(fmt, 0, "%i");
17640 main ()
17644 return 0;
17646 _ACEOF
17647 if ac_fn_cxx_try_link "$LINENO"; then :
17648 glibcxx_cv_c99_stdio_cxx11=yes
17649 else
17650 glibcxx_cv_c99_stdio_cxx11=no
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17659 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17660 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17662 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17666 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17668 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17669 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17673 if test x$gcc_no_link = xyes; then
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 #include <stdlib.h>
17677 volatile float f;
17678 volatile long double ld;
17679 volatile unsigned long long ll;
17680 lldiv_t mydivt;
17682 main ()
17684 char* tmp;
17685 f = strtof("gnu", &tmp);
17686 ld = strtold("gnu", &tmp);
17687 ll = strtoll("gnu", &tmp, 10);
17688 ll = strtoull("gnu", &tmp, 10);
17689 ll = llabs(10);
17690 mydivt = lldiv(10,1);
17691 ll = mydivt.quot;
17692 ll = mydivt.rem;
17693 ll = atoll("10");
17694 _Exit(0);
17697 return 0;
17699 _ACEOF
17700 if ac_fn_cxx_try_compile "$LINENO"; then :
17701 glibcxx_cv_c99_stdlib_cxx11=yes
17702 else
17703 glibcxx_cv_c99_stdlib_cxx11=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 else
17707 if test x$gcc_no_link = xyes; then
17708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17712 #include <stdlib.h>
17713 volatile float f;
17714 volatile long double ld;
17715 volatile unsigned long long ll;
17716 lldiv_t mydivt;
17718 main ()
17720 char* tmp;
17721 f = strtof("gnu", &tmp);
17722 ld = strtold("gnu", &tmp);
17723 ll = strtoll("gnu", &tmp, 10);
17724 ll = strtoull("gnu", &tmp, 10);
17725 ll = llabs(10);
17726 mydivt = lldiv(10,1);
17727 ll = mydivt.quot;
17728 ll = mydivt.rem;
17729 ll = atoll("10");
17730 _Exit(0);
17733 return 0;
17735 _ACEOF
17736 if ac_fn_cxx_try_link "$LINENO"; then :
17737 glibcxx_cv_c99_stdlib_cxx11=yes
17738 else
17739 glibcxx_cv_c99_stdlib_cxx11=no
17741 rm -f core conftest.err conftest.$ac_objext \
17742 conftest$ac_exeext conftest.$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17748 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17749 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17751 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17755 # Check for the existence in <wchar.h> of wcstold, etc.
17756 if test x"$ac_has_wchar_h" = xyes &&
17757 test x"$ac_has_wctype_h" = xyes; then
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17759 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17760 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17766 #include <wchar.h>
17767 namespace test
17769 using ::wcstold;
17770 using ::wcstoll;
17771 using ::wcstoull;
17775 main ()
17779 return 0;
17781 _ACEOF
17782 if ac_fn_cxx_try_compile "$LINENO"; then :
17783 glibcxx_cv_c99_wchar_cxx11=yes
17784 else
17785 glibcxx_cv_c99_wchar_cxx11=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792 # Checks for wide character functions that may not be present.
17793 # Injection of these is wrapped with guard macros.
17794 # NB: only put functions here, instead of immediately above, if
17795 # absolutely necessary.
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17798 #include <wchar.h>
17799 namespace test { using ::vfwscanf; }
17801 main ()
17805 return 0;
17807 _ACEOF
17808 if ac_fn_cxx_try_compile "$LINENO"; then :
17810 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 #include <wchar.h>
17818 namespace test { using ::vswscanf; }
17820 main ()
17824 return 0;
17826 _ACEOF
17827 if ac_fn_cxx_try_compile "$LINENO"; then :
17829 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 #include <wchar.h>
17837 namespace test { using ::vwscanf; }
17839 main ()
17843 return 0;
17845 _ACEOF
17846 if ac_fn_cxx_try_compile "$LINENO"; then :
17848 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <wchar.h>
17856 namespace test { using ::wcstof; }
17858 main ()
17862 return 0;
17864 _ACEOF
17865 if ac_fn_cxx_try_compile "$LINENO"; then :
17867 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17874 #include <wctype.h>
17876 main ()
17878 wint_t t; int i = iswblank(t);
17880 return 0;
17882 _ACEOF
17883 if ac_fn_cxx_try_compile "$LINENO"; then :
17885 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17891 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17892 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17894 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17899 gcc_no_link="$ac_save_gcc_no_link"
17900 LIBS="$ac_save_LIBS"
17901 CXXFLAGS="$ac_save_CXXFLAGS"
17902 ac_ext=c
17903 ac_cpp='$CPP $CPPFLAGS'
17904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17911 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17913 $as_echo "$enable_c99" >&6; }
17916 # Check whether --enable-concept-checks was given.
17917 if test "${enable_concept_checks+set}" = set; then :
17918 enableval=$enable_concept_checks;
17919 case "$enableval" in
17920 yes|no) ;;
17921 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17922 esac
17924 else
17925 enable_concept_checks=no
17929 if test $enable_concept_checks = yes; then
17931 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17936 # Check whether --enable-libstdcxx-debug-flags was given.
17937 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17938 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17939 xno | x) enable_libstdcxx_debug_flags= ;;
17940 x-*) ;;
17941 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17942 esac
17943 else
17944 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17949 # Option parsed, now set things appropriately
17950 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17954 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17958 $as_echo_n "checking for additional debug build... " >&6; }
17959 # Check whether --enable-libstdcxx-debug was given.
17960 if test "${enable_libstdcxx_debug+set}" = set; then :
17961 enableval=$enable_libstdcxx_debug;
17962 case "$enableval" in
17963 yes|no) ;;
17964 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17965 esac
17967 else
17968 enable_libstdcxx_debug=no
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17973 $as_echo "$enable_libstdcxx_debug" >&6; }
17978 enable_parallel=no;
17980 # See if configured libgomp/omp.h exists. (libgomp may be in
17981 # noconfigdirs but not explicitly disabled.)
17982 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17983 enable_parallel=yes;
17984 else
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17986 $as_echo "$as_me: target-libgomp not built" >&6;}
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17990 $as_echo_n "checking for parallel mode support... " >&6; }
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17992 $as_echo "$enable_parallel" >&6; }
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17995 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17996 # Check whether --enable-cxx-flags was given.
17997 if test "${enable_cxx_flags+set}" = set; then :
17998 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17999 xno | x) enable_cxx_flags= ;;
18000 x-*) ;;
18001 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18002 esac
18003 else
18004 enable_cxx_flags=
18009 # Run through flags (either default or command-line) and set anything
18010 # extra (e.g., #defines) that must accompany particular g++ options.
18011 if test -n "$enable_cxx_flags"; then
18012 for f in $enable_cxx_flags; do
18013 case "$f" in
18014 -fhonor-std) ;;
18015 -*) ;;
18016 *) # and we're trying to pass /what/ exactly?
18017 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18018 esac
18019 done
18022 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18024 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18028 # Check whether --enable-fully-dynamic-string was given.
18029 if test "${enable_fully_dynamic_string+set}" = set; then :
18030 enableval=$enable_fully_dynamic_string;
18031 case "$enableval" in
18032 yes|no) ;;
18033 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18034 esac
18036 else
18037 enable_fully_dynamic_string=no
18041 if test $enable_fully_dynamic_string = yes; then
18042 enable_fully_dynamic_string_def=1
18043 else
18044 enable_fully_dynamic_string_def=0
18047 cat >>confdefs.h <<_ACEOF
18048 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18049 _ACEOF
18054 # Check whether --enable-extern-template was given.
18055 if test "${enable_extern_template+set}" = set; then :
18056 enableval=$enable_extern_template;
18057 case "$enableval" in
18058 yes|no) ;;
18059 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18060 esac
18062 else
18063 enable_extern_template=yes
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18069 $as_echo_n "checking for extern template support... " >&6; }
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18071 $as_echo "$enable_extern_template" >&6; }
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18078 $as_echo_n "checking for custom python install directory... " >&6; }
18080 # Check whether --with-python-dir was given.
18081 if test "${with_python_dir+set}" = set; then :
18082 withval=$with_python_dir; with_python_dir=$withval
18083 else
18084 with_python_dir="no"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18088 $as_echo "${with_python_dir}" >&6; }
18090 # Needed for installing Python modules during make install.
18091 python_mod_dir="${with_python_dir}"
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18097 $as_echo_n "checking for -Werror... " >&6; }
18098 # Check whether --enable-werror was given.
18099 if test "${enable_werror+set}" = set; then :
18100 enableval=$enable_werror;
18101 case "$enableval" in
18102 yes|no) ;;
18103 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18104 esac
18106 else
18107 enable_werror=yes
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18112 $as_echo "$enable_werror" >&6; }
18117 # Check whether --enable-vtable-verify was given.
18118 if test "${enable_vtable_verify+set}" = set; then :
18119 enableval=$enable_vtable_verify;
18120 case "$enableval" in
18121 yes|no) ;;
18122 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18123 esac
18125 else
18126 enable_vtable_verify=no
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18132 $as_echo_n "checking for vtable verify support... " >&6; }
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18134 $as_echo "$enable_vtable_verify" >&6; }
18136 vtv_cygmin=no
18137 if test $enable_vtable_verify = yes; then
18138 case ${target_os} in
18139 cygwin*|mingw32*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18142 vtv_cygmin=yes
18144 darwin*)
18145 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18146 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18148 solaris2*)
18149 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18150 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18153 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18154 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18156 esac
18157 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18158 else
18159 VTV_CXXFLAGS=
18160 VTV_PCH_CXXFLAGS=
18161 VTV_CXXLINKFLAGS=
18167 if test x$vtv_cygmin = xyes; then
18168 VTV_CYGMIN_TRUE=
18169 VTV_CYGMIN_FALSE='#'
18170 else
18171 VTV_CYGMIN_TRUE='#'
18172 VTV_CYGMIN_FALSE=
18178 # Checks for operating systems support that doesn't require linking.
18182 ac_ext=cpp
18183 ac_cpp='$CXXCPP $CPPFLAGS'
18184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18189 # and we don't need a declaration for C++14 anyway.
18190 ac_save_CXXFLAGS="$CXXFLAGS"
18191 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18194 $as_echo_n "checking for gets declaration... " >&6; }
18195 if test "${glibcxx_cv_gets+set}" = set; then :
18196 $as_echo_n "(cached) " >&6
18197 else
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18201 #include <stdio.h>
18202 namespace test
18204 using ::gets;
18207 _ACEOF
18208 if ac_fn_cxx_try_compile "$LINENO"; then :
18209 glibcxx_cv_gets=yes
18210 else
18211 glibcxx_cv_gets=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 if test $glibcxx_cv_gets = yes; then
18220 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18224 $as_echo "$glibcxx_cv_gets" >&6; }
18226 CXXFLAGS="$ac_save_CXXFLAGS"
18227 ac_ext=c
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18237 ac_ext=cpp
18238 ac_cpp='$CXXCPP $CPPFLAGS'
18239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18243 ac_save_CXXFLAGS="$CXXFLAGS"
18244 CXXFLAGS="$CXXFLAGS -std=c++11"
18246 case "$host" in
18247 *-*-solaris2.*)
18248 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18249 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18251 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18252 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18253 $as_echo_n "(cached) " >&6
18254 else
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18258 #include <math.h>
18259 #undef isfinite
18260 namespace std {
18261 inline bool isfinite(float __x)
18262 { return __builtin_isfinite(__x); }
18265 _ACEOF
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18267 glibcxx_cv_math11_fp_overload=no
18268 else
18269 glibcxx_cv_math11_fp_overload=yes
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18276 # autoheader cannot handle indented templates.
18279 if test $glibcxx_cv_math11_fp_overload = yes; then
18280 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18284 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18286 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18287 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18289 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18290 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295 /* end confdefs.h. */
18296 #include <math.h>
18297 namespace std {
18298 template<typename _Tp>
18299 struct __is_integer;
18300 template<>
18301 struct __is_integer<int>
18303 enum { __value = 1 };
18306 namespace __gnu_cxx {
18307 template<bool, typename>
18308 struct __enable_if;
18309 template<typename _Tp>
18310 struct __enable_if<true, _Tp>
18311 { typedef _Tp __type; };
18313 namespace std {
18314 template<typename _Tp>
18315 constexpr typename __gnu_cxx::__enable_if
18316 <__is_integer<_Tp>::__value, double>::__type
18317 log2(_Tp __x)
18318 { return __builtin_log2(__x); }
18321 main (void)
18323 int i = 1000;
18324 return std::log2(i);
18327 _ACEOF
18328 if ac_fn_cxx_try_compile "$LINENO"; then :
18329 glibcxx_cv_math11_int_overload=no
18330 else
18331 glibcxx_cv_math11_int_overload=yes
18334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18338 # autoheader cannot handle indented templates.
18341 if test $glibcxx_cv_math11_int_overload = yes; then
18342 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18346 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18349 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18350 # functions (instead of or as well as the C99 generic macros) then we
18351 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18352 # and must use the ones from <math.h> instead.
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18354 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18355 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18356 $as_echo_n "(cached) " >&6
18357 else
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18361 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18362 #include <math.h>
18363 #undef isinf
18364 namespace std {
18365 using ::isinf;
18366 bool isinf(float);
18367 bool isinf(long double);
18369 using std::isinf;
18370 bool b = isinf(0.0);
18372 _ACEOF
18373 if ac_fn_cxx_try_compile "$LINENO"; then :
18374 glibcxx_cv_obsolete_isinf=yes
18375 else
18376 glibcxx_cv_obsolete_isinf=no
18379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18383 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18384 if test $glibcxx_cv_obsolete_isinf = yes; then
18386 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18391 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18392 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18399 #include <math.h>
18400 #undef isnan
18401 namespace std {
18402 using ::isnan;
18403 bool isnan(float);
18404 bool isnan(long double);
18406 using std::isnan;
18407 bool b = isnan(0.0);
18409 _ACEOF
18410 if ac_fn_cxx_try_compile "$LINENO"; then :
18411 glibcxx_cv_obsolete_isnan=yes
18412 else
18413 glibcxx_cv_obsolete_isnan=no
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18420 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18421 if test $glibcxx_cv_obsolete_isnan = yes; then
18423 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18427 esac
18429 CXXFLAGS="$ac_save_CXXFLAGS"
18430 ac_ext=c
18431 ac_cpp='$CPP $CPPFLAGS'
18432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18440 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18441 if test "${glibcxx_cv_system_error1+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18443 else
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 #include <errno.h>
18449 main ()
18451 int i = EOWNERDEAD;
18453 return 0;
18455 _ACEOF
18456 if ac_fn_c_try_compile "$LINENO"; then :
18457 glibcxx_cv_system_error1=yes
18458 else
18459 glibcxx_cv_system_error1=no
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18466 $as_echo "$glibcxx_cv_system_error1" >&6; }
18467 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18469 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18473 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18474 if test "${glibcxx_cv_system_error2+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 #include <errno.h>
18482 main ()
18484 int i = ENOTRECOVERABLE;
18486 return 0;
18488 _ACEOF
18489 if ac_fn_c_try_compile "$LINENO"; then :
18490 glibcxx_cv_system_error2=yes
18491 else
18492 glibcxx_cv_system_error2=no
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18499 $as_echo "$glibcxx_cv_system_error2" >&6; }
18500 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18502 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18506 $as_echo_n "checking for ENOLINK... " >&6; }
18507 if test "${glibcxx_cv_system_error3+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <errno.h>
18515 main ()
18517 int i = ENOLINK;
18519 return 0;
18521 _ACEOF
18522 if ac_fn_c_try_compile "$LINENO"; then :
18523 glibcxx_cv_system_error3=yes
18524 else
18525 glibcxx_cv_system_error3=no
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18532 $as_echo "$glibcxx_cv_system_error3" >&6; }
18533 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18535 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18539 $as_echo_n "checking for EPROTO... " >&6; }
18540 if test "${glibcxx_cv_system_error4+set}" = set; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18545 /* end confdefs.h. */
18546 #include <errno.h>
18548 main ()
18550 int i = EPROTO;
18552 return 0;
18554 _ACEOF
18555 if ac_fn_c_try_compile "$LINENO"; then :
18556 glibcxx_cv_system_error4=yes
18557 else
18558 glibcxx_cv_system_error4=no
18560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18565 $as_echo "$glibcxx_cv_system_error4" >&6; }
18566 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18568 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18572 $as_echo_n "checking for ENODATA... " >&6; }
18573 if test "${glibcxx_cv_system_error5+set}" = set; then :
18574 $as_echo_n "(cached) " >&6
18575 else
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 #include <errno.h>
18581 main ()
18583 int i = ENODATA;
18585 return 0;
18587 _ACEOF
18588 if ac_fn_c_try_compile "$LINENO"; then :
18589 glibcxx_cv_system_error5=yes
18590 else
18591 glibcxx_cv_system_error5=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18598 $as_echo "$glibcxx_cv_system_error5" >&6; }
18599 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18601 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18605 $as_echo_n "checking for ENOSR... " >&6; }
18606 if test "${glibcxx_cv_system_error6+set}" = set; then :
18607 $as_echo_n "(cached) " >&6
18608 else
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <errno.h>
18614 main ()
18616 int i = ENOSR;
18618 return 0;
18620 _ACEOF
18621 if ac_fn_c_try_compile "$LINENO"; then :
18622 glibcxx_cv_system_error6=yes
18623 else
18624 glibcxx_cv_system_error6=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18631 $as_echo "$glibcxx_cv_system_error6" >&6; }
18632 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18634 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18638 $as_echo_n "checking for ENOSTR... " >&6; }
18639 if test "${glibcxx_cv_system_error7+set}" = set; then :
18640 $as_echo_n "(cached) " >&6
18641 else
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #include <errno.h>
18647 main ()
18649 int i = ENOSTR;
18651 return 0;
18653 _ACEOF
18654 if ac_fn_c_try_compile "$LINENO"; then :
18655 glibcxx_cv_system_error7=yes
18656 else
18657 glibcxx_cv_system_error7=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18664 $as_echo "$glibcxx_cv_system_error7" >&6; }
18665 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18667 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18671 $as_echo_n "checking for ETIME... " >&6; }
18672 if test "${glibcxx_cv_system_error8+set}" = set; then :
18673 $as_echo_n "(cached) " >&6
18674 else
18676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18677 /* end confdefs.h. */
18678 #include <errno.h>
18680 main ()
18682 int i = ETIME;
18684 return 0;
18686 _ACEOF
18687 if ac_fn_c_try_compile "$LINENO"; then :
18688 glibcxx_cv_system_error8=yes
18689 else
18690 glibcxx_cv_system_error8=no
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18697 $as_echo "$glibcxx_cv_system_error8" >&6; }
18698 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18700 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18704 $as_echo_n "checking for EBADMSG... " >&6; }
18705 if test "${glibcxx_cv_system_error9+set}" = set; then :
18706 $as_echo_n "(cached) " >&6
18707 else
18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18711 #include <errno.h>
18713 main ()
18715 int i = EBADMSG;
18717 return 0;
18719 _ACEOF
18720 if ac_fn_c_try_compile "$LINENO"; then :
18721 glibcxx_cv_system_error9=yes
18722 else
18723 glibcxx_cv_system_error9=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18730 $as_echo "$glibcxx_cv_system_error9" >&6; }
18731 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18733 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18737 $as_echo_n "checking for ECANCELED... " >&6; }
18738 if test "${glibcxx_cv_system_error10+set}" = set; then :
18739 $as_echo_n "(cached) " >&6
18740 else
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 #include <errno.h>
18746 main ()
18748 int i = ECANCELED;
18750 return 0;
18752 _ACEOF
18753 if ac_fn_c_try_compile "$LINENO"; then :
18754 glibcxx_cv_system_error10=yes
18755 else
18756 glibcxx_cv_system_error10=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18763 $as_echo "$glibcxx_cv_system_error10" >&6; }
18764 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18766 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18770 $as_echo_n "checking for EOVERFLOW... " >&6; }
18771 if test "${glibcxx_cv_system_error11+set}" = set; then :
18772 $as_echo_n "(cached) " >&6
18773 else
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777 #include <errno.h>
18779 main ()
18781 int i = EOVERFLOW;
18783 return 0;
18785 _ACEOF
18786 if ac_fn_c_try_compile "$LINENO"; then :
18787 glibcxx_cv_system_error11=yes
18788 else
18789 glibcxx_cv_system_error11=no
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18796 $as_echo "$glibcxx_cv_system_error11" >&6; }
18797 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18799 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18803 $as_echo_n "checking for ENOTSUP... " >&6; }
18804 if test "${glibcxx_cv_system_error12+set}" = set; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 #include <errno.h>
18812 main ()
18814 int i = ENOTSUP;
18816 return 0;
18818 _ACEOF
18819 if ac_fn_c_try_compile "$LINENO"; then :
18820 glibcxx_cv_system_error12=yes
18821 else
18822 glibcxx_cv_system_error12=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18829 $as_echo "$glibcxx_cv_system_error12" >&6; }
18830 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18832 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18836 $as_echo_n "checking for EIDRM... " >&6; }
18837 if test "${glibcxx_cv_system_error13+set}" = set; then :
18838 $as_echo_n "(cached) " >&6
18839 else
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <errno.h>
18845 main ()
18847 int i = EIDRM;
18849 return 0;
18851 _ACEOF
18852 if ac_fn_c_try_compile "$LINENO"; then :
18853 glibcxx_cv_system_error13=yes
18854 else
18855 glibcxx_cv_system_error13=no
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18862 $as_echo "$glibcxx_cv_system_error13" >&6; }
18863 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18865 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18869 $as_echo_n "checking for ETXTBSY... " >&6; }
18870 if test "${glibcxx_cv_system_error14+set}" = set; then :
18871 $as_echo_n "(cached) " >&6
18872 else
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 #include <errno.h>
18878 main ()
18880 int i = ETXTBSY;
18882 return 0;
18884 _ACEOF
18885 if ac_fn_c_try_compile "$LINENO"; then :
18886 glibcxx_cv_system_error14=yes
18887 else
18888 glibcxx_cv_system_error14=no
18890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18895 $as_echo "$glibcxx_cv_system_error14" >&6; }
18896 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18898 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18902 $as_echo_n "checking for ECHILD... " >&6; }
18903 if test "${glibcxx_cv_system_error15+set}" = set; then :
18904 $as_echo_n "(cached) " >&6
18905 else
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 #include <errno.h>
18911 main ()
18913 int i = ECHILD;
18915 return 0;
18917 _ACEOF
18918 if ac_fn_c_try_compile "$LINENO"; then :
18919 glibcxx_cv_system_error15=yes
18920 else
18921 glibcxx_cv_system_error15=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18928 $as_echo "$glibcxx_cv_system_error15" >&6; }
18929 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18931 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18935 $as_echo_n "checking for ENOSPC... " >&6; }
18936 if test "${glibcxx_cv_system_error16+set}" = set; then :
18937 $as_echo_n "(cached) " >&6
18938 else
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 #include <errno.h>
18944 main ()
18946 int i = ENOSPC;
18948 return 0;
18950 _ACEOF
18951 if ac_fn_c_try_compile "$LINENO"; then :
18952 glibcxx_cv_system_error16=yes
18953 else
18954 glibcxx_cv_system_error16=no
18956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18961 $as_echo "$glibcxx_cv_system_error16" >&6; }
18962 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18964 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18968 $as_echo_n "checking for EPERM... " >&6; }
18969 if test "${glibcxx_cv_system_error17+set}" = set; then :
18970 $as_echo_n "(cached) " >&6
18971 else
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18975 #include <errno.h>
18977 main ()
18979 int i = EPERM;
18981 return 0;
18983 _ACEOF
18984 if ac_fn_c_try_compile "$LINENO"; then :
18985 glibcxx_cv_system_error17=yes
18986 else
18987 glibcxx_cv_system_error17=no
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18994 $as_echo "$glibcxx_cv_system_error17" >&6; }
18995 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18997 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19001 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19002 if test "${glibcxx_cv_system_error18+set}" = set; then :
19003 $as_echo_n "(cached) " >&6
19004 else
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19008 #include <errno.h>
19010 main ()
19012 int i = ETIMEDOUT;
19014 return 0;
19016 _ACEOF
19017 if ac_fn_c_try_compile "$LINENO"; then :
19018 glibcxx_cv_system_error18=yes
19019 else
19020 glibcxx_cv_system_error18=no
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19027 $as_echo "$glibcxx_cv_system_error18" >&6; }
19028 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19030 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19034 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19035 if test "${glibcxx_cv_system_error19+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <errno.h>
19043 main ()
19045 int i = EWOULDBLOCK;
19047 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_compile "$LINENO"; then :
19051 glibcxx_cv_system_error19=yes
19052 else
19053 glibcxx_cv_system_error19=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19060 $as_echo "$glibcxx_cv_system_error19" >&6; }
19061 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19063 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19070 # Test uchar.h.
19071 for ac_header in uchar.h
19072 do :
19073 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19074 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_UCHAR_H 1
19077 _ACEOF
19078 ac_has_uchar_h=yes
19079 else
19080 ac_has_uchar_h=no
19083 done
19087 ac_ext=cpp
19088 ac_cpp='$CXXCPP $CPPFLAGS'
19089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19093 ac_save_CXXFLAGS="$CXXFLAGS"
19094 CXXFLAGS="$CXXFLAGS -std=c++11"
19096 if test x"$ac_has_uchar_h" = x"yes"; then
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19098 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19100 /* end confdefs.h. */
19101 #include <uchar.h>
19102 #ifdef __STDC_UTF_16__
19103 long i = __STDC_UTF_16__;
19104 #endif
19105 #ifdef __STDC_UTF_32__
19106 long j = __STDC_UTF_32__;
19107 #endif
19108 namespace test
19110 using ::c16rtomb;
19111 using ::c32rtomb;
19112 using ::mbrtoc16;
19113 using ::mbrtoc32;
19117 main ()
19121 return 0;
19123 _ACEOF
19124 if ac_fn_cxx_try_compile "$LINENO"; then :
19125 ac_c11_uchar_cxx11=yes
19126 else
19127 ac_c11_uchar_cxx11=no
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130 else
19131 ac_c11_uchar_cxx11=no
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19134 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19135 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19137 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19141 CXXFLAGS="$ac_save_CXXFLAGS"
19142 ac_ext=c
19143 ac_cpp='$CPP $CPPFLAGS'
19144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19150 # For the streamoff typedef.
19154 ac_ext=cpp
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19162 $as_echo_n "checking for int64_t... " >&6; }
19163 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19164 $as_echo_n "(cached) " >&6
19165 else
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #include <stdint.h>
19171 main ()
19173 int64_t var;
19175 return 0;
19177 _ACEOF
19178 if ac_fn_cxx_try_compile "$LINENO"; then :
19179 glibcxx_cv_INT64_T=yes
19180 else
19181 glibcxx_cv_INT64_T=no
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 if test $glibcxx_cv_INT64_T = yes; then
19190 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19193 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19196 $as_echo_n "checking for int64_t as long... " >&6; }
19197 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19198 $as_echo_n "(cached) " >&6
19199 else
19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19203 #include <stdint.h>
19204 template<typename, typename> struct same { enum { value = -1 }; };
19205 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19206 int array[same<int64_t, long>::value];
19208 main ()
19212 return 0;
19214 _ACEOF
19215 if ac_fn_cxx_try_compile "$LINENO"; then :
19216 glibcxx_cv_int64_t_long=yes
19217 else
19218 glibcxx_cv_int64_t_long=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 if test $glibcxx_cv_int64_t_long = yes; then
19227 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19230 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19234 $as_echo_n "checking for int64_t as long long... " >&6; }
19235 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19236 $as_echo_n "(cached) " >&6
19237 else
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 #include <stdint.h>
19242 template<typename, typename> struct same { enum { value = -1 }; };
19243 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19244 int array[same<int64_t, long long>::value];
19246 main ()
19250 return 0;
19252 _ACEOF
19253 if ac_fn_cxx_try_compile "$LINENO"; then :
19254 glibcxx_cv_int64_t_long_long=yes
19255 else
19256 glibcxx_cv_int64_t_long_long=no
19258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 if test $glibcxx_cv_int64_t_long_long = yes; then
19265 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19268 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19272 ac_ext=c
19273 ac_cpp='$CPP $CPPFLAGS'
19274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19280 # For LFS support.
19283 ac_ext=cpp
19284 ac_cpp='$CXXCPP $CPPFLAGS'
19285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289 ac_save_CXXFLAGS="$CXXFLAGS"
19290 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19292 $as_echo_n "checking for LFS support... " >&6; }
19293 if test "${glibcxx_cv_LFS+set}" = set; then :
19294 $as_echo_n "(cached) " >&6
19295 else
19297 if test x$gcc_no_link = xyes; then
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19300 #include <unistd.h>
19301 #include <stdio.h>
19302 #include <sys/stat.h>
19305 main ()
19307 FILE* fp;
19308 fopen64("t", "w");
19309 fseeko64(fp, 0, SEEK_CUR);
19310 ftello64(fp);
19311 lseek64(1, 0, SEEK_CUR);
19312 struct stat64 buf;
19313 fstat64(1, &buf);
19315 return 0;
19317 _ACEOF
19318 if ac_fn_cxx_try_compile "$LINENO"; then :
19319 glibcxx_cv_LFS=yes
19320 else
19321 glibcxx_cv_LFS=no
19323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 else
19325 if test x$gcc_no_link = xyes; then
19326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 #include <unistd.h>
19331 #include <stdio.h>
19332 #include <sys/stat.h>
19335 main ()
19337 FILE* fp;
19338 fopen64("t", "w");
19339 fseeko64(fp, 0, SEEK_CUR);
19340 ftello64(fp);
19341 lseek64(1, 0, SEEK_CUR);
19342 struct stat64 buf;
19343 fstat64(1, &buf);
19345 return 0;
19347 _ACEOF
19348 if ac_fn_cxx_try_link "$LINENO"; then :
19349 glibcxx_cv_LFS=yes
19350 else
19351 glibcxx_cv_LFS=no
19353 rm -f core conftest.err conftest.$ac_objext \
19354 conftest$ac_exeext conftest.$ac_ext
19359 if test $glibcxx_cv_LFS = yes; then
19361 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19365 $as_echo "$glibcxx_cv_LFS" >&6; }
19366 CXXFLAGS="$ac_save_CXXFLAGS"
19367 ac_ext=c
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19375 # For showmanyc_helper().
19376 for ac_header in sys/ioctl.h sys/filio.h
19377 do :
19378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19380 eval as_val=\$$as_ac_Header
19381 if test "x$as_val" = x""yes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19384 _ACEOF
19388 done
19393 ac_ext=cpp
19394 ac_cpp='$CXXCPP $CPPFLAGS'
19395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399 ac_save_CXXFLAGS="$CXXFLAGS"
19400 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19403 $as_echo_n "checking for poll... " >&6; }
19404 if test "${glibcxx_cv_POLL+set}" = set; then :
19405 $as_echo_n "(cached) " >&6
19406 else
19408 if test x$gcc_no_link = xyes; then
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410 /* end confdefs.h. */
19411 #include <poll.h>
19413 main ()
19415 struct pollfd pfd[1];
19416 pfd[0].events = POLLIN;
19417 poll(pfd, 1, 0);
19419 return 0;
19421 _ACEOF
19422 if ac_fn_cxx_try_compile "$LINENO"; then :
19423 glibcxx_cv_POLL=yes
19424 else
19425 glibcxx_cv_POLL=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 else
19429 if test x$gcc_no_link = xyes; then
19430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #include <poll.h>
19436 main ()
19438 struct pollfd pfd[1];
19439 pfd[0].events = POLLIN;
19440 poll(pfd, 1, 0);
19442 return 0;
19444 _ACEOF
19445 if ac_fn_cxx_try_link "$LINENO"; then :
19446 glibcxx_cv_POLL=yes
19447 else
19448 glibcxx_cv_POLL=no
19450 rm -f core conftest.err conftest.$ac_objext \
19451 conftest$ac_exeext conftest.$ac_ext
19456 if test $glibcxx_cv_POLL = yes; then
19458 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19462 $as_echo "$glibcxx_cv_POLL" >&6; }
19464 CXXFLAGS="$ac_save_CXXFLAGS"
19465 ac_ext=c
19466 ac_cpp='$CPP $CPPFLAGS'
19467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19475 ac_ext=cpp
19476 ac_cpp='$CXXCPP $CPPFLAGS'
19477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19481 ac_save_CXXFLAGS="$CXXFLAGS"
19482 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19485 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19486 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19490 if test x$gcc_no_link = xyes; then
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 #include <sys/stat.h>
19495 main ()
19497 struct stat buffer;
19498 fstat(0, &buffer);
19499 S_ISREG(buffer.st_mode);
19501 return 0;
19503 _ACEOF
19504 if ac_fn_cxx_try_compile "$LINENO"; then :
19505 glibcxx_cv_S_ISREG=yes
19506 else
19507 glibcxx_cv_S_ISREG=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 else
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 #include <sys/stat.h>
19518 main ()
19520 struct stat buffer;
19521 fstat(0, &buffer);
19522 S_ISREG(buffer.st_mode);
19524 return 0;
19526 _ACEOF
19527 if ac_fn_cxx_try_link "$LINENO"; then :
19528 glibcxx_cv_S_ISREG=yes
19529 else
19530 glibcxx_cv_S_ISREG=no
19532 rm -f core conftest.err conftest.$ac_objext \
19533 conftest$ac_exeext conftest.$ac_ext
19538 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19542 if test x$gcc_no_link = xyes; then
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #include <sys/stat.h>
19547 main ()
19549 struct stat buffer;
19550 fstat(0, &buffer);
19551 S_IFREG & buffer.st_mode;
19553 return 0;
19555 _ACEOF
19556 if ac_fn_cxx_try_compile "$LINENO"; then :
19557 glibcxx_cv_S_IFREG=yes
19558 else
19559 glibcxx_cv_S_IFREG=no
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562 else
19563 if test x$gcc_no_link = xyes; then
19564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <sys/stat.h>
19570 main ()
19572 struct stat buffer;
19573 fstat(0, &buffer);
19574 S_IFREG & buffer.st_mode;
19576 return 0;
19578 _ACEOF
19579 if ac_fn_cxx_try_link "$LINENO"; then :
19580 glibcxx_cv_S_IFREG=yes
19581 else
19582 glibcxx_cv_S_IFREG=no
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19590 res=no
19591 if test $glibcxx_cv_S_ISREG = yes; then
19593 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19595 res=S_ISREG
19596 elif test $glibcxx_cv_S_IFREG = yes; then
19598 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19600 res=S_IFREG
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19603 $as_echo "$res" >&6; }
19605 CXXFLAGS="$ac_save_CXXFLAGS"
19606 ac_ext=c
19607 ac_cpp='$CPP $CPPFLAGS'
19608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19614 # For xsputn_2().
19615 for ac_header in sys/uio.h
19616 do :
19617 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19618 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19619 cat >>confdefs.h <<_ACEOF
19620 #define HAVE_SYS_UIO_H 1
19621 _ACEOF
19625 done
19630 ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636 ac_save_CXXFLAGS="$CXXFLAGS"
19637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19640 $as_echo_n "checking for writev... " >&6; }
19641 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19642 $as_echo_n "(cached) " >&6
19643 else
19645 if test x$gcc_no_link = xyes; then
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #include <sys/uio.h>
19650 main ()
19652 struct iovec iov[2];
19653 writev(0, iov, 0);
19655 return 0;
19657 _ACEOF
19658 if ac_fn_cxx_try_compile "$LINENO"; then :
19659 glibcxx_cv_WRITEV=yes
19660 else
19661 glibcxx_cv_WRITEV=no
19663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 else
19665 if test x$gcc_no_link = xyes; then
19666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #include <sys/uio.h>
19672 main ()
19674 struct iovec iov[2];
19675 writev(0, iov, 0);
19677 return 0;
19679 _ACEOF
19680 if ac_fn_cxx_try_link "$LINENO"; then :
19681 glibcxx_cv_WRITEV=yes
19682 else
19683 glibcxx_cv_WRITEV=no
19685 rm -f core conftest.err conftest.$ac_objext \
19686 conftest$ac_exeext conftest.$ac_ext
19691 if test $glibcxx_cv_WRITEV = yes; then
19693 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19697 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19699 CXXFLAGS="$ac_save_CXXFLAGS"
19700 ac_ext=c
19701 ac_cpp='$CPP $CPPFLAGS'
19702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19708 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19709 # so that the check is done with the C compiler (not C++).
19710 # Checking with C++ can break a canadian cross build if either
19711 # file does not exist in C but does in C++.
19712 for ac_header in fenv.h complex.h
19713 do :
19714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19715 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19716 eval as_val=\$$as_ac_Header
19717 if test "x$as_val" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19720 _ACEOF
19724 done
19727 # For C99 support to TR1.
19731 ac_ext=cpp
19732 ac_cpp='$CXXCPP $CPPFLAGS'
19733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19738 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19739 # undefined and fake C99 facilities may be spuriously enabled.
19740 ac_save_CXXFLAGS="$CXXFLAGS"
19741 CXXFLAGS="$CXXFLAGS -std=c++98"
19743 # Check for the existence of <complex.h> complex math functions used
19744 # by tr1/complex.
19745 for ac_header in complex.h
19746 do :
19747 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19748 if test "x$ac_cv_header_complex_h" = x""yes; then :
19749 cat >>confdefs.h <<_ACEOF
19750 #define HAVE_COMPLEX_H 1
19751 _ACEOF
19752 ac_has_complex_h=yes
19753 else
19754 ac_has_complex_h=no
19757 done
19759 ac_c99_complex_tr1=no;
19760 if test x"$ac_has_complex_h" = x"yes"; then
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19762 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19765 #include <complex.h>
19767 main ()
19769 typedef __complex__ float float_type; float_type tmpf;
19770 cacosf(tmpf);
19771 casinf(tmpf);
19772 catanf(tmpf);
19773 cacoshf(tmpf);
19774 casinhf(tmpf);
19775 catanhf(tmpf);
19776 typedef __complex__ double double_type; double_type tmpd;
19777 cacos(tmpd);
19778 casin(tmpd);
19779 catan(tmpd);
19780 cacosh(tmpd);
19781 casinh(tmpd);
19782 catanh(tmpd);
19783 typedef __complex__ long double ld_type; ld_type tmpld;
19784 cacosl(tmpld);
19785 casinl(tmpld);
19786 catanl(tmpld);
19787 cacoshl(tmpld);
19788 casinhl(tmpld);
19789 catanhl(tmpld);
19792 return 0;
19794 _ACEOF
19795 if ac_fn_cxx_try_compile "$LINENO"; then :
19796 ac_c99_complex_tr1=yes
19797 else
19798 ac_c99_complex_tr1=no
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19803 $as_echo "$ac_c99_complex_tr1" >&6; }
19804 if test x"$ac_c99_complex_tr1" = x"yes"; then
19806 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19810 # Check for the existence of <ctype.h> functions.
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19812 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19813 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19814 $as_echo_n "(cached) " >&6
19815 else
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #include <ctype.h>
19821 main ()
19823 int ch;
19824 int ret;
19825 ret = isblank(ch);
19828 return 0;
19830 _ACEOF
19831 if ac_fn_cxx_try_compile "$LINENO"; then :
19832 glibcxx_cv_c99_ctype_tr1=yes
19833 else
19834 glibcxx_cv_c99_ctype_tr1=no
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19841 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19842 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19844 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19848 # Check for the existence of <fenv.h> functions.
19849 for ac_header in fenv.h
19850 do :
19851 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19852 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19853 cat >>confdefs.h <<_ACEOF
19854 #define HAVE_FENV_H 1
19855 _ACEOF
19856 ac_has_fenv_h=yes
19857 else
19858 ac_has_fenv_h=no
19861 done
19863 ac_c99_fenv_tr1=no;
19864 if test x"$ac_has_fenv_h" = x"yes"; then
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19866 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19869 #include <fenv.h>
19871 main ()
19873 int except, mode;
19874 fexcept_t* pflag;
19875 fenv_t* penv;
19876 int ret;
19877 ret = feclearexcept(except);
19878 ret = fegetexceptflag(pflag, except);
19879 ret = feraiseexcept(except);
19880 ret = fesetexceptflag(pflag, except);
19881 ret = fetestexcept(except);
19882 ret = fegetround();
19883 ret = fesetround(mode);
19884 ret = fegetenv(penv);
19885 ret = feholdexcept(penv);
19886 ret = fesetenv(penv);
19887 ret = feupdateenv(penv);
19890 return 0;
19892 _ACEOF
19893 if ac_fn_cxx_try_compile "$LINENO"; then :
19894 ac_c99_fenv_tr1=yes
19895 else
19896 ac_c99_fenv_tr1=no
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19901 $as_echo "$ac_c99_fenv_tr1" >&6; }
19902 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19904 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19908 # Check for the existence of <stdint.h> types.
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19910 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19911 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19912 $as_echo_n "(cached) " >&6
19913 else
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19917 #define __STDC_LIMIT_MACROS
19918 #define __STDC_CONSTANT_MACROS
19919 #include <stdint.h>
19921 main ()
19923 typedef int8_t my_int8_t;
19924 my_int8_t i8 = INT8_MIN;
19925 i8 = INT8_MAX;
19926 typedef int16_t my_int16_t;
19927 my_int16_t i16 = INT16_MIN;
19928 i16 = INT16_MAX;
19929 typedef int32_t my_int32_t;
19930 my_int32_t i32 = INT32_MIN;
19931 i32 = INT32_MAX;
19932 typedef int64_t my_int64_t;
19933 my_int64_t i64 = INT64_MIN;
19934 i64 = INT64_MAX;
19935 typedef int_fast8_t my_int_fast8_t;
19936 my_int_fast8_t if8 = INT_FAST8_MIN;
19937 if8 = INT_FAST8_MAX;
19938 typedef int_fast16_t my_int_fast16_t;
19939 my_int_fast16_t if16 = INT_FAST16_MIN;
19940 if16 = INT_FAST16_MAX;
19941 typedef int_fast32_t my_int_fast32_t;
19942 my_int_fast32_t if32 = INT_FAST32_MIN;
19943 if32 = INT_FAST32_MAX;
19944 typedef int_fast64_t my_int_fast64_t;
19945 my_int_fast64_t if64 = INT_FAST64_MIN;
19946 if64 = INT_FAST64_MAX;
19947 typedef int_least8_t my_int_least8_t;
19948 my_int_least8_t il8 = INT_LEAST8_MIN;
19949 il8 = INT_LEAST8_MAX;
19950 typedef int_least16_t my_int_least16_t;
19951 my_int_least16_t il16 = INT_LEAST16_MIN;
19952 il16 = INT_LEAST16_MAX;
19953 typedef int_least32_t my_int_least32_t;
19954 my_int_least32_t il32 = INT_LEAST32_MIN;
19955 il32 = INT_LEAST32_MAX;
19956 typedef int_least64_t my_int_least64_t;
19957 my_int_least64_t il64 = INT_LEAST64_MIN;
19958 il64 = INT_LEAST64_MAX;
19959 typedef intmax_t my_intmax_t;
19960 my_intmax_t im = INTMAX_MAX;
19961 im = INTMAX_MIN;
19962 typedef intptr_t my_intptr_t;
19963 my_intptr_t ip = INTPTR_MAX;
19964 ip = INTPTR_MIN;
19965 typedef uint8_t my_uint8_t;
19966 my_uint8_t ui8 = UINT8_MAX;
19967 ui8 = UINT8_MAX;
19968 typedef uint16_t my_uint16_t;
19969 my_uint16_t ui16 = UINT16_MAX;
19970 ui16 = UINT16_MAX;
19971 typedef uint32_t my_uint32_t;
19972 my_uint32_t ui32 = UINT32_MAX;
19973 ui32 = UINT32_MAX;
19974 typedef uint64_t my_uint64_t;
19975 my_uint64_t ui64 = UINT64_MAX;
19976 ui64 = UINT64_MAX;
19977 typedef uint_fast8_t my_uint_fast8_t;
19978 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19979 uif8 = UINT_FAST8_MAX;
19980 typedef uint_fast16_t my_uint_fast16_t;
19981 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19982 uif16 = UINT_FAST16_MAX;
19983 typedef uint_fast32_t my_uint_fast32_t;
19984 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19985 uif32 = UINT_FAST32_MAX;
19986 typedef uint_fast64_t my_uint_fast64_t;
19987 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19988 uif64 = UINT_FAST64_MAX;
19989 typedef uint_least8_t my_uint_least8_t;
19990 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19991 uil8 = UINT_LEAST8_MAX;
19992 typedef uint_least16_t my_uint_least16_t;
19993 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19994 uil16 = UINT_LEAST16_MAX;
19995 typedef uint_least32_t my_uint_least32_t;
19996 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19997 uil32 = UINT_LEAST32_MAX;
19998 typedef uint_least64_t my_uint_least64_t;
19999 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20000 uil64 = UINT_LEAST64_MAX;
20001 typedef uintmax_t my_uintmax_t;
20002 my_uintmax_t uim = UINTMAX_MAX;
20003 uim = UINTMAX_MAX;
20004 typedef uintptr_t my_uintptr_t;
20005 my_uintptr_t uip = UINTPTR_MAX;
20006 uip = UINTPTR_MAX;
20009 return 0;
20011 _ACEOF
20012 if ac_fn_cxx_try_compile "$LINENO"; then :
20013 glibcxx_cv_c99_stdint_tr1=yes
20014 else
20015 glibcxx_cv_c99_stdint_tr1=no
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20022 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20023 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20025 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20029 # Check for the existence of <math.h> functions.
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20031 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20032 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20033 $as_echo_n "(cached) " >&6
20034 else
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20038 #include <math.h>
20040 main ()
20042 typedef double_t my_double_t;
20043 typedef float_t my_float_t;
20044 acosh(0.0);
20045 acoshf(0.0f);
20046 acoshl(0.0l);
20047 asinh(0.0);
20048 asinhf(0.0f);
20049 asinhl(0.0l);
20050 atanh(0.0);
20051 atanhf(0.0f);
20052 atanhl(0.0l);
20053 cbrt(0.0);
20054 cbrtf(0.0f);
20055 cbrtl(0.0l);
20056 copysign(0.0, 0.0);
20057 copysignf(0.0f, 0.0f);
20058 copysignl(0.0l, 0.0l);
20059 erf(0.0);
20060 erff(0.0f);
20061 erfl(0.0l);
20062 erfc(0.0);
20063 erfcf(0.0f);
20064 erfcl(0.0l);
20065 exp2(0.0);
20066 exp2f(0.0f);
20067 exp2l(0.0l);
20068 expm1(0.0);
20069 expm1f(0.0f);
20070 expm1l(0.0l);
20071 fdim(0.0, 0.0);
20072 fdimf(0.0f, 0.0f);
20073 fdiml(0.0l, 0.0l);
20074 fma(0.0, 0.0, 0.0);
20075 fmaf(0.0f, 0.0f, 0.0f);
20076 fmal(0.0l, 0.0l, 0.0l);
20077 fmax(0.0, 0.0);
20078 fmaxf(0.0f, 0.0f);
20079 fmaxl(0.0l, 0.0l);
20080 fmin(0.0, 0.0);
20081 fminf(0.0f, 0.0f);
20082 fminl(0.0l, 0.0l);
20083 hypot(0.0, 0.0);
20084 hypotf(0.0f, 0.0f);
20085 hypotl(0.0l, 0.0l);
20086 ilogb(0.0);
20087 ilogbf(0.0f);
20088 ilogbl(0.0l);
20089 lgamma(0.0);
20090 lgammaf(0.0f);
20091 lgammal(0.0l);
20092 #ifndef __APPLE__ /* see below */
20093 llrint(0.0);
20094 llrintf(0.0f);
20095 llrintl(0.0l);
20096 llround(0.0);
20097 llroundf(0.0f);
20098 llroundl(0.0l);
20099 #endif
20100 log1p(0.0);
20101 log1pf(0.0f);
20102 log1pl(0.0l);
20103 log2(0.0);
20104 log2f(0.0f);
20105 log2l(0.0l);
20106 logb(0.0);
20107 logbf(0.0f);
20108 logbl(0.0l);
20109 lrint(0.0);
20110 lrintf(0.0f);
20111 lrintl(0.0l);
20112 lround(0.0);
20113 lroundf(0.0f);
20114 lroundl(0.0l);
20115 nan(0);
20116 nanf(0);
20117 nanl(0);
20118 nearbyint(0.0);
20119 nearbyintf(0.0f);
20120 nearbyintl(0.0l);
20121 nextafter(0.0, 0.0);
20122 nextafterf(0.0f, 0.0f);
20123 nextafterl(0.0l, 0.0l);
20124 nexttoward(0.0, 0.0);
20125 nexttowardf(0.0f, 0.0f);
20126 nexttowardl(0.0l, 0.0l);
20127 remainder(0.0, 0.0);
20128 remainderf(0.0f, 0.0f);
20129 remainderl(0.0l, 0.0l);
20130 remquo(0.0, 0.0, 0);
20131 remquof(0.0f, 0.0f, 0);
20132 remquol(0.0l, 0.0l, 0);
20133 rint(0.0);
20134 rintf(0.0f);
20135 rintl(0.0l);
20136 round(0.0);
20137 roundf(0.0f);
20138 roundl(0.0l);
20139 scalbln(0.0, 0l);
20140 scalblnf(0.0f, 0l);
20141 scalblnl(0.0l, 0l);
20142 scalbn(0.0, 0);
20143 scalbnf(0.0f, 0);
20144 scalbnl(0.0l, 0);
20145 tgamma(0.0);
20146 tgammaf(0.0f);
20147 tgammal(0.0l);
20148 trunc(0.0);
20149 truncf(0.0f);
20150 truncl(0.0l);
20153 return 0;
20155 _ACEOF
20156 if ac_fn_cxx_try_compile "$LINENO"; then :
20157 glibcxx_cv_c99_math_tr1=yes
20158 else
20159 glibcxx_cv_c99_math_tr1=no
20161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20166 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20167 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20169 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20172 case "${target_os}" in
20173 darwin*)
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20175 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20176 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20177 $as_echo_n "(cached) " >&6
20178 else
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 #include <math.h>
20184 main ()
20186 llrint(0.0);
20187 llrintf(0.0f);
20188 llrintl(0.0l);
20189 llround(0.0);
20190 llroundf(0.0f);
20191 llroundl(0.0l);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 glibcxx_cv_c99_math_llround=yes
20199 else
20200 glibcxx_cv_c99_math_llround=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20207 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20209 esac
20210 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20212 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20217 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20218 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20219 ac_c99_inttypes_tr1=no;
20220 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20222 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20225 #include <inttypes.h>
20227 main ()
20229 intmax_t i, numer, denom, base;
20230 const char* s;
20231 char** endptr;
20232 intmax_t ret = imaxabs(i);
20233 imaxdiv_t dret = imaxdiv(numer, denom);
20234 ret = strtoimax(s, endptr, base);
20235 uintmax_t uret = strtoumax(s, endptr, base);
20238 return 0;
20240 _ACEOF
20241 if ac_fn_cxx_try_compile "$LINENO"; then :
20242 ac_c99_inttypes_tr1=yes
20243 else
20244 ac_c99_inttypes_tr1=no
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20249 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20250 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20252 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20256 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20257 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20258 ac_c99_inttypes_wchar_t_tr1=no;
20259 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20261 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <inttypes.h>
20266 main ()
20268 intmax_t base;
20269 const wchar_t* s;
20270 wchar_t** endptr;
20271 intmax_t ret = wcstoimax(s, endptr, base);
20272 uintmax_t uret = wcstoumax(s, endptr, base);
20275 return 0;
20277 _ACEOF
20278 if ac_fn_cxx_try_compile "$LINENO"; then :
20279 ac_c99_inttypes_wchar_t_tr1=yes
20280 else
20281 ac_c99_inttypes_wchar_t_tr1=no
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20286 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20287 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20293 # Check for the existence of the <stdbool.h> header.
20294 for ac_header in stdbool.h
20295 do :
20296 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_STDBOOL_H 1
20300 _ACEOF
20304 done
20307 # Check for the existence of the <stdalign.h> header.
20308 for ac_header in stdalign.h
20309 do :
20310 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20312 cat >>confdefs.h <<_ACEOF
20313 #define HAVE_STDALIGN_H 1
20314 _ACEOF
20318 done
20321 CXXFLAGS="$ac_save_CXXFLAGS"
20322 ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20330 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20334 $as_echo_n "checking for the value of EOF... " >&6; }
20335 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20339 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20341 else
20342 as_fn_error "computing EOF failed" "$LINENO" 5
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20348 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20350 cat >>confdefs.h <<_ACEOF
20351 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20352 _ACEOF
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20356 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20357 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20358 $as_echo_n "(cached) " >&6
20359 else
20361 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20363 else
20364 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20370 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20372 cat >>confdefs.h <<_ACEOF
20373 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20374 _ACEOF
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20378 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20379 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20380 $as_echo_n "(cached) " >&6
20381 else
20383 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20385 else
20386 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20392 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20394 cat >>confdefs.h <<_ACEOF
20395 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20396 _ACEOF
20400 # For gettimeofday support.
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20404 $as_echo_n "checking for gettimeofday... " >&6; }
20407 ac_ext=cpp
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413 ac_save_CXXFLAGS="$CXXFLAGS"
20414 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20416 ac_has_gettimeofday=no;
20417 for ac_header in sys/time.h
20418 do :
20419 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20420 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20421 cat >>confdefs.h <<_ACEOF
20422 #define HAVE_SYS_TIME_H 1
20423 _ACEOF
20424 ac_has_sys_time_h=yes
20425 else
20426 ac_has_sys_time_h=no
20429 done
20431 if test x"$ac_has_sys_time_h" = x"yes"; then
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20433 $as_echo_n "checking for gettimeofday... " >&6; }
20434 if test x$gcc_no_link = xyes; then
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <sys/time.h>
20439 main ()
20441 timeval tv; gettimeofday(&tv, 0);
20443 return 0;
20445 _ACEOF
20446 if ac_fn_cxx_try_compile "$LINENO"; then :
20447 ac_has_gettimeofday=yes
20448 else
20449 ac_has_gettimeofday=no
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 else
20453 if test x$gcc_no_link = xyes; then
20454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #include <sys/time.h>
20460 main ()
20462 timeval tv; gettimeofday(&tv, 0);
20464 return 0;
20466 _ACEOF
20467 if ac_fn_cxx_try_link "$LINENO"; then :
20468 ac_has_gettimeofday=yes
20469 else
20470 ac_has_gettimeofday=no
20472 rm -f core conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20477 $as_echo "$ac_has_gettimeofday" >&6; }
20480 if test x"$ac_has_gettimeofday" = x"yes"; then
20482 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20486 CXXFLAGS="$ac_save_CXXFLAGS"
20487 ac_ext=c
20488 ac_cpp='$CPP $CPPFLAGS'
20489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20495 # For clock_gettime, nanosleep and sched_yield support.
20498 # Check whether --enable-libstdcxx-time was given.
20499 if test "${enable_libstdcxx_time+set}" = set; then :
20500 enableval=$enable_libstdcxx_time;
20501 case "$enableval" in
20502 yes|no|rt) ;;
20503 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20504 esac
20506 else
20507 enable_libstdcxx_time=auto
20513 ac_ext=cpp
20514 ac_cpp='$CXXCPP $CPPFLAGS'
20515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20519 ac_save_CXXFLAGS="$CXXFLAGS"
20520 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20521 ac_save_LIBS="$LIBS"
20523 ac_has_clock_monotonic=no
20524 ac_has_clock_realtime=no
20525 ac_has_nanosleep=no
20526 ac_has_sched_yield=no
20528 if test x"$enable_libstdcxx_time" = x"auto"; then
20530 case "${target_os}" in
20531 cygwin*)
20532 ac_has_nanosleep=yes
20534 darwin*)
20535 ac_has_nanosleep=yes
20536 ac_has_sched_yield=yes
20538 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20540 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20543 #include <features.h>
20545 main ()
20548 #if ! __GLIBC_PREREQ(2, 17)
20549 #error
20550 #endif
20553 return 0;
20555 _ACEOF
20556 if ac_fn_cxx_try_compile "$LINENO"; then :
20557 glibcxx_glibc217=yes
20558 else
20559 glibcxx_glibc217=no
20561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20563 $as_echo "$glibcxx_glibc217" >&6; }
20565 if test x"$glibcxx_glibc217" = x"yes"; then
20566 ac_has_clock_monotonic=yes
20567 ac_has_clock_realtime=yes
20569 ac_has_nanosleep=yes
20570 ac_has_sched_yield=yes
20572 freebsd*|netbsd*|dragonfly*|rtems*)
20573 ac_has_clock_monotonic=yes
20574 ac_has_clock_realtime=yes
20575 ac_has_nanosleep=yes
20576 ac_has_sched_yield=yes
20578 openbsd*)
20579 ac_has_clock_monotonic=yes
20580 ac_has_clock_realtime=yes
20581 ac_has_nanosleep=yes
20583 solaris*)
20584 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20585 ac_has_clock_monotonic=yes
20586 ac_has_clock_realtime=yes
20587 ac_has_nanosleep=yes
20588 ac_has_sched_yield=yes
20590 esac
20592 elif test x"$enable_libstdcxx_time" != x"no"; then
20594 if test x"$enable_libstdcxx_time" = x"rt"; then
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20596 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20597 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20598 $as_echo_n "(cached) " >&6
20599 else
20600 ac_func_search_save_LIBS=$LIBS
20601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602 /* end confdefs.h. */
20604 /* Override any GCC internal prototype to avoid an error.
20605 Use char because int might match the return type of a GCC
20606 builtin and then its argument prototype would still apply. */
20607 #ifdef __cplusplus
20608 extern "C"
20609 #endif
20610 char clock_gettime ();
20612 main ()
20614 return clock_gettime ();
20616 return 0;
20618 _ACEOF
20619 for ac_lib in '' rt posix4; do
20620 if test -z "$ac_lib"; then
20621 ac_res="none required"
20622 else
20623 ac_res=-l$ac_lib
20624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20626 if test x$gcc_no_link = xyes; then
20627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 if ac_fn_cxx_try_link "$LINENO"; then :
20630 ac_cv_search_clock_gettime=$ac_res
20632 rm -f core conftest.err conftest.$ac_objext \
20633 conftest$ac_exeext
20634 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20635 break
20637 done
20638 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20640 else
20641 ac_cv_search_clock_gettime=no
20643 rm conftest.$ac_ext
20644 LIBS=$ac_func_search_save_LIBS
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20647 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20648 ac_res=$ac_cv_search_clock_gettime
20649 if test "$ac_res" != no; then :
20650 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20655 $as_echo_n "checking for library containing nanosleep... " >&6; }
20656 if test "${ac_cv_search_nanosleep+set}" = set; then :
20657 $as_echo_n "(cached) " >&6
20658 else
20659 ac_func_search_save_LIBS=$LIBS
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20663 /* Override any GCC internal prototype to avoid an error.
20664 Use char because int might match the return type of a GCC
20665 builtin and then its argument prototype would still apply. */
20666 #ifdef __cplusplus
20667 extern "C"
20668 #endif
20669 char nanosleep ();
20671 main ()
20673 return nanosleep ();
20675 return 0;
20677 _ACEOF
20678 for ac_lib in '' rt posix4; do
20679 if test -z "$ac_lib"; then
20680 ac_res="none required"
20681 else
20682 ac_res=-l$ac_lib
20683 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20685 if test x$gcc_no_link = xyes; then
20686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688 if ac_fn_cxx_try_link "$LINENO"; then :
20689 ac_cv_search_nanosleep=$ac_res
20691 rm -f core conftest.err conftest.$ac_objext \
20692 conftest$ac_exeext
20693 if test "${ac_cv_search_nanosleep+set}" = set; then :
20694 break
20696 done
20697 if test "${ac_cv_search_nanosleep+set}" = set; then :
20699 else
20700 ac_cv_search_nanosleep=no
20702 rm conftest.$ac_ext
20703 LIBS=$ac_func_search_save_LIBS
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20706 $as_echo "$ac_cv_search_nanosleep" >&6; }
20707 ac_res=$ac_cv_search_nanosleep
20708 if test "$ac_res" != no; then :
20709 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20713 else
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20715 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20716 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20717 $as_echo_n "(cached) " >&6
20718 else
20719 ac_func_search_save_LIBS=$LIBS
20720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20721 /* end confdefs.h. */
20723 /* Override any GCC internal prototype to avoid an error.
20724 Use char because int might match the return type of a GCC
20725 builtin and then its argument prototype would still apply. */
20726 #ifdef __cplusplus
20727 extern "C"
20728 #endif
20729 char clock_gettime ();
20731 main ()
20733 return clock_gettime ();
20735 return 0;
20737 _ACEOF
20738 for ac_lib in '' posix4; do
20739 if test -z "$ac_lib"; then
20740 ac_res="none required"
20741 else
20742 ac_res=-l$ac_lib
20743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20745 if test x$gcc_no_link = xyes; then
20746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20748 if ac_fn_cxx_try_link "$LINENO"; then :
20749 ac_cv_search_clock_gettime=$ac_res
20751 rm -f core conftest.err conftest.$ac_objext \
20752 conftest$ac_exeext
20753 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20754 break
20756 done
20757 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20759 else
20760 ac_cv_search_clock_gettime=no
20762 rm conftest.$ac_ext
20763 LIBS=$ac_func_search_save_LIBS
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20766 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20767 ac_res=$ac_cv_search_clock_gettime
20768 if test "$ac_res" != no; then :
20769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20774 $as_echo_n "checking for library containing nanosleep... " >&6; }
20775 if test "${ac_cv_search_nanosleep+set}" = set; then :
20776 $as_echo_n "(cached) " >&6
20777 else
20778 ac_func_search_save_LIBS=$LIBS
20779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20782 /* Override any GCC internal prototype to avoid an error.
20783 Use char because int might match the return type of a GCC
20784 builtin and then its argument prototype would still apply. */
20785 #ifdef __cplusplus
20786 extern "C"
20787 #endif
20788 char nanosleep ();
20790 main ()
20792 return nanosleep ();
20794 return 0;
20796 _ACEOF
20797 for ac_lib in '' posix4; do
20798 if test -z "$ac_lib"; then
20799 ac_res="none required"
20800 else
20801 ac_res=-l$ac_lib
20802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20804 if test x$gcc_no_link = xyes; then
20805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 if ac_fn_cxx_try_link "$LINENO"; then :
20808 ac_cv_search_nanosleep=$ac_res
20810 rm -f core conftest.err conftest.$ac_objext \
20811 conftest$ac_exeext
20812 if test "${ac_cv_search_nanosleep+set}" = set; then :
20813 break
20815 done
20816 if test "${ac_cv_search_nanosleep+set}" = set; then :
20818 else
20819 ac_cv_search_nanosleep=no
20821 rm conftest.$ac_ext
20822 LIBS=$ac_func_search_save_LIBS
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20825 $as_echo "$ac_cv_search_nanosleep" >&6; }
20826 ac_res=$ac_cv_search_nanosleep
20827 if test "$ac_res" != no; then :
20828 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20834 case "$ac_cv_search_clock_gettime" in
20835 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20837 esac
20838 case "$ac_cv_search_nanosleep" in
20839 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20841 esac
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20844 $as_echo_n "checking for library containing sched_yield... " >&6; }
20845 if test "${ac_cv_search_sched_yield+set}" = set; then :
20846 $as_echo_n "(cached) " >&6
20847 else
20848 ac_func_search_save_LIBS=$LIBS
20849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20850 /* end confdefs.h. */
20852 /* Override any GCC internal prototype to avoid an error.
20853 Use char because int might match the return type of a GCC
20854 builtin and then its argument prototype would still apply. */
20855 #ifdef __cplusplus
20856 extern "C"
20857 #endif
20858 char sched_yield ();
20860 main ()
20862 return sched_yield ();
20864 return 0;
20866 _ACEOF
20867 for ac_lib in '' rt posix4; do
20868 if test -z "$ac_lib"; then
20869 ac_res="none required"
20870 else
20871 ac_res=-l$ac_lib
20872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20874 if test x$gcc_no_link = xyes; then
20875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20877 if ac_fn_cxx_try_link "$LINENO"; then :
20878 ac_cv_search_sched_yield=$ac_res
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext
20882 if test "${ac_cv_search_sched_yield+set}" = set; then :
20883 break
20885 done
20886 if test "${ac_cv_search_sched_yield+set}" = set; then :
20888 else
20889 ac_cv_search_sched_yield=no
20891 rm conftest.$ac_ext
20892 LIBS=$ac_func_search_save_LIBS
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20895 $as_echo "$ac_cv_search_sched_yield" >&6; }
20896 ac_res=$ac_cv_search_sched_yield
20897 if test "$ac_res" != no; then :
20898 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20903 case "$ac_cv_search_sched_yield" in
20904 -lposix4*)
20905 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20906 ac_has_sched_yield=yes
20908 -lrt*)
20909 if test x"$enable_libstdcxx_time" = x"rt"; then
20910 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20911 ac_has_sched_yield=yes
20915 ac_has_sched_yield=yes
20917 esac
20919 for ac_header in unistd.h
20920 do :
20921 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20922 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20923 cat >>confdefs.h <<_ACEOF
20924 #define HAVE_UNISTD_H 1
20925 _ACEOF
20926 ac_has_unistd_h=yes
20927 else
20928 ac_has_unistd_h=no
20931 done
20934 if test x"$ac_has_unistd_h" = x"yes"; then
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20936 $as_echo_n "checking for monotonic clock... " >&6; }
20937 if test x$gcc_no_link = xyes; then
20938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20941 /* end confdefs.h. */
20942 #include <unistd.h>
20943 #include <time.h>
20946 main ()
20948 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20949 timespec tp;
20950 #endif
20951 clock_gettime(CLOCK_MONOTONIC, &tp);
20954 return 0;
20956 _ACEOF
20957 if ac_fn_cxx_try_link "$LINENO"; then :
20958 ac_has_clock_monotonic=yes
20959 else
20960 ac_has_clock_monotonic=no
20962 rm -f core conftest.err conftest.$ac_objext \
20963 conftest$ac_exeext conftest.$ac_ext
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20966 $as_echo "$ac_has_clock_monotonic" >&6; }
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20969 $as_echo_n "checking for realtime clock... " >&6; }
20970 if test x$gcc_no_link = xyes; then
20971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #include <unistd.h>
20976 #include <time.h>
20979 main ()
20981 #if _POSIX_TIMERS > 0
20982 timespec tp;
20983 #endif
20984 clock_gettime(CLOCK_REALTIME, &tp);
20987 return 0;
20989 _ACEOF
20990 if ac_fn_cxx_try_link "$LINENO"; then :
20991 ac_has_clock_realtime=yes
20992 else
20993 ac_has_clock_realtime=no
20995 rm -f core conftest.err conftest.$ac_objext \
20996 conftest$ac_exeext conftest.$ac_ext
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20999 $as_echo "$ac_has_clock_realtime" >&6; }
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21002 $as_echo_n "checking for nanosleep... " >&6; }
21003 if test x$gcc_no_link = xyes; then
21004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21008 #include <unistd.h>
21009 #include <time.h>
21012 main ()
21014 #if _POSIX_TIMERS > 0
21015 timespec tp;
21016 #endif
21017 nanosleep(&tp, 0);
21020 return 0;
21022 _ACEOF
21023 if ac_fn_cxx_try_link "$LINENO"; then :
21024 ac_has_nanosleep=yes
21025 else
21026 ac_has_nanosleep=no
21028 rm -f core conftest.err conftest.$ac_objext \
21029 conftest$ac_exeext conftest.$ac_ext
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21032 $as_echo "$ac_has_nanosleep" >&6; }
21036 if test x"$ac_has_clock_monotonic" != x"yes"; then
21037 case ${target_os} in
21038 linux*)
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21040 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #include <unistd.h>
21044 #include <time.h>
21045 #include <sys/syscall.h>
21048 main ()
21050 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21051 timespec tp;
21052 #endif
21053 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21054 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21057 return 0;
21059 _ACEOF
21060 if ac_fn_cxx_try_compile "$LINENO"; then :
21061 ac_has_clock_monotonic_syscall=yes
21062 else
21063 ac_has_clock_monotonic_syscall=no
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21067 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21068 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21070 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21072 ac_has_clock_monotonic=yes
21073 ac_has_clock_realtime=yes
21074 fi;;
21075 esac
21078 if test x"$ac_has_clock_monotonic" = x"yes"; then
21080 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21084 if test x"$ac_has_clock_realtime" = x"yes"; then
21086 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21090 if test x"$ac_has_sched_yield" = x"yes"; then
21092 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21096 if test x"$ac_has_nanosleep" = x"yes"; then
21098 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21100 else
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21102 $as_echo_n "checking for sleep... " >&6; }
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <unistd.h>
21107 main ()
21109 sleep(1)
21111 return 0;
21113 _ACEOF
21114 if ac_fn_cxx_try_compile "$LINENO"; then :
21115 ac_has_sleep=yes
21116 else
21117 ac_has_sleep=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 if test x"$ac_has_sleep" = x"yes"; then
21122 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21126 $as_echo "$ac_has_sleep" >&6; }
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21128 $as_echo_n "checking for usleep... " >&6; }
21129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21130 /* end confdefs.h. */
21131 #include <unistd.h>
21133 main ()
21135 sleep(1);
21136 usleep(100);
21138 return 0;
21140 _ACEOF
21141 if ac_fn_cxx_try_compile "$LINENO"; then :
21142 ac_has_usleep=yes
21143 else
21144 ac_has_usleep=no
21146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 if test x"$ac_has_usleep" = x"yes"; then
21149 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21153 $as_echo "$ac_has_usleep" >&6; }
21156 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21158 $as_echo_n "checking for Sleep... " >&6; }
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #include <windows.h>
21163 main ()
21165 Sleep(1)
21167 return 0;
21169 _ACEOF
21170 if ac_fn_cxx_try_compile "$LINENO"; then :
21171 ac_has_win32_sleep=yes
21172 else
21173 ac_has_win32_sleep=no
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 if test x"$ac_has_win32_sleep" = x"yes"; then
21178 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21182 $as_echo "$ac_has_win32_sleep" >&6; }
21187 CXXFLAGS="$ac_save_CXXFLAGS"
21188 LIBS="$ac_save_LIBS"
21189 ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21197 # Check for tmpnam which is obsolescent in POSIX.1-2008
21199 ac_ext=cpp
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205 ac_save_CXXFLAGS="$CXXFLAGS"
21206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21208 $as_echo_n "checking for tmpnam... " >&6; }
21209 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21211 else
21212 if test x$gcc_no_link = xyes; then
21213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21214 /* end confdefs.h. */
21215 #include <stdio.h>
21217 main ()
21219 char *tmp = tmpnam(NULL);
21221 return 0;
21223 _ACEOF
21224 if ac_fn_cxx_try_compile "$LINENO"; then :
21225 glibcxx_cv_TMPNAM=yes
21226 else
21227 glibcxx_cv_TMPNAM=no
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230 else
21231 if test x$gcc_no_link = xyes; then
21232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21235 /* end confdefs.h. */
21236 #include <stdio.h>
21238 main ()
21240 char *tmp = tmpnam(NULL);
21242 return 0;
21244 _ACEOF
21245 if ac_fn_cxx_try_link "$LINENO"; then :
21246 glibcxx_cv_TMPNAM=yes
21247 else
21248 glibcxx_cv_TMPNAM=no
21250 rm -f core conftest.err conftest.$ac_objext \
21251 conftest$ac_exeext conftest.$ac_ext
21256 if test $glibcxx_cv_TMPNAM = yes; then
21258 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21262 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21263 CXXFLAGS="$ac_save_CXXFLAGS"
21264 ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21274 if test "x$ac_cv_header_locale_h" = x""yes; then :
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21277 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21278 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21280 else
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283 #include <locale.h>
21285 main ()
21287 return LC_MESSAGES
21289 return 0;
21291 _ACEOF
21292 if ac_fn_c_try_compile "$LINENO"; then :
21293 ac_cv_val_LC_MESSAGES=yes
21294 else
21295 ac_cv_val_LC_MESSAGES=no
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21300 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21301 if test $ac_cv_val_LC_MESSAGES = yes; then
21303 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21312 # For hardware_concurrency
21313 for ac_header in sys/sysinfo.h
21314 do :
21315 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21316 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21317 cat >>confdefs.h <<_ACEOF
21318 #define HAVE_SYS_SYSINFO_H 1
21319 _ACEOF
21323 done
21328 ac_ext=cpp
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334 ac_save_CXXFLAGS="$CXXFLAGS"
21335 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21338 $as_echo_n "checking for get_nprocs... " >&6; }
21339 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21340 $as_echo_n "(cached) " >&6
21341 else
21343 if test x$gcc_no_link = xyes; then
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21346 #include <sys/sysinfo.h>
21348 main ()
21350 int n = get_nprocs();
21352 return 0;
21354 _ACEOF
21355 if ac_fn_cxx_try_compile "$LINENO"; then :
21356 glibcxx_cv_GET_NPROCS=yes
21357 else
21358 glibcxx_cv_GET_NPROCS=no
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361 else
21362 if test x$gcc_no_link = xyes; then
21363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21366 /* end confdefs.h. */
21367 #include <sys/sysinfo.h>
21369 main ()
21371 int n = get_nprocs();
21373 return 0;
21375 _ACEOF
21376 if ac_fn_cxx_try_link "$LINENO"; then :
21377 glibcxx_cv_GET_NPROCS=yes
21378 else
21379 glibcxx_cv_GET_NPROCS=no
21381 rm -f core conftest.err conftest.$ac_objext \
21382 conftest$ac_exeext conftest.$ac_ext
21387 if test $glibcxx_cv_GET_NPROCS = yes; then
21389 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21393 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21395 CXXFLAGS="$ac_save_CXXFLAGS"
21396 ac_ext=c
21397 ac_cpp='$CPP $CPPFLAGS'
21398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21403 for ac_header in unistd.h
21404 do :
21405 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21406 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21407 cat >>confdefs.h <<_ACEOF
21408 #define HAVE_UNISTD_H 1
21409 _ACEOF
21413 done
21418 ac_ext=cpp
21419 ac_cpp='$CXXCPP $CPPFLAGS'
21420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424 ac_save_CXXFLAGS="$CXXFLAGS"
21425 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21428 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21429 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21430 $as_echo_n "(cached) " >&6
21431 else
21433 if test x$gcc_no_link = xyes; then
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <unistd.h>
21438 main ()
21440 int n = sysconf(_SC_NPROCESSORS_ONLN);
21442 return 0;
21444 _ACEOF
21445 if ac_fn_cxx_try_compile "$LINENO"; then :
21446 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21447 else
21448 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 else
21452 if test x$gcc_no_link = xyes; then
21453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21456 /* end confdefs.h. */
21457 #include <unistd.h>
21459 main ()
21461 int n = sysconf(_SC_NPROCESSORS_ONLN);
21463 return 0;
21465 _ACEOF
21466 if ac_fn_cxx_try_link "$LINENO"; then :
21467 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21468 else
21469 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21471 rm -f core conftest.err conftest.$ac_objext \
21472 conftest$ac_exeext conftest.$ac_ext
21477 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21479 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21483 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21485 CXXFLAGS="$ac_save_CXXFLAGS"
21486 ac_ext=c
21487 ac_cpp='$CPP $CPPFLAGS'
21488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21496 ac_ext=cpp
21497 ac_cpp='$CXXCPP $CPPFLAGS'
21498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21502 ac_save_CXXFLAGS="$CXXFLAGS"
21503 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21506 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21507 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21508 $as_echo_n "(cached) " >&6
21509 else
21511 if test x$gcc_no_link = xyes; then
21512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21513 /* end confdefs.h. */
21514 #include <unistd.h>
21516 main ()
21518 int n = sysconf(_SC_NPROC_ONLN);
21520 return 0;
21522 _ACEOF
21523 if ac_fn_cxx_try_compile "$LINENO"; then :
21524 glibcxx_cv_SC_NPROC_ONLN=yes
21525 else
21526 glibcxx_cv_SC_NPROC_ONLN=no
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 else
21530 if test x$gcc_no_link = xyes; then
21531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21535 #include <unistd.h>
21537 main ()
21539 int n = sysconf(_SC_NPROC_ONLN);
21541 return 0;
21543 _ACEOF
21544 if ac_fn_cxx_try_link "$LINENO"; then :
21545 glibcxx_cv_SC_NPROC_ONLN=yes
21546 else
21547 glibcxx_cv_SC_NPROC_ONLN=no
21549 rm -f core conftest.err conftest.$ac_objext \
21550 conftest$ac_exeext conftest.$ac_ext
21555 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21557 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21561 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21563 CXXFLAGS="$ac_save_CXXFLAGS"
21564 ac_ext=c
21565 ac_cpp='$CPP $CPPFLAGS'
21566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21574 ac_ext=cpp
21575 ac_cpp='$CXXCPP $CPPFLAGS'
21576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21580 ac_save_CXXFLAGS="$CXXFLAGS"
21581 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21584 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21585 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21586 $as_echo_n "(cached) " >&6
21587 else
21589 if test x$gcc_no_link = xyes; then
21590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21591 /* end confdefs.h. */
21592 #include <pthread.h>
21594 main ()
21596 int n = pthread_num_processors_np();
21598 return 0;
21600 _ACEOF
21601 if ac_fn_cxx_try_compile "$LINENO"; then :
21602 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21603 else
21604 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607 else
21608 if test x$gcc_no_link = xyes; then
21609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h. */
21613 #include <pthread.h>
21615 main ()
21617 int n = pthread_num_processors_np();
21619 return 0;
21621 _ACEOF
21622 if ac_fn_cxx_try_link "$LINENO"; then :
21623 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21624 else
21625 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21627 rm -f core conftest.err conftest.$ac_objext \
21628 conftest$ac_exeext conftest.$ac_ext
21633 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21635 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21639 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21641 CXXFLAGS="$ac_save_CXXFLAGS"
21642 ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21652 ac_ext=cpp
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658 ac_save_CXXFLAGS="$CXXFLAGS"
21659 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21662 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21663 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21664 $as_echo_n "(cached) " >&6
21665 else
21667 if test x$gcc_no_link = xyes; then
21668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21669 /* end confdefs.h. */
21671 #include <stddef.h>
21672 #include <sys/sysctl.h>
21675 main ()
21678 int count;
21679 size_t size = sizeof(count);
21680 int mib[] = { CTL_HW, HW_NCPU };
21681 sysctl(mib, 2, &count, &size, NULL, 0);
21684 return 0;
21686 _ACEOF
21687 if ac_fn_cxx_try_compile "$LINENO"; then :
21688 glibcxx_cv_SYSCTL_HW_NCPU=yes
21689 else
21690 glibcxx_cv_SYSCTL_HW_NCPU=no
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 else
21694 if test x$gcc_no_link = xyes; then
21695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698 /* end confdefs.h. */
21700 #include <stddef.h>
21701 #include <sys/sysctl.h>
21704 main ()
21707 int count;
21708 size_t size = sizeof(count);
21709 int mib[] = { CTL_HW, HW_NCPU };
21710 sysctl(mib, 2, &count, &size, NULL, 0);
21713 return 0;
21715 _ACEOF
21716 if ac_fn_cxx_try_link "$LINENO"; then :
21717 glibcxx_cv_SYSCTL_HW_NCPU=yes
21718 else
21719 glibcxx_cv_SYSCTL_HW_NCPU=no
21721 rm -f core conftest.err conftest.$ac_objext \
21722 conftest$ac_exeext conftest.$ac_ext
21727 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21729 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21733 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21735 CXXFLAGS="$ac_save_CXXFLAGS"
21736 ac_ext=c
21737 ac_cpp='$CPP $CPPFLAGS'
21738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21745 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21746 # Note that this test has to be run with the C language.
21747 # Otherwise, sdt.h will try to include some headers from
21748 # libstdc++ itself.
21750 ac_ext=c
21751 ac_cpp='$CPP $CPPFLAGS'
21752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21756 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21757 $as_echo_n "(cached) " >&6
21758 else
21760 # Because we have to run the test in C, we use grep rather
21761 # than the compiler to check for the bug. The bug is that
21762 # were strings without trailing whitespace, causing g++
21763 # to look for operator"". The pattern searches for the fixed
21764 # output.
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21768 #include <sys/sdt.h>
21769 int f() { STAP_PROBE(hi, bob); }
21771 _ACEOF
21772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21773 $EGREP " \",\" " >/dev/null 2>&1; then :
21774 glibcxx_cv_sys_sdt_h=yes
21775 else
21776 glibcxx_cv_sys_sdt_h=no
21778 rm -f conftest*
21783 ac_ext=c
21784 ac_cpp='$CPP $CPPFLAGS'
21785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21789 if test $glibcxx_cv_sys_sdt_h = yes; then
21791 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21795 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21798 # Check for available headers.
21799 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21800 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21801 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21802 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21803 wchar.h wctype.h linux/types.h
21804 do :
21805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21806 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21807 eval as_val=\$$as_ac_Header
21808 if test "x$as_val" = x""yes; then :
21809 cat >>confdefs.h <<_ACEOF
21810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21811 _ACEOF
21815 done
21818 for ac_header in linux/random.h
21819 do :
21820 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21821 # include <linux/types.h>
21822 #endif
21825 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21826 cat >>confdefs.h <<_ACEOF
21827 #define HAVE_LINUX_RANDOM_H 1
21828 _ACEOF
21832 done
21835 # Only do link tests if native. Else, hardcode.
21836 if $GLIBCXX_IS_NATIVE; then
21838 # We can do more elaborate tests that assume a working linker.
21839 CANADIAN=no
21843 # Check whether --with-gnu-ld was given.
21844 if test "${with_gnu_ld+set}" = set; then :
21845 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21846 else
21847 with_gnu_ld=no
21850 ac_prog=ld
21851 if test "$GCC" = yes; then
21852 # Check if gcc -print-prog-name=ld gives a path.
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21854 $as_echo_n "checking for ld used by $CC... " >&6; }
21855 case $host in
21856 *-*-mingw*)
21857 # gcc leaves a trailing carriage return which upsets mingw
21858 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21860 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21861 esac
21862 case $ac_prog in
21863 # Accept absolute paths.
21864 [\\/]* | ?:[\\/]*)
21865 re_direlt='/[^/][^/]*/\.\./'
21866 # Canonicalize the pathname of ld
21867 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21868 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21869 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21870 done
21871 test -z "$LD" && LD="$ac_prog"
21874 # If it fails, then pretend we aren't using GCC.
21875 ac_prog=ld
21878 # If it is relative, then search for the first ld in PATH.
21879 with_gnu_ld=unknown
21881 esac
21882 elif test "$with_gnu_ld" = yes; then
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21884 $as_echo_n "checking for GNU ld... " >&6; }
21885 else
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21887 $as_echo_n "checking for non-GNU ld... " >&6; }
21889 if test "${lt_cv_path_LD+set}" = set; then :
21890 $as_echo_n "(cached) " >&6
21891 else
21892 if test -z "$LD"; then
21893 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21894 for ac_dir in $PATH; do
21895 IFS="$lt_save_ifs"
21896 test -z "$ac_dir" && ac_dir=.
21897 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21898 lt_cv_path_LD="$ac_dir/$ac_prog"
21899 # Check to see if the program is GNU ld. I'd rather use --version,
21900 # but apparently some variants of GNU ld only accept -v.
21901 # Break only if it was the GNU/non-GNU ld that we prefer.
21902 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21903 *GNU* | *'with BFD'*)
21904 test "$with_gnu_ld" != no && break
21907 test "$with_gnu_ld" != yes && break
21909 esac
21911 done
21912 IFS="$lt_save_ifs"
21913 else
21914 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21918 LD="$lt_cv_path_LD"
21919 if test -n "$LD"; then
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21921 $as_echo "$LD" >&6; }
21922 else
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21924 $as_echo "no" >&6; }
21926 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21928 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21929 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21930 $as_echo_n "(cached) " >&6
21931 else
21932 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21933 case `$LD -v 2>&1 </dev/null` in
21934 *GNU* | *'with BFD'*)
21935 lt_cv_prog_gnu_ld=yes
21938 lt_cv_prog_gnu_ld=no
21940 esac
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21943 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21944 with_gnu_ld=$lt_cv_prog_gnu_ld
21952 # If we're not using GNU ld, then there's no point in even trying these
21953 # tests. Check for that first. We should have already tested for gld
21954 # by now (in libtool), but require it now just to be safe...
21955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21960 # The name set by libtool depends on the version of libtool. Shame on us
21961 # for depending on an impl detail, but c'est la vie. Older versions used
21962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21965 # set (hence we're using an older libtool), then set it.
21966 if test x${with_gnu_ld+set} != xset; then
21967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21969 with_gnu_ld=no
21970 else
21971 with_gnu_ld=$ac_cv_prog_gnu_ld
21975 # Start by getting the version number. I think the libtool test already
21976 # does some of this, but throws away the result.
21977 glibcxx_ld_is_gold=no
21978 if test x"$with_gnu_ld" = x"yes"; then
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21980 $as_echo_n "checking for ld version... " >&6; }
21982 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21983 glibcxx_ld_is_gold=yes
21985 ldver=`$LD --version 2>/dev/null |
21986 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
21988 glibcxx_gnu_ld_version=`echo $ldver | \
21989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21994 # Set --gc-sections.
21995 glibcxx_have_gc_sections=no
21996 if test "$glibcxx_ld_is_gold" = "yes"; then
21997 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21998 glibcxx_have_gc_sections=yes
22000 else
22001 glibcxx_gcsections_min_ld=21602
22002 if test x"$with_gnu_ld" = x"yes" &&
22003 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22004 glibcxx_have_gc_sections=yes
22007 if test "$glibcxx_have_gc_sections" = "yes"; then
22008 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22009 # NB: This flag only works reliably after 2.16.1. Configure tests
22010 # for this are difficult, so hard wire a value that should work.
22012 ac_test_CFLAGS="${CFLAGS+set}"
22013 ac_save_CFLAGS="$CFLAGS"
22014 CFLAGS='-Wl,--gc-sections'
22016 # Check for -Wl,--gc-sections
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22019 if test x$gcc_no_link = xyes; then
22020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22023 /* end confdefs.h. */
22024 int one(void) { return 1; }
22025 int two(void) { return 2; }
22028 main ()
22030 two();
22032 return 0;
22034 _ACEOF
22035 if ac_fn_c_try_link "$LINENO"; then :
22036 ac_gcsections=yes
22037 else
22038 ac_gcsections=no
22040 rm -f core conftest.err conftest.$ac_objext \
22041 conftest$ac_exeext conftest.$ac_ext
22042 if test "$ac_gcsections" = "yes"; then
22043 rm -f conftest.c
22044 touch conftest.c
22045 if $CC -c conftest.c; then
22046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22047 grep "Warning: gc-sections option ignored" > /dev/null; then
22048 ac_gcsections=no
22051 rm -f conftest.c conftest.o conftest
22053 if test "$ac_gcsections" = "yes"; then
22054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22057 $as_echo "$ac_gcsections" >&6; }
22059 if test "$ac_test_CFLAGS" = set; then
22060 CFLAGS="$ac_save_CFLAGS"
22061 else
22062 # this is the suspicious part
22063 CFLAGS=''
22067 # Set -z,relro.
22068 # Note this is only for shared objects.
22069 ac_ld_relro=no
22070 if test x"$with_gnu_ld" = x"yes"; then
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22074 if test -n "$cxx_z_relo"; then
22075 OPT_LDFLAGS="-Wl,-z,relro"
22076 ac_ld_relro=yes
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22079 $as_echo "$ac_ld_relro" >&6; }
22082 # Set linker optimization flags.
22083 if test x"$with_gnu_ld" = x"yes"; then
22084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22092 ac_save_CXXFLAGS="$CXXFLAGS"
22093 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22096 $as_echo_n "checking for sin in -lm... " >&6; }
22097 if test "${ac_cv_lib_m_sin+set}" = set; then :
22098 $as_echo_n "(cached) " >&6
22099 else
22100 ac_check_lib_save_LIBS=$LIBS
22101 LIBS="-lm $LIBS"
22102 if test x$gcc_no_link = xyes; then
22103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22108 /* Override any GCC internal prototype to avoid an error.
22109 Use char because int might match the return type of a GCC
22110 builtin and then its argument prototype would still apply. */
22111 #ifdef __cplusplus
22112 extern "C"
22113 #endif
22114 char sin ();
22116 main ()
22118 return sin ();
22120 return 0;
22122 _ACEOF
22123 if ac_fn_c_try_link "$LINENO"; then :
22124 ac_cv_lib_m_sin=yes
22125 else
22126 ac_cv_lib_m_sin=no
22128 rm -f core conftest.err conftest.$ac_objext \
22129 conftest$ac_exeext conftest.$ac_ext
22130 LIBS=$ac_check_lib_save_LIBS
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22133 $as_echo "$ac_cv_lib_m_sin" >&6; }
22134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22135 libm="-lm"
22138 ac_save_LIBS="$LIBS"
22139 LIBS="$LIBS $libm"
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22144 $as_echo_n "checking for isinf declaration... " >&6; }
22145 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22146 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22147 $as_echo_n "(cached) " >&6
22148 else
22151 ac_ext=cpp
22152 ac_cpp='$CXXCPP $CPPFLAGS'
22153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22158 /* end confdefs.h. */
22159 #include <math.h>
22160 #ifdef HAVE_IEEEFP_H
22161 #include <ieeefp.h>
22162 #endif
22165 main ()
22167 isinf(0);
22169 return 0;
22171 _ACEOF
22172 if ac_fn_cxx_try_compile "$LINENO"; then :
22173 glibcxx_cv_func_isinf_use=yes
22174 else
22175 glibcxx_cv_func_isinf_use=no
22177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22178 ac_ext=c
22179 ac_cpp='$CPP $CPPFLAGS'
22180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22191 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22192 for ac_func in isinf
22193 do :
22194 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22195 if test "x$ac_cv_func_isinf" = x""yes; then :
22196 cat >>confdefs.h <<_ACEOF
22197 #define HAVE_ISINF 1
22198 _ACEOF
22201 done
22203 else
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22206 $as_echo_n "checking for _isinf declaration... " >&6; }
22207 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22208 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22210 else
22213 ac_ext=cpp
22214 ac_cpp='$CXXCPP $CPPFLAGS'
22215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 #include <math.h>
22222 #ifdef HAVE_IEEEFP_H
22223 #include <ieeefp.h>
22224 #endif
22227 main ()
22229 _isinf(0);
22231 return 0;
22233 _ACEOF
22234 if ac_fn_cxx_try_compile "$LINENO"; then :
22235 glibcxx_cv_func__isinf_use=yes
22236 else
22237 glibcxx_cv_func__isinf_use=no
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 ac_ext=c
22241 ac_cpp='$CPP $CPPFLAGS'
22242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22253 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22254 for ac_func in _isinf
22255 do :
22256 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22257 if test "x$ac_cv_func__isinf" = x""yes; then :
22258 cat >>confdefs.h <<_ACEOF
22259 #define HAVE__ISINF 1
22260 _ACEOF
22263 done
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22273 $as_echo_n "checking for isnan declaration... " >&6; }
22274 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22275 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22276 $as_echo_n "(cached) " >&6
22277 else
22280 ac_ext=cpp
22281 ac_cpp='$CXXCPP $CPPFLAGS'
22282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22287 /* end confdefs.h. */
22288 #include <math.h>
22289 #ifdef HAVE_IEEEFP_H
22290 #include <ieeefp.h>
22291 #endif
22294 main ()
22296 isnan(0);
22298 return 0;
22300 _ACEOF
22301 if ac_fn_cxx_try_compile "$LINENO"; then :
22302 glibcxx_cv_func_isnan_use=yes
22303 else
22304 glibcxx_cv_func_isnan_use=no
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 ac_ext=c
22308 ac_cpp='$CPP $CPPFLAGS'
22309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22320 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22321 for ac_func in isnan
22322 do :
22323 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22324 if test "x$ac_cv_func_isnan" = x""yes; then :
22325 cat >>confdefs.h <<_ACEOF
22326 #define HAVE_ISNAN 1
22327 _ACEOF
22330 done
22332 else
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22335 $as_echo_n "checking for _isnan declaration... " >&6; }
22336 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22337 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22342 ac_ext=cpp
22343 ac_cpp='$CXXCPP $CPPFLAGS'
22344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22350 #include <math.h>
22351 #ifdef HAVE_IEEEFP_H
22352 #include <ieeefp.h>
22353 #endif
22356 main ()
22358 _isnan(0);
22360 return 0;
22362 _ACEOF
22363 if ac_fn_cxx_try_compile "$LINENO"; then :
22364 glibcxx_cv_func__isnan_use=yes
22365 else
22366 glibcxx_cv_func__isnan_use=no
22368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22369 ac_ext=c
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22382 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22383 for ac_func in _isnan
22384 do :
22385 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22386 if test "x$ac_cv_func__isnan" = x""yes; then :
22387 cat >>confdefs.h <<_ACEOF
22388 #define HAVE__ISNAN 1
22389 _ACEOF
22392 done
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22402 $as_echo_n "checking for finite declaration... " >&6; }
22403 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22404 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22405 $as_echo_n "(cached) " >&6
22406 else
22409 ac_ext=cpp
22410 ac_cpp='$CXXCPP $CPPFLAGS'
22411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22417 #include <math.h>
22418 #ifdef HAVE_IEEEFP_H
22419 #include <ieeefp.h>
22420 #endif
22423 main ()
22425 finite(0);
22427 return 0;
22429 _ACEOF
22430 if ac_fn_cxx_try_compile "$LINENO"; then :
22431 glibcxx_cv_func_finite_use=yes
22432 else
22433 glibcxx_cv_func_finite_use=no
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 ac_ext=c
22437 ac_cpp='$CPP $CPPFLAGS'
22438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22449 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22450 for ac_func in finite
22451 do :
22452 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22453 if test "x$ac_cv_func_finite" = x""yes; then :
22454 cat >>confdefs.h <<_ACEOF
22455 #define HAVE_FINITE 1
22456 _ACEOF
22459 done
22461 else
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22464 $as_echo_n "checking for _finite declaration... " >&6; }
22465 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22466 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22467 $as_echo_n "(cached) " >&6
22468 else
22471 ac_ext=cpp
22472 ac_cpp='$CXXCPP $CPPFLAGS'
22473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22479 #include <math.h>
22480 #ifdef HAVE_IEEEFP_H
22481 #include <ieeefp.h>
22482 #endif
22485 main ()
22487 _finite(0);
22489 return 0;
22491 _ACEOF
22492 if ac_fn_cxx_try_compile "$LINENO"; then :
22493 glibcxx_cv_func__finite_use=yes
22494 else
22495 glibcxx_cv_func__finite_use=no
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498 ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22511 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22512 for ac_func in _finite
22513 do :
22514 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22515 if test "x$ac_cv_func__finite" = x""yes; then :
22516 cat >>confdefs.h <<_ACEOF
22517 #define HAVE__FINITE 1
22518 _ACEOF
22521 done
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22531 $as_echo_n "checking for sincos declaration... " >&6; }
22532 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22533 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22534 $as_echo_n "(cached) " >&6
22535 else
22538 ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22546 #include <math.h>
22548 main ()
22550 sincos(0, 0, 0);
22552 return 0;
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556 glibcxx_cv_func_sincos_use=yes
22557 else
22558 glibcxx_cv_func_sincos_use=no
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561 ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22574 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22575 for ac_func in sincos
22576 do :
22577 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22578 if test "x$ac_cv_func_sincos" = x""yes; then :
22579 cat >>confdefs.h <<_ACEOF
22580 #define HAVE_SINCOS 1
22581 _ACEOF
22584 done
22586 else
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22589 $as_echo_n "checking for _sincos declaration... " >&6; }
22590 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22591 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22592 $as_echo_n "(cached) " >&6
22593 else
22596 ac_ext=cpp
22597 ac_cpp='$CXXCPP $CPPFLAGS'
22598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22603 /* end confdefs.h. */
22604 #include <math.h>
22606 main ()
22608 _sincos(0, 0, 0);
22610 return 0;
22612 _ACEOF
22613 if ac_fn_cxx_try_compile "$LINENO"; then :
22614 glibcxx_cv_func__sincos_use=yes
22615 else
22616 glibcxx_cv_func__sincos_use=no
22618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619 ac_ext=c
22620 ac_cpp='$CPP $CPPFLAGS'
22621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22632 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22633 for ac_func in _sincos
22634 do :
22635 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22636 if test "x$ac_cv_func__sincos" = x""yes; then :
22637 cat >>confdefs.h <<_ACEOF
22638 #define HAVE__SINCOS 1
22639 _ACEOF
22642 done
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22652 $as_echo_n "checking for fpclass declaration... " >&6; }
22653 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22654 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22655 $as_echo_n "(cached) " >&6
22656 else
22659 ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h. */
22667 #include <math.h>
22668 #ifdef HAVE_IEEEFP_H
22669 #include <ieeefp.h>
22670 #endif
22673 main ()
22675 fpclass(0);
22677 return 0;
22679 _ACEOF
22680 if ac_fn_cxx_try_compile "$LINENO"; then :
22681 glibcxx_cv_func_fpclass_use=yes
22682 else
22683 glibcxx_cv_func_fpclass_use=no
22685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686 ac_ext=c
22687 ac_cpp='$CPP $CPPFLAGS'
22688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22700 for ac_func in fpclass
22701 do :
22702 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22703 if test "x$ac_cv_func_fpclass" = x""yes; then :
22704 cat >>confdefs.h <<_ACEOF
22705 #define HAVE_FPCLASS 1
22706 _ACEOF
22709 done
22711 else
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22714 $as_echo_n "checking for _fpclass declaration... " >&6; }
22715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22718 else
22721 ac_ext=cpp
22722 ac_cpp='$CXXCPP $CPPFLAGS'
22723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h. */
22729 #include <math.h>
22730 #ifdef HAVE_IEEEFP_H
22731 #include <ieeefp.h>
22732 #endif
22735 main ()
22737 _fpclass(0);
22739 return 0;
22741 _ACEOF
22742 if ac_fn_cxx_try_compile "$LINENO"; then :
22743 glibcxx_cv_func__fpclass_use=yes
22744 else
22745 glibcxx_cv_func__fpclass_use=no
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748 ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22762 for ac_func in _fpclass
22763 do :
22764 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22765 if test "x$ac_cv_func__fpclass" = x""yes; then :
22766 cat >>confdefs.h <<_ACEOF
22767 #define HAVE__FPCLASS 1
22768 _ACEOF
22771 done
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22781 $as_echo_n "checking for qfpclass declaration... " >&6; }
22782 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22783 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22784 $as_echo_n "(cached) " >&6
22785 else
22788 ac_ext=cpp
22789 ac_cpp='$CXXCPP $CPPFLAGS'
22790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h. */
22796 #include <math.h>
22797 #ifdef HAVE_IEEEFP_H
22798 #include <ieeefp.h>
22799 #endif
22802 main ()
22804 qfpclass(0);
22806 return 0;
22808 _ACEOF
22809 if ac_fn_cxx_try_compile "$LINENO"; then :
22810 glibcxx_cv_func_qfpclass_use=yes
22811 else
22812 glibcxx_cv_func_qfpclass_use=no
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815 ac_ext=c
22816 ac_cpp='$CPP $CPPFLAGS'
22817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22828 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22829 for ac_func in qfpclass
22830 do :
22831 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22833 cat >>confdefs.h <<_ACEOF
22834 #define HAVE_QFPCLASS 1
22835 _ACEOF
22838 done
22840 else
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22844 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22845 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22846 $as_echo_n "(cached) " >&6
22847 else
22850 ac_ext=cpp
22851 ac_cpp='$CXXCPP $CPPFLAGS'
22852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h. */
22858 #include <math.h>
22859 #ifdef HAVE_IEEEFP_H
22860 #include <ieeefp.h>
22861 #endif
22864 main ()
22866 _qfpclass(0);
22868 return 0;
22870 _ACEOF
22871 if ac_fn_cxx_try_compile "$LINENO"; then :
22872 glibcxx_cv_func__qfpclass_use=yes
22873 else
22874 glibcxx_cv_func__qfpclass_use=no
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22890 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22891 for ac_func in _qfpclass
22892 do :
22893 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22895 cat >>confdefs.h <<_ACEOF
22896 #define HAVE__QFPCLASS 1
22897 _ACEOF
22900 done
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22910 $as_echo_n "checking for hypot declaration... " >&6; }
22911 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22912 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22913 $as_echo_n "(cached) " >&6
22914 else
22917 ac_ext=cpp
22918 ac_cpp='$CXXCPP $CPPFLAGS'
22919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22924 /* end confdefs.h. */
22925 #include <math.h>
22927 main ()
22929 hypot(0, 0);
22931 return 0;
22933 _ACEOF
22934 if ac_fn_cxx_try_compile "$LINENO"; then :
22935 glibcxx_cv_func_hypot_use=yes
22936 else
22937 glibcxx_cv_func_hypot_use=no
22939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22940 ac_ext=c
22941 ac_cpp='$CPP $CPPFLAGS'
22942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22953 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22954 for ac_func in hypot
22955 do :
22956 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22957 if test "x$ac_cv_func_hypot" = x""yes; then :
22958 cat >>confdefs.h <<_ACEOF
22959 #define HAVE_HYPOT 1
22960 _ACEOF
22963 done
22965 else
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22968 $as_echo_n "checking for _hypot declaration... " >&6; }
22969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22970 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22971 $as_echo_n "(cached) " >&6
22972 else
22975 ac_ext=cpp
22976 ac_cpp='$CXXCPP $CPPFLAGS'
22977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22983 #include <math.h>
22985 main ()
22987 _hypot(0, 0);
22989 return 0;
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993 glibcxx_cv_func__hypot_use=yes
22994 else
22995 glibcxx_cv_func__hypot_use=no
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998 ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23011 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23012 for ac_func in _hypot
23013 do :
23014 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23015 if test "x$ac_cv_func__hypot" = x""yes; then :
23016 cat >>confdefs.h <<_ACEOF
23017 #define HAVE__HYPOT 1
23018 _ACEOF
23021 done
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23031 $as_echo_n "checking for float trig functions... " >&6; }
23032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23033 $as_echo_n "(cached) " >&6
23034 else
23037 ac_ext=cpp
23038 ac_cpp='$CXXCPP $CPPFLAGS'
23039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23044 /* end confdefs.h. */
23045 #include <math.h>
23047 main ()
23049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23051 return 0;
23053 _ACEOF
23054 if ac_fn_cxx_try_compile "$LINENO"; then :
23055 glibcxx_cv_func_float_trig_use=yes
23056 else
23057 glibcxx_cv_func_float_trig_use=no
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060 ac_ext=c
23061 ac_cpp='$CPP $CPPFLAGS'
23062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23070 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23071 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23072 do :
23073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23075 eval as_val=\$$as_ac_var
23076 if test "x$as_val" = x""yes; then :
23077 cat >>confdefs.h <<_ACEOF
23078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23079 _ACEOF
23082 done
23084 else
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23086 $as_echo_n "checking for _float trig functions... " >&6; }
23087 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23088 $as_echo_n "(cached) " >&6
23089 else
23092 ac_ext=cpp
23093 ac_cpp='$CXXCPP $CPPFLAGS'
23094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23099 /* end confdefs.h. */
23100 #include <math.h>
23102 main ()
23104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23106 return 0;
23108 _ACEOF
23109 if ac_fn_cxx_try_compile "$LINENO"; then :
23110 glibcxx_cv_func__float_trig_use=yes
23111 else
23112 glibcxx_cv_func__float_trig_use=no
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23115 ac_ext=c
23116 ac_cpp='$CPP $CPPFLAGS'
23117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23127 do :
23128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23130 eval as_val=\$$as_ac_var
23131 if test "x$as_val" = x""yes; then :
23132 cat >>confdefs.h <<_ACEOF
23133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23134 _ACEOF
23137 done
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23147 $as_echo_n "checking for float round functions... " >&6; }
23148 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23149 $as_echo_n "(cached) " >&6
23150 else
23153 ac_ext=cpp
23154 ac_cpp='$CXXCPP $CPPFLAGS'
23155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h. */
23161 #include <math.h>
23163 main ()
23165 ceilf (0); floorf (0);
23167 return 0;
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171 glibcxx_cv_func_float_round_use=yes
23172 else
23173 glibcxx_cv_func_float_round_use=no
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176 ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23186 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23187 for ac_func in ceilf floorf
23188 do :
23189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23191 eval as_val=\$$as_ac_var
23192 if test "x$as_val" = x""yes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23195 _ACEOF
23198 done
23200 else
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23202 $as_echo_n "checking for _float round functions... " >&6; }
23203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23204 $as_echo_n "(cached) " >&6
23205 else
23208 ac_ext=cpp
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h. */
23216 #include <math.h>
23218 main ()
23220 _ceilf (0); _floorf (0);
23222 return 0;
23224 _ACEOF
23225 if ac_fn_cxx_try_compile "$LINENO"; then :
23226 glibcxx_cv_func__float_round_use=yes
23227 else
23228 glibcxx_cv_func__float_round_use=no
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 ac_ext=c
23232 ac_cpp='$CPP $CPPFLAGS'
23233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23242 for ac_func in _ceilf _floorf
23243 do :
23244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23246 eval as_val=\$$as_ac_var
23247 if test "x$as_val" = x""yes; then :
23248 cat >>confdefs.h <<_ACEOF
23249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23250 _ACEOF
23253 done
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23264 $as_echo_n "checking for expf declaration... " >&6; }
23265 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23266 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23268 else
23271 ac_ext=cpp
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h. */
23279 #include <math.h>
23280 #ifdef HAVE_IEEEFP_H
23281 #include <ieeefp.h>
23282 #endif
23285 main ()
23287 expf(0);
23289 return 0;
23291 _ACEOF
23292 if ac_fn_cxx_try_compile "$LINENO"; then :
23293 glibcxx_cv_func_expf_use=yes
23294 else
23295 glibcxx_cv_func_expf_use=no
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298 ac_ext=c
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23312 for ac_func in expf
23313 do :
23314 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23315 if test "x$ac_cv_func_expf" = x""yes; then :
23316 cat >>confdefs.h <<_ACEOF
23317 #define HAVE_EXPF 1
23318 _ACEOF
23321 done
23323 else
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23326 $as_echo_n "checking for _expf declaration... " >&6; }
23327 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23328 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23329 $as_echo_n "(cached) " >&6
23330 else
23333 ac_ext=cpp
23334 ac_cpp='$CXXCPP $CPPFLAGS'
23335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h. */
23341 #include <math.h>
23342 #ifdef HAVE_IEEEFP_H
23343 #include <ieeefp.h>
23344 #endif
23347 main ()
23349 _expf(0);
23351 return 0;
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355 glibcxx_cv_func__expf_use=yes
23356 else
23357 glibcxx_cv_func__expf_use=no
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23373 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23374 for ac_func in _expf
23375 do :
23376 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23377 if test "x$ac_cv_func__expf" = x""yes; then :
23378 cat >>confdefs.h <<_ACEOF
23379 #define HAVE__EXPF 1
23380 _ACEOF
23383 done
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23393 $as_echo_n "checking for isnanf declaration... " >&6; }
23394 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23395 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23396 $as_echo_n "(cached) " >&6
23397 else
23400 ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408 #include <math.h>
23409 #ifdef HAVE_IEEEFP_H
23410 #include <ieeefp.h>
23411 #endif
23414 main ()
23416 isnanf(0);
23418 return 0;
23420 _ACEOF
23421 if ac_fn_cxx_try_compile "$LINENO"; then :
23422 glibcxx_cv_func_isnanf_use=yes
23423 else
23424 glibcxx_cv_func_isnanf_use=no
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 ac_ext=c
23428 ac_cpp='$CPP $CPPFLAGS'
23429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23440 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23441 for ac_func in isnanf
23442 do :
23443 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23444 if test "x$ac_cv_func_isnanf" = x""yes; then :
23445 cat >>confdefs.h <<_ACEOF
23446 #define HAVE_ISNANF 1
23447 _ACEOF
23450 done
23452 else
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23455 $as_echo_n "checking for _isnanf declaration... " >&6; }
23456 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23457 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23458 $as_echo_n "(cached) " >&6
23459 else
23462 ac_ext=cpp
23463 ac_cpp='$CXXCPP $CPPFLAGS'
23464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h. */
23470 #include <math.h>
23471 #ifdef HAVE_IEEEFP_H
23472 #include <ieeefp.h>
23473 #endif
23476 main ()
23478 _isnanf(0);
23480 return 0;
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484 glibcxx_cv_func__isnanf_use=yes
23485 else
23486 glibcxx_cv_func__isnanf_use=no
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23502 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23503 for ac_func in _isnanf
23504 do :
23505 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23506 if test "x$ac_cv_func__isnanf" = x""yes; then :
23507 cat >>confdefs.h <<_ACEOF
23508 #define HAVE__ISNANF 1
23509 _ACEOF
23512 done
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23522 $as_echo_n "checking for isinff declaration... " >&6; }
23523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23543 main ()
23545 isinff(0);
23547 return 0;
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func_isinff_use=yes
23552 else
23553 glibcxx_cv_func_isinff_use=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23569 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23570 for ac_func in isinff
23571 do :
23572 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23573 if test "x$ac_cv_func_isinff" = x""yes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE_ISINFF 1
23576 _ACEOF
23579 done
23581 else
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23584 $as_echo_n "checking for _isinff declaration... " >&6; }
23585 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23586 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23587 $as_echo_n "(cached) " >&6
23588 else
23591 ac_ext=cpp
23592 ac_cpp='$CXXCPP $CPPFLAGS'
23593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23599 #include <math.h>
23600 #ifdef HAVE_IEEEFP_H
23601 #include <ieeefp.h>
23602 #endif
23605 main ()
23607 _isinff(0);
23609 return 0;
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613 glibcxx_cv_func__isinff_use=yes
23614 else
23615 glibcxx_cv_func__isinff_use=no
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23631 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23632 for ac_func in _isinff
23633 do :
23634 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23635 if test "x$ac_cv_func__isinff" = x""yes; then :
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE__ISINFF 1
23638 _ACEOF
23641 done
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23651 $as_echo_n "checking for atan2f declaration... " >&6; }
23652 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23653 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23654 $as_echo_n "(cached) " >&6
23655 else
23658 ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23666 #include <math.h>
23668 main ()
23670 atan2f(0, 0);
23672 return 0;
23674 _ACEOF
23675 if ac_fn_cxx_try_compile "$LINENO"; then :
23676 glibcxx_cv_func_atan2f_use=yes
23677 else
23678 glibcxx_cv_func_atan2f_use=no
23680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 ac_ext=c
23682 ac_cpp='$CPP $CPPFLAGS'
23683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23695 for ac_func in atan2f
23696 do :
23697 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23698 if test "x$ac_cv_func_atan2f" = x""yes; then :
23699 cat >>confdefs.h <<_ACEOF
23700 #define HAVE_ATAN2F 1
23701 _ACEOF
23704 done
23706 else
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23709 $as_echo_n "checking for _atan2f declaration... " >&6; }
23710 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23711 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23712 $as_echo_n "(cached) " >&6
23713 else
23716 ac_ext=cpp
23717 ac_cpp='$CXXCPP $CPPFLAGS'
23718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h. */
23724 #include <math.h>
23726 main ()
23728 _atan2f(0, 0);
23730 return 0;
23732 _ACEOF
23733 if ac_fn_cxx_try_compile "$LINENO"; then :
23734 glibcxx_cv_func__atan2f_use=yes
23735 else
23736 glibcxx_cv_func__atan2f_use=no
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 ac_ext=c
23740 ac_cpp='$CPP $CPPFLAGS'
23741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23752 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23753 for ac_func in _atan2f
23754 do :
23755 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23756 if test "x$ac_cv_func__atan2f" = x""yes; then :
23757 cat >>confdefs.h <<_ACEOF
23758 #define HAVE__ATAN2F 1
23759 _ACEOF
23762 done
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23772 $as_echo_n "checking for fabsf declaration... " >&6; }
23773 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23774 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23775 $as_echo_n "(cached) " >&6
23776 else
23779 ac_ext=cpp
23780 ac_cpp='$CXXCPP $CPPFLAGS'
23781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23786 /* end confdefs.h. */
23787 #include <math.h>
23788 #ifdef HAVE_IEEEFP_H
23789 #include <ieeefp.h>
23790 #endif
23793 main ()
23795 fabsf(0);
23797 return 0;
23799 _ACEOF
23800 if ac_fn_cxx_try_compile "$LINENO"; then :
23801 glibcxx_cv_func_fabsf_use=yes
23802 else
23803 glibcxx_cv_func_fabsf_use=no
23805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23806 ac_ext=c
23807 ac_cpp='$CPP $CPPFLAGS'
23808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23820 for ac_func in fabsf
23821 do :
23822 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23823 if test "x$ac_cv_func_fabsf" = x""yes; then :
23824 cat >>confdefs.h <<_ACEOF
23825 #define HAVE_FABSF 1
23826 _ACEOF
23829 done
23831 else
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23834 $as_echo_n "checking for _fabsf declaration... " >&6; }
23835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23837 $as_echo_n "(cached) " >&6
23838 else
23841 ac_ext=cpp
23842 ac_cpp='$CXXCPP $CPPFLAGS'
23843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23848 /* end confdefs.h. */
23849 #include <math.h>
23850 #ifdef HAVE_IEEEFP_H
23851 #include <ieeefp.h>
23852 #endif
23855 main ()
23857 _fabsf(0);
23859 return 0;
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863 glibcxx_cv_func__fabsf_use=yes
23864 else
23865 glibcxx_cv_func__fabsf_use=no
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868 ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23881 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23882 for ac_func in _fabsf
23883 do :
23884 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23885 if test "x$ac_cv_func__fabsf" = x""yes; then :
23886 cat >>confdefs.h <<_ACEOF
23887 #define HAVE__FABSF 1
23888 _ACEOF
23891 done
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23901 $as_echo_n "checking for fmodf declaration... " >&6; }
23902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23904 $as_echo_n "(cached) " >&6
23905 else
23908 ac_ext=cpp
23909 ac_cpp='$CXXCPP $CPPFLAGS'
23910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h. */
23916 #include <math.h>
23918 main ()
23920 fmodf(0, 0);
23922 return 0;
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926 glibcxx_cv_func_fmodf_use=yes
23927 else
23928 glibcxx_cv_func_fmodf_use=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23944 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23945 for ac_func in fmodf
23946 do :
23947 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23948 if test "x$ac_cv_func_fmodf" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define HAVE_FMODF 1
23951 _ACEOF
23954 done
23956 else
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23959 $as_echo_n "checking for _fmodf declaration... " >&6; }
23960 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23961 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23963 else
23966 ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h. */
23974 #include <math.h>
23976 main ()
23978 _fmodf(0, 0);
23980 return 0;
23982 _ACEOF
23983 if ac_fn_cxx_try_compile "$LINENO"; then :
23984 glibcxx_cv_func__fmodf_use=yes
23985 else
23986 glibcxx_cv_func__fmodf_use=no
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23989 ac_ext=c
23990 ac_cpp='$CPP $CPPFLAGS'
23991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24002 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24003 for ac_func in _fmodf
24004 do :
24005 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24006 if test "x$ac_cv_func__fmodf" = x""yes; then :
24007 cat >>confdefs.h <<_ACEOF
24008 #define HAVE__FMODF 1
24009 _ACEOF
24012 done
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24022 $as_echo_n "checking for frexpf declaration... " >&6; }
24023 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24024 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24025 $as_echo_n "(cached) " >&6
24026 else
24029 ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h. */
24037 #include <math.h>
24039 main ()
24041 frexpf(0, 0);
24043 return 0;
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047 glibcxx_cv_func_frexpf_use=yes
24048 else
24049 glibcxx_cv_func_frexpf_use=no
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052 ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24065 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24066 for ac_func in frexpf
24067 do :
24068 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24069 if test "x$ac_cv_func_frexpf" = x""yes; then :
24070 cat >>confdefs.h <<_ACEOF
24071 #define HAVE_FREXPF 1
24072 _ACEOF
24075 done
24077 else
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24080 $as_echo_n "checking for _frexpf declaration... " >&6; }
24081 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24082 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24084 else
24087 ac_ext=cpp
24088 ac_cpp='$CXXCPP $CPPFLAGS'
24089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24094 /* end confdefs.h. */
24095 #include <math.h>
24097 main ()
24099 _frexpf(0, 0);
24101 return 0;
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105 glibcxx_cv_func__frexpf_use=yes
24106 else
24107 glibcxx_cv_func__frexpf_use=no
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24123 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24124 for ac_func in _frexpf
24125 do :
24126 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24127 if test "x$ac_cv_func__frexpf" = x""yes; then :
24128 cat >>confdefs.h <<_ACEOF
24129 #define HAVE__FREXPF 1
24130 _ACEOF
24133 done
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24143 $as_echo_n "checking for hypotf declaration... " >&6; }
24144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24147 else
24150 ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h. */
24158 #include <math.h>
24160 main ()
24162 hypotf(0, 0);
24164 return 0;
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168 glibcxx_cv_func_hypotf_use=yes
24169 else
24170 glibcxx_cv_func_hypotf_use=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24186 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24187 for ac_func in hypotf
24188 do :
24189 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24190 if test "x$ac_cv_func_hypotf" = x""yes; then :
24191 cat >>confdefs.h <<_ACEOF
24192 #define HAVE_HYPOTF 1
24193 _ACEOF
24196 done
24198 else
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24201 $as_echo_n "checking for _hypotf declaration... " >&6; }
24202 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24203 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24204 $as_echo_n "(cached) " >&6
24205 else
24208 ac_ext=cpp
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h. */
24216 #include <math.h>
24218 main ()
24220 _hypotf(0, 0);
24222 return 0;
24224 _ACEOF
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24226 glibcxx_cv_func__hypotf_use=yes
24227 else
24228 glibcxx_cv_func__hypotf_use=no
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 ac_ext=c
24232 ac_cpp='$CPP $CPPFLAGS'
24233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24245 for ac_func in _hypotf
24246 do :
24247 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24248 if test "x$ac_cv_func__hypotf" = x""yes; then :
24249 cat >>confdefs.h <<_ACEOF
24250 #define HAVE__HYPOTF 1
24251 _ACEOF
24254 done
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24264 $as_echo_n "checking for ldexpf declaration... " >&6; }
24265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24281 main ()
24283 ldexpf(0, 0);
24285 return 0;
24287 _ACEOF
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289 glibcxx_cv_func_ldexpf_use=yes
24290 else
24291 glibcxx_cv_func_ldexpf_use=no
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 ac_ext=c
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24308 for ac_func in ldexpf
24309 do :
24310 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24312 cat >>confdefs.h <<_ACEOF
24313 #define HAVE_LDEXPF 1
24314 _ACEOF
24317 done
24319 else
24321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24323 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24324 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24325 $as_echo_n "(cached) " >&6
24326 else
24329 ac_ext=cpp
24330 ac_cpp='$CXXCPP $CPPFLAGS'
24331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24336 /* end confdefs.h. */
24337 #include <math.h>
24339 main ()
24341 _ldexpf(0, 0);
24343 return 0;
24345 _ACEOF
24346 if ac_fn_cxx_try_compile "$LINENO"; then :
24347 glibcxx_cv_func__ldexpf_use=yes
24348 else
24349 glibcxx_cv_func__ldexpf_use=no
24351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24352 ac_ext=c
24353 ac_cpp='$CPP $CPPFLAGS'
24354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24365 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24366 for ac_func in _ldexpf
24367 do :
24368 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24370 cat >>confdefs.h <<_ACEOF
24371 #define HAVE__LDEXPF 1
24372 _ACEOF
24375 done
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24385 $as_echo_n "checking for logf declaration... " >&6; }
24386 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24387 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24389 else
24392 ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400 #include <math.h>
24401 #ifdef HAVE_IEEEFP_H
24402 #include <ieeefp.h>
24403 #endif
24406 main ()
24408 logf(0);
24410 return 0;
24412 _ACEOF
24413 if ac_fn_cxx_try_compile "$LINENO"; then :
24414 glibcxx_cv_func_logf_use=yes
24415 else
24416 glibcxx_cv_func_logf_use=no
24418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419 ac_ext=c
24420 ac_cpp='$CPP $CPPFLAGS'
24421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24432 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24433 for ac_func in logf
24434 do :
24435 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24436 if test "x$ac_cv_func_logf" = x""yes; then :
24437 cat >>confdefs.h <<_ACEOF
24438 #define HAVE_LOGF 1
24439 _ACEOF
24442 done
24444 else
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24447 $as_echo_n "checking for _logf declaration... " >&6; }
24448 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24449 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24450 $as_echo_n "(cached) " >&6
24451 else
24454 ac_ext=cpp
24455 ac_cpp='$CXXCPP $CPPFLAGS'
24456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24461 /* end confdefs.h. */
24462 #include <math.h>
24463 #ifdef HAVE_IEEEFP_H
24464 #include <ieeefp.h>
24465 #endif
24468 main ()
24470 _logf(0);
24472 return 0;
24474 _ACEOF
24475 if ac_fn_cxx_try_compile "$LINENO"; then :
24476 glibcxx_cv_func__logf_use=yes
24477 else
24478 glibcxx_cv_func__logf_use=no
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481 ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24495 for ac_func in _logf
24496 do :
24497 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24498 if test "x$ac_cv_func__logf" = x""yes; then :
24499 cat >>confdefs.h <<_ACEOF
24500 #define HAVE__LOGF 1
24501 _ACEOF
24504 done
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24514 $as_echo_n "checking for log10f declaration... " >&6; }
24515 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24516 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24517 $as_echo_n "(cached) " >&6
24518 else
24521 ac_ext=cpp
24522 ac_cpp='$CXXCPP $CPPFLAGS'
24523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24528 /* end confdefs.h. */
24529 #include <math.h>
24530 #ifdef HAVE_IEEEFP_H
24531 #include <ieeefp.h>
24532 #endif
24535 main ()
24537 log10f(0);
24539 return 0;
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543 glibcxx_cv_func_log10f_use=yes
24544 else
24545 glibcxx_cv_func_log10f_use=no
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24561 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24562 for ac_func in log10f
24563 do :
24564 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24565 if test "x$ac_cv_func_log10f" = x""yes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE_LOG10F 1
24568 _ACEOF
24571 done
24573 else
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24576 $as_echo_n "checking for _log10f declaration... " >&6; }
24577 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24578 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24579 $as_echo_n "(cached) " >&6
24580 else
24583 ac_ext=cpp
24584 ac_cpp='$CXXCPP $CPPFLAGS'
24585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24590 /* end confdefs.h. */
24591 #include <math.h>
24592 #ifdef HAVE_IEEEFP_H
24593 #include <ieeefp.h>
24594 #endif
24597 main ()
24599 _log10f(0);
24601 return 0;
24603 _ACEOF
24604 if ac_fn_cxx_try_compile "$LINENO"; then :
24605 glibcxx_cv_func__log10f_use=yes
24606 else
24607 glibcxx_cv_func__log10f_use=no
24609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610 ac_ext=c
24611 ac_cpp='$CPP $CPPFLAGS'
24612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24624 for ac_func in _log10f
24625 do :
24626 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24627 if test "x$ac_cv_func__log10f" = x""yes; then :
24628 cat >>confdefs.h <<_ACEOF
24629 #define HAVE__LOG10F 1
24630 _ACEOF
24633 done
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24643 $as_echo_n "checking for modff declaration... " >&6; }
24644 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24645 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24660 main ()
24662 modff(0, 0);
24664 return 0;
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668 glibcxx_cv_func_modff_use=yes
24669 else
24670 glibcxx_cv_func_modff_use=no
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673 ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24687 for ac_func in modff
24688 do :
24689 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24690 if test "x$ac_cv_func_modff" = x""yes; then :
24691 cat >>confdefs.h <<_ACEOF
24692 #define HAVE_MODFF 1
24693 _ACEOF
24696 done
24698 else
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24701 $as_echo_n "checking for _modff declaration... " >&6; }
24702 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24703 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24704 $as_echo_n "(cached) " >&6
24705 else
24708 ac_ext=cpp
24709 ac_cpp='$CXXCPP $CPPFLAGS'
24710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24716 #include <math.h>
24718 main ()
24720 _modff(0, 0);
24722 return 0;
24724 _ACEOF
24725 if ac_fn_cxx_try_compile "$LINENO"; then :
24726 glibcxx_cv_func__modff_use=yes
24727 else
24728 glibcxx_cv_func__modff_use=no
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731 ac_ext=c
24732 ac_cpp='$CPP $CPPFLAGS'
24733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24744 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24745 for ac_func in _modff
24746 do :
24747 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24748 if test "x$ac_cv_func__modff" = x""yes; then :
24749 cat >>confdefs.h <<_ACEOF
24750 #define HAVE__MODFF 1
24751 _ACEOF
24754 done
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24764 $as_echo_n "checking for modf declaration... " >&6; }
24765 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24766 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24767 $as_echo_n "(cached) " >&6
24768 else
24771 ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h. */
24779 #include <math.h>
24781 main ()
24783 modf(0, 0);
24785 return 0;
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789 glibcxx_cv_func_modf_use=yes
24790 else
24791 glibcxx_cv_func_modf_use=no
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794 ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24807 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24808 for ac_func in modf
24809 do :
24810 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24811 if test "x$ac_cv_func_modf" = x""yes; then :
24812 cat >>confdefs.h <<_ACEOF
24813 #define HAVE_MODF 1
24814 _ACEOF
24817 done
24819 else
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24822 $as_echo_n "checking for _modf declaration... " >&6; }
24823 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24824 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24825 $as_echo_n "(cached) " >&6
24826 else
24829 ac_ext=cpp
24830 ac_cpp='$CXXCPP $CPPFLAGS'
24831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h. */
24837 #include <math.h>
24839 main ()
24841 _modf(0, 0);
24843 return 0;
24845 _ACEOF
24846 if ac_fn_cxx_try_compile "$LINENO"; then :
24847 glibcxx_cv_func__modf_use=yes
24848 else
24849 glibcxx_cv_func__modf_use=no
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852 ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24865 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24866 for ac_func in _modf
24867 do :
24868 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24869 if test "x$ac_cv_func__modf" = x""yes; then :
24870 cat >>confdefs.h <<_ACEOF
24871 #define HAVE__MODF 1
24872 _ACEOF
24875 done
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24885 $as_echo_n "checking for powf declaration... " >&6; }
24886 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24887 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24888 $as_echo_n "(cached) " >&6
24889 else
24892 ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h. */
24900 #include <math.h>
24902 main ()
24904 powf(0, 0);
24906 return 0;
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func_powf_use=yes
24911 else
24912 glibcxx_cv_func_powf_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24928 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24929 for ac_func in powf
24930 do :
24931 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24932 if test "x$ac_cv_func_powf" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE_POWF 1
24935 _ACEOF
24938 done
24940 else
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24943 $as_echo_n "checking for _powf declaration... " >&6; }
24944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24945 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24958 #include <math.h>
24960 main ()
24962 _powf(0, 0);
24964 return 0;
24966 _ACEOF
24967 if ac_fn_cxx_try_compile "$LINENO"; then :
24968 glibcxx_cv_func__powf_use=yes
24969 else
24970 glibcxx_cv_func__powf_use=no
24972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24973 ac_ext=c
24974 ac_cpp='$CPP $CPPFLAGS'
24975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24986 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24987 for ac_func in _powf
24988 do :
24989 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24990 if test "x$ac_cv_func__powf" = x""yes; then :
24991 cat >>confdefs.h <<_ACEOF
24992 #define HAVE__POWF 1
24993 _ACEOF
24996 done
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25006 $as_echo_n "checking for sqrtf declaration... " >&6; }
25007 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25008 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25009 $as_echo_n "(cached) " >&6
25010 else
25013 ac_ext=cpp
25014 ac_cpp='$CXXCPP $CPPFLAGS'
25015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25020 /* end confdefs.h. */
25021 #include <math.h>
25022 #ifdef HAVE_IEEEFP_H
25023 #include <ieeefp.h>
25024 #endif
25027 main ()
25029 sqrtf(0);
25031 return 0;
25033 _ACEOF
25034 if ac_fn_cxx_try_compile "$LINENO"; then :
25035 glibcxx_cv_func_sqrtf_use=yes
25036 else
25037 glibcxx_cv_func_sqrtf_use=no
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040 ac_ext=c
25041 ac_cpp='$CPP $CPPFLAGS'
25042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25053 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25054 for ac_func in sqrtf
25055 do :
25056 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25058 cat >>confdefs.h <<_ACEOF
25059 #define HAVE_SQRTF 1
25060 _ACEOF
25063 done
25065 else
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25069 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25070 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25072 else
25075 ac_ext=cpp
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083 #include <math.h>
25084 #ifdef HAVE_IEEEFP_H
25085 #include <ieeefp.h>
25086 #endif
25089 main ()
25091 _sqrtf(0);
25093 return 0;
25095 _ACEOF
25096 if ac_fn_cxx_try_compile "$LINENO"; then :
25097 glibcxx_cv_func__sqrtf_use=yes
25098 else
25099 glibcxx_cv_func__sqrtf_use=no
25101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25102 ac_ext=c
25103 ac_cpp='$CPP $CPPFLAGS'
25104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25115 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25116 for ac_func in _sqrtf
25117 do :
25118 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25120 cat >>confdefs.h <<_ACEOF
25121 #define HAVE__SQRTF 1
25122 _ACEOF
25125 done
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25135 $as_echo_n "checking for sincosf declaration... " >&6; }
25136 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25137 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25138 $as_echo_n "(cached) " >&6
25139 else
25142 ac_ext=cpp
25143 ac_cpp='$CXXCPP $CPPFLAGS'
25144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25150 #include <math.h>
25152 main ()
25154 sincosf(0, 0, 0);
25156 return 0;
25158 _ACEOF
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func_sincosf_use=yes
25161 else
25162 glibcxx_cv_func_sincosf_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165 ac_ext=c
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25178 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25179 for ac_func in sincosf
25180 do :
25181 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25182 if test "x$ac_cv_func_sincosf" = x""yes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE_SINCOSF 1
25185 _ACEOF
25188 done
25190 else
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25193 $as_echo_n "checking for _sincosf declaration... " >&6; }
25194 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25195 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25196 $as_echo_n "(cached) " >&6
25197 else
25200 ac_ext=cpp
25201 ac_cpp='$CXXCPP $CPPFLAGS'
25202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25208 #include <math.h>
25210 main ()
25212 _sincosf(0, 0, 0);
25214 return 0;
25216 _ACEOF
25217 if ac_fn_cxx_try_compile "$LINENO"; then :
25218 glibcxx_cv_func__sincosf_use=yes
25219 else
25220 glibcxx_cv_func__sincosf_use=no
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25223 ac_ext=c
25224 ac_cpp='$CPP $CPPFLAGS'
25225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25237 for ac_func in _sincosf
25238 do :
25239 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25240 if test "x$ac_cv_func__sincosf" = x""yes; then :
25241 cat >>confdefs.h <<_ACEOF
25242 #define HAVE__SINCOSF 1
25243 _ACEOF
25246 done
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25256 $as_echo_n "checking for finitef declaration... " >&6; }
25257 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25258 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25259 $as_echo_n "(cached) " >&6
25260 else
25263 ac_ext=cpp
25264 ac_cpp='$CXXCPP $CPPFLAGS'
25265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25270 /* end confdefs.h. */
25271 #include <math.h>
25272 #ifdef HAVE_IEEEFP_H
25273 #include <ieeefp.h>
25274 #endif
25277 main ()
25279 finitef(0);
25281 return 0;
25283 _ACEOF
25284 if ac_fn_cxx_try_compile "$LINENO"; then :
25285 glibcxx_cv_func_finitef_use=yes
25286 else
25287 glibcxx_cv_func_finitef_use=no
25289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25290 ac_ext=c
25291 ac_cpp='$CPP $CPPFLAGS'
25292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25303 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25304 for ac_func in finitef
25305 do :
25306 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25307 if test "x$ac_cv_func_finitef" = x""yes; then :
25308 cat >>confdefs.h <<_ACEOF
25309 #define HAVE_FINITEF 1
25310 _ACEOF
25313 done
25315 else
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25318 $as_echo_n "checking for _finitef declaration... " >&6; }
25319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25321 $as_echo_n "(cached) " >&6
25322 else
25325 ac_ext=cpp
25326 ac_cpp='$CXXCPP $CPPFLAGS'
25327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25332 /* end confdefs.h. */
25333 #include <math.h>
25334 #ifdef HAVE_IEEEFP_H
25335 #include <ieeefp.h>
25336 #endif
25339 main ()
25341 _finitef(0);
25343 return 0;
25345 _ACEOF
25346 if ac_fn_cxx_try_compile "$LINENO"; then :
25347 glibcxx_cv_func__finitef_use=yes
25348 else
25349 glibcxx_cv_func__finitef_use=no
25351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352 ac_ext=c
25353 ac_cpp='$CPP $CPPFLAGS'
25354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25365 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25366 for ac_func in _finitef
25367 do :
25368 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25369 if test "x$ac_cv_func__finitef" = x""yes; then :
25370 cat >>confdefs.h <<_ACEOF
25371 #define HAVE__FINITEF 1
25372 _ACEOF
25375 done
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25385 $as_echo_n "checking for long double trig functions... " >&6; }
25386 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25387 $as_echo_n "(cached) " >&6
25388 else
25391 ac_ext=cpp
25392 ac_cpp='$CXXCPP $CPPFLAGS'
25393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25398 /* end confdefs.h. */
25399 #include <math.h>
25401 main ()
25403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25405 return 0;
25407 _ACEOF
25408 if ac_fn_cxx_try_compile "$LINENO"; then :
25409 glibcxx_cv_func_long_double_trig_use=yes
25410 else
25411 glibcxx_cv_func_long_double_trig_use=no
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25414 ac_ext=c
25415 ac_cpp='$CPP $CPPFLAGS'
25416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25425 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25426 do :
25427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25429 eval as_val=\$$as_ac_var
25430 if test "x$as_val" = x""yes; then :
25431 cat >>confdefs.h <<_ACEOF
25432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25433 _ACEOF
25436 done
25438 else
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25440 $as_echo_n "checking for _long double trig functions... " >&6; }
25441 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25442 $as_echo_n "(cached) " >&6
25443 else
25446 ac_ext=cpp
25447 ac_cpp='$CXXCPP $CPPFLAGS'
25448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25453 /* end confdefs.h. */
25454 #include <math.h>
25456 main ()
25458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25460 return 0;
25462 _ACEOF
25463 if ac_fn_cxx_try_compile "$LINENO"; then :
25464 glibcxx_cv_func__long_double_trig_use=yes
25465 else
25466 glibcxx_cv_func__long_double_trig_use=no
25468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25469 ac_ext=c
25470 ac_cpp='$CPP $CPPFLAGS'
25471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25481 do :
25482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25484 eval as_val=\$$as_ac_var
25485 if test "x$as_val" = x""yes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25488 _ACEOF
25491 done
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25501 $as_echo_n "checking for long double round functions... " >&6; }
25502 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25503 $as_echo_n "(cached) " >&6
25504 else
25507 ac_ext=cpp
25508 ac_cpp='$CXXCPP $CPPFLAGS'
25509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25514 /* end confdefs.h. */
25515 #include <math.h>
25517 main ()
25519 ceill (0); floorl (0);
25521 return 0;
25523 _ACEOF
25524 if ac_fn_cxx_try_compile "$LINENO"; then :
25525 glibcxx_cv_func_long_double_round_use=yes
25526 else
25527 glibcxx_cv_func_long_double_round_use=no
25529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530 ac_ext=c
25531 ac_cpp='$CPP $CPPFLAGS'
25532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25540 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25541 for ac_func in ceill floorl
25542 do :
25543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25545 eval as_val=\$$as_ac_var
25546 if test "x$as_val" = x""yes; then :
25547 cat >>confdefs.h <<_ACEOF
25548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25549 _ACEOF
25552 done
25554 else
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25556 $as_echo_n "checking for _long double round functions... " >&6; }
25557 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25558 $as_echo_n "(cached) " >&6
25559 else
25562 ac_ext=cpp
25563 ac_cpp='$CXXCPP $CPPFLAGS'
25564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25569 /* end confdefs.h. */
25570 #include <math.h>
25572 main ()
25574 _ceill (0); _floorl (0);
25576 return 0;
25578 _ACEOF
25579 if ac_fn_cxx_try_compile "$LINENO"; then :
25580 glibcxx_cv_func__long_double_round_use=yes
25581 else
25582 glibcxx_cv_func__long_double_round_use=no
25584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25585 ac_ext=c
25586 ac_cpp='$CPP $CPPFLAGS'
25587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25595 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25596 for ac_func in _ceill _floorl
25597 do :
25598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25600 eval as_val=\$$as_ac_var
25601 if test "x$as_val" = x""yes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25604 _ACEOF
25607 done
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25618 $as_echo_n "checking for isnanl declaration... " >&6; }
25619 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25620 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25621 $as_echo_n "(cached) " >&6
25622 else
25625 ac_ext=cpp
25626 ac_cpp='$CXXCPP $CPPFLAGS'
25627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25632 /* end confdefs.h. */
25633 #include <math.h>
25634 #ifdef HAVE_IEEEFP_H
25635 #include <ieeefp.h>
25636 #endif
25639 main ()
25641 isnanl(0);
25643 return 0;
25645 _ACEOF
25646 if ac_fn_cxx_try_compile "$LINENO"; then :
25647 glibcxx_cv_func_isnanl_use=yes
25648 else
25649 glibcxx_cv_func_isnanl_use=no
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 ac_ext=c
25653 ac_cpp='$CPP $CPPFLAGS'
25654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25665 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25666 for ac_func in isnanl
25667 do :
25668 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25669 if test "x$ac_cv_func_isnanl" = x""yes; then :
25670 cat >>confdefs.h <<_ACEOF
25671 #define HAVE_ISNANL 1
25672 _ACEOF
25675 done
25677 else
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25680 $as_echo_n "checking for _isnanl declaration... " >&6; }
25681 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25682 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25683 $as_echo_n "(cached) " >&6
25684 else
25687 ac_ext=cpp
25688 ac_cpp='$CXXCPP $CPPFLAGS'
25689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25694 /* end confdefs.h. */
25695 #include <math.h>
25696 #ifdef HAVE_IEEEFP_H
25697 #include <ieeefp.h>
25698 #endif
25701 main ()
25703 _isnanl(0);
25705 return 0;
25707 _ACEOF
25708 if ac_fn_cxx_try_compile "$LINENO"; then :
25709 glibcxx_cv_func__isnanl_use=yes
25710 else
25711 glibcxx_cv_func__isnanl_use=no
25713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25714 ac_ext=c
25715 ac_cpp='$CPP $CPPFLAGS'
25716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25727 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25728 for ac_func in _isnanl
25729 do :
25730 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25731 if test "x$ac_cv_func__isnanl" = x""yes; then :
25732 cat >>confdefs.h <<_ACEOF
25733 #define HAVE__ISNANL 1
25734 _ACEOF
25737 done
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25747 $as_echo_n "checking for isinfl declaration... " >&6; }
25748 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25749 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25750 $as_echo_n "(cached) " >&6
25751 else
25754 ac_ext=cpp
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25762 #include <math.h>
25763 #ifdef HAVE_IEEEFP_H
25764 #include <ieeefp.h>
25765 #endif
25768 main ()
25770 isinfl(0);
25772 return 0;
25774 _ACEOF
25775 if ac_fn_cxx_try_compile "$LINENO"; then :
25776 glibcxx_cv_func_isinfl_use=yes
25777 else
25778 glibcxx_cv_func_isinfl_use=no
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 ac_ext=c
25782 ac_cpp='$CPP $CPPFLAGS'
25783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25795 for ac_func in isinfl
25796 do :
25797 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25798 if test "x$ac_cv_func_isinfl" = x""yes; then :
25799 cat >>confdefs.h <<_ACEOF
25800 #define HAVE_ISINFL 1
25801 _ACEOF
25804 done
25806 else
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25809 $as_echo_n "checking for _isinfl declaration... " >&6; }
25810 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25811 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25812 $as_echo_n "(cached) " >&6
25813 else
25816 ac_ext=cpp
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25823 /* end confdefs.h. */
25824 #include <math.h>
25825 #ifdef HAVE_IEEEFP_H
25826 #include <ieeefp.h>
25827 #endif
25830 main ()
25832 _isinfl(0);
25834 return 0;
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838 glibcxx_cv_func__isinfl_use=yes
25839 else
25840 glibcxx_cv_func__isinfl_use=no
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25857 for ac_func in _isinfl
25858 do :
25859 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25860 if test "x$ac_cv_func__isinfl" = x""yes; then :
25861 cat >>confdefs.h <<_ACEOF
25862 #define HAVE__ISINFL 1
25863 _ACEOF
25866 done
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25876 $as_echo_n "checking for atan2l declaration... " >&6; }
25877 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25878 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25879 $as_echo_n "(cached) " >&6
25880 else
25883 ac_ext=cpp
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25890 /* end confdefs.h. */
25891 #include <math.h>
25893 main ()
25895 atan2l(0, 0);
25897 return 0;
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func_atan2l_use=yes
25902 else
25903 glibcxx_cv_func_atan2l_use=no
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25919 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25920 for ac_func in atan2l
25921 do :
25922 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25923 if test "x$ac_cv_func_atan2l" = x""yes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE_ATAN2L 1
25926 _ACEOF
25929 done
25931 else
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25934 $as_echo_n "checking for _atan2l declaration... " >&6; }
25935 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25936 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25937 $as_echo_n "(cached) " >&6
25938 else
25941 ac_ext=cpp
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25949 #include <math.h>
25951 main ()
25953 _atan2l(0, 0);
25955 return 0;
25957 _ACEOF
25958 if ac_fn_cxx_try_compile "$LINENO"; then :
25959 glibcxx_cv_func__atan2l_use=yes
25960 else
25961 glibcxx_cv_func__atan2l_use=no
25963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25977 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25978 for ac_func in _atan2l
25979 do :
25980 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25981 if test "x$ac_cv_func__atan2l" = x""yes; then :
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE__ATAN2L 1
25984 _ACEOF
25987 done
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25997 $as_echo_n "checking for expl declaration... " >&6; }
25998 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25999 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26000 $as_echo_n "(cached) " >&6
26001 else
26004 ac_ext=cpp
26005 ac_cpp='$CXXCPP $CPPFLAGS'
26006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26012 #include <math.h>
26013 #ifdef HAVE_IEEEFP_H
26014 #include <ieeefp.h>
26015 #endif
26018 main ()
26020 expl(0);
26022 return 0;
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026 glibcxx_cv_func_expl_use=yes
26027 else
26028 glibcxx_cv_func_expl_use=no
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26044 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26045 for ac_func in expl
26046 do :
26047 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26048 if test "x$ac_cv_func_expl" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE_EXPL 1
26051 _ACEOF
26054 done
26056 else
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26059 $as_echo_n "checking for _expl declaration... " >&6; }
26060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26061 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26062 $as_echo_n "(cached) " >&6
26063 else
26066 ac_ext=cpp
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26074 #include <math.h>
26075 #ifdef HAVE_IEEEFP_H
26076 #include <ieeefp.h>
26077 #endif
26080 main ()
26082 _expl(0);
26084 return 0;
26086 _ACEOF
26087 if ac_fn_cxx_try_compile "$LINENO"; then :
26088 glibcxx_cv_func__expl_use=yes
26089 else
26090 glibcxx_cv_func__expl_use=no
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 ac_ext=c
26094 ac_cpp='$CPP $CPPFLAGS'
26095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26106 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26107 for ac_func in _expl
26108 do :
26109 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26110 if test "x$ac_cv_func__expl" = x""yes; then :
26111 cat >>confdefs.h <<_ACEOF
26112 #define HAVE__EXPL 1
26113 _ACEOF
26116 done
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26126 $as_echo_n "checking for fabsl declaration... " >&6; }
26127 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26128 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26142 #ifdef HAVE_IEEEFP_H
26143 #include <ieeefp.h>
26144 #endif
26147 main ()
26149 fabsl(0);
26151 return 0;
26153 _ACEOF
26154 if ac_fn_cxx_try_compile "$LINENO"; then :
26155 glibcxx_cv_func_fabsl_use=yes
26156 else
26157 glibcxx_cv_func_fabsl_use=no
26159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26160 ac_ext=c
26161 ac_cpp='$CPP $CPPFLAGS'
26162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26174 for ac_func in fabsl
26175 do :
26176 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26177 if test "x$ac_cv_func_fabsl" = x""yes; then :
26178 cat >>confdefs.h <<_ACEOF
26179 #define HAVE_FABSL 1
26180 _ACEOF
26183 done
26185 else
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26188 $as_echo_n "checking for _fabsl declaration... " >&6; }
26189 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26190 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26191 $as_echo_n "(cached) " >&6
26192 else
26195 ac_ext=cpp
26196 ac_cpp='$CXXCPP $CPPFLAGS'
26197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26202 /* end confdefs.h. */
26203 #include <math.h>
26204 #ifdef HAVE_IEEEFP_H
26205 #include <ieeefp.h>
26206 #endif
26209 main ()
26211 _fabsl(0);
26213 return 0;
26215 _ACEOF
26216 if ac_fn_cxx_try_compile "$LINENO"; then :
26217 glibcxx_cv_func__fabsl_use=yes
26218 else
26219 glibcxx_cv_func__fabsl_use=no
26221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26222 ac_ext=c
26223 ac_cpp='$CPP $CPPFLAGS'
26224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26235 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26236 for ac_func in _fabsl
26237 do :
26238 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26239 if test "x$ac_cv_func__fabsl" = x""yes; then :
26240 cat >>confdefs.h <<_ACEOF
26241 #define HAVE__FABSL 1
26242 _ACEOF
26245 done
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26255 $as_echo_n "checking for fmodl declaration... " >&6; }
26256 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26257 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26258 $as_echo_n "(cached) " >&6
26259 else
26262 ac_ext=cpp
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26269 /* end confdefs.h. */
26270 #include <math.h>
26272 main ()
26274 fmodl(0, 0);
26276 return 0;
26278 _ACEOF
26279 if ac_fn_cxx_try_compile "$LINENO"; then :
26280 glibcxx_cv_func_fmodl_use=yes
26281 else
26282 glibcxx_cv_func_fmodl_use=no
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 ac_ext=c
26286 ac_cpp='$CPP $CPPFLAGS'
26287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26298 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26299 for ac_func in fmodl
26300 do :
26301 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26302 if test "x$ac_cv_func_fmodl" = x""yes; then :
26303 cat >>confdefs.h <<_ACEOF
26304 #define HAVE_FMODL 1
26305 _ACEOF
26308 done
26310 else
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26313 $as_echo_n "checking for _fmodl declaration... " >&6; }
26314 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26315 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26316 $as_echo_n "(cached) " >&6
26317 else
26320 ac_ext=cpp
26321 ac_cpp='$CXXCPP $CPPFLAGS'
26322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26327 /* end confdefs.h. */
26328 #include <math.h>
26330 main ()
26332 _fmodl(0, 0);
26334 return 0;
26336 _ACEOF
26337 if ac_fn_cxx_try_compile "$LINENO"; then :
26338 glibcxx_cv_func__fmodl_use=yes
26339 else
26340 glibcxx_cv_func__fmodl_use=no
26342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26343 ac_ext=c
26344 ac_cpp='$CPP $CPPFLAGS'
26345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26356 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26357 for ac_func in _fmodl
26358 do :
26359 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26360 if test "x$ac_cv_func__fmodl" = x""yes; then :
26361 cat >>confdefs.h <<_ACEOF
26362 #define HAVE__FMODL 1
26363 _ACEOF
26366 done
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26376 $as_echo_n "checking for frexpl declaration... " >&6; }
26377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26379 $as_echo_n "(cached) " >&6
26380 else
26383 ac_ext=cpp
26384 ac_cpp='$CXXCPP $CPPFLAGS'
26385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26390 /* end confdefs.h. */
26391 #include <math.h>
26393 main ()
26395 frexpl(0, 0);
26397 return 0;
26399 _ACEOF
26400 if ac_fn_cxx_try_compile "$LINENO"; then :
26401 glibcxx_cv_func_frexpl_use=yes
26402 else
26403 glibcxx_cv_func_frexpl_use=no
26405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26406 ac_ext=c
26407 ac_cpp='$CPP $CPPFLAGS'
26408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26419 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26420 for ac_func in frexpl
26421 do :
26422 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26423 if test "x$ac_cv_func_frexpl" = x""yes; then :
26424 cat >>confdefs.h <<_ACEOF
26425 #define HAVE_FREXPL 1
26426 _ACEOF
26429 done
26431 else
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26434 $as_echo_n "checking for _frexpl declaration... " >&6; }
26435 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26436 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26437 $as_echo_n "(cached) " >&6
26438 else
26441 ac_ext=cpp
26442 ac_cpp='$CXXCPP $CPPFLAGS'
26443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h. */
26449 #include <math.h>
26451 main ()
26453 _frexpl(0, 0);
26455 return 0;
26457 _ACEOF
26458 if ac_fn_cxx_try_compile "$LINENO"; then :
26459 glibcxx_cv_func__frexpl_use=yes
26460 else
26461 glibcxx_cv_func__frexpl_use=no
26463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26464 ac_ext=c
26465 ac_cpp='$CPP $CPPFLAGS'
26466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26477 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26478 for ac_func in _frexpl
26479 do :
26480 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26481 if test "x$ac_cv_func__frexpl" = x""yes; then :
26482 cat >>confdefs.h <<_ACEOF
26483 #define HAVE__FREXPL 1
26484 _ACEOF
26487 done
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26497 $as_echo_n "checking for hypotl declaration... " >&6; }
26498 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26499 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26504 ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26511 /* end confdefs.h. */
26512 #include <math.h>
26514 main ()
26516 hypotl(0, 0);
26518 return 0;
26520 _ACEOF
26521 if ac_fn_cxx_try_compile "$LINENO"; then :
26522 glibcxx_cv_func_hypotl_use=yes
26523 else
26524 glibcxx_cv_func_hypotl_use=no
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26527 ac_ext=c
26528 ac_cpp='$CPP $CPPFLAGS'
26529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26540 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26541 for ac_func in hypotl
26542 do :
26543 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26544 if test "x$ac_cv_func_hypotl" = x""yes; then :
26545 cat >>confdefs.h <<_ACEOF
26546 #define HAVE_HYPOTL 1
26547 _ACEOF
26550 done
26552 else
26554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26555 $as_echo_n "checking for _hypotl declaration... " >&6; }
26556 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26557 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26558 $as_echo_n "(cached) " >&6
26559 else
26562 ac_ext=cpp
26563 ac_cpp='$CXXCPP $CPPFLAGS'
26564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26570 #include <math.h>
26572 main ()
26574 _hypotl(0, 0);
26576 return 0;
26578 _ACEOF
26579 if ac_fn_cxx_try_compile "$LINENO"; then :
26580 glibcxx_cv_func__hypotl_use=yes
26581 else
26582 glibcxx_cv_func__hypotl_use=no
26584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26585 ac_ext=c
26586 ac_cpp='$CPP $CPPFLAGS'
26587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26599 for ac_func in _hypotl
26600 do :
26601 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26602 if test "x$ac_cv_func__hypotl" = x""yes; then :
26603 cat >>confdefs.h <<_ACEOF
26604 #define HAVE__HYPOTL 1
26605 _ACEOF
26608 done
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26618 $as_echo_n "checking for ldexpl declaration... " >&6; }
26619 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26620 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26621 $as_echo_n "(cached) " >&6
26622 else
26625 ac_ext=cpp
26626 ac_cpp='$CXXCPP $CPPFLAGS'
26627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26632 /* end confdefs.h. */
26633 #include <math.h>
26635 main ()
26637 ldexpl(0, 0);
26639 return 0;
26641 _ACEOF
26642 if ac_fn_cxx_try_compile "$LINENO"; then :
26643 glibcxx_cv_func_ldexpl_use=yes
26644 else
26645 glibcxx_cv_func_ldexpl_use=no
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648 ac_ext=c
26649 ac_cpp='$CPP $CPPFLAGS'
26650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26662 for ac_func in ldexpl
26663 do :
26664 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26666 cat >>confdefs.h <<_ACEOF
26667 #define HAVE_LDEXPL 1
26668 _ACEOF
26671 done
26673 else
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26677 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26678 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26679 $as_echo_n "(cached) " >&6
26680 else
26683 ac_ext=cpp
26684 ac_cpp='$CXXCPP $CPPFLAGS'
26685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26691 #include <math.h>
26693 main ()
26695 _ldexpl(0, 0);
26697 return 0;
26699 _ACEOF
26700 if ac_fn_cxx_try_compile "$LINENO"; then :
26701 glibcxx_cv_func__ldexpl_use=yes
26702 else
26703 glibcxx_cv_func__ldexpl_use=no
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 ac_ext=c
26707 ac_cpp='$CPP $CPPFLAGS'
26708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26720 for ac_func in _ldexpl
26721 do :
26722 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26724 cat >>confdefs.h <<_ACEOF
26725 #define HAVE__LDEXPL 1
26726 _ACEOF
26729 done
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26739 $as_echo_n "checking for logl declaration... " >&6; }
26740 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26741 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26742 $as_echo_n "(cached) " >&6
26743 else
26746 ac_ext=cpp
26747 ac_cpp='$CXXCPP $CPPFLAGS'
26748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 #include <math.h>
26755 #ifdef HAVE_IEEEFP_H
26756 #include <ieeefp.h>
26757 #endif
26760 main ()
26762 logl(0);
26764 return 0;
26766 _ACEOF
26767 if ac_fn_cxx_try_compile "$LINENO"; then :
26768 glibcxx_cv_func_logl_use=yes
26769 else
26770 glibcxx_cv_func_logl_use=no
26772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26773 ac_ext=c
26774 ac_cpp='$CPP $CPPFLAGS'
26775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26786 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26787 for ac_func in logl
26788 do :
26789 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26790 if test "x$ac_cv_func_logl" = x""yes; then :
26791 cat >>confdefs.h <<_ACEOF
26792 #define HAVE_LOGL 1
26793 _ACEOF
26796 done
26798 else
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26801 $as_echo_n "checking for _logl declaration... " >&6; }
26802 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26803 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26804 $as_echo_n "(cached) " >&6
26805 else
26808 ac_ext=cpp
26809 ac_cpp='$CXXCPP $CPPFLAGS'
26810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26815 /* end confdefs.h. */
26816 #include <math.h>
26817 #ifdef HAVE_IEEEFP_H
26818 #include <ieeefp.h>
26819 #endif
26822 main ()
26824 _logl(0);
26826 return 0;
26828 _ACEOF
26829 if ac_fn_cxx_try_compile "$LINENO"; then :
26830 glibcxx_cv_func__logl_use=yes
26831 else
26832 glibcxx_cv_func__logl_use=no
26834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26835 ac_ext=c
26836 ac_cpp='$CPP $CPPFLAGS'
26837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26848 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26849 for ac_func in _logl
26850 do :
26851 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26852 if test "x$ac_cv_func__logl" = x""yes; then :
26853 cat >>confdefs.h <<_ACEOF
26854 #define HAVE__LOGL 1
26855 _ACEOF
26858 done
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26868 $as_echo_n "checking for log10l declaration... " >&6; }
26869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26871 $as_echo_n "(cached) " >&6
26872 else
26875 ac_ext=cpp
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 #include <math.h>
26884 #ifdef HAVE_IEEEFP_H
26885 #include <ieeefp.h>
26886 #endif
26889 main ()
26891 log10l(0);
26893 return 0;
26895 _ACEOF
26896 if ac_fn_cxx_try_compile "$LINENO"; then :
26897 glibcxx_cv_func_log10l_use=yes
26898 else
26899 glibcxx_cv_func_log10l_use=no
26901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26902 ac_ext=c
26903 ac_cpp='$CPP $CPPFLAGS'
26904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26915 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26916 for ac_func in log10l
26917 do :
26918 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26919 if test "x$ac_cv_func_log10l" = x""yes; then :
26920 cat >>confdefs.h <<_ACEOF
26921 #define HAVE_LOG10L 1
26922 _ACEOF
26925 done
26927 else
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26930 $as_echo_n "checking for _log10l declaration... " >&6; }
26931 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26932 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26933 $as_echo_n "(cached) " >&6
26934 else
26937 ac_ext=cpp
26938 ac_cpp='$CXXCPP $CPPFLAGS'
26939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944 /* end confdefs.h. */
26945 #include <math.h>
26946 #ifdef HAVE_IEEEFP_H
26947 #include <ieeefp.h>
26948 #endif
26951 main ()
26953 _log10l(0);
26955 return 0;
26957 _ACEOF
26958 if ac_fn_cxx_try_compile "$LINENO"; then :
26959 glibcxx_cv_func__log10l_use=yes
26960 else
26961 glibcxx_cv_func__log10l_use=no
26963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26964 ac_ext=c
26965 ac_cpp='$CPP $CPPFLAGS'
26966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26977 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26978 for ac_func in _log10l
26979 do :
26980 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26981 if test "x$ac_cv_func__log10l" = x""yes; then :
26982 cat >>confdefs.h <<_ACEOF
26983 #define HAVE__LOG10L 1
26984 _ACEOF
26987 done
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26997 $as_echo_n "checking for modfl declaration... " >&6; }
26998 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26999 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27000 $as_echo_n "(cached) " >&6
27001 else
27004 ac_ext=cpp
27005 ac_cpp='$CXXCPP $CPPFLAGS'
27006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27011 /* end confdefs.h. */
27012 #include <math.h>
27014 main ()
27016 modfl(0, 0);
27018 return 0;
27020 _ACEOF
27021 if ac_fn_cxx_try_compile "$LINENO"; then :
27022 glibcxx_cv_func_modfl_use=yes
27023 else
27024 glibcxx_cv_func_modfl_use=no
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27027 ac_ext=c
27028 ac_cpp='$CPP $CPPFLAGS'
27029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27040 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27041 for ac_func in modfl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27044 if test "x$ac_cv_func_modfl" = x""yes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE_MODFL 1
27047 _ACEOF
27050 done
27052 else
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27055 $as_echo_n "checking for _modfl declaration... " >&6; }
27056 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27057 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27058 $as_echo_n "(cached) " >&6
27059 else
27062 ac_ext=cpp
27063 ac_cpp='$CXXCPP $CPPFLAGS'
27064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27070 #include <math.h>
27072 main ()
27074 _modfl(0, 0);
27076 return 0;
27078 _ACEOF
27079 if ac_fn_cxx_try_compile "$LINENO"; then :
27080 glibcxx_cv_func__modfl_use=yes
27081 else
27082 glibcxx_cv_func__modfl_use=no
27084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27085 ac_ext=c
27086 ac_cpp='$CPP $CPPFLAGS'
27087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27098 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27099 for ac_func in _modfl
27100 do :
27101 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27102 if test "x$ac_cv_func__modfl" = x""yes; then :
27103 cat >>confdefs.h <<_ACEOF
27104 #define HAVE__MODFL 1
27105 _ACEOF
27108 done
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27118 $as_echo_n "checking for powl declaration... " >&6; }
27119 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27120 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27121 $as_echo_n "(cached) " >&6
27122 else
27125 ac_ext=cpp
27126 ac_cpp='$CXXCPP $CPPFLAGS'
27127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27132 /* end confdefs.h. */
27133 #include <math.h>
27135 main ()
27137 powl(0, 0);
27139 return 0;
27141 _ACEOF
27142 if ac_fn_cxx_try_compile "$LINENO"; then :
27143 glibcxx_cv_func_powl_use=yes
27144 else
27145 glibcxx_cv_func_powl_use=no
27147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27148 ac_ext=c
27149 ac_cpp='$CPP $CPPFLAGS'
27150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27161 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27162 for ac_func in powl
27163 do :
27164 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27165 if test "x$ac_cv_func_powl" = x""yes; then :
27166 cat >>confdefs.h <<_ACEOF
27167 #define HAVE_POWL 1
27168 _ACEOF
27171 done
27173 else
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27176 $as_echo_n "checking for _powl declaration... " >&6; }
27177 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27178 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27179 $as_echo_n "(cached) " >&6
27180 else
27183 ac_ext=cpp
27184 ac_cpp='$CXXCPP $CPPFLAGS'
27185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27190 /* end confdefs.h. */
27191 #include <math.h>
27193 main ()
27195 _powl(0, 0);
27197 return 0;
27199 _ACEOF
27200 if ac_fn_cxx_try_compile "$LINENO"; then :
27201 glibcxx_cv_func__powl_use=yes
27202 else
27203 glibcxx_cv_func__powl_use=no
27205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27206 ac_ext=c
27207 ac_cpp='$CPP $CPPFLAGS'
27208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27219 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27220 for ac_func in _powl
27221 do :
27222 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27223 if test "x$ac_cv_func__powl" = x""yes; then :
27224 cat >>confdefs.h <<_ACEOF
27225 #define HAVE__POWL 1
27226 _ACEOF
27229 done
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27239 $as_echo_n "checking for sqrtl declaration... " >&6; }
27240 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27241 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27242 $as_echo_n "(cached) " >&6
27243 else
27246 ac_ext=cpp
27247 ac_cpp='$CXXCPP $CPPFLAGS'
27248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27253 /* end confdefs.h. */
27254 #include <math.h>
27255 #ifdef HAVE_IEEEFP_H
27256 #include <ieeefp.h>
27257 #endif
27260 main ()
27262 sqrtl(0);
27264 return 0;
27266 _ACEOF
27267 if ac_fn_cxx_try_compile "$LINENO"; then :
27268 glibcxx_cv_func_sqrtl_use=yes
27269 else
27270 glibcxx_cv_func_sqrtl_use=no
27272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27273 ac_ext=c
27274 ac_cpp='$CPP $CPPFLAGS'
27275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27286 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27287 for ac_func in sqrtl
27288 do :
27289 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27291 cat >>confdefs.h <<_ACEOF
27292 #define HAVE_SQRTL 1
27293 _ACEOF
27296 done
27298 else
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27302 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27303 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27304 $as_echo_n "(cached) " >&6
27305 else
27308 ac_ext=cpp
27309 ac_cpp='$CXXCPP $CPPFLAGS'
27310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27315 /* end confdefs.h. */
27316 #include <math.h>
27317 #ifdef HAVE_IEEEFP_H
27318 #include <ieeefp.h>
27319 #endif
27322 main ()
27324 _sqrtl(0);
27326 return 0;
27328 _ACEOF
27329 if ac_fn_cxx_try_compile "$LINENO"; then :
27330 glibcxx_cv_func__sqrtl_use=yes
27331 else
27332 glibcxx_cv_func__sqrtl_use=no
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 ac_ext=c
27336 ac_cpp='$CPP $CPPFLAGS'
27337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27348 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27349 for ac_func in _sqrtl
27350 do :
27351 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27353 cat >>confdefs.h <<_ACEOF
27354 #define HAVE__SQRTL 1
27355 _ACEOF
27358 done
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27368 $as_echo_n "checking for sincosl declaration... " >&6; }
27369 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27370 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27371 $as_echo_n "(cached) " >&6
27372 else
27375 ac_ext=cpp
27376 ac_cpp='$CXXCPP $CPPFLAGS'
27377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27382 /* end confdefs.h. */
27383 #include <math.h>
27385 main ()
27387 sincosl(0, 0, 0);
27389 return 0;
27391 _ACEOF
27392 if ac_fn_cxx_try_compile "$LINENO"; then :
27393 glibcxx_cv_func_sincosl_use=yes
27394 else
27395 glibcxx_cv_func_sincosl_use=no
27397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398 ac_ext=c
27399 ac_cpp='$CPP $CPPFLAGS'
27400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27412 for ac_func in sincosl
27413 do :
27414 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27415 if test "x$ac_cv_func_sincosl" = x""yes; then :
27416 cat >>confdefs.h <<_ACEOF
27417 #define HAVE_SINCOSL 1
27418 _ACEOF
27421 done
27423 else
27425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27426 $as_echo_n "checking for _sincosl declaration... " >&6; }
27427 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27428 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27429 $as_echo_n "(cached) " >&6
27430 else
27433 ac_ext=cpp
27434 ac_cpp='$CXXCPP $CPPFLAGS'
27435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27440 /* end confdefs.h. */
27441 #include <math.h>
27443 main ()
27445 _sincosl(0, 0, 0);
27447 return 0;
27449 _ACEOF
27450 if ac_fn_cxx_try_compile "$LINENO"; then :
27451 glibcxx_cv_func__sincosl_use=yes
27452 else
27453 glibcxx_cv_func__sincosl_use=no
27455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27456 ac_ext=c
27457 ac_cpp='$CPP $CPPFLAGS'
27458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27469 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27470 for ac_func in _sincosl
27471 do :
27472 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27473 if test "x$ac_cv_func__sincosl" = x""yes; then :
27474 cat >>confdefs.h <<_ACEOF
27475 #define HAVE__SINCOSL 1
27476 _ACEOF
27479 done
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27489 $as_echo_n "checking for finitel declaration... " >&6; }
27490 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27491 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27492 $as_echo_n "(cached) " >&6
27493 else
27496 ac_ext=cpp
27497 ac_cpp='$CXXCPP $CPPFLAGS'
27498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27503 /* end confdefs.h. */
27504 #include <math.h>
27505 #ifdef HAVE_IEEEFP_H
27506 #include <ieeefp.h>
27507 #endif
27510 main ()
27512 finitel(0);
27514 return 0;
27516 _ACEOF
27517 if ac_fn_cxx_try_compile "$LINENO"; then :
27518 glibcxx_cv_func_finitel_use=yes
27519 else
27520 glibcxx_cv_func_finitel_use=no
27522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27523 ac_ext=c
27524 ac_cpp='$CPP $CPPFLAGS'
27525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27536 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27537 for ac_func in finitel
27538 do :
27539 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27540 if test "x$ac_cv_func_finitel" = x""yes; then :
27541 cat >>confdefs.h <<_ACEOF
27542 #define HAVE_FINITEL 1
27543 _ACEOF
27546 done
27548 else
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27551 $as_echo_n "checking for _finitel declaration... " >&6; }
27552 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27553 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27554 $as_echo_n "(cached) " >&6
27555 else
27558 ac_ext=cpp
27559 ac_cpp='$CXXCPP $CPPFLAGS'
27560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27565 /* end confdefs.h. */
27566 #include <math.h>
27567 #ifdef HAVE_IEEEFP_H
27568 #include <ieeefp.h>
27569 #endif
27572 main ()
27574 _finitel(0);
27576 return 0;
27578 _ACEOF
27579 if ac_fn_cxx_try_compile "$LINENO"; then :
27580 glibcxx_cv_func__finitel_use=yes
27581 else
27582 glibcxx_cv_func__finitel_use=no
27584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27585 ac_ext=c
27586 ac_cpp='$CPP $CPPFLAGS'
27587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27598 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27599 for ac_func in _finitel
27600 do :
27601 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27602 if test "x$ac_cv_func__finitel" = x""yes; then :
27603 cat >>confdefs.h <<_ACEOF
27604 #define HAVE__FINITEL 1
27605 _ACEOF
27608 done
27616 LIBS="$ac_save_LIBS"
27617 CXXFLAGS="$ac_save_CXXFLAGS"
27620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27621 ac_save_CXXFLAGS="$CXXFLAGS"
27622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27626 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27627 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27628 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27629 $as_echo_n "(cached) " >&6
27630 else
27633 ac_ext=cpp
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h. */
27641 #include <stdlib.h>
27643 main ()
27645 at_quick_exit(0);
27647 return 0;
27649 _ACEOF
27650 if ac_fn_cxx_try_compile "$LINENO"; then :
27651 glibcxx_cv_func_at_quick_exit_use=yes
27652 else
27653 glibcxx_cv_func_at_quick_exit_use=no
27655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27656 ac_ext=c
27657 ac_cpp='$CPP $CPPFLAGS'
27658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27667 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27668 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27669 for ac_func in at_quick_exit
27670 do :
27671 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27672 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27673 cat >>confdefs.h <<_ACEOF
27674 #define HAVE_AT_QUICK_EXIT 1
27675 _ACEOF
27678 done
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27684 $as_echo_n "checking for quick_exit declaration... " >&6; }
27685 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27686 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27687 $as_echo_n "(cached) " >&6
27688 else
27691 ac_ext=cpp
27692 ac_cpp='$CXXCPP $CPPFLAGS'
27693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27698 /* end confdefs.h. */
27699 #include <stdlib.h>
27701 main ()
27703 quick_exit(0);
27705 return 0;
27707 _ACEOF
27708 if ac_fn_cxx_try_compile "$LINENO"; then :
27709 glibcxx_cv_func_quick_exit_use=yes
27710 else
27711 glibcxx_cv_func_quick_exit_use=no
27713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27714 ac_ext=c
27715 ac_cpp='$CPP $CPPFLAGS'
27716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27725 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27726 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27727 for ac_func in quick_exit
27728 do :
27729 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27730 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27731 cat >>confdefs.h <<_ACEOF
27732 #define HAVE_QUICK_EXIT 1
27733 _ACEOF
27736 done
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27742 $as_echo_n "checking for strtold declaration... " >&6; }
27743 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27744 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27745 $as_echo_n "(cached) " >&6
27746 else
27749 ac_ext=cpp
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27756 /* end confdefs.h. */
27757 #include <stdlib.h>
27759 main ()
27761 strtold(0, 0);
27763 return 0;
27765 _ACEOF
27766 if ac_fn_cxx_try_compile "$LINENO"; then :
27767 glibcxx_cv_func_strtold_use=yes
27768 else
27769 glibcxx_cv_func_strtold_use=no
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 ac_ext=c
27773 ac_cpp='$CPP $CPPFLAGS'
27774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27783 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27784 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27785 for ac_func in strtold
27786 do :
27787 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27788 if test "x$ac_cv_func_strtold" = x""yes; then :
27789 cat >>confdefs.h <<_ACEOF
27790 #define HAVE_STRTOLD 1
27791 _ACEOF
27794 done
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27802 $as_echo_n "checking for strtof declaration... " >&6; }
27803 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27804 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27805 $as_echo_n "(cached) " >&6
27806 else
27809 ac_ext=cpp
27810 ac_cpp='$CXXCPP $CPPFLAGS'
27811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817 #include <stdlib.h>
27819 main ()
27821 strtof(0, 0);
27823 return 0;
27825 _ACEOF
27826 if ac_fn_cxx_try_compile "$LINENO"; then :
27827 glibcxx_cv_func_strtof_use=yes
27828 else
27829 glibcxx_cv_func_strtof_use=no
27831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27832 ac_ext=c
27833 ac_cpp='$CPP $CPPFLAGS'
27834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27843 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27844 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27845 for ac_func in strtof
27846 do :
27847 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27848 if test "x$ac_cv_func_strtof" = x""yes; then :
27849 cat >>confdefs.h <<_ACEOF
27850 #define HAVE_STRTOF 1
27851 _ACEOF
27854 done
27861 CXXFLAGS="$ac_save_CXXFLAGS"
27864 # For /dev/random and /dev/urandom for TR1.
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27868 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27869 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27870 $as_echo_n "(cached) " >&6
27871 else
27873 if test -r /dev/random && test -r /dev/urandom; then
27874 ## For MSys environment the test above is detect as false-positive
27875 ## on mingw-targets. So disable it explicit for them.
27876 case ${target_os} in
27877 *mingw*) glibcxx_cv_random_tr1=no ;;
27878 *) glibcxx_cv_random_tr1=yes ;;
27879 esac
27880 else
27881 glibcxx_cv_random_tr1=no;
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27887 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27889 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27891 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27897 # For TLS support.
27900 # Check whether --enable-tls was given.
27901 if test "${enable_tls+set}" = set; then :
27902 enableval=$enable_tls;
27903 case "$enableval" in
27904 yes|no) ;;
27905 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27906 esac
27908 else
27909 enable_tls=yes
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27914 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27915 if test "${gcc_cv_have_tls+set}" = set; then :
27916 $as_echo_n "(cached) " >&6
27917 else
27919 if test "$cross_compiling" = yes; then :
27920 if test x$gcc_no_link = xyes; then
27921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27924 /* end confdefs.h. */
27925 __thread int a; int b; int main() { return a = b; }
27926 _ACEOF
27927 if ac_fn_c_try_link "$LINENO"; then :
27928 chktls_save_LDFLAGS="$LDFLAGS"
27929 case $host in
27930 *-*-linux*)
27931 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27933 esac
27934 chktls_save_CFLAGS="$CFLAGS"
27935 CFLAGS="-fPIC $CFLAGS"
27936 if test x$gcc_no_link = xyes; then
27937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27940 /* end confdefs.h. */
27941 int f() { return 0; }
27942 _ACEOF
27943 if ac_fn_c_try_link "$LINENO"; then :
27944 if test x$gcc_no_link = xyes; then
27945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 __thread int a; int b; int f() { return a = b; }
27950 _ACEOF
27951 if ac_fn_c_try_link "$LINENO"; then :
27952 gcc_cv_have_tls=yes
27953 else
27954 gcc_cv_have_tls=no
27956 rm -f core conftest.err conftest.$ac_objext \
27957 conftest$ac_exeext conftest.$ac_ext
27958 else
27959 gcc_cv_have_tls=yes
27961 rm -f core conftest.err conftest.$ac_objext \
27962 conftest$ac_exeext conftest.$ac_ext
27963 CFLAGS="$chktls_save_CFLAGS"
27964 LDFLAGS="$chktls_save_LDFLAGS"
27965 else
27966 gcc_cv_have_tls=no
27968 rm -f core conftest.err conftest.$ac_objext \
27969 conftest$ac_exeext conftest.$ac_ext
27972 else
27973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27974 /* end confdefs.h. */
27975 __thread int a; int b; int main() { return a = b; }
27976 _ACEOF
27977 if ac_fn_c_try_run "$LINENO"; then :
27978 chktls_save_LDFLAGS="$LDFLAGS"
27979 LDFLAGS="-static $LDFLAGS"
27980 if test x$gcc_no_link = xyes; then
27981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27984 /* end confdefs.h. */
27985 int main() { return 0; }
27986 _ACEOF
27987 if ac_fn_c_try_link "$LINENO"; then :
27988 if test "$cross_compiling" = yes; then :
27989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27991 as_fn_error "cannot run test program while cross compiling
27992 See \`config.log' for more details." "$LINENO" 5; }
27993 else
27994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27995 /* end confdefs.h. */
27996 __thread int a; int b; int main() { return a = b; }
27997 _ACEOF
27998 if ac_fn_c_try_run "$LINENO"; then :
27999 gcc_cv_have_tls=yes
28000 else
28001 gcc_cv_have_tls=no
28003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28004 conftest.$ac_objext conftest.beam conftest.$ac_ext
28007 else
28008 gcc_cv_have_tls=yes
28010 rm -f core conftest.err conftest.$ac_objext \
28011 conftest$ac_exeext conftest.$ac_ext
28012 LDFLAGS="$chktls_save_LDFLAGS"
28013 if test $gcc_cv_have_tls = yes; then
28014 chktls_save_CFLAGS="$CFLAGS"
28015 thread_CFLAGS=failed
28016 for flag in '' '-pthread' '-lpthread'; do
28017 CFLAGS="$flag $chktls_save_CFLAGS"
28018 if test x$gcc_no_link = xyes; then
28019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28022 /* end confdefs.h. */
28023 #include <pthread.h>
28024 void *g(void *d) { return NULL; }
28026 main ()
28028 pthread_t t; pthread_create(&t,NULL,g,NULL);
28030 return 0;
28032 _ACEOF
28033 if ac_fn_c_try_link "$LINENO"; then :
28034 thread_CFLAGS="$flag"
28036 rm -f core conftest.err conftest.$ac_objext \
28037 conftest$ac_exeext conftest.$ac_ext
28038 if test "X$thread_CFLAGS" != Xfailed; then
28039 break
28041 done
28042 CFLAGS="$chktls_save_CFLAGS"
28043 if test "X$thread_CFLAGS" != Xfailed; then
28044 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28045 if test "$cross_compiling" = yes; then :
28046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28048 as_fn_error "cannot run test program while cross compiling
28049 See \`config.log' for more details." "$LINENO" 5; }
28050 else
28051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28052 /* end confdefs.h. */
28053 #include <pthread.h>
28054 __thread int a;
28055 static int *volatile a_in_other_thread;
28056 static void *
28057 thread_func (void *arg)
28059 a_in_other_thread = &a;
28060 return (void *)0;
28063 main ()
28065 pthread_t thread;
28066 void *thread_retval;
28067 int *volatile a_in_main_thread;
28068 a_in_main_thread = &a;
28069 if (pthread_create (&thread, (pthread_attr_t *)0,
28070 thread_func, (void *)0))
28071 return 0;
28072 if (pthread_join (thread, &thread_retval))
28073 return 0;
28074 return (a_in_other_thread == a_in_main_thread);
28076 return 0;
28078 _ACEOF
28079 if ac_fn_c_try_run "$LINENO"; then :
28080 gcc_cv_have_tls=yes
28081 else
28082 gcc_cv_have_tls=no
28084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28085 conftest.$ac_objext conftest.beam conftest.$ac_ext
28088 CFLAGS="$chktls_save_CFLAGS"
28091 else
28092 gcc_cv_have_tls=no
28094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28095 conftest.$ac_objext conftest.beam conftest.$ac_ext
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28100 $as_echo "$gcc_cv_have_tls" >&6; }
28101 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28103 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28107 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28108 do :
28109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28111 eval as_val=\$$as_ac_var
28112 if test "x$as_val" = x""yes; then :
28113 cat >>confdefs.h <<_ACEOF
28114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28115 _ACEOF
28118 done
28120 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28121 do :
28122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28124 eval as_val=\$$as_ac_var
28125 if test "x$as_val" = x""yes; then :
28126 cat >>confdefs.h <<_ACEOF
28127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28128 _ACEOF
28131 done
28134 # For iconv support.
28136 if test "X$prefix" = "XNONE"; then
28137 acl_final_prefix="$ac_default_prefix"
28138 else
28139 acl_final_prefix="$prefix"
28141 if test "X$exec_prefix" = "XNONE"; then
28142 acl_final_exec_prefix='${prefix}'
28143 else
28144 acl_final_exec_prefix="$exec_prefix"
28146 acl_save_prefix="$prefix"
28147 prefix="$acl_final_prefix"
28148 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28149 prefix="$acl_save_prefix"
28152 # Check whether --with-gnu-ld was given.
28153 if test "${with_gnu_ld+set}" = set; then :
28154 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28155 else
28156 with_gnu_ld=no
28159 # Prepare PATH_SEPARATOR.
28160 # The user is always right.
28161 if test "${PATH_SEPARATOR+set}" != set; then
28162 echo "#! /bin/sh" >conf$$.sh
28163 echo "exit 0" >>conf$$.sh
28164 chmod +x conf$$.sh
28165 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28166 PATH_SEPARATOR=';'
28167 else
28168 PATH_SEPARATOR=:
28170 rm -f conf$$.sh
28172 ac_prog=ld
28173 if test "$GCC" = yes; then
28174 # Check if gcc -print-prog-name=ld gives a path.
28175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28176 $as_echo_n "checking for ld used by GCC... " >&6; }
28177 case $host in
28178 *-*-mingw*)
28179 # gcc leaves a trailing carriage return which upsets mingw
28180 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28182 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28183 esac
28184 case $ac_prog in
28185 # Accept absolute paths.
28186 [\\/]* | [A-Za-z]:[\\/]*)
28187 re_direlt='/[^/][^/]*/\.\./'
28188 # Canonicalize the path of ld
28189 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28190 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28191 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28192 done
28193 test -z "$LD" && LD="$ac_prog"
28196 # If it fails, then pretend we aren't using GCC.
28197 ac_prog=ld
28200 # If it is relative, then search for the first ld in PATH.
28201 with_gnu_ld=unknown
28203 esac
28204 elif test "$with_gnu_ld" = yes; then
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28206 $as_echo_n "checking for GNU ld... " >&6; }
28207 else
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28209 $as_echo_n "checking for non-GNU ld... " >&6; }
28211 if test "${acl_cv_path_LD+set}" = set; then :
28212 $as_echo_n "(cached) " >&6
28213 else
28214 if test -z "$LD"; then
28215 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28216 for ac_dir in $PATH; do
28217 test -z "$ac_dir" && ac_dir=.
28218 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28219 acl_cv_path_LD="$ac_dir/$ac_prog"
28220 # Check to see if the program is GNU ld. I'd rather use --version,
28221 # but apparently some GNU ld's only accept -v.
28222 # Break only if it was the GNU/non-GNU ld that we prefer.
28223 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28224 test "$with_gnu_ld" != no && break
28225 else
28226 test "$with_gnu_ld" != yes && break
28229 done
28230 IFS="$ac_save_ifs"
28231 else
28232 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28236 LD="$acl_cv_path_LD"
28237 if test -n "$LD"; then
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28239 $as_echo "$LD" >&6; }
28240 else
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28242 $as_echo "no" >&6; }
28244 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28246 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28247 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28250 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28251 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28252 acl_cv_prog_gnu_ld=yes
28253 else
28254 acl_cv_prog_gnu_ld=no
28257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28258 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28259 with_gnu_ld=$acl_cv_prog_gnu_ld
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28264 $as_echo_n "checking for shared library run path origin... " >&6; }
28265 if test "${acl_cv_rpath+set}" = set; then :
28266 $as_echo_n "(cached) " >&6
28267 else
28269 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28270 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28271 . ./conftest.sh
28272 rm -f ./conftest.sh
28273 acl_cv_rpath=done
28276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28277 $as_echo "$acl_cv_rpath" >&6; }
28278 wl="$acl_cv_wl"
28279 libext="$acl_cv_libext"
28280 shlibext="$acl_cv_shlibext"
28281 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28282 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28283 hardcode_direct="$acl_cv_hardcode_direct"
28284 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28285 # Check whether --enable-rpath was given.
28286 if test "${enable_rpath+set}" = set; then :
28287 enableval=$enable_rpath; :
28288 else
28289 enable_rpath=yes
28299 use_additional=yes
28301 acl_save_prefix="$prefix"
28302 prefix="$acl_final_prefix"
28303 acl_save_exec_prefix="$exec_prefix"
28304 exec_prefix="$acl_final_exec_prefix"
28306 eval additional_includedir=\"$includedir\"
28307 eval additional_libdir=\"$libdir\"
28309 exec_prefix="$acl_save_exec_prefix"
28310 prefix="$acl_save_prefix"
28313 # Check whether --with-libiconv-prefix was given.
28314 if test "${with_libiconv_prefix+set}" = set; then :
28315 withval=$with_libiconv_prefix;
28316 if test "X$withval" = "Xno"; then
28317 use_additional=no
28318 else
28319 if test "X$withval" = "X"; then
28321 acl_save_prefix="$prefix"
28322 prefix="$acl_final_prefix"
28323 acl_save_exec_prefix="$exec_prefix"
28324 exec_prefix="$acl_final_exec_prefix"
28326 eval additional_includedir=\"$includedir\"
28327 eval additional_libdir=\"$libdir\"
28329 exec_prefix="$acl_save_exec_prefix"
28330 prefix="$acl_save_prefix"
28332 else
28333 additional_includedir="$withval/include"
28334 additional_libdir="$withval/lib"
28340 LIBICONV=
28341 LTLIBICONV=
28342 INCICONV=
28343 rpathdirs=
28344 ltrpathdirs=
28345 names_already_handled=
28346 names_next_round='iconv '
28347 while test -n "$names_next_round"; do
28348 names_this_round="$names_next_round"
28349 names_next_round=
28350 for name in $names_this_round; do
28351 already_handled=
28352 for n in $names_already_handled; do
28353 if test "$n" = "$name"; then
28354 already_handled=yes
28355 break
28357 done
28358 if test -z "$already_handled"; then
28359 names_already_handled="$names_already_handled $name"
28360 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28361 eval value=\"\$HAVE_LIB$uppername\"
28362 if test -n "$value"; then
28363 if test "$value" = yes; then
28364 eval value=\"\$LIB$uppername\"
28365 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28366 eval value=\"\$LTLIB$uppername\"
28367 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28368 else
28371 else
28372 found_dir=
28373 found_la=
28374 found_so=
28375 found_a=
28376 if test $use_additional = yes; then
28377 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28378 found_dir="$additional_libdir"
28379 found_so="$additional_libdir/lib$name.$shlibext"
28380 if test -f "$additional_libdir/lib$name.la"; then
28381 found_la="$additional_libdir/lib$name.la"
28383 else
28384 if test -f "$additional_libdir/lib$name.$libext"; then
28385 found_dir="$additional_libdir"
28386 found_a="$additional_libdir/lib$name.$libext"
28387 if test -f "$additional_libdir/lib$name.la"; then
28388 found_la="$additional_libdir/lib$name.la"
28393 if test "X$found_dir" = "X"; then
28394 for x in $LDFLAGS $LTLIBICONV; do
28396 acl_save_prefix="$prefix"
28397 prefix="$acl_final_prefix"
28398 acl_save_exec_prefix="$exec_prefix"
28399 exec_prefix="$acl_final_exec_prefix"
28400 eval x=\"$x\"
28401 exec_prefix="$acl_save_exec_prefix"
28402 prefix="$acl_save_prefix"
28404 case "$x" in
28405 -L*)
28406 dir=`echo "X$x" | sed -e 's/^X-L//'`
28407 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28408 found_dir="$dir"
28409 found_so="$dir/lib$name.$shlibext"
28410 if test -f "$dir/lib$name.la"; then
28411 found_la="$dir/lib$name.la"
28413 else
28414 if test -f "$dir/lib$name.$libext"; then
28415 found_dir="$dir"
28416 found_a="$dir/lib$name.$libext"
28417 if test -f "$dir/lib$name.la"; then
28418 found_la="$dir/lib$name.la"
28423 esac
28424 if test "X$found_dir" != "X"; then
28425 break
28427 done
28429 if test "X$found_dir" != "X"; then
28430 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28431 if test "X$found_so" != "X"; then
28432 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28433 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28434 else
28435 haveit=
28436 for x in $ltrpathdirs; do
28437 if test "X$x" = "X$found_dir"; then
28438 haveit=yes
28439 break
28441 done
28442 if test -z "$haveit"; then
28443 ltrpathdirs="$ltrpathdirs $found_dir"
28445 if test "$hardcode_direct" = yes; then
28446 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28447 else
28448 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28449 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28450 haveit=
28451 for x in $rpathdirs; do
28452 if test "X$x" = "X$found_dir"; then
28453 haveit=yes
28454 break
28456 done
28457 if test -z "$haveit"; then
28458 rpathdirs="$rpathdirs $found_dir"
28460 else
28461 haveit=
28462 for x in $LDFLAGS $LIBICONV; do
28464 acl_save_prefix="$prefix"
28465 prefix="$acl_final_prefix"
28466 acl_save_exec_prefix="$exec_prefix"
28467 exec_prefix="$acl_final_exec_prefix"
28468 eval x=\"$x\"
28469 exec_prefix="$acl_save_exec_prefix"
28470 prefix="$acl_save_prefix"
28472 if test "X$x" = "X-L$found_dir"; then
28473 haveit=yes
28474 break
28476 done
28477 if test -z "$haveit"; then
28478 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28480 if test "$hardcode_minus_L" != no; then
28481 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28482 else
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28488 else
28489 if test "X$found_a" != "X"; then
28490 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28491 else
28492 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28495 additional_includedir=
28496 case "$found_dir" in
28497 */lib | */lib/)
28498 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28499 additional_includedir="$basedir/include"
28501 esac
28502 if test "X$additional_includedir" != "X"; then
28503 if test "X$additional_includedir" != "X/usr/include"; then
28504 haveit=
28505 if test "X$additional_includedir" = "X/usr/local/include"; then
28506 if test -n "$GCC"; then
28507 case $host_os in
28508 linux*) haveit=yes;;
28509 esac
28512 if test -z "$haveit"; then
28513 for x in $CPPFLAGS $INCICONV; do
28515 acl_save_prefix="$prefix"
28516 prefix="$acl_final_prefix"
28517 acl_save_exec_prefix="$exec_prefix"
28518 exec_prefix="$acl_final_exec_prefix"
28519 eval x=\"$x\"
28520 exec_prefix="$acl_save_exec_prefix"
28521 prefix="$acl_save_prefix"
28523 if test "X$x" = "X-I$additional_includedir"; then
28524 haveit=yes
28525 break
28527 done
28528 if test -z "$haveit"; then
28529 if test -d "$additional_includedir"; then
28530 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28536 if test -n "$found_la"; then
28537 save_libdir="$libdir"
28538 case "$found_la" in
28539 */* | *\\*) . "$found_la" ;;
28540 *) . "./$found_la" ;;
28541 esac
28542 libdir="$save_libdir"
28543 for dep in $dependency_libs; do
28544 case "$dep" in
28545 -L*)
28546 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28547 if test "X$additional_libdir" != "X/usr/lib"; then
28548 haveit=
28549 if test "X$additional_libdir" = "X/usr/local/lib"; then
28550 if test -n "$GCC"; then
28551 case $host_os in
28552 linux*) haveit=yes;;
28553 esac
28556 if test -z "$haveit"; then
28557 haveit=
28558 for x in $LDFLAGS $LIBICONV; do
28560 acl_save_prefix="$prefix"
28561 prefix="$acl_final_prefix"
28562 acl_save_exec_prefix="$exec_prefix"
28563 exec_prefix="$acl_final_exec_prefix"
28564 eval x=\"$x\"
28565 exec_prefix="$acl_save_exec_prefix"
28566 prefix="$acl_save_prefix"
28568 if test "X$x" = "X-L$additional_libdir"; then
28569 haveit=yes
28570 break
28572 done
28573 if test -z "$haveit"; then
28574 if test -d "$additional_libdir"; then
28575 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28578 haveit=
28579 for x in $LDFLAGS $LTLIBICONV; do
28581 acl_save_prefix="$prefix"
28582 prefix="$acl_final_prefix"
28583 acl_save_exec_prefix="$exec_prefix"
28584 exec_prefix="$acl_final_exec_prefix"
28585 eval x=\"$x\"
28586 exec_prefix="$acl_save_exec_prefix"
28587 prefix="$acl_save_prefix"
28589 if test "X$x" = "X-L$additional_libdir"; then
28590 haveit=yes
28591 break
28593 done
28594 if test -z "$haveit"; then
28595 if test -d "$additional_libdir"; then
28596 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28602 -R*)
28603 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28604 if test "$enable_rpath" != no; then
28605 haveit=
28606 for x in $rpathdirs; do
28607 if test "X$x" = "X$dir"; then
28608 haveit=yes
28609 break
28611 done
28612 if test -z "$haveit"; then
28613 rpathdirs="$rpathdirs $dir"
28615 haveit=
28616 for x in $ltrpathdirs; do
28617 if test "X$x" = "X$dir"; then
28618 haveit=yes
28619 break
28621 done
28622 if test -z "$haveit"; then
28623 ltrpathdirs="$ltrpathdirs $dir"
28627 -l*)
28628 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28630 *.la)
28631 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28634 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28635 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28637 esac
28638 done
28640 else
28641 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28642 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28646 done
28647 done
28648 if test "X$rpathdirs" != "X"; then
28649 if test -n "$hardcode_libdir_separator"; then
28650 alldirs=
28651 for found_dir in $rpathdirs; do
28652 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28653 done
28654 acl_save_libdir="$libdir"
28655 libdir="$alldirs"
28656 eval flag=\"$hardcode_libdir_flag_spec\"
28657 libdir="$acl_save_libdir"
28658 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28659 else
28660 for found_dir in $rpathdirs; do
28661 acl_save_libdir="$libdir"
28662 libdir="$found_dir"
28663 eval flag=\"$hardcode_libdir_flag_spec\"
28664 libdir="$acl_save_libdir"
28665 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28666 done
28669 if test "X$ltrpathdirs" != "X"; then
28670 for found_dir in $ltrpathdirs; do
28671 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28672 done
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28682 $as_echo_n "checking for iconv... " >&6; }
28683 if test "${am_cv_func_iconv+set}" = set; then :
28684 $as_echo_n "(cached) " >&6
28685 else
28687 am_cv_func_iconv="no, consider installing GNU libiconv"
28688 am_cv_lib_iconv=no
28689 am_save_CPPFLAGS="$CPPFLAGS"
28690 CPPFLAGS="$CPPFLAGS $INCICONV"
28691 if test x$gcc_no_link = xyes; then
28692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28695 /* end confdefs.h. */
28696 #include <stdlib.h>
28697 #include <iconv.h>
28699 main ()
28701 iconv_t cd = iconv_open("","");
28702 iconv(cd,NULL,NULL,NULL,NULL);
28703 iconv_close(cd);
28705 return 0;
28707 _ACEOF
28708 if ac_fn_c_try_link "$LINENO"; then :
28709 am_cv_func_iconv=yes
28711 rm -f core conftest.err conftest.$ac_objext \
28712 conftest$ac_exeext conftest.$ac_ext
28713 CPPFLAGS="$am_save_CPPFLAGS"
28715 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28716 for _libs in .libs _libs; do
28717 am_save_CPPFLAGS="$CPPFLAGS"
28718 am_save_LIBS="$LIBS"
28719 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28720 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28721 if test x$gcc_no_link = xyes; then
28722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28725 /* end confdefs.h. */
28726 #include <stdlib.h>
28727 #include <iconv.h>
28729 main ()
28731 iconv_t cd = iconv_open("","");
28732 iconv(cd,NULL,NULL,NULL,NULL);
28733 iconv_close(cd);
28735 return 0;
28737 _ACEOF
28738 if ac_fn_c_try_link "$LINENO"; then :
28739 INCICONV="-I../libiconv/include"
28740 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28741 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28742 am_cv_lib_iconv=yes
28743 am_cv_func_iconv=yes
28745 rm -f core conftest.err conftest.$ac_objext \
28746 conftest$ac_exeext conftest.$ac_ext
28747 CPPFLAGS="$am_save_CPPFLAGS"
28748 LIBS="$am_save_LIBS"
28749 if test "$am_cv_func_iconv" = "yes"; then
28750 break
28752 done
28755 if test "$am_cv_func_iconv" != yes; then
28756 am_save_CPPFLAGS="$CPPFLAGS"
28757 am_save_LIBS="$LIBS"
28758 CPPFLAGS="$LIBS $INCICONV"
28759 LIBS="$LIBS $LIBICONV"
28760 if test x$gcc_no_link = xyes; then
28761 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28765 #include <stdlib.h>
28766 #include <iconv.h>
28768 main ()
28770 iconv_t cd = iconv_open("","");
28771 iconv(cd,NULL,NULL,NULL,NULL);
28772 iconv_close(cd);
28774 return 0;
28776 _ACEOF
28777 if ac_fn_c_try_link "$LINENO"; then :
28778 am_cv_lib_iconv=yes
28779 am_cv_func_iconv=yes
28781 rm -f core conftest.err conftest.$ac_objext \
28782 conftest$ac_exeext conftest.$ac_ext
28783 CPPFLAGS="$am_save_CPPFLAGS"
28784 LIBS="$am_save_LIBS"
28788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28789 $as_echo "$am_cv_func_iconv" >&6; }
28790 if test "$am_cv_func_iconv" = yes; then
28792 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28795 if test "$am_cv_lib_iconv" = yes; then
28797 for element in $INCICONV; do
28798 haveit=
28799 for x in $CPPFLAGS; do
28801 acl_save_prefix="$prefix"
28802 prefix="$acl_final_prefix"
28803 acl_save_exec_prefix="$exec_prefix"
28804 exec_prefix="$acl_final_exec_prefix"
28805 eval x=\"$x\"
28806 exec_prefix="$acl_save_exec_prefix"
28807 prefix="$acl_save_prefix"
28809 if test "X$x" = "X$element"; then
28810 haveit=yes
28811 break
28813 done
28814 if test -z "$haveit"; then
28815 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28817 done
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28820 $as_echo_n "checking how to link with libiconv... " >&6; }
28821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28822 $as_echo "$LIBICONV" >&6; }
28823 else
28824 LIBICONV=
28825 LTLIBICONV=
28830 if test "$am_cv_func_iconv" = yes; then
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28832 $as_echo_n "checking for iconv declaration... " >&6; }
28833 if test "${am_cv_proto_iconv+set}" = set; then :
28834 $as_echo_n "(cached) " >&6
28835 else
28837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28838 /* end confdefs.h. */
28840 #include <stdlib.h>
28841 #include <iconv.h>
28842 extern
28843 #ifdef __cplusplus
28845 #endif
28846 #if defined(__STDC__) || defined(__cplusplus)
28847 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28848 #else
28849 size_t iconv();
28850 #endif
28853 main ()
28857 return 0;
28859 _ACEOF
28860 if ac_fn_c_try_compile "$LINENO"; then :
28861 am_cv_proto_iconv_arg1=""
28862 else
28863 am_cv_proto_iconv_arg1="const"
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866 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);"
28869 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28871 }$am_cv_proto_iconv" >&5
28872 $as_echo "${ac_t:-
28873 }$am_cv_proto_iconv" >&6; }
28875 cat >>confdefs.h <<_ACEOF
28876 #define ICONV_CONST $am_cv_proto_iconv_arg1
28877 _ACEOF
28882 else
28884 # This lets us hard-code the functionality we know we'll have in the cross
28885 # target environment. "Let" is a sugar-coated word placed on an especially
28886 # dull and tedious hack, actually.
28888 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28889 # that involve linking, can't be used:
28890 # "cannot open sim-crt0.o"
28891 # "cannot open crt0.o"
28892 # etc. All this is because there currently exists no unified, consistent
28893 # way for top level CC information to be passed down to target directories:
28894 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28895 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28896 # crosses can be removed.
28898 # If Canadian cross, then don't pick up tools from the build directory.
28899 # Used only in GLIBCXX_EXPORT_INCLUDES.
28900 if test -n "$with_cross_host" &&
28901 test x"$build_alias" != x"$with_cross_host" &&
28902 test x"$build" != x"$target";
28903 then
28904 CANADIAN=yes
28905 else
28906 CANADIAN=no
28909 # Construct crosses by hand, eliminating bits that need ld...
28910 # GLIBCXX_CHECK_MATH_SUPPORT
28912 # First, test for "known" system libraries. We may be using newlib even
28913 # on a hosted environment.
28914 if test "x${with_newlib}" = "xyes"; then
28915 os_include_dir="os/newlib"
28916 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28919 # GLIBCXX_CHECK_STDLIB_SUPPORT
28920 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28923 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28925 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28927 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28929 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28931 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28933 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28935 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28937 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28939 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28941 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28943 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28945 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28947 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28949 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28951 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28953 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28955 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28957 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28959 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28961 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28963 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28965 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28968 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28970 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28972 else
28974 # Base decisions on target environment.
28975 case "${host}" in
28976 arm*-*-symbianelf*)
28977 # This is a freestanding configuration; there is nothing to do here.
28980 avr*-*-*)
28981 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28983 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28985 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28987 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28989 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28991 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28993 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28995 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28997 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28999 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29001 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29003 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29005 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29007 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29009 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29011 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29013 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29015 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29017 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29019 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29021 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29023 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29025 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29029 mips*-sde-elf*)
29030 # These definitions are for the SDE C library rather than newlib.
29031 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29034 # All these tests are for C++; save the language and the compiler flags.
29035 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29036 # found in GLIBCXX_CONFIGURE.
29038 ac_ext=cpp
29039 ac_cpp='$CXXCPP $CPPFLAGS'
29040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29045 ac_save_CXXFLAGS="$CXXFLAGS"
29047 # Check for maintainer-mode bits.
29048 if test x"$USE_MAINTAINER_MODE" = xno; then
29049 WERROR=''
29050 else
29051 WERROR='-Werror'
29054 # Check for -ffunction-sections -fdata-sections
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29056 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29057 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29059 /* end confdefs.h. */
29060 int foo; void bar() { };
29062 main ()
29066 return 0;
29068 _ACEOF
29069 if ac_fn_cxx_try_compile "$LINENO"; then :
29070 ac_fdsections=yes
29071 else
29072 ac_fdsections=no
29074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29075 if test "$ac_test_CXXFLAGS" = set; then
29076 CXXFLAGS="$ac_save_CXXFLAGS"
29077 else
29078 # this is the suspicious part
29079 CXXFLAGS=''
29081 if test x"$ac_fdsections" = x"yes"; then
29082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29085 $as_echo "$ac_fdsections" >&6; }
29087 ac_ext=c
29088 ac_cpp='$CPP $CPPFLAGS'
29089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29097 # If we're not using GNU ld, then there's no point in even trying these
29098 # tests. Check for that first. We should have already tested for gld
29099 # by now (in libtool), but require it now just to be safe...
29100 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29101 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29105 # The name set by libtool depends on the version of libtool. Shame on us
29106 # for depending on an impl detail, but c'est la vie. Older versions used
29107 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29108 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29109 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29110 # set (hence we're using an older libtool), then set it.
29111 if test x${with_gnu_ld+set} != xset; then
29112 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29113 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29114 with_gnu_ld=no
29115 else
29116 with_gnu_ld=$ac_cv_prog_gnu_ld
29120 # Start by getting the version number. I think the libtool test already
29121 # does some of this, but throws away the result.
29122 glibcxx_ld_is_gold=no
29123 if test x"$with_gnu_ld" = x"yes"; then
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29125 $as_echo_n "checking for ld version... " >&6; }
29127 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29128 glibcxx_ld_is_gold=yes
29130 ldver=`$LD --version 2>/dev/null |
29131 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'`
29133 glibcxx_gnu_ld_version=`echo $ldver | \
29134 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29136 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29139 # Set --gc-sections.
29140 glibcxx_have_gc_sections=no
29141 if test "$glibcxx_ld_is_gold" = "yes"; then
29142 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29143 glibcxx_have_gc_sections=yes
29145 else
29146 glibcxx_gcsections_min_ld=21602
29147 if test x"$with_gnu_ld" = x"yes" &&
29148 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29149 glibcxx_have_gc_sections=yes
29152 if test "$glibcxx_have_gc_sections" = "yes"; then
29153 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29154 # NB: This flag only works reliably after 2.16.1. Configure tests
29155 # for this are difficult, so hard wire a value that should work.
29157 ac_test_CFLAGS="${CFLAGS+set}"
29158 ac_save_CFLAGS="$CFLAGS"
29159 CFLAGS='-Wl,--gc-sections'
29161 # Check for -Wl,--gc-sections
29162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29163 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29164 if test x$gcc_no_link = xyes; then
29165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29168 /* end confdefs.h. */
29169 int one(void) { return 1; }
29170 int two(void) { return 2; }
29173 main ()
29175 two();
29177 return 0;
29179 _ACEOF
29180 if ac_fn_c_try_link "$LINENO"; then :
29181 ac_gcsections=yes
29182 else
29183 ac_gcsections=no
29185 rm -f core conftest.err conftest.$ac_objext \
29186 conftest$ac_exeext conftest.$ac_ext
29187 if test "$ac_gcsections" = "yes"; then
29188 rm -f conftest.c
29189 touch conftest.c
29190 if $CC -c conftest.c; then
29191 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29192 grep "Warning: gc-sections option ignored" > /dev/null; then
29193 ac_gcsections=no
29196 rm -f conftest.c conftest.o conftest
29198 if test "$ac_gcsections" = "yes"; then
29199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29202 $as_echo "$ac_gcsections" >&6; }
29204 if test "$ac_test_CFLAGS" = set; then
29205 CFLAGS="$ac_save_CFLAGS"
29206 else
29207 # this is the suspicious part
29208 CFLAGS=''
29212 # Set -z,relro.
29213 # Note this is only for shared objects.
29214 ac_ld_relro=no
29215 if test x"$with_gnu_ld" = x"yes"; then
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29217 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29218 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29219 if test -n "$cxx_z_relo"; then
29220 OPT_LDFLAGS="-Wl,-z,relro"
29221 ac_ld_relro=yes
29223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29224 $as_echo "$ac_ld_relro" >&6; }
29227 # Set linker optimization flags.
29228 if test x"$with_gnu_ld" = x"yes"; then
29229 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29236 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29237 ac_save_CXXFLAGS="$CXXFLAGS"
29238 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29241 $as_echo_n "checking for sin in -lm... " >&6; }
29242 if test "${ac_cv_lib_m_sin+set}" = set; then :
29243 $as_echo_n "(cached) " >&6
29244 else
29245 ac_check_lib_save_LIBS=$LIBS
29246 LIBS="-lm $LIBS"
29247 if test x$gcc_no_link = xyes; then
29248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29251 /* end confdefs.h. */
29253 /* Override any GCC internal prototype to avoid an error.
29254 Use char because int might match the return type of a GCC
29255 builtin and then its argument prototype would still apply. */
29256 #ifdef __cplusplus
29257 extern "C"
29258 #endif
29259 char sin ();
29261 main ()
29263 return sin ();
29265 return 0;
29267 _ACEOF
29268 if ac_fn_c_try_link "$LINENO"; then :
29269 ac_cv_lib_m_sin=yes
29270 else
29271 ac_cv_lib_m_sin=no
29273 rm -f core conftest.err conftest.$ac_objext \
29274 conftest$ac_exeext conftest.$ac_ext
29275 LIBS=$ac_check_lib_save_LIBS
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29278 $as_echo "$ac_cv_lib_m_sin" >&6; }
29279 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29280 libm="-lm"
29283 ac_save_LIBS="$LIBS"
29284 LIBS="$LIBS $libm"
29288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29289 $as_echo_n "checking for isinf declaration... " >&6; }
29290 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29291 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29292 $as_echo_n "(cached) " >&6
29293 else
29296 ac_ext=cpp
29297 ac_cpp='$CXXCPP $CPPFLAGS'
29298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29303 /* end confdefs.h. */
29304 #include <math.h>
29305 #ifdef HAVE_IEEEFP_H
29306 #include <ieeefp.h>
29307 #endif
29310 main ()
29312 isinf(0);
29314 return 0;
29316 _ACEOF
29317 if ac_fn_cxx_try_compile "$LINENO"; then :
29318 glibcxx_cv_func_isinf_use=yes
29319 else
29320 glibcxx_cv_func_isinf_use=no
29322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29323 ac_ext=c
29324 ac_cpp='$CPP $CPPFLAGS'
29325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29334 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29336 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29337 for ac_func in isinf
29338 do :
29339 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29340 if test "x$ac_cv_func_isinf" = x""yes; then :
29341 cat >>confdefs.h <<_ACEOF
29342 #define HAVE_ISINF 1
29343 _ACEOF
29346 done
29348 else
29350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29351 $as_echo_n "checking for _isinf declaration... " >&6; }
29352 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29353 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29354 $as_echo_n "(cached) " >&6
29355 else
29358 ac_ext=cpp
29359 ac_cpp='$CXXCPP $CPPFLAGS'
29360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29365 /* end confdefs.h. */
29366 #include <math.h>
29367 #ifdef HAVE_IEEEFP_H
29368 #include <ieeefp.h>
29369 #endif
29372 main ()
29374 _isinf(0);
29376 return 0;
29378 _ACEOF
29379 if ac_fn_cxx_try_compile "$LINENO"; then :
29380 glibcxx_cv_func__isinf_use=yes
29381 else
29382 glibcxx_cv_func__isinf_use=no
29384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29385 ac_ext=c
29386 ac_cpp='$CPP $CPPFLAGS'
29387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29396 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29398 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29399 for ac_func in _isinf
29400 do :
29401 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29402 if test "x$ac_cv_func__isinf" = x""yes; then :
29403 cat >>confdefs.h <<_ACEOF
29404 #define HAVE__ISINF 1
29405 _ACEOF
29408 done
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29418 $as_echo_n "checking for isnan declaration... " >&6; }
29419 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29420 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29421 $as_echo_n "(cached) " >&6
29422 else
29425 ac_ext=cpp
29426 ac_cpp='$CXXCPP $CPPFLAGS'
29427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29432 /* end confdefs.h. */
29433 #include <math.h>
29434 #ifdef HAVE_IEEEFP_H
29435 #include <ieeefp.h>
29436 #endif
29439 main ()
29441 isnan(0);
29443 return 0;
29445 _ACEOF
29446 if ac_fn_cxx_try_compile "$LINENO"; then :
29447 glibcxx_cv_func_isnan_use=yes
29448 else
29449 glibcxx_cv_func_isnan_use=no
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 ac_ext=c
29453 ac_cpp='$CPP $CPPFLAGS'
29454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29463 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29465 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29466 for ac_func in isnan
29467 do :
29468 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29469 if test "x$ac_cv_func_isnan" = x""yes; then :
29470 cat >>confdefs.h <<_ACEOF
29471 #define HAVE_ISNAN 1
29472 _ACEOF
29475 done
29477 else
29479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29480 $as_echo_n "checking for _isnan declaration... " >&6; }
29481 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29482 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29483 $as_echo_n "(cached) " >&6
29484 else
29487 ac_ext=cpp
29488 ac_cpp='$CXXCPP $CPPFLAGS'
29489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29494 /* end confdefs.h. */
29495 #include <math.h>
29496 #ifdef HAVE_IEEEFP_H
29497 #include <ieeefp.h>
29498 #endif
29501 main ()
29503 _isnan(0);
29505 return 0;
29507 _ACEOF
29508 if ac_fn_cxx_try_compile "$LINENO"; then :
29509 glibcxx_cv_func__isnan_use=yes
29510 else
29511 glibcxx_cv_func__isnan_use=no
29513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29514 ac_ext=c
29515 ac_cpp='$CPP $CPPFLAGS'
29516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29525 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29527 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29528 for ac_func in _isnan
29529 do :
29530 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29531 if test "x$ac_cv_func__isnan" = x""yes; then :
29532 cat >>confdefs.h <<_ACEOF
29533 #define HAVE__ISNAN 1
29534 _ACEOF
29537 done
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29547 $as_echo_n "checking for finite declaration... " >&6; }
29548 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29549 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29550 $as_echo_n "(cached) " >&6
29551 else
29554 ac_ext=cpp
29555 ac_cpp='$CXXCPP $CPPFLAGS'
29556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h. */
29562 #include <math.h>
29563 #ifdef HAVE_IEEEFP_H
29564 #include <ieeefp.h>
29565 #endif
29568 main ()
29570 finite(0);
29572 return 0;
29574 _ACEOF
29575 if ac_fn_cxx_try_compile "$LINENO"; then :
29576 glibcxx_cv_func_finite_use=yes
29577 else
29578 glibcxx_cv_func_finite_use=no
29580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581 ac_ext=c
29582 ac_cpp='$CPP $CPPFLAGS'
29583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29592 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29594 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29595 for ac_func in finite
29596 do :
29597 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29598 if test "x$ac_cv_func_finite" = x""yes; then :
29599 cat >>confdefs.h <<_ACEOF
29600 #define HAVE_FINITE 1
29601 _ACEOF
29604 done
29606 else
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29609 $as_echo_n "checking for _finite declaration... " >&6; }
29610 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29611 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29612 $as_echo_n "(cached) " >&6
29613 else
29616 ac_ext=cpp
29617 ac_cpp='$CXXCPP $CPPFLAGS'
29618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29623 /* end confdefs.h. */
29624 #include <math.h>
29625 #ifdef HAVE_IEEEFP_H
29626 #include <ieeefp.h>
29627 #endif
29630 main ()
29632 _finite(0);
29634 return 0;
29636 _ACEOF
29637 if ac_fn_cxx_try_compile "$LINENO"; then :
29638 glibcxx_cv_func__finite_use=yes
29639 else
29640 glibcxx_cv_func__finite_use=no
29642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29643 ac_ext=c
29644 ac_cpp='$CPP $CPPFLAGS'
29645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29654 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29656 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29657 for ac_func in _finite
29658 do :
29659 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29660 if test "x$ac_cv_func__finite" = x""yes; then :
29661 cat >>confdefs.h <<_ACEOF
29662 #define HAVE__FINITE 1
29663 _ACEOF
29666 done
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29676 $as_echo_n "checking for sincos declaration... " >&6; }
29677 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29678 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29693 main ()
29695 sincos(0, 0, 0);
29697 return 0;
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701 glibcxx_cv_func_sincos_use=yes
29702 else
29703 glibcxx_cv_func_sincos_use=no
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706 ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29717 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29719 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29720 for ac_func in sincos
29721 do :
29722 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29723 if test "x$ac_cv_func_sincos" = x""yes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE_SINCOS 1
29726 _ACEOF
29729 done
29731 else
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29734 $as_echo_n "checking for _sincos declaration... " >&6; }
29735 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29736 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29737 $as_echo_n "(cached) " >&6
29738 else
29741 ac_ext=cpp
29742 ac_cpp='$CXXCPP $CPPFLAGS'
29743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29748 /* end confdefs.h. */
29749 #include <math.h>
29751 main ()
29753 _sincos(0, 0, 0);
29755 return 0;
29757 _ACEOF
29758 if ac_fn_cxx_try_compile "$LINENO"; then :
29759 glibcxx_cv_func__sincos_use=yes
29760 else
29761 glibcxx_cv_func__sincos_use=no
29763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29764 ac_ext=c
29765 ac_cpp='$CPP $CPPFLAGS'
29766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29775 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29777 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29778 for ac_func in _sincos
29779 do :
29780 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29781 if test "x$ac_cv_func__sincos" = x""yes; then :
29782 cat >>confdefs.h <<_ACEOF
29783 #define HAVE__SINCOS 1
29784 _ACEOF
29787 done
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29797 $as_echo_n "checking for fpclass declaration... " >&6; }
29798 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29799 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29800 $as_echo_n "(cached) " >&6
29801 else
29804 ac_ext=cpp
29805 ac_cpp='$CXXCPP $CPPFLAGS'
29806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29811 /* end confdefs.h. */
29812 #include <math.h>
29813 #ifdef HAVE_IEEEFP_H
29814 #include <ieeefp.h>
29815 #endif
29818 main ()
29820 fpclass(0);
29822 return 0;
29824 _ACEOF
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826 glibcxx_cv_func_fpclass_use=yes
29827 else
29828 glibcxx_cv_func_fpclass_use=no
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831 ac_ext=c
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29842 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29844 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29845 for ac_func in fpclass
29846 do :
29847 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29848 if test "x$ac_cv_func_fpclass" = x""yes; then :
29849 cat >>confdefs.h <<_ACEOF
29850 #define HAVE_FPCLASS 1
29851 _ACEOF
29854 done
29856 else
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29859 $as_echo_n "checking for _fpclass declaration... " >&6; }
29860 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29861 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29862 $as_echo_n "(cached) " >&6
29863 else
29866 ac_ext=cpp
29867 ac_cpp='$CXXCPP $CPPFLAGS'
29868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29873 /* end confdefs.h. */
29874 #include <math.h>
29875 #ifdef HAVE_IEEEFP_H
29876 #include <ieeefp.h>
29877 #endif
29880 main ()
29882 _fpclass(0);
29884 return 0;
29886 _ACEOF
29887 if ac_fn_cxx_try_compile "$LINENO"; then :
29888 glibcxx_cv_func__fpclass_use=yes
29889 else
29890 glibcxx_cv_func__fpclass_use=no
29892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29893 ac_ext=c
29894 ac_cpp='$CPP $CPPFLAGS'
29895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29904 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29906 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29907 for ac_func in _fpclass
29908 do :
29909 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29910 if test "x$ac_cv_func__fpclass" = x""yes; then :
29911 cat >>confdefs.h <<_ACEOF
29912 #define HAVE__FPCLASS 1
29913 _ACEOF
29916 done
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29926 $as_echo_n "checking for qfpclass declaration... " >&6; }
29927 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29928 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29929 $as_echo_n "(cached) " >&6
29930 else
29933 ac_ext=cpp
29934 ac_cpp='$CXXCPP $CPPFLAGS'
29935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29940 /* end confdefs.h. */
29941 #include <math.h>
29942 #ifdef HAVE_IEEEFP_H
29943 #include <ieeefp.h>
29944 #endif
29947 main ()
29949 qfpclass(0);
29951 return 0;
29953 _ACEOF
29954 if ac_fn_cxx_try_compile "$LINENO"; then :
29955 glibcxx_cv_func_qfpclass_use=yes
29956 else
29957 glibcxx_cv_func_qfpclass_use=no
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29960 ac_ext=c
29961 ac_cpp='$CPP $CPPFLAGS'
29962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29971 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29973 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29974 for ac_func in qfpclass
29975 do :
29976 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29977 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29978 cat >>confdefs.h <<_ACEOF
29979 #define HAVE_QFPCLASS 1
29980 _ACEOF
29983 done
29985 else
29987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29988 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29989 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29990 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29991 $as_echo_n "(cached) " >&6
29992 else
29995 ac_ext=cpp
29996 ac_cpp='$CXXCPP $CPPFLAGS'
29997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30002 /* end confdefs.h. */
30003 #include <math.h>
30004 #ifdef HAVE_IEEEFP_H
30005 #include <ieeefp.h>
30006 #endif
30009 main ()
30011 _qfpclass(0);
30013 return 0;
30015 _ACEOF
30016 if ac_fn_cxx_try_compile "$LINENO"; then :
30017 glibcxx_cv_func__qfpclass_use=yes
30018 else
30019 glibcxx_cv_func__qfpclass_use=no
30021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30022 ac_ext=c
30023 ac_cpp='$CPP $CPPFLAGS'
30024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30033 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30035 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30036 for ac_func in _qfpclass
30037 do :
30038 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30039 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30040 cat >>confdefs.h <<_ACEOF
30041 #define HAVE__QFPCLASS 1
30042 _ACEOF
30045 done
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30055 $as_echo_n "checking for hypot declaration... " >&6; }
30056 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30057 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30062 ac_ext=cpp
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h. */
30070 #include <math.h>
30072 main ()
30074 hypot(0, 0);
30076 return 0;
30078 _ACEOF
30079 if ac_fn_cxx_try_compile "$LINENO"; then :
30080 glibcxx_cv_func_hypot_use=yes
30081 else
30082 glibcxx_cv_func_hypot_use=no
30084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30085 ac_ext=c
30086 ac_cpp='$CPP $CPPFLAGS'
30087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30096 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30098 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30099 for ac_func in hypot
30100 do :
30101 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30102 if test "x$ac_cv_func_hypot" = x""yes; then :
30103 cat >>confdefs.h <<_ACEOF
30104 #define HAVE_HYPOT 1
30105 _ACEOF
30108 done
30110 else
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30113 $as_echo_n "checking for _hypot declaration... " >&6; }
30114 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30115 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30116 $as_echo_n "(cached) " >&6
30117 else
30120 ac_ext=cpp
30121 ac_cpp='$CXXCPP $CPPFLAGS'
30122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30127 /* end confdefs.h. */
30128 #include <math.h>
30130 main ()
30132 _hypot(0, 0);
30134 return 0;
30136 _ACEOF
30137 if ac_fn_cxx_try_compile "$LINENO"; then :
30138 glibcxx_cv_func__hypot_use=yes
30139 else
30140 glibcxx_cv_func__hypot_use=no
30142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30143 ac_ext=c
30144 ac_cpp='$CPP $CPPFLAGS'
30145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30154 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30156 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30157 for ac_func in _hypot
30158 do :
30159 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30160 if test "x$ac_cv_func__hypot" = x""yes; then :
30161 cat >>confdefs.h <<_ACEOF
30162 #define HAVE__HYPOT 1
30163 _ACEOF
30166 done
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30176 $as_echo_n "checking for float trig functions... " >&6; }
30177 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30178 $as_echo_n "(cached) " >&6
30179 else
30182 ac_ext=cpp
30183 ac_cpp='$CXXCPP $CPPFLAGS'
30184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30189 /* end confdefs.h. */
30190 #include <math.h>
30192 main ()
30194 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30196 return 0;
30198 _ACEOF
30199 if ac_fn_cxx_try_compile "$LINENO"; then :
30200 glibcxx_cv_func_float_trig_use=yes
30201 else
30202 glibcxx_cv_func_float_trig_use=no
30204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30205 ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30214 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30215 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30216 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30217 do :
30218 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30219 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30220 eval as_val=\$$as_ac_var
30221 if test "x$as_val" = x""yes; then :
30222 cat >>confdefs.h <<_ACEOF
30223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30224 _ACEOF
30227 done
30229 else
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30231 $as_echo_n "checking for _float trig functions... " >&6; }
30232 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30233 $as_echo_n "(cached) " >&6
30234 else
30237 ac_ext=cpp
30238 ac_cpp='$CXXCPP $CPPFLAGS'
30239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30244 /* end confdefs.h. */
30245 #include <math.h>
30247 main ()
30249 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30251 return 0;
30253 _ACEOF
30254 if ac_fn_cxx_try_compile "$LINENO"; then :
30255 glibcxx_cv_func__float_trig_use=yes
30256 else
30257 glibcxx_cv_func__float_trig_use=no
30259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30260 ac_ext=c
30261 ac_cpp='$CPP $CPPFLAGS'
30262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30269 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30270 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30271 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30272 do :
30273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30275 eval as_val=\$$as_ac_var
30276 if test "x$as_val" = x""yes; then :
30277 cat >>confdefs.h <<_ACEOF
30278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30279 _ACEOF
30282 done
30291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30292 $as_echo_n "checking for float round functions... " >&6; }
30293 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30295 else
30298 ac_ext=cpp
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30306 #include <math.h>
30308 main ()
30310 ceilf (0); floorf (0);
30312 return 0;
30314 _ACEOF
30315 if ac_fn_cxx_try_compile "$LINENO"; then :
30316 glibcxx_cv_func_float_round_use=yes
30317 else
30318 glibcxx_cv_func_float_round_use=no
30320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321 ac_ext=c
30322 ac_cpp='$CPP $CPPFLAGS'
30323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30330 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30331 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30332 for ac_func in ceilf floorf
30333 do :
30334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30336 eval as_val=\$$as_ac_var
30337 if test "x$as_val" = x""yes; then :
30338 cat >>confdefs.h <<_ACEOF
30339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30340 _ACEOF
30343 done
30345 else
30346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30347 $as_echo_n "checking for _float round functions... " >&6; }
30348 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30349 $as_echo_n "(cached) " >&6
30350 else
30353 ac_ext=cpp
30354 ac_cpp='$CXXCPP $CPPFLAGS'
30355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <math.h>
30363 main ()
30365 _ceilf (0); _floorf (0);
30367 return 0;
30369 _ACEOF
30370 if ac_fn_cxx_try_compile "$LINENO"; then :
30371 glibcxx_cv_func__float_round_use=yes
30372 else
30373 glibcxx_cv_func__float_round_use=no
30375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30376 ac_ext=c
30377 ac_cpp='$CPP $CPPFLAGS'
30378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30385 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30386 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30387 for ac_func in _ceilf _floorf
30388 do :
30389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30391 eval as_val=\$$as_ac_var
30392 if test "x$as_val" = x""yes; then :
30393 cat >>confdefs.h <<_ACEOF
30394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30395 _ACEOF
30398 done
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30409 $as_echo_n "checking for expf declaration... " >&6; }
30410 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30411 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30412 $as_echo_n "(cached) " >&6
30413 else
30416 ac_ext=cpp
30417 ac_cpp='$CXXCPP $CPPFLAGS'
30418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30424 #include <math.h>
30425 #ifdef HAVE_IEEEFP_H
30426 #include <ieeefp.h>
30427 #endif
30430 main ()
30432 expf(0);
30434 return 0;
30436 _ACEOF
30437 if ac_fn_cxx_try_compile "$LINENO"; then :
30438 glibcxx_cv_func_expf_use=yes
30439 else
30440 glibcxx_cv_func_expf_use=no
30442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30443 ac_ext=c
30444 ac_cpp='$CPP $CPPFLAGS'
30445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30454 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30456 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30457 for ac_func in expf
30458 do :
30459 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30460 if test "x$ac_cv_func_expf" = x""yes; then :
30461 cat >>confdefs.h <<_ACEOF
30462 #define HAVE_EXPF 1
30463 _ACEOF
30466 done
30468 else
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30471 $as_echo_n "checking for _expf declaration... " >&6; }
30472 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30473 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30474 $as_echo_n "(cached) " >&6
30475 else
30478 ac_ext=cpp
30479 ac_cpp='$CXXCPP $CPPFLAGS'
30480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30485 /* end confdefs.h. */
30486 #include <math.h>
30487 #ifdef HAVE_IEEEFP_H
30488 #include <ieeefp.h>
30489 #endif
30492 main ()
30494 _expf(0);
30496 return 0;
30498 _ACEOF
30499 if ac_fn_cxx_try_compile "$LINENO"; then :
30500 glibcxx_cv_func__expf_use=yes
30501 else
30502 glibcxx_cv_func__expf_use=no
30504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30505 ac_ext=c
30506 ac_cpp='$CPP $CPPFLAGS'
30507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30516 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30518 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30519 for ac_func in _expf
30520 do :
30521 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30522 if test "x$ac_cv_func__expf" = x""yes; then :
30523 cat >>confdefs.h <<_ACEOF
30524 #define HAVE__EXPF 1
30525 _ACEOF
30528 done
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30538 $as_echo_n "checking for isnanf declaration... " >&6; }
30539 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30540 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30541 $as_echo_n "(cached) " >&6
30542 else
30545 ac_ext=cpp
30546 ac_cpp='$CXXCPP $CPPFLAGS'
30547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30552 /* end confdefs.h. */
30553 #include <math.h>
30554 #ifdef HAVE_IEEEFP_H
30555 #include <ieeefp.h>
30556 #endif
30559 main ()
30561 isnanf(0);
30563 return 0;
30565 _ACEOF
30566 if ac_fn_cxx_try_compile "$LINENO"; then :
30567 glibcxx_cv_func_isnanf_use=yes
30568 else
30569 glibcxx_cv_func_isnanf_use=no
30571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30572 ac_ext=c
30573 ac_cpp='$CPP $CPPFLAGS'
30574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30583 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30585 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30586 for ac_func in isnanf
30587 do :
30588 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30589 if test "x$ac_cv_func_isnanf" = x""yes; then :
30590 cat >>confdefs.h <<_ACEOF
30591 #define HAVE_ISNANF 1
30592 _ACEOF
30595 done
30597 else
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30600 $as_echo_n "checking for _isnanf declaration... " >&6; }
30601 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30602 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30603 $as_echo_n "(cached) " >&6
30604 else
30607 ac_ext=cpp
30608 ac_cpp='$CXXCPP $CPPFLAGS'
30609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30614 /* end confdefs.h. */
30615 #include <math.h>
30616 #ifdef HAVE_IEEEFP_H
30617 #include <ieeefp.h>
30618 #endif
30621 main ()
30623 _isnanf(0);
30625 return 0;
30627 _ACEOF
30628 if ac_fn_cxx_try_compile "$LINENO"; then :
30629 glibcxx_cv_func__isnanf_use=yes
30630 else
30631 glibcxx_cv_func__isnanf_use=no
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634 ac_ext=c
30635 ac_cpp='$CPP $CPPFLAGS'
30636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30645 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30647 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30648 for ac_func in _isnanf
30649 do :
30650 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30651 if test "x$ac_cv_func__isnanf" = x""yes; then :
30652 cat >>confdefs.h <<_ACEOF
30653 #define HAVE__ISNANF 1
30654 _ACEOF
30657 done
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30667 $as_echo_n "checking for isinff declaration... " >&6; }
30668 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30669 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30670 $as_echo_n "(cached) " >&6
30671 else
30674 ac_ext=cpp
30675 ac_cpp='$CXXCPP $CPPFLAGS'
30676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30681 /* end confdefs.h. */
30682 #include <math.h>
30683 #ifdef HAVE_IEEEFP_H
30684 #include <ieeefp.h>
30685 #endif
30688 main ()
30690 isinff(0);
30692 return 0;
30694 _ACEOF
30695 if ac_fn_cxx_try_compile "$LINENO"; then :
30696 glibcxx_cv_func_isinff_use=yes
30697 else
30698 glibcxx_cv_func_isinff_use=no
30700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30701 ac_ext=c
30702 ac_cpp='$CPP $CPPFLAGS'
30703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30712 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30714 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30715 for ac_func in isinff
30716 do :
30717 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30718 if test "x$ac_cv_func_isinff" = x""yes; then :
30719 cat >>confdefs.h <<_ACEOF
30720 #define HAVE_ISINFF 1
30721 _ACEOF
30724 done
30726 else
30728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30729 $as_echo_n "checking for _isinff declaration... " >&6; }
30730 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30731 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30732 $as_echo_n "(cached) " >&6
30733 else
30736 ac_ext=cpp
30737 ac_cpp='$CXXCPP $CPPFLAGS'
30738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30743 /* end confdefs.h. */
30744 #include <math.h>
30745 #ifdef HAVE_IEEEFP_H
30746 #include <ieeefp.h>
30747 #endif
30750 main ()
30752 _isinff(0);
30754 return 0;
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758 glibcxx_cv_func__isinff_use=yes
30759 else
30760 glibcxx_cv_func__isinff_use=no
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763 ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30774 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30776 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30777 for ac_func in _isinff
30778 do :
30779 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30780 if test "x$ac_cv_func__isinff" = x""yes; then :
30781 cat >>confdefs.h <<_ACEOF
30782 #define HAVE__ISINFF 1
30783 _ACEOF
30786 done
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30796 $as_echo_n "checking for atan2f declaration... " >&6; }
30797 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30798 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30799 $as_echo_n "(cached) " >&6
30800 else
30803 ac_ext=cpp
30804 ac_cpp='$CXXCPP $CPPFLAGS'
30805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30810 /* end confdefs.h. */
30811 #include <math.h>
30813 main ()
30815 atan2f(0, 0);
30817 return 0;
30819 _ACEOF
30820 if ac_fn_cxx_try_compile "$LINENO"; then :
30821 glibcxx_cv_func_atan2f_use=yes
30822 else
30823 glibcxx_cv_func_atan2f_use=no
30825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30826 ac_ext=c
30827 ac_cpp='$CPP $CPPFLAGS'
30828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30837 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30839 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30840 for ac_func in atan2f
30841 do :
30842 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30843 if test "x$ac_cv_func_atan2f" = x""yes; then :
30844 cat >>confdefs.h <<_ACEOF
30845 #define HAVE_ATAN2F 1
30846 _ACEOF
30849 done
30851 else
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30854 $as_echo_n "checking for _atan2f declaration... " >&6; }
30855 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30856 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30861 ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30869 #include <math.h>
30871 main ()
30873 _atan2f(0, 0);
30875 return 0;
30877 _ACEOF
30878 if ac_fn_cxx_try_compile "$LINENO"; then :
30879 glibcxx_cv_func__atan2f_use=yes
30880 else
30881 glibcxx_cv_func__atan2f_use=no
30883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30884 ac_ext=c
30885 ac_cpp='$CPP $CPPFLAGS'
30886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30895 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30897 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30898 for ac_func in _atan2f
30899 do :
30900 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30901 if test "x$ac_cv_func__atan2f" = x""yes; then :
30902 cat >>confdefs.h <<_ACEOF
30903 #define HAVE__ATAN2F 1
30904 _ACEOF
30907 done
30916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30917 $as_echo_n "checking for fabsf declaration... " >&6; }
30918 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30919 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30920 $as_echo_n "(cached) " >&6
30921 else
30924 ac_ext=cpp
30925 ac_cpp='$CXXCPP $CPPFLAGS'
30926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30931 /* end confdefs.h. */
30932 #include <math.h>
30933 #ifdef HAVE_IEEEFP_H
30934 #include <ieeefp.h>
30935 #endif
30938 main ()
30940 fabsf(0);
30942 return 0;
30944 _ACEOF
30945 if ac_fn_cxx_try_compile "$LINENO"; then :
30946 glibcxx_cv_func_fabsf_use=yes
30947 else
30948 glibcxx_cv_func_fabsf_use=no
30950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30951 ac_ext=c
30952 ac_cpp='$CPP $CPPFLAGS'
30953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30962 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30964 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30965 for ac_func in fabsf
30966 do :
30967 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30968 if test "x$ac_cv_func_fabsf" = x""yes; then :
30969 cat >>confdefs.h <<_ACEOF
30970 #define HAVE_FABSF 1
30971 _ACEOF
30974 done
30976 else
30978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30979 $as_echo_n "checking for _fabsf declaration... " >&6; }
30980 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30981 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30982 $as_echo_n "(cached) " >&6
30983 else
30986 ac_ext=cpp
30987 ac_cpp='$CXXCPP $CPPFLAGS'
30988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30993 /* end confdefs.h. */
30994 #include <math.h>
30995 #ifdef HAVE_IEEEFP_H
30996 #include <ieeefp.h>
30997 #endif
31000 main ()
31002 _fabsf(0);
31004 return 0;
31006 _ACEOF
31007 if ac_fn_cxx_try_compile "$LINENO"; then :
31008 glibcxx_cv_func__fabsf_use=yes
31009 else
31010 glibcxx_cv_func__fabsf_use=no
31012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31013 ac_ext=c
31014 ac_cpp='$CPP $CPPFLAGS'
31015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31024 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31026 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31027 for ac_func in _fabsf
31028 do :
31029 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31030 if test "x$ac_cv_func__fabsf" = x""yes; then :
31031 cat >>confdefs.h <<_ACEOF
31032 #define HAVE__FABSF 1
31033 _ACEOF
31036 done
31045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31046 $as_echo_n "checking for fmodf declaration... " >&6; }
31047 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31048 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31049 $as_echo_n "(cached) " >&6
31050 else
31053 ac_ext=cpp
31054 ac_cpp='$CXXCPP $CPPFLAGS'
31055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31060 /* end confdefs.h. */
31061 #include <math.h>
31063 main ()
31065 fmodf(0, 0);
31067 return 0;
31069 _ACEOF
31070 if ac_fn_cxx_try_compile "$LINENO"; then :
31071 glibcxx_cv_func_fmodf_use=yes
31072 else
31073 glibcxx_cv_func_fmodf_use=no
31075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31076 ac_ext=c
31077 ac_cpp='$CPP $CPPFLAGS'
31078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31087 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31089 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31090 for ac_func in fmodf
31091 do :
31092 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31093 if test "x$ac_cv_func_fmodf" = x""yes; then :
31094 cat >>confdefs.h <<_ACEOF
31095 #define HAVE_FMODF 1
31096 _ACEOF
31099 done
31101 else
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31104 $as_echo_n "checking for _fmodf declaration... " >&6; }
31105 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31106 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31107 $as_echo_n "(cached) " >&6
31108 else
31111 ac_ext=cpp
31112 ac_cpp='$CXXCPP $CPPFLAGS'
31113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31118 /* end confdefs.h. */
31119 #include <math.h>
31121 main ()
31123 _fmodf(0, 0);
31125 return 0;
31127 _ACEOF
31128 if ac_fn_cxx_try_compile "$LINENO"; then :
31129 glibcxx_cv_func__fmodf_use=yes
31130 else
31131 glibcxx_cv_func__fmodf_use=no
31133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31134 ac_ext=c
31135 ac_cpp='$CPP $CPPFLAGS'
31136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31145 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31147 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31148 for ac_func in _fmodf
31149 do :
31150 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31151 if test "x$ac_cv_func__fmodf" = x""yes; then :
31152 cat >>confdefs.h <<_ACEOF
31153 #define HAVE__FMODF 1
31154 _ACEOF
31157 done
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31167 $as_echo_n "checking for frexpf declaration... " >&6; }
31168 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31169 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31184 main ()
31186 frexpf(0, 0);
31188 return 0;
31190 _ACEOF
31191 if ac_fn_cxx_try_compile "$LINENO"; then :
31192 glibcxx_cv_func_frexpf_use=yes
31193 else
31194 glibcxx_cv_func_frexpf_use=no
31196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31197 ac_ext=c
31198 ac_cpp='$CPP $CPPFLAGS'
31199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31208 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31210 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31211 for ac_func in frexpf
31212 do :
31213 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31214 if test "x$ac_cv_func_frexpf" = x""yes; then :
31215 cat >>confdefs.h <<_ACEOF
31216 #define HAVE_FREXPF 1
31217 _ACEOF
31220 done
31222 else
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31225 $as_echo_n "checking for _frexpf declaration... " >&6; }
31226 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31227 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31228 $as_echo_n "(cached) " >&6
31229 else
31232 ac_ext=cpp
31233 ac_cpp='$CXXCPP $CPPFLAGS'
31234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31239 /* end confdefs.h. */
31240 #include <math.h>
31242 main ()
31244 _frexpf(0, 0);
31246 return 0;
31248 _ACEOF
31249 if ac_fn_cxx_try_compile "$LINENO"; then :
31250 glibcxx_cv_func__frexpf_use=yes
31251 else
31252 glibcxx_cv_func__frexpf_use=no
31254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31255 ac_ext=c
31256 ac_cpp='$CPP $CPPFLAGS'
31257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31266 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31268 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31269 for ac_func in _frexpf
31270 do :
31271 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31272 if test "x$ac_cv_func__frexpf" = x""yes; then :
31273 cat >>confdefs.h <<_ACEOF
31274 #define HAVE__FREXPF 1
31275 _ACEOF
31278 done
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31288 $as_echo_n "checking for hypotf declaration... " >&6; }
31289 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31290 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31291 $as_echo_n "(cached) " >&6
31292 else
31295 ac_ext=cpp
31296 ac_cpp='$CXXCPP $CPPFLAGS'
31297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31302 /* end confdefs.h. */
31303 #include <math.h>
31305 main ()
31307 hypotf(0, 0);
31309 return 0;
31311 _ACEOF
31312 if ac_fn_cxx_try_compile "$LINENO"; then :
31313 glibcxx_cv_func_hypotf_use=yes
31314 else
31315 glibcxx_cv_func_hypotf_use=no
31317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31318 ac_ext=c
31319 ac_cpp='$CPP $CPPFLAGS'
31320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31329 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31331 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31332 for ac_func in hypotf
31333 do :
31334 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31335 if test "x$ac_cv_func_hypotf" = x""yes; then :
31336 cat >>confdefs.h <<_ACEOF
31337 #define HAVE_HYPOTF 1
31338 _ACEOF
31341 done
31343 else
31345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31346 $as_echo_n "checking for _hypotf declaration... " >&6; }
31347 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31348 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31349 $as_echo_n "(cached) " >&6
31350 else
31353 ac_ext=cpp
31354 ac_cpp='$CXXCPP $CPPFLAGS'
31355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31360 /* end confdefs.h. */
31361 #include <math.h>
31363 main ()
31365 _hypotf(0, 0);
31367 return 0;
31369 _ACEOF
31370 if ac_fn_cxx_try_compile "$LINENO"; then :
31371 glibcxx_cv_func__hypotf_use=yes
31372 else
31373 glibcxx_cv_func__hypotf_use=no
31375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31376 ac_ext=c
31377 ac_cpp='$CPP $CPPFLAGS'
31378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31387 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31389 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31390 for ac_func in _hypotf
31391 do :
31392 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31393 if test "x$ac_cv_func__hypotf" = x""yes; then :
31394 cat >>confdefs.h <<_ACEOF
31395 #define HAVE__HYPOTF 1
31396 _ACEOF
31399 done
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31409 $as_echo_n "checking for ldexpf declaration... " >&6; }
31410 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31411 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31412 $as_echo_n "(cached) " >&6
31413 else
31416 ac_ext=cpp
31417 ac_cpp='$CXXCPP $CPPFLAGS'
31418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h. */
31424 #include <math.h>
31426 main ()
31428 ldexpf(0, 0);
31430 return 0;
31432 _ACEOF
31433 if ac_fn_cxx_try_compile "$LINENO"; then :
31434 glibcxx_cv_func_ldexpf_use=yes
31435 else
31436 glibcxx_cv_func_ldexpf_use=no
31438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31439 ac_ext=c
31440 ac_cpp='$CPP $CPPFLAGS'
31441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31450 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31452 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31453 for ac_func in ldexpf
31454 do :
31455 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31456 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31457 cat >>confdefs.h <<_ACEOF
31458 #define HAVE_LDEXPF 1
31459 _ACEOF
31462 done
31464 else
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31467 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31468 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31469 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31470 $as_echo_n "(cached) " >&6
31471 else
31474 ac_ext=cpp
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31482 #include <math.h>
31484 main ()
31486 _ldexpf(0, 0);
31488 return 0;
31490 _ACEOF
31491 if ac_fn_cxx_try_compile "$LINENO"; then :
31492 glibcxx_cv_func__ldexpf_use=yes
31493 else
31494 glibcxx_cv_func__ldexpf_use=no
31496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31497 ac_ext=c
31498 ac_cpp='$CPP $CPPFLAGS'
31499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31508 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31510 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31511 for ac_func in _ldexpf
31512 do :
31513 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31514 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31515 cat >>confdefs.h <<_ACEOF
31516 #define HAVE__LDEXPF 1
31517 _ACEOF
31520 done
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31530 $as_echo_n "checking for logf declaration... " >&6; }
31531 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31532 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 #ifdef HAVE_IEEEFP_H
31547 #include <ieeefp.h>
31548 #endif
31551 main ()
31553 logf(0);
31555 return 0;
31557 _ACEOF
31558 if ac_fn_cxx_try_compile "$LINENO"; then :
31559 glibcxx_cv_func_logf_use=yes
31560 else
31561 glibcxx_cv_func_logf_use=no
31563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31564 ac_ext=c
31565 ac_cpp='$CPP $CPPFLAGS'
31566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31575 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31577 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31578 for ac_func in logf
31579 do :
31580 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31581 if test "x$ac_cv_func_logf" = x""yes; then :
31582 cat >>confdefs.h <<_ACEOF
31583 #define HAVE_LOGF 1
31584 _ACEOF
31587 done
31589 else
31591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31592 $as_echo_n "checking for _logf declaration... " >&6; }
31593 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31594 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31595 $as_echo_n "(cached) " >&6
31596 else
31599 ac_ext=cpp
31600 ac_cpp='$CXXCPP $CPPFLAGS'
31601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31606 /* end confdefs.h. */
31607 #include <math.h>
31608 #ifdef HAVE_IEEEFP_H
31609 #include <ieeefp.h>
31610 #endif
31613 main ()
31615 _logf(0);
31617 return 0;
31619 _ACEOF
31620 if ac_fn_cxx_try_compile "$LINENO"; then :
31621 glibcxx_cv_func__logf_use=yes
31622 else
31623 glibcxx_cv_func__logf_use=no
31625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31626 ac_ext=c
31627 ac_cpp='$CPP $CPPFLAGS'
31628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31637 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31639 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31640 for ac_func in _logf
31641 do :
31642 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31643 if test "x$ac_cv_func__logf" = x""yes; then :
31644 cat >>confdefs.h <<_ACEOF
31645 #define HAVE__LOGF 1
31646 _ACEOF
31649 done
31658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31659 $as_echo_n "checking for log10f declaration... " >&6; }
31660 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31661 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31662 $as_echo_n "(cached) " >&6
31663 else
31666 ac_ext=cpp
31667 ac_cpp='$CXXCPP $CPPFLAGS'
31668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31673 /* end confdefs.h. */
31674 #include <math.h>
31675 #ifdef HAVE_IEEEFP_H
31676 #include <ieeefp.h>
31677 #endif
31680 main ()
31682 log10f(0);
31684 return 0;
31686 _ACEOF
31687 if ac_fn_cxx_try_compile "$LINENO"; then :
31688 glibcxx_cv_func_log10f_use=yes
31689 else
31690 glibcxx_cv_func_log10f_use=no
31692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31693 ac_ext=c
31694 ac_cpp='$CPP $CPPFLAGS'
31695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31704 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31706 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31707 for ac_func in log10f
31708 do :
31709 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31710 if test "x$ac_cv_func_log10f" = x""yes; then :
31711 cat >>confdefs.h <<_ACEOF
31712 #define HAVE_LOG10F 1
31713 _ACEOF
31716 done
31718 else
31720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31721 $as_echo_n "checking for _log10f declaration... " >&6; }
31722 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31723 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31724 $as_echo_n "(cached) " >&6
31725 else
31728 ac_ext=cpp
31729 ac_cpp='$CXXCPP $CPPFLAGS'
31730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31735 /* end confdefs.h. */
31736 #include <math.h>
31737 #ifdef HAVE_IEEEFP_H
31738 #include <ieeefp.h>
31739 #endif
31742 main ()
31744 _log10f(0);
31746 return 0;
31748 _ACEOF
31749 if ac_fn_cxx_try_compile "$LINENO"; then :
31750 glibcxx_cv_func__log10f_use=yes
31751 else
31752 glibcxx_cv_func__log10f_use=no
31754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31755 ac_ext=c
31756 ac_cpp='$CPP $CPPFLAGS'
31757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31766 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31768 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31769 for ac_func in _log10f
31770 do :
31771 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31772 if test "x$ac_cv_func__log10f" = x""yes; then :
31773 cat >>confdefs.h <<_ACEOF
31774 #define HAVE__LOG10F 1
31775 _ACEOF
31778 done
31787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31788 $as_echo_n "checking for modff declaration... " >&6; }
31789 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31790 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31791 $as_echo_n "(cached) " >&6
31792 else
31795 ac_ext=cpp
31796 ac_cpp='$CXXCPP $CPPFLAGS'
31797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31802 /* end confdefs.h. */
31803 #include <math.h>
31805 main ()
31807 modff(0, 0);
31809 return 0;
31811 _ACEOF
31812 if ac_fn_cxx_try_compile "$LINENO"; then :
31813 glibcxx_cv_func_modff_use=yes
31814 else
31815 glibcxx_cv_func_modff_use=no
31817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31829 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31831 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31832 for ac_func in modff
31833 do :
31834 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31835 if test "x$ac_cv_func_modff" = x""yes; then :
31836 cat >>confdefs.h <<_ACEOF
31837 #define HAVE_MODFF 1
31838 _ACEOF
31841 done
31843 else
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31846 $as_echo_n "checking for _modff declaration... " >&6; }
31847 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31848 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31849 $as_echo_n "(cached) " >&6
31850 else
31853 ac_ext=cpp
31854 ac_cpp='$CXXCPP $CPPFLAGS'
31855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31860 /* end confdefs.h. */
31861 #include <math.h>
31863 main ()
31865 _modff(0, 0);
31867 return 0;
31869 _ACEOF
31870 if ac_fn_cxx_try_compile "$LINENO"; then :
31871 glibcxx_cv_func__modff_use=yes
31872 else
31873 glibcxx_cv_func__modff_use=no
31875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31876 ac_ext=c
31877 ac_cpp='$CPP $CPPFLAGS'
31878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31887 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31889 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31890 for ac_func in _modff
31891 do :
31892 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31893 if test "x$ac_cv_func__modff" = x""yes; then :
31894 cat >>confdefs.h <<_ACEOF
31895 #define HAVE__MODFF 1
31896 _ACEOF
31899 done
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31909 $as_echo_n "checking for modf declaration... " >&6; }
31910 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31911 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31912 $as_echo_n "(cached) " >&6
31913 else
31916 ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h. */
31924 #include <math.h>
31926 main ()
31928 modf(0, 0);
31930 return 0;
31932 _ACEOF
31933 if ac_fn_cxx_try_compile "$LINENO"; then :
31934 glibcxx_cv_func_modf_use=yes
31935 else
31936 glibcxx_cv_func_modf_use=no
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31950 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31952 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31953 for ac_func in modf
31954 do :
31955 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31956 if test "x$ac_cv_func_modf" = x""yes; then :
31957 cat >>confdefs.h <<_ACEOF
31958 #define HAVE_MODF 1
31959 _ACEOF
31962 done
31964 else
31966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31967 $as_echo_n "checking for _modf declaration... " >&6; }
31968 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31969 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31970 $as_echo_n "(cached) " >&6
31971 else
31974 ac_ext=cpp
31975 ac_cpp='$CXXCPP $CPPFLAGS'
31976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31981 /* end confdefs.h. */
31982 #include <math.h>
31984 main ()
31986 _modf(0, 0);
31988 return 0;
31990 _ACEOF
31991 if ac_fn_cxx_try_compile "$LINENO"; then :
31992 glibcxx_cv_func__modf_use=yes
31993 else
31994 glibcxx_cv_func__modf_use=no
31996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31997 ac_ext=c
31998 ac_cpp='$CPP $CPPFLAGS'
31999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32008 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32010 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32011 for ac_func in _modf
32012 do :
32013 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32014 if test "x$ac_cv_func__modf" = x""yes; then :
32015 cat >>confdefs.h <<_ACEOF
32016 #define HAVE__MODF 1
32017 _ACEOF
32020 done
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32030 $as_echo_n "checking for powf declaration... " >&6; }
32031 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32032 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <math.h>
32047 main ()
32049 powf(0, 0);
32051 return 0;
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func_powf_use=yes
32056 else
32057 glibcxx_cv_func_powf_use=no
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32071 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32073 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32074 for ac_func in powf
32075 do :
32076 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32077 if test "x$ac_cv_func_powf" = x""yes; then :
32078 cat >>confdefs.h <<_ACEOF
32079 #define HAVE_POWF 1
32080 _ACEOF
32083 done
32085 else
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32088 $as_echo_n "checking for _powf declaration... " >&6; }
32089 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32090 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32091 $as_echo_n "(cached) " >&6
32092 else
32095 ac_ext=cpp
32096 ac_cpp='$CXXCPP $CPPFLAGS'
32097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32102 /* end confdefs.h. */
32103 #include <math.h>
32105 main ()
32107 _powf(0, 0);
32109 return 0;
32111 _ACEOF
32112 if ac_fn_cxx_try_compile "$LINENO"; then :
32113 glibcxx_cv_func__powf_use=yes
32114 else
32115 glibcxx_cv_func__powf_use=no
32117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32118 ac_ext=c
32119 ac_cpp='$CPP $CPPFLAGS'
32120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32129 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32131 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32132 for ac_func in _powf
32133 do :
32134 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32135 if test "x$ac_cv_func__powf" = x""yes; then :
32136 cat >>confdefs.h <<_ACEOF
32137 #define HAVE__POWF 1
32138 _ACEOF
32141 done
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32151 $as_echo_n "checking for sqrtf declaration... " >&6; }
32152 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32153 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32154 $as_echo_n "(cached) " >&6
32155 else
32158 ac_ext=cpp
32159 ac_cpp='$CXXCPP $CPPFLAGS'
32160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32165 /* end confdefs.h. */
32166 #include <math.h>
32167 #ifdef HAVE_IEEEFP_H
32168 #include <ieeefp.h>
32169 #endif
32172 main ()
32174 sqrtf(0);
32176 return 0;
32178 _ACEOF
32179 if ac_fn_cxx_try_compile "$LINENO"; then :
32180 glibcxx_cv_func_sqrtf_use=yes
32181 else
32182 glibcxx_cv_func_sqrtf_use=no
32184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32185 ac_ext=c
32186 ac_cpp='$CPP $CPPFLAGS'
32187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32196 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32198 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32199 for ac_func in sqrtf
32200 do :
32201 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32202 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32203 cat >>confdefs.h <<_ACEOF
32204 #define HAVE_SQRTF 1
32205 _ACEOF
32208 done
32210 else
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32213 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32214 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32215 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32216 $as_echo_n "(cached) " >&6
32217 else
32220 ac_ext=cpp
32221 ac_cpp='$CXXCPP $CPPFLAGS'
32222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32227 /* end confdefs.h. */
32228 #include <math.h>
32229 #ifdef HAVE_IEEEFP_H
32230 #include <ieeefp.h>
32231 #endif
32234 main ()
32236 _sqrtf(0);
32238 return 0;
32240 _ACEOF
32241 if ac_fn_cxx_try_compile "$LINENO"; then :
32242 glibcxx_cv_func__sqrtf_use=yes
32243 else
32244 glibcxx_cv_func__sqrtf_use=no
32246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32247 ac_ext=c
32248 ac_cpp='$CPP $CPPFLAGS'
32249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32258 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32260 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32261 for ac_func in _sqrtf
32262 do :
32263 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32264 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32265 cat >>confdefs.h <<_ACEOF
32266 #define HAVE__SQRTF 1
32267 _ACEOF
32270 done
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32280 $as_echo_n "checking for sincosf declaration... " >&6; }
32281 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32282 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32284 else
32287 ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <math.h>
32297 main ()
32299 sincosf(0, 0, 0);
32301 return 0;
32303 _ACEOF
32304 if ac_fn_cxx_try_compile "$LINENO"; then :
32305 glibcxx_cv_func_sincosf_use=yes
32306 else
32307 glibcxx_cv_func_sincosf_use=no
32309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32310 ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32321 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32323 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32324 for ac_func in sincosf
32325 do :
32326 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32327 if test "x$ac_cv_func_sincosf" = x""yes; then :
32328 cat >>confdefs.h <<_ACEOF
32329 #define HAVE_SINCOSF 1
32330 _ACEOF
32333 done
32335 else
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32338 $as_echo_n "checking for _sincosf declaration... " >&6; }
32339 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32340 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32341 $as_echo_n "(cached) " >&6
32342 else
32345 ac_ext=cpp
32346 ac_cpp='$CXXCPP $CPPFLAGS'
32347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32352 /* end confdefs.h. */
32353 #include <math.h>
32355 main ()
32357 _sincosf(0, 0, 0);
32359 return 0;
32361 _ACEOF
32362 if ac_fn_cxx_try_compile "$LINENO"; then :
32363 glibcxx_cv_func__sincosf_use=yes
32364 else
32365 glibcxx_cv_func__sincosf_use=no
32367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32368 ac_ext=c
32369 ac_cpp='$CPP $CPPFLAGS'
32370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32379 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32381 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32382 for ac_func in _sincosf
32383 do :
32384 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32385 if test "x$ac_cv_func__sincosf" = x""yes; then :
32386 cat >>confdefs.h <<_ACEOF
32387 #define HAVE__SINCOSF 1
32388 _ACEOF
32391 done
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32401 $as_echo_n "checking for finitef declaration... " >&6; }
32402 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32403 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32404 $as_echo_n "(cached) " >&6
32405 else
32408 ac_ext=cpp
32409 ac_cpp='$CXXCPP $CPPFLAGS'
32410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32415 /* end confdefs.h. */
32416 #include <math.h>
32417 #ifdef HAVE_IEEEFP_H
32418 #include <ieeefp.h>
32419 #endif
32422 main ()
32424 finitef(0);
32426 return 0;
32428 _ACEOF
32429 if ac_fn_cxx_try_compile "$LINENO"; then :
32430 glibcxx_cv_func_finitef_use=yes
32431 else
32432 glibcxx_cv_func_finitef_use=no
32434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32435 ac_ext=c
32436 ac_cpp='$CPP $CPPFLAGS'
32437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32446 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32448 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32449 for ac_func in finitef
32450 do :
32451 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32452 if test "x$ac_cv_func_finitef" = x""yes; then :
32453 cat >>confdefs.h <<_ACEOF
32454 #define HAVE_FINITEF 1
32455 _ACEOF
32458 done
32460 else
32462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32463 $as_echo_n "checking for _finitef declaration... " >&6; }
32464 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32465 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32466 $as_echo_n "(cached) " >&6
32467 else
32470 ac_ext=cpp
32471 ac_cpp='$CXXCPP $CPPFLAGS'
32472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32477 /* end confdefs.h. */
32478 #include <math.h>
32479 #ifdef HAVE_IEEEFP_H
32480 #include <ieeefp.h>
32481 #endif
32484 main ()
32486 _finitef(0);
32488 return 0;
32490 _ACEOF
32491 if ac_fn_cxx_try_compile "$LINENO"; then :
32492 glibcxx_cv_func__finitef_use=yes
32493 else
32494 glibcxx_cv_func__finitef_use=no
32496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32497 ac_ext=c
32498 ac_cpp='$CPP $CPPFLAGS'
32499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32508 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32510 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32511 for ac_func in _finitef
32512 do :
32513 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32514 if test "x$ac_cv_func__finitef" = x""yes; then :
32515 cat >>confdefs.h <<_ACEOF
32516 #define HAVE__FINITEF 1
32517 _ACEOF
32520 done
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32530 $as_echo_n "checking for long double trig functions... " >&6; }
32531 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32532 $as_echo_n "(cached) " >&6
32533 else
32536 ac_ext=cpp
32537 ac_cpp='$CXXCPP $CPPFLAGS'
32538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32543 /* end confdefs.h. */
32544 #include <math.h>
32546 main ()
32548 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32550 return 0;
32552 _ACEOF
32553 if ac_fn_cxx_try_compile "$LINENO"; then :
32554 glibcxx_cv_func_long_double_trig_use=yes
32555 else
32556 glibcxx_cv_func_long_double_trig_use=no
32558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32559 ac_ext=c
32560 ac_cpp='$CPP $CPPFLAGS'
32561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32568 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32569 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32570 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32571 do :
32572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32574 eval as_val=\$$as_ac_var
32575 if test "x$as_val" = x""yes; then :
32576 cat >>confdefs.h <<_ACEOF
32577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32578 _ACEOF
32581 done
32583 else
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32585 $as_echo_n "checking for _long double trig functions... " >&6; }
32586 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32587 $as_echo_n "(cached) " >&6
32588 else
32591 ac_ext=cpp
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32598 /* end confdefs.h. */
32599 #include <math.h>
32601 main ()
32603 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32605 return 0;
32607 _ACEOF
32608 if ac_fn_cxx_try_compile "$LINENO"; then :
32609 glibcxx_cv_func__long_double_trig_use=yes
32610 else
32611 glibcxx_cv_func__long_double_trig_use=no
32613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32614 ac_ext=c
32615 ac_cpp='$CPP $CPPFLAGS'
32616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32623 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32624 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32625 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32626 do :
32627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32629 eval as_val=\$$as_ac_var
32630 if test "x$as_val" = x""yes; then :
32631 cat >>confdefs.h <<_ACEOF
32632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32633 _ACEOF
32636 done
32645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32646 $as_echo_n "checking for long double round functions... " >&6; }
32647 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32648 $as_echo_n "(cached) " >&6
32649 else
32652 ac_ext=cpp
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32659 /* end confdefs.h. */
32660 #include <math.h>
32662 main ()
32664 ceill (0); floorl (0);
32666 return 0;
32668 _ACEOF
32669 if ac_fn_cxx_try_compile "$LINENO"; then :
32670 glibcxx_cv_func_long_double_round_use=yes
32671 else
32672 glibcxx_cv_func_long_double_round_use=no
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 ac_ext=c
32676 ac_cpp='$CPP $CPPFLAGS'
32677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32684 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32685 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32686 for ac_func in ceill floorl
32687 do :
32688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32690 eval as_val=\$$as_ac_var
32691 if test "x$as_val" = x""yes; then :
32692 cat >>confdefs.h <<_ACEOF
32693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32694 _ACEOF
32697 done
32699 else
32700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32701 $as_echo_n "checking for _long double round functions... " >&6; }
32702 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32703 $as_echo_n "(cached) " >&6
32704 else
32707 ac_ext=cpp
32708 ac_cpp='$CXXCPP $CPPFLAGS'
32709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h. */
32715 #include <math.h>
32717 main ()
32719 _ceill (0); _floorl (0);
32721 return 0;
32723 _ACEOF
32724 if ac_fn_cxx_try_compile "$LINENO"; then :
32725 glibcxx_cv_func__long_double_round_use=yes
32726 else
32727 glibcxx_cv_func__long_double_round_use=no
32729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32730 ac_ext=c
32731 ac_cpp='$CPP $CPPFLAGS'
32732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32739 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32740 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32741 for ac_func in _ceill _floorl
32742 do :
32743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32745 eval as_val=\$$as_ac_var
32746 if test "x$as_val" = x""yes; then :
32747 cat >>confdefs.h <<_ACEOF
32748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32749 _ACEOF
32752 done
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32763 $as_echo_n "checking for isnanl declaration... " >&6; }
32764 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32765 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32766 $as_echo_n "(cached) " >&6
32767 else
32770 ac_ext=cpp
32771 ac_cpp='$CXXCPP $CPPFLAGS'
32772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32777 /* end confdefs.h. */
32778 #include <math.h>
32779 #ifdef HAVE_IEEEFP_H
32780 #include <ieeefp.h>
32781 #endif
32784 main ()
32786 isnanl(0);
32788 return 0;
32790 _ACEOF
32791 if ac_fn_cxx_try_compile "$LINENO"; then :
32792 glibcxx_cv_func_isnanl_use=yes
32793 else
32794 glibcxx_cv_func_isnanl_use=no
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32797 ac_ext=c
32798 ac_cpp='$CPP $CPPFLAGS'
32799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32808 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32810 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32811 for ac_func in isnanl
32812 do :
32813 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32814 if test "x$ac_cv_func_isnanl" = x""yes; then :
32815 cat >>confdefs.h <<_ACEOF
32816 #define HAVE_ISNANL 1
32817 _ACEOF
32820 done
32822 else
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32825 $as_echo_n "checking for _isnanl declaration... " >&6; }
32826 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32827 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32828 $as_echo_n "(cached) " >&6
32829 else
32832 ac_ext=cpp
32833 ac_cpp='$CXXCPP $CPPFLAGS'
32834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32839 /* end confdefs.h. */
32840 #include <math.h>
32841 #ifdef HAVE_IEEEFP_H
32842 #include <ieeefp.h>
32843 #endif
32846 main ()
32848 _isnanl(0);
32850 return 0;
32852 _ACEOF
32853 if ac_fn_cxx_try_compile "$LINENO"; then :
32854 glibcxx_cv_func__isnanl_use=yes
32855 else
32856 glibcxx_cv_func__isnanl_use=no
32858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32859 ac_ext=c
32860 ac_cpp='$CPP $CPPFLAGS'
32861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32870 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32872 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32873 for ac_func in _isnanl
32874 do :
32875 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32876 if test "x$ac_cv_func__isnanl" = x""yes; then :
32877 cat >>confdefs.h <<_ACEOF
32878 #define HAVE__ISNANL 1
32879 _ACEOF
32882 done
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32892 $as_echo_n "checking for isinfl declaration... " >&6; }
32893 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32894 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32895 $as_echo_n "(cached) " >&6
32896 else
32899 ac_ext=cpp
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32906 /* end confdefs.h. */
32907 #include <math.h>
32908 #ifdef HAVE_IEEEFP_H
32909 #include <ieeefp.h>
32910 #endif
32913 main ()
32915 isinfl(0);
32917 return 0;
32919 _ACEOF
32920 if ac_fn_cxx_try_compile "$LINENO"; then :
32921 glibcxx_cv_func_isinfl_use=yes
32922 else
32923 glibcxx_cv_func_isinfl_use=no
32925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32926 ac_ext=c
32927 ac_cpp='$CPP $CPPFLAGS'
32928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32937 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32939 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32940 for ac_func in isinfl
32941 do :
32942 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32943 if test "x$ac_cv_func_isinfl" = x""yes; then :
32944 cat >>confdefs.h <<_ACEOF
32945 #define HAVE_ISINFL 1
32946 _ACEOF
32949 done
32951 else
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32954 $as_echo_n "checking for _isinfl declaration... " >&6; }
32955 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32956 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32957 $as_echo_n "(cached) " >&6
32958 else
32961 ac_ext=cpp
32962 ac_cpp='$CXXCPP $CPPFLAGS'
32963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32968 /* end confdefs.h. */
32969 #include <math.h>
32970 #ifdef HAVE_IEEEFP_H
32971 #include <ieeefp.h>
32972 #endif
32975 main ()
32977 _isinfl(0);
32979 return 0;
32981 _ACEOF
32982 if ac_fn_cxx_try_compile "$LINENO"; then :
32983 glibcxx_cv_func__isinfl_use=yes
32984 else
32985 glibcxx_cv_func__isinfl_use=no
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_ext=c
32989 ac_cpp='$CPP $CPPFLAGS'
32990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32999 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33001 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33002 for ac_func in _isinfl
33003 do :
33004 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33005 if test "x$ac_cv_func__isinfl" = x""yes; then :
33006 cat >>confdefs.h <<_ACEOF
33007 #define HAVE__ISINFL 1
33008 _ACEOF
33011 done
33020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33021 $as_echo_n "checking for atan2l declaration... " >&6; }
33022 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33023 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33024 $as_echo_n "(cached) " >&6
33025 else
33028 ac_ext=cpp
33029 ac_cpp='$CXXCPP $CPPFLAGS'
33030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33035 /* end confdefs.h. */
33036 #include <math.h>
33038 main ()
33040 atan2l(0, 0);
33042 return 0;
33044 _ACEOF
33045 if ac_fn_cxx_try_compile "$LINENO"; then :
33046 glibcxx_cv_func_atan2l_use=yes
33047 else
33048 glibcxx_cv_func_atan2l_use=no
33050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33051 ac_ext=c
33052 ac_cpp='$CPP $CPPFLAGS'
33053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33062 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33064 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33065 for ac_func in atan2l
33066 do :
33067 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33068 if test "x$ac_cv_func_atan2l" = x""yes; then :
33069 cat >>confdefs.h <<_ACEOF
33070 #define HAVE_ATAN2L 1
33071 _ACEOF
33074 done
33076 else
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33079 $as_echo_n "checking for _atan2l declaration... " >&6; }
33080 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33081 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33082 $as_echo_n "(cached) " >&6
33083 else
33086 ac_ext=cpp
33087 ac_cpp='$CXXCPP $CPPFLAGS'
33088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33093 /* end confdefs.h. */
33094 #include <math.h>
33096 main ()
33098 _atan2l(0, 0);
33100 return 0;
33102 _ACEOF
33103 if ac_fn_cxx_try_compile "$LINENO"; then :
33104 glibcxx_cv_func__atan2l_use=yes
33105 else
33106 glibcxx_cv_func__atan2l_use=no
33108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33109 ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33120 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33122 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33123 for ac_func in _atan2l
33124 do :
33125 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33126 if test "x$ac_cv_func__atan2l" = x""yes; then :
33127 cat >>confdefs.h <<_ACEOF
33128 #define HAVE__ATAN2L 1
33129 _ACEOF
33132 done
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33142 $as_echo_n "checking for expl declaration... " >&6; }
33143 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33144 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33145 $as_echo_n "(cached) " >&6
33146 else
33149 ac_ext=cpp
33150 ac_cpp='$CXXCPP $CPPFLAGS'
33151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33156 /* end confdefs.h. */
33157 #include <math.h>
33158 #ifdef HAVE_IEEEFP_H
33159 #include <ieeefp.h>
33160 #endif
33163 main ()
33165 expl(0);
33167 return 0;
33169 _ACEOF
33170 if ac_fn_cxx_try_compile "$LINENO"; then :
33171 glibcxx_cv_func_expl_use=yes
33172 else
33173 glibcxx_cv_func_expl_use=no
33175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33176 ac_ext=c
33177 ac_cpp='$CPP $CPPFLAGS'
33178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33187 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33189 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33190 for ac_func in expl
33191 do :
33192 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33193 if test "x$ac_cv_func_expl" = x""yes; then :
33194 cat >>confdefs.h <<_ACEOF
33195 #define HAVE_EXPL 1
33196 _ACEOF
33199 done
33201 else
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33204 $as_echo_n "checking for _expl declaration... " >&6; }
33205 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33206 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33207 $as_echo_n "(cached) " >&6
33208 else
33211 ac_ext=cpp
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33218 /* end confdefs.h. */
33219 #include <math.h>
33220 #ifdef HAVE_IEEEFP_H
33221 #include <ieeefp.h>
33222 #endif
33225 main ()
33227 _expl(0);
33229 return 0;
33231 _ACEOF
33232 if ac_fn_cxx_try_compile "$LINENO"; then :
33233 glibcxx_cv_func__expl_use=yes
33234 else
33235 glibcxx_cv_func__expl_use=no
33237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33238 ac_ext=c
33239 ac_cpp='$CPP $CPPFLAGS'
33240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33249 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33251 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33252 for ac_func in _expl
33253 do :
33254 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33255 if test "x$ac_cv_func__expl" = x""yes; then :
33256 cat >>confdefs.h <<_ACEOF
33257 #define HAVE__EXPL 1
33258 _ACEOF
33261 done
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33271 $as_echo_n "checking for fabsl declaration... " >&6; }
33272 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33273 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33274 $as_echo_n "(cached) " >&6
33275 else
33278 ac_ext=cpp
33279 ac_cpp='$CXXCPP $CPPFLAGS'
33280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33285 /* end confdefs.h. */
33286 #include <math.h>
33287 #ifdef HAVE_IEEEFP_H
33288 #include <ieeefp.h>
33289 #endif
33292 main ()
33294 fabsl(0);
33296 return 0;
33298 _ACEOF
33299 if ac_fn_cxx_try_compile "$LINENO"; then :
33300 glibcxx_cv_func_fabsl_use=yes
33301 else
33302 glibcxx_cv_func_fabsl_use=no
33304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33305 ac_ext=c
33306 ac_cpp='$CPP $CPPFLAGS'
33307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33316 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33318 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33319 for ac_func in fabsl
33320 do :
33321 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33322 if test "x$ac_cv_func_fabsl" = x""yes; then :
33323 cat >>confdefs.h <<_ACEOF
33324 #define HAVE_FABSL 1
33325 _ACEOF
33328 done
33330 else
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33333 $as_echo_n "checking for _fabsl declaration... " >&6; }
33334 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33335 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33336 $as_echo_n "(cached) " >&6
33337 else
33340 ac_ext=cpp
33341 ac_cpp='$CXXCPP $CPPFLAGS'
33342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33347 /* end confdefs.h. */
33348 #include <math.h>
33349 #ifdef HAVE_IEEEFP_H
33350 #include <ieeefp.h>
33351 #endif
33354 main ()
33356 _fabsl(0);
33358 return 0;
33360 _ACEOF
33361 if ac_fn_cxx_try_compile "$LINENO"; then :
33362 glibcxx_cv_func__fabsl_use=yes
33363 else
33364 glibcxx_cv_func__fabsl_use=no
33366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_ext=c
33368 ac_cpp='$CPP $CPPFLAGS'
33369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33378 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33380 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33381 for ac_func in _fabsl
33382 do :
33383 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33384 if test "x$ac_cv_func__fabsl" = x""yes; then :
33385 cat >>confdefs.h <<_ACEOF
33386 #define HAVE__FABSL 1
33387 _ACEOF
33390 done
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33400 $as_echo_n "checking for fmodl declaration... " >&6; }
33401 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33402 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33403 $as_echo_n "(cached) " >&6
33404 else
33407 ac_ext=cpp
33408 ac_cpp='$CXXCPP $CPPFLAGS'
33409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33414 /* end confdefs.h. */
33415 #include <math.h>
33417 main ()
33419 fmodl(0, 0);
33421 return 0;
33423 _ACEOF
33424 if ac_fn_cxx_try_compile "$LINENO"; then :
33425 glibcxx_cv_func_fmodl_use=yes
33426 else
33427 glibcxx_cv_func_fmodl_use=no
33429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33430 ac_ext=c
33431 ac_cpp='$CPP $CPPFLAGS'
33432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33441 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33443 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33444 for ac_func in fmodl
33445 do :
33446 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33447 if test "x$ac_cv_func_fmodl" = x""yes; then :
33448 cat >>confdefs.h <<_ACEOF
33449 #define HAVE_FMODL 1
33450 _ACEOF
33453 done
33455 else
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33458 $as_echo_n "checking for _fmodl declaration... " >&6; }
33459 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33460 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33461 $as_echo_n "(cached) " >&6
33462 else
33465 ac_ext=cpp
33466 ac_cpp='$CXXCPP $CPPFLAGS'
33467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33472 /* end confdefs.h. */
33473 #include <math.h>
33475 main ()
33477 _fmodl(0, 0);
33479 return 0;
33481 _ACEOF
33482 if ac_fn_cxx_try_compile "$LINENO"; then :
33483 glibcxx_cv_func__fmodl_use=yes
33484 else
33485 glibcxx_cv_func__fmodl_use=no
33487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33488 ac_ext=c
33489 ac_cpp='$CPP $CPPFLAGS'
33490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33499 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33501 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33502 for ac_func in _fmodl
33503 do :
33504 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33505 if test "x$ac_cv_func__fmodl" = x""yes; then :
33506 cat >>confdefs.h <<_ACEOF
33507 #define HAVE__FMODL 1
33508 _ACEOF
33511 done
33520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33521 $as_echo_n "checking for frexpl declaration... " >&6; }
33522 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33523 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33524 $as_echo_n "(cached) " >&6
33525 else
33528 ac_ext=cpp
33529 ac_cpp='$CXXCPP $CPPFLAGS'
33530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33535 /* end confdefs.h. */
33536 #include <math.h>
33538 main ()
33540 frexpl(0, 0);
33542 return 0;
33544 _ACEOF
33545 if ac_fn_cxx_try_compile "$LINENO"; then :
33546 glibcxx_cv_func_frexpl_use=yes
33547 else
33548 glibcxx_cv_func_frexpl_use=no
33550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33551 ac_ext=c
33552 ac_cpp='$CPP $CPPFLAGS'
33553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33562 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33564 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33565 for ac_func in frexpl
33566 do :
33567 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33568 if test "x$ac_cv_func_frexpl" = x""yes; then :
33569 cat >>confdefs.h <<_ACEOF
33570 #define HAVE_FREXPL 1
33571 _ACEOF
33574 done
33576 else
33578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33579 $as_echo_n "checking for _frexpl declaration... " >&6; }
33580 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33581 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33582 $as_echo_n "(cached) " >&6
33583 else
33586 ac_ext=cpp
33587 ac_cpp='$CXXCPP $CPPFLAGS'
33588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33593 /* end confdefs.h. */
33594 #include <math.h>
33596 main ()
33598 _frexpl(0, 0);
33600 return 0;
33602 _ACEOF
33603 if ac_fn_cxx_try_compile "$LINENO"; then :
33604 glibcxx_cv_func__frexpl_use=yes
33605 else
33606 glibcxx_cv_func__frexpl_use=no
33608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33609 ac_ext=c
33610 ac_cpp='$CPP $CPPFLAGS'
33611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33620 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33622 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33623 for ac_func in _frexpl
33624 do :
33625 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33626 if test "x$ac_cv_func__frexpl" = x""yes; then :
33627 cat >>confdefs.h <<_ACEOF
33628 #define HAVE__FREXPL 1
33629 _ACEOF
33632 done
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33642 $as_echo_n "checking for hypotl declaration... " >&6; }
33643 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33644 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33645 $as_echo_n "(cached) " >&6
33646 else
33649 ac_ext=cpp
33650 ac_cpp='$CXXCPP $CPPFLAGS'
33651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33656 /* end confdefs.h. */
33657 #include <math.h>
33659 main ()
33661 hypotl(0, 0);
33663 return 0;
33665 _ACEOF
33666 if ac_fn_cxx_try_compile "$LINENO"; then :
33667 glibcxx_cv_func_hypotl_use=yes
33668 else
33669 glibcxx_cv_func_hypotl_use=no
33671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33672 ac_ext=c
33673 ac_cpp='$CPP $CPPFLAGS'
33674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33683 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33685 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33686 for ac_func in hypotl
33687 do :
33688 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33689 if test "x$ac_cv_func_hypotl" = x""yes; then :
33690 cat >>confdefs.h <<_ACEOF
33691 #define HAVE_HYPOTL 1
33692 _ACEOF
33695 done
33697 else
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33700 $as_echo_n "checking for _hypotl declaration... " >&6; }
33701 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33702 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33703 $as_echo_n "(cached) " >&6
33704 else
33707 ac_ext=cpp
33708 ac_cpp='$CXXCPP $CPPFLAGS'
33709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33714 /* end confdefs.h. */
33715 #include <math.h>
33717 main ()
33719 _hypotl(0, 0);
33721 return 0;
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func__hypotl_use=yes
33726 else
33727 glibcxx_cv_func__hypotl_use=no
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33741 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33743 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33744 for ac_func in _hypotl
33745 do :
33746 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33747 if test "x$ac_cv_func__hypotl" = x""yes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE__HYPOTL 1
33750 _ACEOF
33753 done
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33763 $as_echo_n "checking for ldexpl declaration... " >&6; }
33764 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33765 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33766 $as_echo_n "(cached) " >&6
33767 else
33770 ac_ext=cpp
33771 ac_cpp='$CXXCPP $CPPFLAGS'
33772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33777 /* end confdefs.h. */
33778 #include <math.h>
33780 main ()
33782 ldexpl(0, 0);
33784 return 0;
33786 _ACEOF
33787 if ac_fn_cxx_try_compile "$LINENO"; then :
33788 glibcxx_cv_func_ldexpl_use=yes
33789 else
33790 glibcxx_cv_func_ldexpl_use=no
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33804 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33806 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33807 for ac_func in ldexpl
33808 do :
33809 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33810 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33811 cat >>confdefs.h <<_ACEOF
33812 #define HAVE_LDEXPL 1
33813 _ACEOF
33816 done
33818 else
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33821 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33822 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33823 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33824 $as_echo_n "(cached) " >&6
33825 else
33828 ac_ext=cpp
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33836 #include <math.h>
33838 main ()
33840 _ldexpl(0, 0);
33842 return 0;
33844 _ACEOF
33845 if ac_fn_cxx_try_compile "$LINENO"; then :
33846 glibcxx_cv_func__ldexpl_use=yes
33847 else
33848 glibcxx_cv_func__ldexpl_use=no
33850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=c
33852 ac_cpp='$CPP $CPPFLAGS'
33853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33862 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33864 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33865 for ac_func in _ldexpl
33866 do :
33867 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33868 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33869 cat >>confdefs.h <<_ACEOF
33870 #define HAVE__LDEXPL 1
33871 _ACEOF
33874 done
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33884 $as_echo_n "checking for logl declaration... " >&6; }
33885 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33886 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33887 $as_echo_n "(cached) " >&6
33888 else
33891 ac_ext=cpp
33892 ac_cpp='$CXXCPP $CPPFLAGS'
33893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33898 /* end confdefs.h. */
33899 #include <math.h>
33900 #ifdef HAVE_IEEEFP_H
33901 #include <ieeefp.h>
33902 #endif
33905 main ()
33907 logl(0);
33909 return 0;
33911 _ACEOF
33912 if ac_fn_cxx_try_compile "$LINENO"; then :
33913 glibcxx_cv_func_logl_use=yes
33914 else
33915 glibcxx_cv_func_logl_use=no
33917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33918 ac_ext=c
33919 ac_cpp='$CPP $CPPFLAGS'
33920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33929 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33931 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33932 for ac_func in logl
33933 do :
33934 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33935 if test "x$ac_cv_func_logl" = x""yes; then :
33936 cat >>confdefs.h <<_ACEOF
33937 #define HAVE_LOGL 1
33938 _ACEOF
33941 done
33943 else
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33946 $as_echo_n "checking for _logl declaration... " >&6; }
33947 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33948 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33949 $as_echo_n "(cached) " >&6
33950 else
33953 ac_ext=cpp
33954 ac_cpp='$CXXCPP $CPPFLAGS'
33955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33960 /* end confdefs.h. */
33961 #include <math.h>
33962 #ifdef HAVE_IEEEFP_H
33963 #include <ieeefp.h>
33964 #endif
33967 main ()
33969 _logl(0);
33971 return 0;
33973 _ACEOF
33974 if ac_fn_cxx_try_compile "$LINENO"; then :
33975 glibcxx_cv_func__logl_use=yes
33976 else
33977 glibcxx_cv_func__logl_use=no
33979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33980 ac_ext=c
33981 ac_cpp='$CPP $CPPFLAGS'
33982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33991 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33993 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33994 for ac_func in _logl
33995 do :
33996 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33997 if test "x$ac_cv_func__logl" = x""yes; then :
33998 cat >>confdefs.h <<_ACEOF
33999 #define HAVE__LOGL 1
34000 _ACEOF
34003 done
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34013 $as_echo_n "checking for log10l declaration... " >&6; }
34014 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34015 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34016 $as_echo_n "(cached) " >&6
34017 else
34020 ac_ext=cpp
34021 ac_cpp='$CXXCPP $CPPFLAGS'
34022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34027 /* end confdefs.h. */
34028 #include <math.h>
34029 #ifdef HAVE_IEEEFP_H
34030 #include <ieeefp.h>
34031 #endif
34034 main ()
34036 log10l(0);
34038 return 0;
34040 _ACEOF
34041 if ac_fn_cxx_try_compile "$LINENO"; then :
34042 glibcxx_cv_func_log10l_use=yes
34043 else
34044 glibcxx_cv_func_log10l_use=no
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34047 ac_ext=c
34048 ac_cpp='$CPP $CPPFLAGS'
34049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34058 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34060 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34061 for ac_func in log10l
34062 do :
34063 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34064 if test "x$ac_cv_func_log10l" = x""yes; then :
34065 cat >>confdefs.h <<_ACEOF
34066 #define HAVE_LOG10L 1
34067 _ACEOF
34070 done
34072 else
34074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34075 $as_echo_n "checking for _log10l declaration... " >&6; }
34076 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34077 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34078 $as_echo_n "(cached) " >&6
34079 else
34082 ac_ext=cpp
34083 ac_cpp='$CXXCPP $CPPFLAGS'
34084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34089 /* end confdefs.h. */
34090 #include <math.h>
34091 #ifdef HAVE_IEEEFP_H
34092 #include <ieeefp.h>
34093 #endif
34096 main ()
34098 _log10l(0);
34100 return 0;
34102 _ACEOF
34103 if ac_fn_cxx_try_compile "$LINENO"; then :
34104 glibcxx_cv_func__log10l_use=yes
34105 else
34106 glibcxx_cv_func__log10l_use=no
34108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109 ac_ext=c
34110 ac_cpp='$CPP $CPPFLAGS'
34111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34120 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34122 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34123 for ac_func in _log10l
34124 do :
34125 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34126 if test "x$ac_cv_func__log10l" = x""yes; then :
34127 cat >>confdefs.h <<_ACEOF
34128 #define HAVE__LOG10L 1
34129 _ACEOF
34132 done
34141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34142 $as_echo_n "checking for modfl declaration... " >&6; }
34143 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34144 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34145 $as_echo_n "(cached) " >&6
34146 else
34149 ac_ext=cpp
34150 ac_cpp='$CXXCPP $CPPFLAGS'
34151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34156 /* end confdefs.h. */
34157 #include <math.h>
34159 main ()
34161 modfl(0, 0);
34163 return 0;
34165 _ACEOF
34166 if ac_fn_cxx_try_compile "$LINENO"; then :
34167 glibcxx_cv_func_modfl_use=yes
34168 else
34169 glibcxx_cv_func_modfl_use=no
34171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34172 ac_ext=c
34173 ac_cpp='$CPP $CPPFLAGS'
34174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34183 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34185 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34186 for ac_func in modfl
34187 do :
34188 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34189 if test "x$ac_cv_func_modfl" = x""yes; then :
34190 cat >>confdefs.h <<_ACEOF
34191 #define HAVE_MODFL 1
34192 _ACEOF
34195 done
34197 else
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34200 $as_echo_n "checking for _modfl declaration... " >&6; }
34201 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34202 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34203 $as_echo_n "(cached) " >&6
34204 else
34207 ac_ext=cpp
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h. */
34215 #include <math.h>
34217 main ()
34219 _modfl(0, 0);
34221 return 0;
34223 _ACEOF
34224 if ac_fn_cxx_try_compile "$LINENO"; then :
34225 glibcxx_cv_func__modfl_use=yes
34226 else
34227 glibcxx_cv_func__modfl_use=no
34229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34230 ac_ext=c
34231 ac_cpp='$CPP $CPPFLAGS'
34232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34241 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34243 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34244 for ac_func in _modfl
34245 do :
34246 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34247 if test "x$ac_cv_func__modfl" = x""yes; then :
34248 cat >>confdefs.h <<_ACEOF
34249 #define HAVE__MODFL 1
34250 _ACEOF
34253 done
34262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34263 $as_echo_n "checking for powl declaration... " >&6; }
34264 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34265 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34266 $as_echo_n "(cached) " >&6
34267 else
34270 ac_ext=cpp
34271 ac_cpp='$CXXCPP $CPPFLAGS'
34272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34277 /* end confdefs.h. */
34278 #include <math.h>
34280 main ()
34282 powl(0, 0);
34284 return 0;
34286 _ACEOF
34287 if ac_fn_cxx_try_compile "$LINENO"; then :
34288 glibcxx_cv_func_powl_use=yes
34289 else
34290 glibcxx_cv_func_powl_use=no
34292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34293 ac_ext=c
34294 ac_cpp='$CPP $CPPFLAGS'
34295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34304 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34306 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34307 for ac_func in powl
34308 do :
34309 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34310 if test "x$ac_cv_func_powl" = x""yes; then :
34311 cat >>confdefs.h <<_ACEOF
34312 #define HAVE_POWL 1
34313 _ACEOF
34316 done
34318 else
34320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34321 $as_echo_n "checking for _powl declaration... " >&6; }
34322 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34323 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34324 $as_echo_n "(cached) " >&6
34325 else
34328 ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34335 /* end confdefs.h. */
34336 #include <math.h>
34338 main ()
34340 _powl(0, 0);
34342 return 0;
34344 _ACEOF
34345 if ac_fn_cxx_try_compile "$LINENO"; then :
34346 glibcxx_cv_func__powl_use=yes
34347 else
34348 glibcxx_cv_func__powl_use=no
34350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34351 ac_ext=c
34352 ac_cpp='$CPP $CPPFLAGS'
34353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34362 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34364 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34365 for ac_func in _powl
34366 do :
34367 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34368 if test "x$ac_cv_func__powl" = x""yes; then :
34369 cat >>confdefs.h <<_ACEOF
34370 #define HAVE__POWL 1
34371 _ACEOF
34374 done
34383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34384 $as_echo_n "checking for sqrtl declaration... " >&6; }
34385 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34386 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34387 $as_echo_n "(cached) " >&6
34388 else
34391 ac_ext=cpp
34392 ac_cpp='$CXXCPP $CPPFLAGS'
34393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34398 /* end confdefs.h. */
34399 #include <math.h>
34400 #ifdef HAVE_IEEEFP_H
34401 #include <ieeefp.h>
34402 #endif
34405 main ()
34407 sqrtl(0);
34409 return 0;
34411 _ACEOF
34412 if ac_fn_cxx_try_compile "$LINENO"; then :
34413 glibcxx_cv_func_sqrtl_use=yes
34414 else
34415 glibcxx_cv_func_sqrtl_use=no
34417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34418 ac_ext=c
34419 ac_cpp='$CPP $CPPFLAGS'
34420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34429 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34431 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34432 for ac_func in sqrtl
34433 do :
34434 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34435 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34436 cat >>confdefs.h <<_ACEOF
34437 #define HAVE_SQRTL 1
34438 _ACEOF
34441 done
34443 else
34445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34446 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34447 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34448 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34449 $as_echo_n "(cached) " >&6
34450 else
34453 ac_ext=cpp
34454 ac_cpp='$CXXCPP $CPPFLAGS'
34455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34460 /* end confdefs.h. */
34461 #include <math.h>
34462 #ifdef HAVE_IEEEFP_H
34463 #include <ieeefp.h>
34464 #endif
34467 main ()
34469 _sqrtl(0);
34471 return 0;
34473 _ACEOF
34474 if ac_fn_cxx_try_compile "$LINENO"; then :
34475 glibcxx_cv_func__sqrtl_use=yes
34476 else
34477 glibcxx_cv_func__sqrtl_use=no
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480 ac_ext=c
34481 ac_cpp='$CPP $CPPFLAGS'
34482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34491 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34493 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34494 for ac_func in _sqrtl
34495 do :
34496 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34497 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34498 cat >>confdefs.h <<_ACEOF
34499 #define HAVE__SQRTL 1
34500 _ACEOF
34503 done
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34513 $as_echo_n "checking for sincosl declaration... " >&6; }
34514 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34515 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34516 $as_echo_n "(cached) " >&6
34517 else
34520 ac_ext=cpp
34521 ac_cpp='$CXXCPP $CPPFLAGS'
34522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34527 /* end confdefs.h. */
34528 #include <math.h>
34530 main ()
34532 sincosl(0, 0, 0);
34534 return 0;
34536 _ACEOF
34537 if ac_fn_cxx_try_compile "$LINENO"; then :
34538 glibcxx_cv_func_sincosl_use=yes
34539 else
34540 glibcxx_cv_func_sincosl_use=no
34542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34543 ac_ext=c
34544 ac_cpp='$CPP $CPPFLAGS'
34545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34554 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34556 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34557 for ac_func in sincosl
34558 do :
34559 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34560 if test "x$ac_cv_func_sincosl" = x""yes; then :
34561 cat >>confdefs.h <<_ACEOF
34562 #define HAVE_SINCOSL 1
34563 _ACEOF
34566 done
34568 else
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34571 $as_echo_n "checking for _sincosl declaration... " >&6; }
34572 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34573 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34574 $as_echo_n "(cached) " >&6
34575 else
34578 ac_ext=cpp
34579 ac_cpp='$CXXCPP $CPPFLAGS'
34580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34585 /* end confdefs.h. */
34586 #include <math.h>
34588 main ()
34590 _sincosl(0, 0, 0);
34592 return 0;
34594 _ACEOF
34595 if ac_fn_cxx_try_compile "$LINENO"; then :
34596 glibcxx_cv_func__sincosl_use=yes
34597 else
34598 glibcxx_cv_func__sincosl_use=no
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601 ac_ext=c
34602 ac_cpp='$CPP $CPPFLAGS'
34603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34612 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34614 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34615 for ac_func in _sincosl
34616 do :
34617 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34618 if test "x$ac_cv_func__sincosl" = x""yes; then :
34619 cat >>confdefs.h <<_ACEOF
34620 #define HAVE__SINCOSL 1
34621 _ACEOF
34624 done
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34634 $as_echo_n "checking for finitel declaration... " >&6; }
34635 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34636 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34637 $as_echo_n "(cached) " >&6
34638 else
34641 ac_ext=cpp
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34648 /* end confdefs.h. */
34649 #include <math.h>
34650 #ifdef HAVE_IEEEFP_H
34651 #include <ieeefp.h>
34652 #endif
34655 main ()
34657 finitel(0);
34659 return 0;
34661 _ACEOF
34662 if ac_fn_cxx_try_compile "$LINENO"; then :
34663 glibcxx_cv_func_finitel_use=yes
34664 else
34665 glibcxx_cv_func_finitel_use=no
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34668 ac_ext=c
34669 ac_cpp='$CPP $CPPFLAGS'
34670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34679 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34681 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34682 for ac_func in finitel
34683 do :
34684 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34685 if test "x$ac_cv_func_finitel" = x""yes; then :
34686 cat >>confdefs.h <<_ACEOF
34687 #define HAVE_FINITEL 1
34688 _ACEOF
34691 done
34693 else
34695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34696 $as_echo_n "checking for _finitel declaration... " >&6; }
34697 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34698 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34699 $as_echo_n "(cached) " >&6
34700 else
34703 ac_ext=cpp
34704 ac_cpp='$CXXCPP $CPPFLAGS'
34705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34710 /* end confdefs.h. */
34711 #include <math.h>
34712 #ifdef HAVE_IEEEFP_H
34713 #include <ieeefp.h>
34714 #endif
34717 main ()
34719 _finitel(0);
34721 return 0;
34723 _ACEOF
34724 if ac_fn_cxx_try_compile "$LINENO"; then :
34725 glibcxx_cv_func__finitel_use=yes
34726 else
34727 glibcxx_cv_func__finitel_use=no
34729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34730 ac_ext=c
34731 ac_cpp='$CPP $CPPFLAGS'
34732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34741 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34743 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34744 for ac_func in _finitel
34745 do :
34746 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34747 if test "x$ac_cv_func__finitel" = x""yes; then :
34748 cat >>confdefs.h <<_ACEOF
34749 #define HAVE__FINITEL 1
34750 _ACEOF
34753 done
34761 LIBS="$ac_save_LIBS"
34762 CXXFLAGS="$ac_save_CXXFLAGS"
34765 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34766 ac_save_CXXFLAGS="$CXXFLAGS"
34767 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34771 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34772 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34773 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34774 $as_echo_n "(cached) " >&6
34775 else
34778 ac_ext=cpp
34779 ac_cpp='$CXXCPP $CPPFLAGS'
34780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34785 /* end confdefs.h. */
34786 #include <stdlib.h>
34788 main ()
34790 at_quick_exit(0);
34792 return 0;
34794 _ACEOF
34795 if ac_fn_cxx_try_compile "$LINENO"; then :
34796 glibcxx_cv_func_at_quick_exit_use=yes
34797 else
34798 glibcxx_cv_func_at_quick_exit_use=no
34800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34801 ac_ext=c
34802 ac_cpp='$CPP $CPPFLAGS'
34803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34812 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34813 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34814 for ac_func in at_quick_exit
34815 do :
34816 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34817 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34818 cat >>confdefs.h <<_ACEOF
34819 #define HAVE_AT_QUICK_EXIT 1
34820 _ACEOF
34823 done
34828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34829 $as_echo_n "checking for quick_exit declaration... " >&6; }
34830 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34831 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34832 $as_echo_n "(cached) " >&6
34833 else
34836 ac_ext=cpp
34837 ac_cpp='$CXXCPP $CPPFLAGS'
34838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34843 /* end confdefs.h. */
34844 #include <stdlib.h>
34846 main ()
34848 quick_exit(0);
34850 return 0;
34852 _ACEOF
34853 if ac_fn_cxx_try_compile "$LINENO"; then :
34854 glibcxx_cv_func_quick_exit_use=yes
34855 else
34856 glibcxx_cv_func_quick_exit_use=no
34858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34859 ac_ext=c
34860 ac_cpp='$CPP $CPPFLAGS'
34861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34870 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34871 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34872 for ac_func in quick_exit
34873 do :
34874 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34875 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34876 cat >>confdefs.h <<_ACEOF
34877 #define HAVE_QUICK_EXIT 1
34878 _ACEOF
34881 done
34886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34887 $as_echo_n "checking for strtold declaration... " >&6; }
34888 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34889 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34890 $as_echo_n "(cached) " >&6
34891 else
34894 ac_ext=cpp
34895 ac_cpp='$CXXCPP $CPPFLAGS'
34896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34901 /* end confdefs.h. */
34902 #include <stdlib.h>
34904 main ()
34906 strtold(0, 0);
34908 return 0;
34910 _ACEOF
34911 if ac_fn_cxx_try_compile "$LINENO"; then :
34912 glibcxx_cv_func_strtold_use=yes
34913 else
34914 glibcxx_cv_func_strtold_use=no
34916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34917 ac_ext=c
34918 ac_cpp='$CPP $CPPFLAGS'
34919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34928 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34929 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34930 for ac_func in strtold
34931 do :
34932 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34933 if test "x$ac_cv_func_strtold" = x""yes; then :
34934 cat >>confdefs.h <<_ACEOF
34935 #define HAVE_STRTOLD 1
34936 _ACEOF
34939 done
34946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34947 $as_echo_n "checking for strtof declaration... " >&6; }
34948 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34949 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34950 $as_echo_n "(cached) " >&6
34951 else
34954 ac_ext=cpp
34955 ac_cpp='$CXXCPP $CPPFLAGS'
34956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34961 /* end confdefs.h. */
34962 #include <stdlib.h>
34964 main ()
34966 strtof(0, 0);
34968 return 0;
34970 _ACEOF
34971 if ac_fn_cxx_try_compile "$LINENO"; then :
34972 glibcxx_cv_func_strtof_use=yes
34973 else
34974 glibcxx_cv_func_strtof_use=no
34976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34977 ac_ext=c
34978 ac_cpp='$CPP $CPPFLAGS'
34979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34988 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34989 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34990 for ac_func in strtof
34991 do :
34992 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34993 if test "x$ac_cv_func_strtof" = x""yes; then :
34994 cat >>confdefs.h <<_ACEOF
34995 #define HAVE_STRTOF 1
34996 _ACEOF
34999 done
35006 CXXFLAGS="$ac_save_CXXFLAGS"
35009 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35011 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35013 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35015 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35018 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35020 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35022 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35026 spu-*-elf*)
35028 # All these tests are for C++; save the language and the compiler flags.
35029 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35030 # found in GLIBCXX_CONFIGURE.
35032 ac_ext=cpp
35033 ac_cpp='$CXXCPP $CPPFLAGS'
35034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35039 ac_save_CXXFLAGS="$CXXFLAGS"
35041 # Check for maintainer-mode bits.
35042 if test x"$USE_MAINTAINER_MODE" = xno; then
35043 WERROR=''
35044 else
35045 WERROR='-Werror'
35048 # Check for -ffunction-sections -fdata-sections
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35050 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35051 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35053 /* end confdefs.h. */
35054 int foo; void bar() { };
35056 main ()
35060 return 0;
35062 _ACEOF
35063 if ac_fn_cxx_try_compile "$LINENO"; then :
35064 ac_fdsections=yes
35065 else
35066 ac_fdsections=no
35068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35069 if test "$ac_test_CXXFLAGS" = set; then
35070 CXXFLAGS="$ac_save_CXXFLAGS"
35071 else
35072 # this is the suspicious part
35073 CXXFLAGS=''
35075 if test x"$ac_fdsections" = x"yes"; then
35076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35079 $as_echo "$ac_fdsections" >&6; }
35081 ac_ext=c
35082 ac_cpp='$CPP $CPPFLAGS'
35083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35091 # If we're not using GNU ld, then there's no point in even trying these
35092 # tests. Check for that first. We should have already tested for gld
35093 # by now (in libtool), but require it now just to be safe...
35094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35099 # The name set by libtool depends on the version of libtool. Shame on us
35100 # for depending on an impl detail, but c'est la vie. Older versions used
35101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35104 # set (hence we're using an older libtool), then set it.
35105 if test x${with_gnu_ld+set} != xset; then
35106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35108 with_gnu_ld=no
35109 else
35110 with_gnu_ld=$ac_cv_prog_gnu_ld
35114 # Start by getting the version number. I think the libtool test already
35115 # does some of this, but throws away the result.
35116 glibcxx_ld_is_gold=no
35117 if test x"$with_gnu_ld" = x"yes"; then
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35119 $as_echo_n "checking for ld version... " >&6; }
35121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35122 glibcxx_ld_is_gold=yes
35124 ldver=`$LD --version 2>/dev/null |
35125 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'`
35127 glibcxx_gnu_ld_version=`echo $ldver | \
35128 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35130 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35133 # Set --gc-sections.
35134 glibcxx_have_gc_sections=no
35135 if test "$glibcxx_ld_is_gold" = "yes"; then
35136 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35137 glibcxx_have_gc_sections=yes
35139 else
35140 glibcxx_gcsections_min_ld=21602
35141 if test x"$with_gnu_ld" = x"yes" &&
35142 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35143 glibcxx_have_gc_sections=yes
35146 if test "$glibcxx_have_gc_sections" = "yes"; then
35147 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35148 # NB: This flag only works reliably after 2.16.1. Configure tests
35149 # for this are difficult, so hard wire a value that should work.
35151 ac_test_CFLAGS="${CFLAGS+set}"
35152 ac_save_CFLAGS="$CFLAGS"
35153 CFLAGS='-Wl,--gc-sections'
35155 # Check for -Wl,--gc-sections
35156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35157 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35158 if test x$gcc_no_link = xyes; then
35159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35162 /* end confdefs.h. */
35163 int one(void) { return 1; }
35164 int two(void) { return 2; }
35167 main ()
35169 two();
35171 return 0;
35173 _ACEOF
35174 if ac_fn_c_try_link "$LINENO"; then :
35175 ac_gcsections=yes
35176 else
35177 ac_gcsections=no
35179 rm -f core conftest.err conftest.$ac_objext \
35180 conftest$ac_exeext conftest.$ac_ext
35181 if test "$ac_gcsections" = "yes"; then
35182 rm -f conftest.c
35183 touch conftest.c
35184 if $CC -c conftest.c; then
35185 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35186 grep "Warning: gc-sections option ignored" > /dev/null; then
35187 ac_gcsections=no
35190 rm -f conftest.c conftest.o conftest
35192 if test "$ac_gcsections" = "yes"; then
35193 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35196 $as_echo "$ac_gcsections" >&6; }
35198 if test "$ac_test_CFLAGS" = set; then
35199 CFLAGS="$ac_save_CFLAGS"
35200 else
35201 # this is the suspicious part
35202 CFLAGS=''
35206 # Set -z,relro.
35207 # Note this is only for shared objects.
35208 ac_ld_relro=no
35209 if test x"$with_gnu_ld" = x"yes"; then
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35212 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35213 if test -n "$cxx_z_relo"; then
35214 OPT_LDFLAGS="-Wl,-z,relro"
35215 ac_ld_relro=yes
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35218 $as_echo "$ac_ld_relro" >&6; }
35221 # Set linker optimization flags.
35222 if test x"$with_gnu_ld" = x"yes"; then
35223 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35231 ac_save_CXXFLAGS="$CXXFLAGS"
35232 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35235 $as_echo_n "checking for sin in -lm... " >&6; }
35236 if test "${ac_cv_lib_m_sin+set}" = set; then :
35237 $as_echo_n "(cached) " >&6
35238 else
35239 ac_check_lib_save_LIBS=$LIBS
35240 LIBS="-lm $LIBS"
35241 if test x$gcc_no_link = xyes; then
35242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35245 /* end confdefs.h. */
35247 /* Override any GCC internal prototype to avoid an error.
35248 Use char because int might match the return type of a GCC
35249 builtin and then its argument prototype would still apply. */
35250 #ifdef __cplusplus
35251 extern "C"
35252 #endif
35253 char sin ();
35255 main ()
35257 return sin ();
35259 return 0;
35261 _ACEOF
35262 if ac_fn_c_try_link "$LINENO"; then :
35263 ac_cv_lib_m_sin=yes
35264 else
35265 ac_cv_lib_m_sin=no
35267 rm -f core conftest.err conftest.$ac_objext \
35268 conftest$ac_exeext conftest.$ac_ext
35269 LIBS=$ac_check_lib_save_LIBS
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35272 $as_echo "$ac_cv_lib_m_sin" >&6; }
35273 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35274 libm="-lm"
35277 ac_save_LIBS="$LIBS"
35278 LIBS="$LIBS $libm"
35282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35283 $as_echo_n "checking for isinf declaration... " >&6; }
35284 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35285 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35286 $as_echo_n "(cached) " >&6
35287 else
35290 ac_ext=cpp
35291 ac_cpp='$CXXCPP $CPPFLAGS'
35292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35297 /* end confdefs.h. */
35298 #include <math.h>
35299 #ifdef HAVE_IEEEFP_H
35300 #include <ieeefp.h>
35301 #endif
35304 main ()
35306 isinf(0);
35308 return 0;
35310 _ACEOF
35311 if ac_fn_cxx_try_compile "$LINENO"; then :
35312 glibcxx_cv_func_isinf_use=yes
35313 else
35314 glibcxx_cv_func_isinf_use=no
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317 ac_ext=c
35318 ac_cpp='$CPP $CPPFLAGS'
35319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35328 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35330 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35331 for ac_func in isinf
35332 do :
35333 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35334 if test "x$ac_cv_func_isinf" = x""yes; then :
35335 cat >>confdefs.h <<_ACEOF
35336 #define HAVE_ISINF 1
35337 _ACEOF
35340 done
35342 else
35344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35345 $as_echo_n "checking for _isinf declaration... " >&6; }
35346 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35347 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35348 $as_echo_n "(cached) " >&6
35349 else
35352 ac_ext=cpp
35353 ac_cpp='$CXXCPP $CPPFLAGS'
35354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35359 /* end confdefs.h. */
35360 #include <math.h>
35361 #ifdef HAVE_IEEEFP_H
35362 #include <ieeefp.h>
35363 #endif
35366 main ()
35368 _isinf(0);
35370 return 0;
35372 _ACEOF
35373 if ac_fn_cxx_try_compile "$LINENO"; then :
35374 glibcxx_cv_func__isinf_use=yes
35375 else
35376 glibcxx_cv_func__isinf_use=no
35378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35379 ac_ext=c
35380 ac_cpp='$CPP $CPPFLAGS'
35381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35390 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35392 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35393 for ac_func in _isinf
35394 do :
35395 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35396 if test "x$ac_cv_func__isinf" = x""yes; then :
35397 cat >>confdefs.h <<_ACEOF
35398 #define HAVE__ISINF 1
35399 _ACEOF
35402 done
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35412 $as_echo_n "checking for isnan declaration... " >&6; }
35413 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35414 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35415 $as_echo_n "(cached) " >&6
35416 else
35419 ac_ext=cpp
35420 ac_cpp='$CXXCPP $CPPFLAGS'
35421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35426 /* end confdefs.h. */
35427 #include <math.h>
35428 #ifdef HAVE_IEEEFP_H
35429 #include <ieeefp.h>
35430 #endif
35433 main ()
35435 isnan(0);
35437 return 0;
35439 _ACEOF
35440 if ac_fn_cxx_try_compile "$LINENO"; then :
35441 glibcxx_cv_func_isnan_use=yes
35442 else
35443 glibcxx_cv_func_isnan_use=no
35445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35446 ac_ext=c
35447 ac_cpp='$CPP $CPPFLAGS'
35448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35457 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35459 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35460 for ac_func in isnan
35461 do :
35462 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35463 if test "x$ac_cv_func_isnan" = x""yes; then :
35464 cat >>confdefs.h <<_ACEOF
35465 #define HAVE_ISNAN 1
35466 _ACEOF
35469 done
35471 else
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35474 $as_echo_n "checking for _isnan declaration... " >&6; }
35475 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35476 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35477 $as_echo_n "(cached) " >&6
35478 else
35481 ac_ext=cpp
35482 ac_cpp='$CXXCPP $CPPFLAGS'
35483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35488 /* end confdefs.h. */
35489 #include <math.h>
35490 #ifdef HAVE_IEEEFP_H
35491 #include <ieeefp.h>
35492 #endif
35495 main ()
35497 _isnan(0);
35499 return 0;
35501 _ACEOF
35502 if ac_fn_cxx_try_compile "$LINENO"; then :
35503 glibcxx_cv_func__isnan_use=yes
35504 else
35505 glibcxx_cv_func__isnan_use=no
35507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35508 ac_ext=c
35509 ac_cpp='$CPP $CPPFLAGS'
35510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35519 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35521 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35522 for ac_func in _isnan
35523 do :
35524 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35525 if test "x$ac_cv_func__isnan" = x""yes; then :
35526 cat >>confdefs.h <<_ACEOF
35527 #define HAVE__ISNAN 1
35528 _ACEOF
35531 done
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35541 $as_echo_n "checking for finite declaration... " >&6; }
35542 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35543 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35544 $as_echo_n "(cached) " >&6
35545 else
35548 ac_ext=cpp
35549 ac_cpp='$CXXCPP $CPPFLAGS'
35550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35555 /* end confdefs.h. */
35556 #include <math.h>
35557 #ifdef HAVE_IEEEFP_H
35558 #include <ieeefp.h>
35559 #endif
35562 main ()
35564 finite(0);
35566 return 0;
35568 _ACEOF
35569 if ac_fn_cxx_try_compile "$LINENO"; then :
35570 glibcxx_cv_func_finite_use=yes
35571 else
35572 glibcxx_cv_func_finite_use=no
35574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35575 ac_ext=c
35576 ac_cpp='$CPP $CPPFLAGS'
35577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35586 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35588 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35589 for ac_func in finite
35590 do :
35591 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35592 if test "x$ac_cv_func_finite" = x""yes; then :
35593 cat >>confdefs.h <<_ACEOF
35594 #define HAVE_FINITE 1
35595 _ACEOF
35598 done
35600 else
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35603 $as_echo_n "checking for _finite declaration... " >&6; }
35604 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35605 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35606 $as_echo_n "(cached) " >&6
35607 else
35610 ac_ext=cpp
35611 ac_cpp='$CXXCPP $CPPFLAGS'
35612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35617 /* end confdefs.h. */
35618 #include <math.h>
35619 #ifdef HAVE_IEEEFP_H
35620 #include <ieeefp.h>
35621 #endif
35624 main ()
35626 _finite(0);
35628 return 0;
35630 _ACEOF
35631 if ac_fn_cxx_try_compile "$LINENO"; then :
35632 glibcxx_cv_func__finite_use=yes
35633 else
35634 glibcxx_cv_func__finite_use=no
35636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 ac_ext=c
35638 ac_cpp='$CPP $CPPFLAGS'
35639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35648 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35650 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35651 for ac_func in _finite
35652 do :
35653 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35654 if test "x$ac_cv_func__finite" = x""yes; then :
35655 cat >>confdefs.h <<_ACEOF
35656 #define HAVE__FINITE 1
35657 _ACEOF
35660 done
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35670 $as_echo_n "checking for sincos declaration... " >&6; }
35671 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35672 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35673 $as_echo_n "(cached) " >&6
35674 else
35677 ac_ext=cpp
35678 ac_cpp='$CXXCPP $CPPFLAGS'
35679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35684 /* end confdefs.h. */
35685 #include <math.h>
35687 main ()
35689 sincos(0, 0, 0);
35691 return 0;
35693 _ACEOF
35694 if ac_fn_cxx_try_compile "$LINENO"; then :
35695 glibcxx_cv_func_sincos_use=yes
35696 else
35697 glibcxx_cv_func_sincos_use=no
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 ac_ext=c
35701 ac_cpp='$CPP $CPPFLAGS'
35702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35711 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35713 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35714 for ac_func in sincos
35715 do :
35716 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35717 if test "x$ac_cv_func_sincos" = x""yes; then :
35718 cat >>confdefs.h <<_ACEOF
35719 #define HAVE_SINCOS 1
35720 _ACEOF
35723 done
35725 else
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35728 $as_echo_n "checking for _sincos declaration... " >&6; }
35729 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35730 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35731 $as_echo_n "(cached) " >&6
35732 else
35735 ac_ext=cpp
35736 ac_cpp='$CXXCPP $CPPFLAGS'
35737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35742 /* end confdefs.h. */
35743 #include <math.h>
35745 main ()
35747 _sincos(0, 0, 0);
35749 return 0;
35751 _ACEOF
35752 if ac_fn_cxx_try_compile "$LINENO"; then :
35753 glibcxx_cv_func__sincos_use=yes
35754 else
35755 glibcxx_cv_func__sincos_use=no
35757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35758 ac_ext=c
35759 ac_cpp='$CPP $CPPFLAGS'
35760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35769 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35771 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35772 for ac_func in _sincos
35773 do :
35774 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35775 if test "x$ac_cv_func__sincos" = x""yes; then :
35776 cat >>confdefs.h <<_ACEOF
35777 #define HAVE__SINCOS 1
35778 _ACEOF
35781 done
35790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35791 $as_echo_n "checking for fpclass declaration... " >&6; }
35792 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35793 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35794 $as_echo_n "(cached) " >&6
35795 else
35798 ac_ext=cpp
35799 ac_cpp='$CXXCPP $CPPFLAGS'
35800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35805 /* end confdefs.h. */
35806 #include <math.h>
35807 #ifdef HAVE_IEEEFP_H
35808 #include <ieeefp.h>
35809 #endif
35812 main ()
35814 fpclass(0);
35816 return 0;
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 glibcxx_cv_func_fpclass_use=yes
35821 else
35822 glibcxx_cv_func_fpclass_use=no
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35836 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35838 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35839 for ac_func in fpclass
35840 do :
35841 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35842 if test "x$ac_cv_func_fpclass" = x""yes; then :
35843 cat >>confdefs.h <<_ACEOF
35844 #define HAVE_FPCLASS 1
35845 _ACEOF
35848 done
35850 else
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35853 $as_echo_n "checking for _fpclass declaration... " >&6; }
35854 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35855 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35856 $as_echo_n "(cached) " >&6
35857 else
35860 ac_ext=cpp
35861 ac_cpp='$CXXCPP $CPPFLAGS'
35862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35867 /* end confdefs.h. */
35868 #include <math.h>
35869 #ifdef HAVE_IEEEFP_H
35870 #include <ieeefp.h>
35871 #endif
35874 main ()
35876 _fpclass(0);
35878 return 0;
35880 _ACEOF
35881 if ac_fn_cxx_try_compile "$LINENO"; then :
35882 glibcxx_cv_func__fpclass_use=yes
35883 else
35884 glibcxx_cv_func__fpclass_use=no
35886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35887 ac_ext=c
35888 ac_cpp='$CPP $CPPFLAGS'
35889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35898 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35900 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35901 for ac_func in _fpclass
35902 do :
35903 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35904 if test "x$ac_cv_func__fpclass" = x""yes; then :
35905 cat >>confdefs.h <<_ACEOF
35906 #define HAVE__FPCLASS 1
35907 _ACEOF
35910 done
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35920 $as_echo_n "checking for qfpclass declaration... " >&6; }
35921 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35922 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35923 $as_echo_n "(cached) " >&6
35924 else
35927 ac_ext=cpp
35928 ac_cpp='$CXXCPP $CPPFLAGS'
35929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35934 /* end confdefs.h. */
35935 #include <math.h>
35936 #ifdef HAVE_IEEEFP_H
35937 #include <ieeefp.h>
35938 #endif
35941 main ()
35943 qfpclass(0);
35945 return 0;
35947 _ACEOF
35948 if ac_fn_cxx_try_compile "$LINENO"; then :
35949 glibcxx_cv_func_qfpclass_use=yes
35950 else
35951 glibcxx_cv_func_qfpclass_use=no
35953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35954 ac_ext=c
35955 ac_cpp='$CPP $CPPFLAGS'
35956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35965 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35967 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35968 for ac_func in qfpclass
35969 do :
35970 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35971 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35972 cat >>confdefs.h <<_ACEOF
35973 #define HAVE_QFPCLASS 1
35974 _ACEOF
35977 done
35979 else
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35982 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35983 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35984 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35985 $as_echo_n "(cached) " >&6
35986 else
35989 ac_ext=cpp
35990 ac_cpp='$CXXCPP $CPPFLAGS'
35991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35996 /* end confdefs.h. */
35997 #include <math.h>
35998 #ifdef HAVE_IEEEFP_H
35999 #include <ieeefp.h>
36000 #endif
36003 main ()
36005 _qfpclass(0);
36007 return 0;
36009 _ACEOF
36010 if ac_fn_cxx_try_compile "$LINENO"; then :
36011 glibcxx_cv_func__qfpclass_use=yes
36012 else
36013 glibcxx_cv_func__qfpclass_use=no
36015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36016 ac_ext=c
36017 ac_cpp='$CPP $CPPFLAGS'
36018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36027 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36029 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36030 for ac_func in _qfpclass
36031 do :
36032 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36033 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36034 cat >>confdefs.h <<_ACEOF
36035 #define HAVE__QFPCLASS 1
36036 _ACEOF
36039 done
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36049 $as_echo_n "checking for hypot declaration... " >&6; }
36050 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36051 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36052 $as_echo_n "(cached) " >&6
36053 else
36056 ac_ext=cpp
36057 ac_cpp='$CXXCPP $CPPFLAGS'
36058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36063 /* end confdefs.h. */
36064 #include <math.h>
36066 main ()
36068 hypot(0, 0);
36070 return 0;
36072 _ACEOF
36073 if ac_fn_cxx_try_compile "$LINENO"; then :
36074 glibcxx_cv_func_hypot_use=yes
36075 else
36076 glibcxx_cv_func_hypot_use=no
36078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36079 ac_ext=c
36080 ac_cpp='$CPP $CPPFLAGS'
36081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36090 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36092 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36093 for ac_func in hypot
36094 do :
36095 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36096 if test "x$ac_cv_func_hypot" = x""yes; then :
36097 cat >>confdefs.h <<_ACEOF
36098 #define HAVE_HYPOT 1
36099 _ACEOF
36102 done
36104 else
36106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36107 $as_echo_n "checking for _hypot declaration... " >&6; }
36108 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36109 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36110 $as_echo_n "(cached) " >&6
36111 else
36114 ac_ext=cpp
36115 ac_cpp='$CXXCPP $CPPFLAGS'
36116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36121 /* end confdefs.h. */
36122 #include <math.h>
36124 main ()
36126 _hypot(0, 0);
36128 return 0;
36130 _ACEOF
36131 if ac_fn_cxx_try_compile "$LINENO"; then :
36132 glibcxx_cv_func__hypot_use=yes
36133 else
36134 glibcxx_cv_func__hypot_use=no
36136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36137 ac_ext=c
36138 ac_cpp='$CPP $CPPFLAGS'
36139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36148 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36150 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36151 for ac_func in _hypot
36152 do :
36153 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36154 if test "x$ac_cv_func__hypot" = x""yes; then :
36155 cat >>confdefs.h <<_ACEOF
36156 #define HAVE__HYPOT 1
36157 _ACEOF
36160 done
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36170 $as_echo_n "checking for float trig functions... " >&6; }
36171 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36172 $as_echo_n "(cached) " >&6
36173 else
36176 ac_ext=cpp
36177 ac_cpp='$CXXCPP $CPPFLAGS'
36178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36183 /* end confdefs.h. */
36184 #include <math.h>
36186 main ()
36188 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36190 return 0;
36192 _ACEOF
36193 if ac_fn_cxx_try_compile "$LINENO"; then :
36194 glibcxx_cv_func_float_trig_use=yes
36195 else
36196 glibcxx_cv_func_float_trig_use=no
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36199 ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36208 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36209 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36210 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36211 do :
36212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36214 eval as_val=\$$as_ac_var
36215 if test "x$as_val" = x""yes; then :
36216 cat >>confdefs.h <<_ACEOF
36217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36218 _ACEOF
36221 done
36223 else
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36225 $as_echo_n "checking for _float trig functions... " >&6; }
36226 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36227 $as_echo_n "(cached) " >&6
36228 else
36231 ac_ext=cpp
36232 ac_cpp='$CXXCPP $CPPFLAGS'
36233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36238 /* end confdefs.h. */
36239 #include <math.h>
36241 main ()
36243 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36245 return 0;
36247 _ACEOF
36248 if ac_fn_cxx_try_compile "$LINENO"; then :
36249 glibcxx_cv_func__float_trig_use=yes
36250 else
36251 glibcxx_cv_func__float_trig_use=no
36253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36254 ac_ext=c
36255 ac_cpp='$CPP $CPPFLAGS'
36256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36263 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36264 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36265 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36266 do :
36267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36269 eval as_val=\$$as_ac_var
36270 if test "x$as_val" = x""yes; then :
36271 cat >>confdefs.h <<_ACEOF
36272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36273 _ACEOF
36276 done
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36286 $as_echo_n "checking for float round functions... " >&6; }
36287 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36288 $as_echo_n "(cached) " >&6
36289 else
36292 ac_ext=cpp
36293 ac_cpp='$CXXCPP $CPPFLAGS'
36294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299 /* end confdefs.h. */
36300 #include <math.h>
36302 main ()
36304 ceilf (0); floorf (0);
36306 return 0;
36308 _ACEOF
36309 if ac_fn_cxx_try_compile "$LINENO"; then :
36310 glibcxx_cv_func_float_round_use=yes
36311 else
36312 glibcxx_cv_func_float_round_use=no
36314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36315 ac_ext=c
36316 ac_cpp='$CPP $CPPFLAGS'
36317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36324 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36325 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36326 for ac_func in ceilf floorf
36327 do :
36328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36330 eval as_val=\$$as_ac_var
36331 if test "x$as_val" = x""yes; then :
36332 cat >>confdefs.h <<_ACEOF
36333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36334 _ACEOF
36337 done
36339 else
36340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36341 $as_echo_n "checking for _float round functions... " >&6; }
36342 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36343 $as_echo_n "(cached) " >&6
36344 else
36347 ac_ext=cpp
36348 ac_cpp='$CXXCPP $CPPFLAGS'
36349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36354 /* end confdefs.h. */
36355 #include <math.h>
36357 main ()
36359 _ceilf (0); _floorf (0);
36361 return 0;
36363 _ACEOF
36364 if ac_fn_cxx_try_compile "$LINENO"; then :
36365 glibcxx_cv_func__float_round_use=yes
36366 else
36367 glibcxx_cv_func__float_round_use=no
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36370 ac_ext=c
36371 ac_cpp='$CPP $CPPFLAGS'
36372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36379 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36380 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36381 for ac_func in _ceilf _floorf
36382 do :
36383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36385 eval as_val=\$$as_ac_var
36386 if test "x$as_val" = x""yes; then :
36387 cat >>confdefs.h <<_ACEOF
36388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36389 _ACEOF
36392 done
36402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36403 $as_echo_n "checking for expf declaration... " >&6; }
36404 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36405 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36406 $as_echo_n "(cached) " >&6
36407 else
36410 ac_ext=cpp
36411 ac_cpp='$CXXCPP $CPPFLAGS'
36412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36417 /* end confdefs.h. */
36418 #include <math.h>
36419 #ifdef HAVE_IEEEFP_H
36420 #include <ieeefp.h>
36421 #endif
36424 main ()
36426 expf(0);
36428 return 0;
36430 _ACEOF
36431 if ac_fn_cxx_try_compile "$LINENO"; then :
36432 glibcxx_cv_func_expf_use=yes
36433 else
36434 glibcxx_cv_func_expf_use=no
36436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36437 ac_ext=c
36438 ac_cpp='$CPP $CPPFLAGS'
36439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36448 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36450 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36451 for ac_func in expf
36452 do :
36453 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36454 if test "x$ac_cv_func_expf" = x""yes; then :
36455 cat >>confdefs.h <<_ACEOF
36456 #define HAVE_EXPF 1
36457 _ACEOF
36460 done
36462 else
36464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36465 $as_echo_n "checking for _expf declaration... " >&6; }
36466 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36467 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36468 $as_echo_n "(cached) " >&6
36469 else
36472 ac_ext=cpp
36473 ac_cpp='$CXXCPP $CPPFLAGS'
36474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36479 /* end confdefs.h. */
36480 #include <math.h>
36481 #ifdef HAVE_IEEEFP_H
36482 #include <ieeefp.h>
36483 #endif
36486 main ()
36488 _expf(0);
36490 return 0;
36492 _ACEOF
36493 if ac_fn_cxx_try_compile "$LINENO"; then :
36494 glibcxx_cv_func__expf_use=yes
36495 else
36496 glibcxx_cv_func__expf_use=no
36498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36499 ac_ext=c
36500 ac_cpp='$CPP $CPPFLAGS'
36501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36510 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36512 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36513 for ac_func in _expf
36514 do :
36515 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36516 if test "x$ac_cv_func__expf" = x""yes; then :
36517 cat >>confdefs.h <<_ACEOF
36518 #define HAVE__EXPF 1
36519 _ACEOF
36522 done
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36532 $as_echo_n "checking for isnanf declaration... " >&6; }
36533 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36534 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36535 $as_echo_n "(cached) " >&6
36536 else
36539 ac_ext=cpp
36540 ac_cpp='$CXXCPP $CPPFLAGS'
36541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36546 /* end confdefs.h. */
36547 #include <math.h>
36548 #ifdef HAVE_IEEEFP_H
36549 #include <ieeefp.h>
36550 #endif
36553 main ()
36555 isnanf(0);
36557 return 0;
36559 _ACEOF
36560 if ac_fn_cxx_try_compile "$LINENO"; then :
36561 glibcxx_cv_func_isnanf_use=yes
36562 else
36563 glibcxx_cv_func_isnanf_use=no
36565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36566 ac_ext=c
36567 ac_cpp='$CPP $CPPFLAGS'
36568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36577 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36579 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36580 for ac_func in isnanf
36581 do :
36582 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36583 if test "x$ac_cv_func_isnanf" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define HAVE_ISNANF 1
36586 _ACEOF
36589 done
36591 else
36593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36594 $as_echo_n "checking for _isnanf declaration... " >&6; }
36595 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36596 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36597 $as_echo_n "(cached) " >&6
36598 else
36601 ac_ext=cpp
36602 ac_cpp='$CXXCPP $CPPFLAGS'
36603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36608 /* end confdefs.h. */
36609 #include <math.h>
36610 #ifdef HAVE_IEEEFP_H
36611 #include <ieeefp.h>
36612 #endif
36615 main ()
36617 _isnanf(0);
36619 return 0;
36621 _ACEOF
36622 if ac_fn_cxx_try_compile "$LINENO"; then :
36623 glibcxx_cv_func__isnanf_use=yes
36624 else
36625 glibcxx_cv_func__isnanf_use=no
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36628 ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36639 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36641 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36642 for ac_func in _isnanf
36643 do :
36644 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36645 if test "x$ac_cv_func__isnanf" = x""yes; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define HAVE__ISNANF 1
36648 _ACEOF
36651 done
36660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36661 $as_echo_n "checking for isinff declaration... " >&6; }
36662 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36663 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36664 $as_echo_n "(cached) " >&6
36665 else
36668 ac_ext=cpp
36669 ac_cpp='$CXXCPP $CPPFLAGS'
36670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36675 /* end confdefs.h. */
36676 #include <math.h>
36677 #ifdef HAVE_IEEEFP_H
36678 #include <ieeefp.h>
36679 #endif
36682 main ()
36684 isinff(0);
36686 return 0;
36688 _ACEOF
36689 if ac_fn_cxx_try_compile "$LINENO"; then :
36690 glibcxx_cv_func_isinff_use=yes
36691 else
36692 glibcxx_cv_func_isinff_use=no
36694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36695 ac_ext=c
36696 ac_cpp='$CPP $CPPFLAGS'
36697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36706 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36708 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36709 for ac_func in isinff
36710 do :
36711 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36712 if test "x$ac_cv_func_isinff" = x""yes; then :
36713 cat >>confdefs.h <<_ACEOF
36714 #define HAVE_ISINFF 1
36715 _ACEOF
36718 done
36720 else
36722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36723 $as_echo_n "checking for _isinff declaration... " >&6; }
36724 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36725 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36726 $as_echo_n "(cached) " >&6
36727 else
36730 ac_ext=cpp
36731 ac_cpp='$CXXCPP $CPPFLAGS'
36732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36737 /* end confdefs.h. */
36738 #include <math.h>
36739 #ifdef HAVE_IEEEFP_H
36740 #include <ieeefp.h>
36741 #endif
36744 main ()
36746 _isinff(0);
36748 return 0;
36750 _ACEOF
36751 if ac_fn_cxx_try_compile "$LINENO"; then :
36752 glibcxx_cv_func__isinff_use=yes
36753 else
36754 glibcxx_cv_func__isinff_use=no
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36768 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36770 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36771 for ac_func in _isinff
36772 do :
36773 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36774 if test "x$ac_cv_func__isinff" = x""yes; then :
36775 cat >>confdefs.h <<_ACEOF
36776 #define HAVE__ISINFF 1
36777 _ACEOF
36780 done
36789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36790 $as_echo_n "checking for atan2f declaration... " >&6; }
36791 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36792 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36793 $as_echo_n "(cached) " >&6
36794 else
36797 ac_ext=cpp
36798 ac_cpp='$CXXCPP $CPPFLAGS'
36799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36804 /* end confdefs.h. */
36805 #include <math.h>
36807 main ()
36809 atan2f(0, 0);
36811 return 0;
36813 _ACEOF
36814 if ac_fn_cxx_try_compile "$LINENO"; then :
36815 glibcxx_cv_func_atan2f_use=yes
36816 else
36817 glibcxx_cv_func_atan2f_use=no
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 ac_ext=c
36821 ac_cpp='$CPP $CPPFLAGS'
36822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36831 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36833 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36834 for ac_func in atan2f
36835 do :
36836 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36837 if test "x$ac_cv_func_atan2f" = x""yes; then :
36838 cat >>confdefs.h <<_ACEOF
36839 #define HAVE_ATAN2F 1
36840 _ACEOF
36843 done
36845 else
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36848 $as_echo_n "checking for _atan2f declaration... " >&6; }
36849 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36850 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36851 $as_echo_n "(cached) " >&6
36852 else
36855 ac_ext=cpp
36856 ac_cpp='$CXXCPP $CPPFLAGS'
36857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36862 /* end confdefs.h. */
36863 #include <math.h>
36865 main ()
36867 _atan2f(0, 0);
36869 return 0;
36871 _ACEOF
36872 if ac_fn_cxx_try_compile "$LINENO"; then :
36873 glibcxx_cv_func__atan2f_use=yes
36874 else
36875 glibcxx_cv_func__atan2f_use=no
36877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36878 ac_ext=c
36879 ac_cpp='$CPP $CPPFLAGS'
36880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36889 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36891 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36892 for ac_func in _atan2f
36893 do :
36894 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36895 if test "x$ac_cv_func__atan2f" = x""yes; then :
36896 cat >>confdefs.h <<_ACEOF
36897 #define HAVE__ATAN2F 1
36898 _ACEOF
36901 done
36910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36911 $as_echo_n "checking for fabsf declaration... " >&6; }
36912 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36913 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36914 $as_echo_n "(cached) " >&6
36915 else
36918 ac_ext=cpp
36919 ac_cpp='$CXXCPP $CPPFLAGS'
36920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36925 /* end confdefs.h. */
36926 #include <math.h>
36927 #ifdef HAVE_IEEEFP_H
36928 #include <ieeefp.h>
36929 #endif
36932 main ()
36934 fabsf(0);
36936 return 0;
36938 _ACEOF
36939 if ac_fn_cxx_try_compile "$LINENO"; then :
36940 glibcxx_cv_func_fabsf_use=yes
36941 else
36942 glibcxx_cv_func_fabsf_use=no
36944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36945 ac_ext=c
36946 ac_cpp='$CPP $CPPFLAGS'
36947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36956 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36958 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36959 for ac_func in fabsf
36960 do :
36961 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36962 if test "x$ac_cv_func_fabsf" = x""yes; then :
36963 cat >>confdefs.h <<_ACEOF
36964 #define HAVE_FABSF 1
36965 _ACEOF
36968 done
36970 else
36972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36973 $as_echo_n "checking for _fabsf declaration... " >&6; }
36974 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36975 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36976 $as_echo_n "(cached) " >&6
36977 else
36980 ac_ext=cpp
36981 ac_cpp='$CXXCPP $CPPFLAGS'
36982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36987 /* end confdefs.h. */
36988 #include <math.h>
36989 #ifdef HAVE_IEEEFP_H
36990 #include <ieeefp.h>
36991 #endif
36994 main ()
36996 _fabsf(0);
36998 return 0;
37000 _ACEOF
37001 if ac_fn_cxx_try_compile "$LINENO"; then :
37002 glibcxx_cv_func__fabsf_use=yes
37003 else
37004 glibcxx_cv_func__fabsf_use=no
37006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37007 ac_ext=c
37008 ac_cpp='$CPP $CPPFLAGS'
37009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37018 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37020 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37021 for ac_func in _fabsf
37022 do :
37023 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37024 if test "x$ac_cv_func__fabsf" = x""yes; then :
37025 cat >>confdefs.h <<_ACEOF
37026 #define HAVE__FABSF 1
37027 _ACEOF
37030 done
37039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37040 $as_echo_n "checking for fmodf declaration... " >&6; }
37041 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37042 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37043 $as_echo_n "(cached) " >&6
37044 else
37047 ac_ext=cpp
37048 ac_cpp='$CXXCPP $CPPFLAGS'
37049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37054 /* end confdefs.h. */
37055 #include <math.h>
37057 main ()
37059 fmodf(0, 0);
37061 return 0;
37063 _ACEOF
37064 if ac_fn_cxx_try_compile "$LINENO"; then :
37065 glibcxx_cv_func_fmodf_use=yes
37066 else
37067 glibcxx_cv_func_fmodf_use=no
37069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37070 ac_ext=c
37071 ac_cpp='$CPP $CPPFLAGS'
37072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37081 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37083 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37084 for ac_func in fmodf
37085 do :
37086 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37087 if test "x$ac_cv_func_fmodf" = x""yes; then :
37088 cat >>confdefs.h <<_ACEOF
37089 #define HAVE_FMODF 1
37090 _ACEOF
37093 done
37095 else
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37098 $as_echo_n "checking for _fmodf declaration... " >&6; }
37099 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37100 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37101 $as_echo_n "(cached) " >&6
37102 else
37105 ac_ext=cpp
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h. */
37113 #include <math.h>
37115 main ()
37117 _fmodf(0, 0);
37119 return 0;
37121 _ACEOF
37122 if ac_fn_cxx_try_compile "$LINENO"; then :
37123 glibcxx_cv_func__fmodf_use=yes
37124 else
37125 glibcxx_cv_func__fmodf_use=no
37127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37128 ac_ext=c
37129 ac_cpp='$CPP $CPPFLAGS'
37130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37139 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37141 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37142 for ac_func in _fmodf
37143 do :
37144 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37145 if test "x$ac_cv_func__fmodf" = x""yes; then :
37146 cat >>confdefs.h <<_ACEOF
37147 #define HAVE__FMODF 1
37148 _ACEOF
37151 done
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37161 $as_echo_n "checking for frexpf declaration... " >&6; }
37162 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37163 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37164 $as_echo_n "(cached) " >&6
37165 else
37168 ac_ext=cpp
37169 ac_cpp='$CXXCPP $CPPFLAGS'
37170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37175 /* end confdefs.h. */
37176 #include <math.h>
37178 main ()
37180 frexpf(0, 0);
37182 return 0;
37184 _ACEOF
37185 if ac_fn_cxx_try_compile "$LINENO"; then :
37186 glibcxx_cv_func_frexpf_use=yes
37187 else
37188 glibcxx_cv_func_frexpf_use=no
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37191 ac_ext=c
37192 ac_cpp='$CPP $CPPFLAGS'
37193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37202 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37204 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37205 for ac_func in frexpf
37206 do :
37207 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37208 if test "x$ac_cv_func_frexpf" = x""yes; then :
37209 cat >>confdefs.h <<_ACEOF
37210 #define HAVE_FREXPF 1
37211 _ACEOF
37214 done
37216 else
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37219 $as_echo_n "checking for _frexpf declaration... " >&6; }
37220 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37221 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37222 $as_echo_n "(cached) " >&6
37223 else
37226 ac_ext=cpp
37227 ac_cpp='$CXXCPP $CPPFLAGS'
37228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37233 /* end confdefs.h. */
37234 #include <math.h>
37236 main ()
37238 _frexpf(0, 0);
37240 return 0;
37242 _ACEOF
37243 if ac_fn_cxx_try_compile "$LINENO"; then :
37244 glibcxx_cv_func__frexpf_use=yes
37245 else
37246 glibcxx_cv_func__frexpf_use=no
37248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37249 ac_ext=c
37250 ac_cpp='$CPP $CPPFLAGS'
37251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37260 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37262 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37263 for ac_func in _frexpf
37264 do :
37265 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37266 if test "x$ac_cv_func__frexpf" = x""yes; then :
37267 cat >>confdefs.h <<_ACEOF
37268 #define HAVE__FREXPF 1
37269 _ACEOF
37272 done
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37282 $as_echo_n "checking for hypotf declaration... " >&6; }
37283 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37284 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37285 $as_echo_n "(cached) " >&6
37286 else
37289 ac_ext=cpp
37290 ac_cpp='$CXXCPP $CPPFLAGS'
37291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37296 /* end confdefs.h. */
37297 #include <math.h>
37299 main ()
37301 hypotf(0, 0);
37303 return 0;
37305 _ACEOF
37306 if ac_fn_cxx_try_compile "$LINENO"; then :
37307 glibcxx_cv_func_hypotf_use=yes
37308 else
37309 glibcxx_cv_func_hypotf_use=no
37311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37312 ac_ext=c
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37323 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37325 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37326 for ac_func in hypotf
37327 do :
37328 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37329 if test "x$ac_cv_func_hypotf" = x""yes; then :
37330 cat >>confdefs.h <<_ACEOF
37331 #define HAVE_HYPOTF 1
37332 _ACEOF
37335 done
37337 else
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37340 $as_echo_n "checking for _hypotf declaration... " >&6; }
37341 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37342 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37343 $as_echo_n "(cached) " >&6
37344 else
37347 ac_ext=cpp
37348 ac_cpp='$CXXCPP $CPPFLAGS'
37349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37354 /* end confdefs.h. */
37355 #include <math.h>
37357 main ()
37359 _hypotf(0, 0);
37361 return 0;
37363 _ACEOF
37364 if ac_fn_cxx_try_compile "$LINENO"; then :
37365 glibcxx_cv_func__hypotf_use=yes
37366 else
37367 glibcxx_cv_func__hypotf_use=no
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 ac_ext=c
37371 ac_cpp='$CPP $CPPFLAGS'
37372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37381 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37383 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37384 for ac_func in _hypotf
37385 do :
37386 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37387 if test "x$ac_cv_func__hypotf" = x""yes; then :
37388 cat >>confdefs.h <<_ACEOF
37389 #define HAVE__HYPOTF 1
37390 _ACEOF
37393 done
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37403 $as_echo_n "checking for ldexpf declaration... " >&6; }
37404 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37405 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37406 $as_echo_n "(cached) " >&6
37407 else
37410 ac_ext=cpp
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37417 /* end confdefs.h. */
37418 #include <math.h>
37420 main ()
37422 ldexpf(0, 0);
37424 return 0;
37426 _ACEOF
37427 if ac_fn_cxx_try_compile "$LINENO"; then :
37428 glibcxx_cv_func_ldexpf_use=yes
37429 else
37430 glibcxx_cv_func_ldexpf_use=no
37432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37433 ac_ext=c
37434 ac_cpp='$CPP $CPPFLAGS'
37435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37444 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37446 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37447 for ac_func in ldexpf
37448 do :
37449 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37450 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37451 cat >>confdefs.h <<_ACEOF
37452 #define HAVE_LDEXPF 1
37453 _ACEOF
37456 done
37458 else
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37461 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37462 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37463 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37478 main ()
37480 _ldexpf(0, 0);
37482 return 0;
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func__ldexpf_use=yes
37487 else
37488 glibcxx_cv_func__ldexpf_use=no
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37502 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37504 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37505 for ac_func in _ldexpf
37506 do :
37507 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37508 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37509 cat >>confdefs.h <<_ACEOF
37510 #define HAVE__LDEXPF 1
37511 _ACEOF
37514 done
37523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37524 $as_echo_n "checking for logf declaration... " >&6; }
37525 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37526 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37527 $as_echo_n "(cached) " >&6
37528 else
37531 ac_ext=cpp
37532 ac_cpp='$CXXCPP $CPPFLAGS'
37533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37538 /* end confdefs.h. */
37539 #include <math.h>
37540 #ifdef HAVE_IEEEFP_H
37541 #include <ieeefp.h>
37542 #endif
37545 main ()
37547 logf(0);
37549 return 0;
37551 _ACEOF
37552 if ac_fn_cxx_try_compile "$LINENO"; then :
37553 glibcxx_cv_func_logf_use=yes
37554 else
37555 glibcxx_cv_func_logf_use=no
37557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37558 ac_ext=c
37559 ac_cpp='$CPP $CPPFLAGS'
37560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37569 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37571 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37572 for ac_func in logf
37573 do :
37574 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37575 if test "x$ac_cv_func_logf" = x""yes; then :
37576 cat >>confdefs.h <<_ACEOF
37577 #define HAVE_LOGF 1
37578 _ACEOF
37581 done
37583 else
37585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37586 $as_echo_n "checking for _logf declaration... " >&6; }
37587 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37588 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37589 $as_echo_n "(cached) " >&6
37590 else
37593 ac_ext=cpp
37594 ac_cpp='$CXXCPP $CPPFLAGS'
37595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37600 /* end confdefs.h. */
37601 #include <math.h>
37602 #ifdef HAVE_IEEEFP_H
37603 #include <ieeefp.h>
37604 #endif
37607 main ()
37609 _logf(0);
37611 return 0;
37613 _ACEOF
37614 if ac_fn_cxx_try_compile "$LINENO"; then :
37615 glibcxx_cv_func__logf_use=yes
37616 else
37617 glibcxx_cv_func__logf_use=no
37619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37620 ac_ext=c
37621 ac_cpp='$CPP $CPPFLAGS'
37622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37631 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37633 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37634 for ac_func in _logf
37635 do :
37636 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37637 if test "x$ac_cv_func__logf" = x""yes; then :
37638 cat >>confdefs.h <<_ACEOF
37639 #define HAVE__LOGF 1
37640 _ACEOF
37643 done
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37653 $as_echo_n "checking for log10f declaration... " >&6; }
37654 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37655 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37656 $as_echo_n "(cached) " >&6
37657 else
37660 ac_ext=cpp
37661 ac_cpp='$CXXCPP $CPPFLAGS'
37662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37667 /* end confdefs.h. */
37668 #include <math.h>
37669 #ifdef HAVE_IEEEFP_H
37670 #include <ieeefp.h>
37671 #endif
37674 main ()
37676 log10f(0);
37678 return 0;
37680 _ACEOF
37681 if ac_fn_cxx_try_compile "$LINENO"; then :
37682 glibcxx_cv_func_log10f_use=yes
37683 else
37684 glibcxx_cv_func_log10f_use=no
37686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37687 ac_ext=c
37688 ac_cpp='$CPP $CPPFLAGS'
37689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37698 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37700 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37701 for ac_func in log10f
37702 do :
37703 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37704 if test "x$ac_cv_func_log10f" = x""yes; then :
37705 cat >>confdefs.h <<_ACEOF
37706 #define HAVE_LOG10F 1
37707 _ACEOF
37710 done
37712 else
37714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37715 $as_echo_n "checking for _log10f declaration... " >&6; }
37716 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37717 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37718 $as_echo_n "(cached) " >&6
37719 else
37722 ac_ext=cpp
37723 ac_cpp='$CXXCPP $CPPFLAGS'
37724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37729 /* end confdefs.h. */
37730 #include <math.h>
37731 #ifdef HAVE_IEEEFP_H
37732 #include <ieeefp.h>
37733 #endif
37736 main ()
37738 _log10f(0);
37740 return 0;
37742 _ACEOF
37743 if ac_fn_cxx_try_compile "$LINENO"; then :
37744 glibcxx_cv_func__log10f_use=yes
37745 else
37746 glibcxx_cv_func__log10f_use=no
37748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37749 ac_ext=c
37750 ac_cpp='$CPP $CPPFLAGS'
37751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37760 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37762 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37763 for ac_func in _log10f
37764 do :
37765 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37766 if test "x$ac_cv_func__log10f" = x""yes; then :
37767 cat >>confdefs.h <<_ACEOF
37768 #define HAVE__LOG10F 1
37769 _ACEOF
37772 done
37781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37782 $as_echo_n "checking for modff declaration... " >&6; }
37783 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37784 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37785 $as_echo_n "(cached) " >&6
37786 else
37789 ac_ext=cpp
37790 ac_cpp='$CXXCPP $CPPFLAGS'
37791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37796 /* end confdefs.h. */
37797 #include <math.h>
37799 main ()
37801 modff(0, 0);
37803 return 0;
37805 _ACEOF
37806 if ac_fn_cxx_try_compile "$LINENO"; then :
37807 glibcxx_cv_func_modff_use=yes
37808 else
37809 glibcxx_cv_func_modff_use=no
37811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37812 ac_ext=c
37813 ac_cpp='$CPP $CPPFLAGS'
37814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37823 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37825 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37826 for ac_func in modff
37827 do :
37828 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37829 if test "x$ac_cv_func_modff" = x""yes; then :
37830 cat >>confdefs.h <<_ACEOF
37831 #define HAVE_MODFF 1
37832 _ACEOF
37835 done
37837 else
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37840 $as_echo_n "checking for _modff declaration... " >&6; }
37841 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37842 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37843 $as_echo_n "(cached) " >&6
37844 else
37847 ac_ext=cpp
37848 ac_cpp='$CXXCPP $CPPFLAGS'
37849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37854 /* end confdefs.h. */
37855 #include <math.h>
37857 main ()
37859 _modff(0, 0);
37861 return 0;
37863 _ACEOF
37864 if ac_fn_cxx_try_compile "$LINENO"; then :
37865 glibcxx_cv_func__modff_use=yes
37866 else
37867 glibcxx_cv_func__modff_use=no
37869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37870 ac_ext=c
37871 ac_cpp='$CPP $CPPFLAGS'
37872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37881 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37883 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37884 for ac_func in _modff
37885 do :
37886 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37887 if test "x$ac_cv_func__modff" = x""yes; then :
37888 cat >>confdefs.h <<_ACEOF
37889 #define HAVE__MODFF 1
37890 _ACEOF
37893 done
37902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37903 $as_echo_n "checking for modf declaration... " >&6; }
37904 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37905 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37906 $as_echo_n "(cached) " >&6
37907 else
37910 ac_ext=cpp
37911 ac_cpp='$CXXCPP $CPPFLAGS'
37912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37917 /* end confdefs.h. */
37918 #include <math.h>
37920 main ()
37922 modf(0, 0);
37924 return 0;
37926 _ACEOF
37927 if ac_fn_cxx_try_compile "$LINENO"; then :
37928 glibcxx_cv_func_modf_use=yes
37929 else
37930 glibcxx_cv_func_modf_use=no
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 ac_ext=c
37934 ac_cpp='$CPP $CPPFLAGS'
37935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37944 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37946 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37947 for ac_func in modf
37948 do :
37949 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37950 if test "x$ac_cv_func_modf" = x""yes; then :
37951 cat >>confdefs.h <<_ACEOF
37952 #define HAVE_MODF 1
37953 _ACEOF
37956 done
37958 else
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37961 $as_echo_n "checking for _modf declaration... " >&6; }
37962 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37963 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37964 $as_echo_n "(cached) " >&6
37965 else
37968 ac_ext=cpp
37969 ac_cpp='$CXXCPP $CPPFLAGS'
37970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37975 /* end confdefs.h. */
37976 #include <math.h>
37978 main ()
37980 _modf(0, 0);
37982 return 0;
37984 _ACEOF
37985 if ac_fn_cxx_try_compile "$LINENO"; then :
37986 glibcxx_cv_func__modf_use=yes
37987 else
37988 glibcxx_cv_func__modf_use=no
37990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_ext=c
37992 ac_cpp='$CPP $CPPFLAGS'
37993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38002 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38004 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38005 for ac_func in _modf
38006 do :
38007 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38008 if test "x$ac_cv_func__modf" = x""yes; then :
38009 cat >>confdefs.h <<_ACEOF
38010 #define HAVE__MODF 1
38011 _ACEOF
38014 done
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38024 $as_echo_n "checking for powf declaration... " >&6; }
38025 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38026 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38027 $as_echo_n "(cached) " >&6
38028 else
38031 ac_ext=cpp
38032 ac_cpp='$CXXCPP $CPPFLAGS'
38033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38038 /* end confdefs.h. */
38039 #include <math.h>
38041 main ()
38043 powf(0, 0);
38045 return 0;
38047 _ACEOF
38048 if ac_fn_cxx_try_compile "$LINENO"; then :
38049 glibcxx_cv_func_powf_use=yes
38050 else
38051 glibcxx_cv_func_powf_use=no
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38054 ac_ext=c
38055 ac_cpp='$CPP $CPPFLAGS'
38056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38065 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38067 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38068 for ac_func in powf
38069 do :
38070 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38071 if test "x$ac_cv_func_powf" = x""yes; then :
38072 cat >>confdefs.h <<_ACEOF
38073 #define HAVE_POWF 1
38074 _ACEOF
38077 done
38079 else
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38082 $as_echo_n "checking for _powf declaration... " >&6; }
38083 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38084 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38085 $as_echo_n "(cached) " >&6
38086 else
38089 ac_ext=cpp
38090 ac_cpp='$CXXCPP $CPPFLAGS'
38091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38096 /* end confdefs.h. */
38097 #include <math.h>
38099 main ()
38101 _powf(0, 0);
38103 return 0;
38105 _ACEOF
38106 if ac_fn_cxx_try_compile "$LINENO"; then :
38107 glibcxx_cv_func__powf_use=yes
38108 else
38109 glibcxx_cv_func__powf_use=no
38111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 ac_ext=c
38113 ac_cpp='$CPP $CPPFLAGS'
38114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38123 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38125 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38126 for ac_func in _powf
38127 do :
38128 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38129 if test "x$ac_cv_func__powf" = x""yes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE__POWF 1
38132 _ACEOF
38135 done
38144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38145 $as_echo_n "checking for sqrtf declaration... " >&6; }
38146 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38147 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38148 $as_echo_n "(cached) " >&6
38149 else
38152 ac_ext=cpp
38153 ac_cpp='$CXXCPP $CPPFLAGS'
38154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38159 /* end confdefs.h. */
38160 #include <math.h>
38161 #ifdef HAVE_IEEEFP_H
38162 #include <ieeefp.h>
38163 #endif
38166 main ()
38168 sqrtf(0);
38170 return 0;
38172 _ACEOF
38173 if ac_fn_cxx_try_compile "$LINENO"; then :
38174 glibcxx_cv_func_sqrtf_use=yes
38175 else
38176 glibcxx_cv_func_sqrtf_use=no
38178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38179 ac_ext=c
38180 ac_cpp='$CPP $CPPFLAGS'
38181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38190 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38192 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38193 for ac_func in sqrtf
38194 do :
38195 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38196 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38197 cat >>confdefs.h <<_ACEOF
38198 #define HAVE_SQRTF 1
38199 _ACEOF
38202 done
38204 else
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38207 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38208 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38209 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38210 $as_echo_n "(cached) " >&6
38211 else
38214 ac_ext=cpp
38215 ac_cpp='$CXXCPP $CPPFLAGS'
38216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38221 /* end confdefs.h. */
38222 #include <math.h>
38223 #ifdef HAVE_IEEEFP_H
38224 #include <ieeefp.h>
38225 #endif
38228 main ()
38230 _sqrtf(0);
38232 return 0;
38234 _ACEOF
38235 if ac_fn_cxx_try_compile "$LINENO"; then :
38236 glibcxx_cv_func__sqrtf_use=yes
38237 else
38238 glibcxx_cv_func__sqrtf_use=no
38240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38241 ac_ext=c
38242 ac_cpp='$CPP $CPPFLAGS'
38243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38252 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38254 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38255 for ac_func in _sqrtf
38256 do :
38257 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38258 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38259 cat >>confdefs.h <<_ACEOF
38260 #define HAVE__SQRTF 1
38261 _ACEOF
38264 done
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38274 $as_echo_n "checking for sincosf declaration... " >&6; }
38275 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38276 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38277 $as_echo_n "(cached) " >&6
38278 else
38281 ac_ext=cpp
38282 ac_cpp='$CXXCPP $CPPFLAGS'
38283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38288 /* end confdefs.h. */
38289 #include <math.h>
38291 main ()
38293 sincosf(0, 0, 0);
38295 return 0;
38297 _ACEOF
38298 if ac_fn_cxx_try_compile "$LINENO"; then :
38299 glibcxx_cv_func_sincosf_use=yes
38300 else
38301 glibcxx_cv_func_sincosf_use=no
38303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38304 ac_ext=c
38305 ac_cpp='$CPP $CPPFLAGS'
38306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38315 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38317 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38318 for ac_func in sincosf
38319 do :
38320 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38321 if test "x$ac_cv_func_sincosf" = x""yes; then :
38322 cat >>confdefs.h <<_ACEOF
38323 #define HAVE_SINCOSF 1
38324 _ACEOF
38327 done
38329 else
38331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38332 $as_echo_n "checking for _sincosf declaration... " >&6; }
38333 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38334 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38335 $as_echo_n "(cached) " >&6
38336 else
38339 ac_ext=cpp
38340 ac_cpp='$CXXCPP $CPPFLAGS'
38341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38346 /* end confdefs.h. */
38347 #include <math.h>
38349 main ()
38351 _sincosf(0, 0, 0);
38353 return 0;
38355 _ACEOF
38356 if ac_fn_cxx_try_compile "$LINENO"; then :
38357 glibcxx_cv_func__sincosf_use=yes
38358 else
38359 glibcxx_cv_func__sincosf_use=no
38361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38362 ac_ext=c
38363 ac_cpp='$CPP $CPPFLAGS'
38364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38373 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38375 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38376 for ac_func in _sincosf
38377 do :
38378 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38379 if test "x$ac_cv_func__sincosf" = x""yes; then :
38380 cat >>confdefs.h <<_ACEOF
38381 #define HAVE__SINCOSF 1
38382 _ACEOF
38385 done
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38395 $as_echo_n "checking for finitef declaration... " >&6; }
38396 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38397 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38398 $as_echo_n "(cached) " >&6
38399 else
38402 ac_ext=cpp
38403 ac_cpp='$CXXCPP $CPPFLAGS'
38404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38409 /* end confdefs.h. */
38410 #include <math.h>
38411 #ifdef HAVE_IEEEFP_H
38412 #include <ieeefp.h>
38413 #endif
38416 main ()
38418 finitef(0);
38420 return 0;
38422 _ACEOF
38423 if ac_fn_cxx_try_compile "$LINENO"; then :
38424 glibcxx_cv_func_finitef_use=yes
38425 else
38426 glibcxx_cv_func_finitef_use=no
38428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38429 ac_ext=c
38430 ac_cpp='$CPP $CPPFLAGS'
38431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38440 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38442 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38443 for ac_func in finitef
38444 do :
38445 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38446 if test "x$ac_cv_func_finitef" = x""yes; then :
38447 cat >>confdefs.h <<_ACEOF
38448 #define HAVE_FINITEF 1
38449 _ACEOF
38452 done
38454 else
38456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38457 $as_echo_n "checking for _finitef declaration... " >&6; }
38458 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38459 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38460 $as_echo_n "(cached) " >&6
38461 else
38464 ac_ext=cpp
38465 ac_cpp='$CXXCPP $CPPFLAGS'
38466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38471 /* end confdefs.h. */
38472 #include <math.h>
38473 #ifdef HAVE_IEEEFP_H
38474 #include <ieeefp.h>
38475 #endif
38478 main ()
38480 _finitef(0);
38482 return 0;
38484 _ACEOF
38485 if ac_fn_cxx_try_compile "$LINENO"; then :
38486 glibcxx_cv_func__finitef_use=yes
38487 else
38488 glibcxx_cv_func__finitef_use=no
38490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38491 ac_ext=c
38492 ac_cpp='$CPP $CPPFLAGS'
38493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38502 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38504 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38505 for ac_func in _finitef
38506 do :
38507 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38508 if test "x$ac_cv_func__finitef" = x""yes; then :
38509 cat >>confdefs.h <<_ACEOF
38510 #define HAVE__FINITEF 1
38511 _ACEOF
38514 done
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38524 $as_echo_n "checking for long double trig functions... " >&6; }
38525 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38526 $as_echo_n "(cached) " >&6
38527 else
38530 ac_ext=cpp
38531 ac_cpp='$CXXCPP $CPPFLAGS'
38532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38537 /* end confdefs.h. */
38538 #include <math.h>
38540 main ()
38542 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38544 return 0;
38546 _ACEOF
38547 if ac_fn_cxx_try_compile "$LINENO"; then :
38548 glibcxx_cv_func_long_double_trig_use=yes
38549 else
38550 glibcxx_cv_func_long_double_trig_use=no
38552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38553 ac_ext=c
38554 ac_cpp='$CPP $CPPFLAGS'
38555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38562 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38563 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38564 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38565 do :
38566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38568 eval as_val=\$$as_ac_var
38569 if test "x$as_val" = x""yes; then :
38570 cat >>confdefs.h <<_ACEOF
38571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38572 _ACEOF
38575 done
38577 else
38578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38579 $as_echo_n "checking for _long double trig functions... " >&6; }
38580 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38581 $as_echo_n "(cached) " >&6
38582 else
38585 ac_ext=cpp
38586 ac_cpp='$CXXCPP $CPPFLAGS'
38587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38592 /* end confdefs.h. */
38593 #include <math.h>
38595 main ()
38597 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38599 return 0;
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__long_double_trig_use=yes
38604 else
38605 glibcxx_cv_func__long_double_trig_use=no
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38617 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38618 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38619 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38620 do :
38621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38623 eval as_val=\$$as_ac_var
38624 if test "x$as_val" = x""yes; then :
38625 cat >>confdefs.h <<_ACEOF
38626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38627 _ACEOF
38630 done
38639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38640 $as_echo_n "checking for long double round functions... " >&6; }
38641 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38642 $as_echo_n "(cached) " >&6
38643 else
38646 ac_ext=cpp
38647 ac_cpp='$CXXCPP $CPPFLAGS'
38648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38653 /* end confdefs.h. */
38654 #include <math.h>
38656 main ()
38658 ceill (0); floorl (0);
38660 return 0;
38662 _ACEOF
38663 if ac_fn_cxx_try_compile "$LINENO"; then :
38664 glibcxx_cv_func_long_double_round_use=yes
38665 else
38666 glibcxx_cv_func_long_double_round_use=no
38668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38669 ac_ext=c
38670 ac_cpp='$CPP $CPPFLAGS'
38671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38678 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38679 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38680 for ac_func in ceill floorl
38681 do :
38682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38684 eval as_val=\$$as_ac_var
38685 if test "x$as_val" = x""yes; then :
38686 cat >>confdefs.h <<_ACEOF
38687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38688 _ACEOF
38691 done
38693 else
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38695 $as_echo_n "checking for _long double round functions... " >&6; }
38696 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38697 $as_echo_n "(cached) " >&6
38698 else
38701 ac_ext=cpp
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38708 /* end confdefs.h. */
38709 #include <math.h>
38711 main ()
38713 _ceill (0); _floorl (0);
38715 return 0;
38717 _ACEOF
38718 if ac_fn_cxx_try_compile "$LINENO"; then :
38719 glibcxx_cv_func__long_double_round_use=yes
38720 else
38721 glibcxx_cv_func__long_double_round_use=no
38723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38724 ac_ext=c
38725 ac_cpp='$CPP $CPPFLAGS'
38726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38733 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38734 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38735 for ac_func in _ceill _floorl
38736 do :
38737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38739 eval as_val=\$$as_ac_var
38740 if test "x$as_val" = x""yes; then :
38741 cat >>confdefs.h <<_ACEOF
38742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38743 _ACEOF
38746 done
38756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38757 $as_echo_n "checking for isnanl declaration... " >&6; }
38758 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38759 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38760 $as_echo_n "(cached) " >&6
38761 else
38764 ac_ext=cpp
38765 ac_cpp='$CXXCPP $CPPFLAGS'
38766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38771 /* end confdefs.h. */
38772 #include <math.h>
38773 #ifdef HAVE_IEEEFP_H
38774 #include <ieeefp.h>
38775 #endif
38778 main ()
38780 isnanl(0);
38782 return 0;
38784 _ACEOF
38785 if ac_fn_cxx_try_compile "$LINENO"; then :
38786 glibcxx_cv_func_isnanl_use=yes
38787 else
38788 glibcxx_cv_func_isnanl_use=no
38790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38791 ac_ext=c
38792 ac_cpp='$CPP $CPPFLAGS'
38793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38802 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38804 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38805 for ac_func in isnanl
38806 do :
38807 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38808 if test "x$ac_cv_func_isnanl" = x""yes; then :
38809 cat >>confdefs.h <<_ACEOF
38810 #define HAVE_ISNANL 1
38811 _ACEOF
38814 done
38816 else
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38819 $as_echo_n "checking for _isnanl declaration... " >&6; }
38820 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38821 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38822 $as_echo_n "(cached) " >&6
38823 else
38826 ac_ext=cpp
38827 ac_cpp='$CXXCPP $CPPFLAGS'
38828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38833 /* end confdefs.h. */
38834 #include <math.h>
38835 #ifdef HAVE_IEEEFP_H
38836 #include <ieeefp.h>
38837 #endif
38840 main ()
38842 _isnanl(0);
38844 return 0;
38846 _ACEOF
38847 if ac_fn_cxx_try_compile "$LINENO"; then :
38848 glibcxx_cv_func__isnanl_use=yes
38849 else
38850 glibcxx_cv_func__isnanl_use=no
38852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38853 ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38864 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38866 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38867 for ac_func in _isnanl
38868 do :
38869 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38870 if test "x$ac_cv_func__isnanl" = x""yes; then :
38871 cat >>confdefs.h <<_ACEOF
38872 #define HAVE__ISNANL 1
38873 _ACEOF
38876 done
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38886 $as_echo_n "checking for isinfl declaration... " >&6; }
38887 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38888 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38889 $as_echo_n "(cached) " >&6
38890 else
38893 ac_ext=cpp
38894 ac_cpp='$CXXCPP $CPPFLAGS'
38895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38900 /* end confdefs.h. */
38901 #include <math.h>
38902 #ifdef HAVE_IEEEFP_H
38903 #include <ieeefp.h>
38904 #endif
38907 main ()
38909 isinfl(0);
38911 return 0;
38913 _ACEOF
38914 if ac_fn_cxx_try_compile "$LINENO"; then :
38915 glibcxx_cv_func_isinfl_use=yes
38916 else
38917 glibcxx_cv_func_isinfl_use=no
38919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38920 ac_ext=c
38921 ac_cpp='$CPP $CPPFLAGS'
38922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38931 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38933 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38934 for ac_func in isinfl
38935 do :
38936 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38937 if test "x$ac_cv_func_isinfl" = x""yes; then :
38938 cat >>confdefs.h <<_ACEOF
38939 #define HAVE_ISINFL 1
38940 _ACEOF
38943 done
38945 else
38947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38948 $as_echo_n "checking for _isinfl declaration... " >&6; }
38949 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38950 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38951 $as_echo_n "(cached) " >&6
38952 else
38955 ac_ext=cpp
38956 ac_cpp='$CXXCPP $CPPFLAGS'
38957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38962 /* end confdefs.h. */
38963 #include <math.h>
38964 #ifdef HAVE_IEEEFP_H
38965 #include <ieeefp.h>
38966 #endif
38969 main ()
38971 _isinfl(0);
38973 return 0;
38975 _ACEOF
38976 if ac_fn_cxx_try_compile "$LINENO"; then :
38977 glibcxx_cv_func__isinfl_use=yes
38978 else
38979 glibcxx_cv_func__isinfl_use=no
38981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38982 ac_ext=c
38983 ac_cpp='$CPP $CPPFLAGS'
38984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38993 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38995 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38996 for ac_func in _isinfl
38997 do :
38998 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38999 if test "x$ac_cv_func__isinfl" = x""yes; then :
39000 cat >>confdefs.h <<_ACEOF
39001 #define HAVE__ISINFL 1
39002 _ACEOF
39005 done
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39015 $as_echo_n "checking for atan2l declaration... " >&6; }
39016 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39017 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39018 $as_echo_n "(cached) " >&6
39019 else
39022 ac_ext=cpp
39023 ac_cpp='$CXXCPP $CPPFLAGS'
39024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39029 /* end confdefs.h. */
39030 #include <math.h>
39032 main ()
39034 atan2l(0, 0);
39036 return 0;
39038 _ACEOF
39039 if ac_fn_cxx_try_compile "$LINENO"; then :
39040 glibcxx_cv_func_atan2l_use=yes
39041 else
39042 glibcxx_cv_func_atan2l_use=no
39044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39045 ac_ext=c
39046 ac_cpp='$CPP $CPPFLAGS'
39047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39056 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39058 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39059 for ac_func in atan2l
39060 do :
39061 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39062 if test "x$ac_cv_func_atan2l" = x""yes; then :
39063 cat >>confdefs.h <<_ACEOF
39064 #define HAVE_ATAN2L 1
39065 _ACEOF
39068 done
39070 else
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39073 $as_echo_n "checking for _atan2l declaration... " >&6; }
39074 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39075 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39076 $as_echo_n "(cached) " >&6
39077 else
39080 ac_ext=cpp
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <math.h>
39090 main ()
39092 _atan2l(0, 0);
39094 return 0;
39096 _ACEOF
39097 if ac_fn_cxx_try_compile "$LINENO"; then :
39098 glibcxx_cv_func__atan2l_use=yes
39099 else
39100 glibcxx_cv_func__atan2l_use=no
39102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39103 ac_ext=c
39104 ac_cpp='$CPP $CPPFLAGS'
39105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39114 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39116 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39117 for ac_func in _atan2l
39118 do :
39119 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39120 if test "x$ac_cv_func__atan2l" = x""yes; then :
39121 cat >>confdefs.h <<_ACEOF
39122 #define HAVE__ATAN2L 1
39123 _ACEOF
39126 done
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39136 $as_echo_n "checking for expl declaration... " >&6; }
39137 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39138 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39139 $as_echo_n "(cached) " >&6
39140 else
39143 ac_ext=cpp
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39150 /* end confdefs.h. */
39151 #include <math.h>
39152 #ifdef HAVE_IEEEFP_H
39153 #include <ieeefp.h>
39154 #endif
39157 main ()
39159 expl(0);
39161 return 0;
39163 _ACEOF
39164 if ac_fn_cxx_try_compile "$LINENO"; then :
39165 glibcxx_cv_func_expl_use=yes
39166 else
39167 glibcxx_cv_func_expl_use=no
39169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39170 ac_ext=c
39171 ac_cpp='$CPP $CPPFLAGS'
39172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39181 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39183 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39184 for ac_func in expl
39185 do :
39186 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39187 if test "x$ac_cv_func_expl" = x""yes; then :
39188 cat >>confdefs.h <<_ACEOF
39189 #define HAVE_EXPL 1
39190 _ACEOF
39193 done
39195 else
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39198 $as_echo_n "checking for _expl declaration... " >&6; }
39199 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39200 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39201 $as_echo_n "(cached) " >&6
39202 else
39205 ac_ext=cpp
39206 ac_cpp='$CXXCPP $CPPFLAGS'
39207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39212 /* end confdefs.h. */
39213 #include <math.h>
39214 #ifdef HAVE_IEEEFP_H
39215 #include <ieeefp.h>
39216 #endif
39219 main ()
39221 _expl(0);
39223 return 0;
39225 _ACEOF
39226 if ac_fn_cxx_try_compile "$LINENO"; then :
39227 glibcxx_cv_func__expl_use=yes
39228 else
39229 glibcxx_cv_func__expl_use=no
39231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39232 ac_ext=c
39233 ac_cpp='$CPP $CPPFLAGS'
39234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39243 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39245 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39246 for ac_func in _expl
39247 do :
39248 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39249 if test "x$ac_cv_func__expl" = x""yes; then :
39250 cat >>confdefs.h <<_ACEOF
39251 #define HAVE__EXPL 1
39252 _ACEOF
39255 done
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39265 $as_echo_n "checking for fabsl declaration... " >&6; }
39266 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39267 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39268 $as_echo_n "(cached) " >&6
39269 else
39272 ac_ext=cpp
39273 ac_cpp='$CXXCPP $CPPFLAGS'
39274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39279 /* end confdefs.h. */
39280 #include <math.h>
39281 #ifdef HAVE_IEEEFP_H
39282 #include <ieeefp.h>
39283 #endif
39286 main ()
39288 fabsl(0);
39290 return 0;
39292 _ACEOF
39293 if ac_fn_cxx_try_compile "$LINENO"; then :
39294 glibcxx_cv_func_fabsl_use=yes
39295 else
39296 glibcxx_cv_func_fabsl_use=no
39298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39299 ac_ext=c
39300 ac_cpp='$CPP $CPPFLAGS'
39301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39310 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39312 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39313 for ac_func in fabsl
39314 do :
39315 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39316 if test "x$ac_cv_func_fabsl" = x""yes; then :
39317 cat >>confdefs.h <<_ACEOF
39318 #define HAVE_FABSL 1
39319 _ACEOF
39322 done
39324 else
39326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39327 $as_echo_n "checking for _fabsl declaration... " >&6; }
39328 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39329 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39330 $as_echo_n "(cached) " >&6
39331 else
39334 ac_ext=cpp
39335 ac_cpp='$CXXCPP $CPPFLAGS'
39336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39341 /* end confdefs.h. */
39342 #include <math.h>
39343 #ifdef HAVE_IEEEFP_H
39344 #include <ieeefp.h>
39345 #endif
39348 main ()
39350 _fabsl(0);
39352 return 0;
39354 _ACEOF
39355 if ac_fn_cxx_try_compile "$LINENO"; then :
39356 glibcxx_cv_func__fabsl_use=yes
39357 else
39358 glibcxx_cv_func__fabsl_use=no
39360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39361 ac_ext=c
39362 ac_cpp='$CPP $CPPFLAGS'
39363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39372 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39374 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39375 for ac_func in _fabsl
39376 do :
39377 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39378 if test "x$ac_cv_func__fabsl" = x""yes; then :
39379 cat >>confdefs.h <<_ACEOF
39380 #define HAVE__FABSL 1
39381 _ACEOF
39384 done
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39394 $as_echo_n "checking for fmodl declaration... " >&6; }
39395 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39396 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39397 $as_echo_n "(cached) " >&6
39398 else
39401 ac_ext=cpp
39402 ac_cpp='$CXXCPP $CPPFLAGS'
39403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39408 /* end confdefs.h. */
39409 #include <math.h>
39411 main ()
39413 fmodl(0, 0);
39415 return 0;
39417 _ACEOF
39418 if ac_fn_cxx_try_compile "$LINENO"; then :
39419 glibcxx_cv_func_fmodl_use=yes
39420 else
39421 glibcxx_cv_func_fmodl_use=no
39423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39424 ac_ext=c
39425 ac_cpp='$CPP $CPPFLAGS'
39426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39435 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39437 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39438 for ac_func in fmodl
39439 do :
39440 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39441 if test "x$ac_cv_func_fmodl" = x""yes; then :
39442 cat >>confdefs.h <<_ACEOF
39443 #define HAVE_FMODL 1
39444 _ACEOF
39447 done
39449 else
39451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39452 $as_echo_n "checking for _fmodl declaration... " >&6; }
39453 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39454 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39455 $as_echo_n "(cached) " >&6
39456 else
39459 ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39466 /* end confdefs.h. */
39467 #include <math.h>
39469 main ()
39471 _fmodl(0, 0);
39473 return 0;
39475 _ACEOF
39476 if ac_fn_cxx_try_compile "$LINENO"; then :
39477 glibcxx_cv_func__fmodl_use=yes
39478 else
39479 glibcxx_cv_func__fmodl_use=no
39481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39482 ac_ext=c
39483 ac_cpp='$CPP $CPPFLAGS'
39484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39493 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39495 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39496 for ac_func in _fmodl
39497 do :
39498 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39499 if test "x$ac_cv_func__fmodl" = x""yes; then :
39500 cat >>confdefs.h <<_ACEOF
39501 #define HAVE__FMODL 1
39502 _ACEOF
39505 done
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39515 $as_echo_n "checking for frexpl declaration... " >&6; }
39516 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39517 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39518 $as_echo_n "(cached) " >&6
39519 else
39522 ac_ext=cpp
39523 ac_cpp='$CXXCPP $CPPFLAGS'
39524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39529 /* end confdefs.h. */
39530 #include <math.h>
39532 main ()
39534 frexpl(0, 0);
39536 return 0;
39538 _ACEOF
39539 if ac_fn_cxx_try_compile "$LINENO"; then :
39540 glibcxx_cv_func_frexpl_use=yes
39541 else
39542 glibcxx_cv_func_frexpl_use=no
39544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39556 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39558 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39559 for ac_func in frexpl
39560 do :
39561 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39562 if test "x$ac_cv_func_frexpl" = x""yes; then :
39563 cat >>confdefs.h <<_ACEOF
39564 #define HAVE_FREXPL 1
39565 _ACEOF
39568 done
39570 else
39572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39573 $as_echo_n "checking for _frexpl declaration... " >&6; }
39574 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39575 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39576 $as_echo_n "(cached) " >&6
39577 else
39580 ac_ext=cpp
39581 ac_cpp='$CXXCPP $CPPFLAGS'
39582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39587 /* end confdefs.h. */
39588 #include <math.h>
39590 main ()
39592 _frexpl(0, 0);
39594 return 0;
39596 _ACEOF
39597 if ac_fn_cxx_try_compile "$LINENO"; then :
39598 glibcxx_cv_func__frexpl_use=yes
39599 else
39600 glibcxx_cv_func__frexpl_use=no
39602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39603 ac_ext=c
39604 ac_cpp='$CPP $CPPFLAGS'
39605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39614 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39616 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39617 for ac_func in _frexpl
39618 do :
39619 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39620 if test "x$ac_cv_func__frexpl" = x""yes; then :
39621 cat >>confdefs.h <<_ACEOF
39622 #define HAVE__FREXPL 1
39623 _ACEOF
39626 done
39635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39636 $as_echo_n "checking for hypotl declaration... " >&6; }
39637 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39638 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39639 $as_echo_n "(cached) " >&6
39640 else
39643 ac_ext=cpp
39644 ac_cpp='$CXXCPP $CPPFLAGS'
39645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39650 /* end confdefs.h. */
39651 #include <math.h>
39653 main ()
39655 hypotl(0, 0);
39657 return 0;
39659 _ACEOF
39660 if ac_fn_cxx_try_compile "$LINENO"; then :
39661 glibcxx_cv_func_hypotl_use=yes
39662 else
39663 glibcxx_cv_func_hypotl_use=no
39665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39666 ac_ext=c
39667 ac_cpp='$CPP $CPPFLAGS'
39668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39677 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39679 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39680 for ac_func in hypotl
39681 do :
39682 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39683 if test "x$ac_cv_func_hypotl" = x""yes; then :
39684 cat >>confdefs.h <<_ACEOF
39685 #define HAVE_HYPOTL 1
39686 _ACEOF
39689 done
39691 else
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39694 $as_echo_n "checking for _hypotl declaration... " >&6; }
39695 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39696 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39697 $as_echo_n "(cached) " >&6
39698 else
39701 ac_ext=cpp
39702 ac_cpp='$CXXCPP $CPPFLAGS'
39703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39708 /* end confdefs.h. */
39709 #include <math.h>
39711 main ()
39713 _hypotl(0, 0);
39715 return 0;
39717 _ACEOF
39718 if ac_fn_cxx_try_compile "$LINENO"; then :
39719 glibcxx_cv_func__hypotl_use=yes
39720 else
39721 glibcxx_cv_func__hypotl_use=no
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724 ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39735 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39737 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39738 for ac_func in _hypotl
39739 do :
39740 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39741 if test "x$ac_cv_func__hypotl" = x""yes; then :
39742 cat >>confdefs.h <<_ACEOF
39743 #define HAVE__HYPOTL 1
39744 _ACEOF
39747 done
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39757 $as_echo_n "checking for ldexpl declaration... " >&6; }
39758 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39759 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39764 ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h. */
39772 #include <math.h>
39774 main ()
39776 ldexpl(0, 0);
39778 return 0;
39780 _ACEOF
39781 if ac_fn_cxx_try_compile "$LINENO"; then :
39782 glibcxx_cv_func_ldexpl_use=yes
39783 else
39784 glibcxx_cv_func_ldexpl_use=no
39786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787 ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39798 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39800 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39801 for ac_func in ldexpl
39802 do :
39803 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39804 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39805 cat >>confdefs.h <<_ACEOF
39806 #define HAVE_LDEXPL 1
39807 _ACEOF
39810 done
39812 else
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39815 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39816 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39817 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39818 $as_echo_n "(cached) " >&6
39819 else
39822 ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h. */
39830 #include <math.h>
39832 main ()
39834 _ldexpl(0, 0);
39836 return 0;
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840 glibcxx_cv_func__ldexpl_use=yes
39841 else
39842 glibcxx_cv_func__ldexpl_use=no
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845 ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39856 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39858 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39859 for ac_func in _ldexpl
39860 do :
39861 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39862 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39863 cat >>confdefs.h <<_ACEOF
39864 #define HAVE__LDEXPL 1
39865 _ACEOF
39868 done
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39878 $as_echo_n "checking for logl declaration... " >&6; }
39879 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39880 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39881 $as_echo_n "(cached) " >&6
39882 else
39885 ac_ext=cpp
39886 ac_cpp='$CXXCPP $CPPFLAGS'
39887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39892 /* end confdefs.h. */
39893 #include <math.h>
39894 #ifdef HAVE_IEEEFP_H
39895 #include <ieeefp.h>
39896 #endif
39899 main ()
39901 logl(0);
39903 return 0;
39905 _ACEOF
39906 if ac_fn_cxx_try_compile "$LINENO"; then :
39907 glibcxx_cv_func_logl_use=yes
39908 else
39909 glibcxx_cv_func_logl_use=no
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39912 ac_ext=c
39913 ac_cpp='$CPP $CPPFLAGS'
39914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39923 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39925 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39926 for ac_func in logl
39927 do :
39928 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39929 if test "x$ac_cv_func_logl" = x""yes; then :
39930 cat >>confdefs.h <<_ACEOF
39931 #define HAVE_LOGL 1
39932 _ACEOF
39935 done
39937 else
39939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39940 $as_echo_n "checking for _logl declaration... " >&6; }
39941 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39942 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39943 $as_echo_n "(cached) " >&6
39944 else
39947 ac_ext=cpp
39948 ac_cpp='$CXXCPP $CPPFLAGS'
39949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39954 /* end confdefs.h. */
39955 #include <math.h>
39956 #ifdef HAVE_IEEEFP_H
39957 #include <ieeefp.h>
39958 #endif
39961 main ()
39963 _logl(0);
39965 return 0;
39967 _ACEOF
39968 if ac_fn_cxx_try_compile "$LINENO"; then :
39969 glibcxx_cv_func__logl_use=yes
39970 else
39971 glibcxx_cv_func__logl_use=no
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39985 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39987 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39988 for ac_func in _logl
39989 do :
39990 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39991 if test "x$ac_cv_func__logl" = x""yes; then :
39992 cat >>confdefs.h <<_ACEOF
39993 #define HAVE__LOGL 1
39994 _ACEOF
39997 done
40006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40007 $as_echo_n "checking for log10l declaration... " >&6; }
40008 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40009 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40010 $as_echo_n "(cached) " >&6
40011 else
40014 ac_ext=cpp
40015 ac_cpp='$CXXCPP $CPPFLAGS'
40016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40021 /* end confdefs.h. */
40022 #include <math.h>
40023 #ifdef HAVE_IEEEFP_H
40024 #include <ieeefp.h>
40025 #endif
40028 main ()
40030 log10l(0);
40032 return 0;
40034 _ACEOF
40035 if ac_fn_cxx_try_compile "$LINENO"; then :
40036 glibcxx_cv_func_log10l_use=yes
40037 else
40038 glibcxx_cv_func_log10l_use=no
40040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40041 ac_ext=c
40042 ac_cpp='$CPP $CPPFLAGS'
40043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40052 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40054 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40055 for ac_func in log10l
40056 do :
40057 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40058 if test "x$ac_cv_func_log10l" = x""yes; then :
40059 cat >>confdefs.h <<_ACEOF
40060 #define HAVE_LOG10L 1
40061 _ACEOF
40064 done
40066 else
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40069 $as_echo_n "checking for _log10l declaration... " >&6; }
40070 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40071 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40072 $as_echo_n "(cached) " >&6
40073 else
40076 ac_ext=cpp
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40083 /* end confdefs.h. */
40084 #include <math.h>
40085 #ifdef HAVE_IEEEFP_H
40086 #include <ieeefp.h>
40087 #endif
40090 main ()
40092 _log10l(0);
40094 return 0;
40096 _ACEOF
40097 if ac_fn_cxx_try_compile "$LINENO"; then :
40098 glibcxx_cv_func__log10l_use=yes
40099 else
40100 glibcxx_cv_func__log10l_use=no
40102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40103 ac_ext=c
40104 ac_cpp='$CPP $CPPFLAGS'
40105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40114 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40116 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40117 for ac_func in _log10l
40118 do :
40119 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40120 if test "x$ac_cv_func__log10l" = x""yes; then :
40121 cat >>confdefs.h <<_ACEOF
40122 #define HAVE__LOG10L 1
40123 _ACEOF
40126 done
40135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40136 $as_echo_n "checking for modfl declaration... " >&6; }
40137 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40138 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40139 $as_echo_n "(cached) " >&6
40140 else
40143 ac_ext=cpp
40144 ac_cpp='$CXXCPP $CPPFLAGS'
40145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40150 /* end confdefs.h. */
40151 #include <math.h>
40153 main ()
40155 modfl(0, 0);
40157 return 0;
40159 _ACEOF
40160 if ac_fn_cxx_try_compile "$LINENO"; then :
40161 glibcxx_cv_func_modfl_use=yes
40162 else
40163 glibcxx_cv_func_modfl_use=no
40165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40166 ac_ext=c
40167 ac_cpp='$CPP $CPPFLAGS'
40168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40177 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40179 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40180 for ac_func in modfl
40181 do :
40182 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40183 if test "x$ac_cv_func_modfl" = x""yes; then :
40184 cat >>confdefs.h <<_ACEOF
40185 #define HAVE_MODFL 1
40186 _ACEOF
40189 done
40191 else
40193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40194 $as_echo_n "checking for _modfl declaration... " >&6; }
40195 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40196 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40197 $as_echo_n "(cached) " >&6
40198 else
40201 ac_ext=cpp
40202 ac_cpp='$CXXCPP $CPPFLAGS'
40203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40208 /* end confdefs.h. */
40209 #include <math.h>
40211 main ()
40213 _modfl(0, 0);
40215 return 0;
40217 _ACEOF
40218 if ac_fn_cxx_try_compile "$LINENO"; then :
40219 glibcxx_cv_func__modfl_use=yes
40220 else
40221 glibcxx_cv_func__modfl_use=no
40223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40224 ac_ext=c
40225 ac_cpp='$CPP $CPPFLAGS'
40226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40235 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40237 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40238 for ac_func in _modfl
40239 do :
40240 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40241 if test "x$ac_cv_func__modfl" = x""yes; then :
40242 cat >>confdefs.h <<_ACEOF
40243 #define HAVE__MODFL 1
40244 _ACEOF
40247 done
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40257 $as_echo_n "checking for powl declaration... " >&6; }
40258 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40259 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40260 $as_echo_n "(cached) " >&6
40261 else
40264 ac_ext=cpp
40265 ac_cpp='$CXXCPP $CPPFLAGS'
40266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40271 /* end confdefs.h. */
40272 #include <math.h>
40274 main ()
40276 powl(0, 0);
40278 return 0;
40280 _ACEOF
40281 if ac_fn_cxx_try_compile "$LINENO"; then :
40282 glibcxx_cv_func_powl_use=yes
40283 else
40284 glibcxx_cv_func_powl_use=no
40286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40287 ac_ext=c
40288 ac_cpp='$CPP $CPPFLAGS'
40289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40298 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40300 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40301 for ac_func in powl
40302 do :
40303 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40304 if test "x$ac_cv_func_powl" = x""yes; then :
40305 cat >>confdefs.h <<_ACEOF
40306 #define HAVE_POWL 1
40307 _ACEOF
40310 done
40312 else
40314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40315 $as_echo_n "checking for _powl declaration... " >&6; }
40316 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40317 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40318 $as_echo_n "(cached) " >&6
40319 else
40322 ac_ext=cpp
40323 ac_cpp='$CXXCPP $CPPFLAGS'
40324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40329 /* end confdefs.h. */
40330 #include <math.h>
40332 main ()
40334 _powl(0, 0);
40336 return 0;
40338 _ACEOF
40339 if ac_fn_cxx_try_compile "$LINENO"; then :
40340 glibcxx_cv_func__powl_use=yes
40341 else
40342 glibcxx_cv_func__powl_use=no
40344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40345 ac_ext=c
40346 ac_cpp='$CPP $CPPFLAGS'
40347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40356 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40358 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40359 for ac_func in _powl
40360 do :
40361 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40362 if test "x$ac_cv_func__powl" = x""yes; then :
40363 cat >>confdefs.h <<_ACEOF
40364 #define HAVE__POWL 1
40365 _ACEOF
40368 done
40377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40378 $as_echo_n "checking for sqrtl declaration... " >&6; }
40379 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40380 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40381 $as_echo_n "(cached) " >&6
40382 else
40385 ac_ext=cpp
40386 ac_cpp='$CXXCPP $CPPFLAGS'
40387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40392 /* end confdefs.h. */
40393 #include <math.h>
40394 #ifdef HAVE_IEEEFP_H
40395 #include <ieeefp.h>
40396 #endif
40399 main ()
40401 sqrtl(0);
40403 return 0;
40405 _ACEOF
40406 if ac_fn_cxx_try_compile "$LINENO"; then :
40407 glibcxx_cv_func_sqrtl_use=yes
40408 else
40409 glibcxx_cv_func_sqrtl_use=no
40411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40412 ac_ext=c
40413 ac_cpp='$CPP $CPPFLAGS'
40414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40423 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40425 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40426 for ac_func in sqrtl
40427 do :
40428 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40429 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40430 cat >>confdefs.h <<_ACEOF
40431 #define HAVE_SQRTL 1
40432 _ACEOF
40435 done
40437 else
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40440 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40441 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40442 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40443 $as_echo_n "(cached) " >&6
40444 else
40447 ac_ext=cpp
40448 ac_cpp='$CXXCPP $CPPFLAGS'
40449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40454 /* end confdefs.h. */
40455 #include <math.h>
40456 #ifdef HAVE_IEEEFP_H
40457 #include <ieeefp.h>
40458 #endif
40461 main ()
40463 _sqrtl(0);
40465 return 0;
40467 _ACEOF
40468 if ac_fn_cxx_try_compile "$LINENO"; then :
40469 glibcxx_cv_func__sqrtl_use=yes
40470 else
40471 glibcxx_cv_func__sqrtl_use=no
40473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40474 ac_ext=c
40475 ac_cpp='$CPP $CPPFLAGS'
40476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40485 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40487 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40488 for ac_func in _sqrtl
40489 do :
40490 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40491 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40492 cat >>confdefs.h <<_ACEOF
40493 #define HAVE__SQRTL 1
40494 _ACEOF
40497 done
40506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40507 $as_echo_n "checking for sincosl declaration... " >&6; }
40508 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40509 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40510 $as_echo_n "(cached) " >&6
40511 else
40514 ac_ext=cpp
40515 ac_cpp='$CXXCPP $CPPFLAGS'
40516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40521 /* end confdefs.h. */
40522 #include <math.h>
40524 main ()
40526 sincosl(0, 0, 0);
40528 return 0;
40530 _ACEOF
40531 if ac_fn_cxx_try_compile "$LINENO"; then :
40532 glibcxx_cv_func_sincosl_use=yes
40533 else
40534 glibcxx_cv_func_sincosl_use=no
40536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 ac_ext=c
40538 ac_cpp='$CPP $CPPFLAGS'
40539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40548 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40550 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40551 for ac_func in sincosl
40552 do :
40553 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40554 if test "x$ac_cv_func_sincosl" = x""yes; then :
40555 cat >>confdefs.h <<_ACEOF
40556 #define HAVE_SINCOSL 1
40557 _ACEOF
40560 done
40562 else
40564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40565 $as_echo_n "checking for _sincosl declaration... " >&6; }
40566 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40567 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40568 $as_echo_n "(cached) " >&6
40569 else
40572 ac_ext=cpp
40573 ac_cpp='$CXXCPP $CPPFLAGS'
40574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40579 /* end confdefs.h. */
40580 #include <math.h>
40582 main ()
40584 _sincosl(0, 0, 0);
40586 return 0;
40588 _ACEOF
40589 if ac_fn_cxx_try_compile "$LINENO"; then :
40590 glibcxx_cv_func__sincosl_use=yes
40591 else
40592 glibcxx_cv_func__sincosl_use=no
40594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40595 ac_ext=c
40596 ac_cpp='$CPP $CPPFLAGS'
40597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40606 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40608 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40609 for ac_func in _sincosl
40610 do :
40611 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40612 if test "x$ac_cv_func__sincosl" = x""yes; then :
40613 cat >>confdefs.h <<_ACEOF
40614 #define HAVE__SINCOSL 1
40615 _ACEOF
40618 done
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40628 $as_echo_n "checking for finitel declaration... " >&6; }
40629 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40630 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40631 $as_echo_n "(cached) " >&6
40632 else
40635 ac_ext=cpp
40636 ac_cpp='$CXXCPP $CPPFLAGS'
40637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40642 /* end confdefs.h. */
40643 #include <math.h>
40644 #ifdef HAVE_IEEEFP_H
40645 #include <ieeefp.h>
40646 #endif
40649 main ()
40651 finitel(0);
40653 return 0;
40655 _ACEOF
40656 if ac_fn_cxx_try_compile "$LINENO"; then :
40657 glibcxx_cv_func_finitel_use=yes
40658 else
40659 glibcxx_cv_func_finitel_use=no
40661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40662 ac_ext=c
40663 ac_cpp='$CPP $CPPFLAGS'
40664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40673 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40675 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40676 for ac_func in finitel
40677 do :
40678 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40679 if test "x$ac_cv_func_finitel" = x""yes; then :
40680 cat >>confdefs.h <<_ACEOF
40681 #define HAVE_FINITEL 1
40682 _ACEOF
40685 done
40687 else
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40690 $as_echo_n "checking for _finitel declaration... " >&6; }
40691 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40692 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40693 $as_echo_n "(cached) " >&6
40694 else
40697 ac_ext=cpp
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40704 /* end confdefs.h. */
40705 #include <math.h>
40706 #ifdef HAVE_IEEEFP_H
40707 #include <ieeefp.h>
40708 #endif
40711 main ()
40713 _finitel(0);
40715 return 0;
40717 _ACEOF
40718 if ac_fn_cxx_try_compile "$LINENO"; then :
40719 glibcxx_cv_func__finitel_use=yes
40720 else
40721 glibcxx_cv_func__finitel_use=no
40723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40724 ac_ext=c
40725 ac_cpp='$CPP $CPPFLAGS'
40726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40735 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40737 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40738 for ac_func in _finitel
40739 do :
40740 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40741 if test "x$ac_cv_func__finitel" = x""yes; then :
40742 cat >>confdefs.h <<_ACEOF
40743 #define HAVE__FINITEL 1
40744 _ACEOF
40747 done
40755 LIBS="$ac_save_LIBS"
40756 CXXFLAGS="$ac_save_CXXFLAGS"
40759 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40760 ac_save_CXXFLAGS="$CXXFLAGS"
40761 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40765 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40766 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40767 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40768 $as_echo_n "(cached) " >&6
40769 else
40772 ac_ext=cpp
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779 /* end confdefs.h. */
40780 #include <stdlib.h>
40782 main ()
40784 at_quick_exit(0);
40786 return 0;
40788 _ACEOF
40789 if ac_fn_cxx_try_compile "$LINENO"; then :
40790 glibcxx_cv_func_at_quick_exit_use=yes
40791 else
40792 glibcxx_cv_func_at_quick_exit_use=no
40794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40795 ac_ext=c
40796 ac_cpp='$CPP $CPPFLAGS'
40797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40806 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40807 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40808 for ac_func in at_quick_exit
40809 do :
40810 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40811 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40812 cat >>confdefs.h <<_ACEOF
40813 #define HAVE_AT_QUICK_EXIT 1
40814 _ACEOF
40817 done
40822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40823 $as_echo_n "checking for quick_exit declaration... " >&6; }
40824 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40825 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40826 $as_echo_n "(cached) " >&6
40827 else
40830 ac_ext=cpp
40831 ac_cpp='$CXXCPP $CPPFLAGS'
40832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40837 /* end confdefs.h. */
40838 #include <stdlib.h>
40840 main ()
40842 quick_exit(0);
40844 return 0;
40846 _ACEOF
40847 if ac_fn_cxx_try_compile "$LINENO"; then :
40848 glibcxx_cv_func_quick_exit_use=yes
40849 else
40850 glibcxx_cv_func_quick_exit_use=no
40852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40853 ac_ext=c
40854 ac_cpp='$CPP $CPPFLAGS'
40855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40864 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40865 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40866 for ac_func in quick_exit
40867 do :
40868 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40869 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40870 cat >>confdefs.h <<_ACEOF
40871 #define HAVE_QUICK_EXIT 1
40872 _ACEOF
40875 done
40880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40881 $as_echo_n "checking for strtold declaration... " >&6; }
40882 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40883 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40884 $as_echo_n "(cached) " >&6
40885 else
40888 ac_ext=cpp
40889 ac_cpp='$CXXCPP $CPPFLAGS'
40890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40895 /* end confdefs.h. */
40896 #include <stdlib.h>
40898 main ()
40900 strtold(0, 0);
40902 return 0;
40904 _ACEOF
40905 if ac_fn_cxx_try_compile "$LINENO"; then :
40906 glibcxx_cv_func_strtold_use=yes
40907 else
40908 glibcxx_cv_func_strtold_use=no
40910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40911 ac_ext=c
40912 ac_cpp='$CPP $CPPFLAGS'
40913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40922 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40923 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40924 for ac_func in strtold
40925 do :
40926 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40927 if test "x$ac_cv_func_strtold" = x""yes; then :
40928 cat >>confdefs.h <<_ACEOF
40929 #define HAVE_STRTOLD 1
40930 _ACEOF
40933 done
40940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40941 $as_echo_n "checking for strtof declaration... " >&6; }
40942 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40943 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40944 $as_echo_n "(cached) " >&6
40945 else
40948 ac_ext=cpp
40949 ac_cpp='$CXXCPP $CPPFLAGS'
40950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h. */
40956 #include <stdlib.h>
40958 main ()
40960 strtof(0, 0);
40962 return 0;
40964 _ACEOF
40965 if ac_fn_cxx_try_compile "$LINENO"; then :
40966 glibcxx_cv_func_strtof_use=yes
40967 else
40968 glibcxx_cv_func_strtof_use=no
40970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40971 ac_ext=c
40972 ac_cpp='$CPP $CPPFLAGS'
40973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40982 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40983 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40984 for ac_func in strtof
40985 do :
40986 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40987 if test "x$ac_cv_func_strtof" = x""yes; then :
40988 cat >>confdefs.h <<_ACEOF
40989 #define HAVE_STRTOF 1
40990 _ACEOF
40993 done
41000 CXXFLAGS="$ac_save_CXXFLAGS"
41007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41008 $as_echo_n "checking for iconv... " >&6; }
41009 if test "${am_cv_func_iconv+set}" = set; then :
41010 $as_echo_n "(cached) " >&6
41011 else
41013 am_cv_func_iconv="no, consider installing GNU libiconv"
41014 am_cv_lib_iconv=no
41015 am_save_CPPFLAGS="$CPPFLAGS"
41016 CPPFLAGS="$CPPFLAGS $INCICONV"
41017 if test x$gcc_no_link = xyes; then
41018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41021 /* end confdefs.h. */
41022 #include <stdlib.h>
41023 #include <iconv.h>
41025 main ()
41027 iconv_t cd = iconv_open("","");
41028 iconv(cd,NULL,NULL,NULL,NULL);
41029 iconv_close(cd);
41031 return 0;
41033 _ACEOF
41034 if ac_fn_c_try_link "$LINENO"; then :
41035 am_cv_func_iconv=yes
41037 rm -f core conftest.err conftest.$ac_objext \
41038 conftest$ac_exeext conftest.$ac_ext
41039 CPPFLAGS="$am_save_CPPFLAGS"
41041 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41042 for _libs in .libs _libs; do
41043 am_save_CPPFLAGS="$CPPFLAGS"
41044 am_save_LIBS="$LIBS"
41045 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41046 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41047 if test x$gcc_no_link = xyes; then
41048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41051 /* end confdefs.h. */
41052 #include <stdlib.h>
41053 #include <iconv.h>
41055 main ()
41057 iconv_t cd = iconv_open("","");
41058 iconv(cd,NULL,NULL,NULL,NULL);
41059 iconv_close(cd);
41061 return 0;
41063 _ACEOF
41064 if ac_fn_c_try_link "$LINENO"; then :
41065 INCICONV="-I../libiconv/include"
41066 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41067 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41068 am_cv_lib_iconv=yes
41069 am_cv_func_iconv=yes
41071 rm -f core conftest.err conftest.$ac_objext \
41072 conftest$ac_exeext conftest.$ac_ext
41073 CPPFLAGS="$am_save_CPPFLAGS"
41074 LIBS="$am_save_LIBS"
41075 if test "$am_cv_func_iconv" = "yes"; then
41076 break
41078 done
41081 if test "$am_cv_func_iconv" != yes; then
41082 am_save_CPPFLAGS="$CPPFLAGS"
41083 am_save_LIBS="$LIBS"
41084 CPPFLAGS="$LIBS $INCICONV"
41085 LIBS="$LIBS $LIBICONV"
41086 if test x$gcc_no_link = xyes; then
41087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41090 /* end confdefs.h. */
41091 #include <stdlib.h>
41092 #include <iconv.h>
41094 main ()
41096 iconv_t cd = iconv_open("","");
41097 iconv(cd,NULL,NULL,NULL,NULL);
41098 iconv_close(cd);
41100 return 0;
41102 _ACEOF
41103 if ac_fn_c_try_link "$LINENO"; then :
41104 am_cv_lib_iconv=yes
41105 am_cv_func_iconv=yes
41107 rm -f core conftest.err conftest.$ac_objext \
41108 conftest$ac_exeext conftest.$ac_ext
41109 CPPFLAGS="$am_save_CPPFLAGS"
41110 LIBS="$am_save_LIBS"
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41115 $as_echo "$am_cv_func_iconv" >&6; }
41116 if test "$am_cv_func_iconv" = yes; then
41118 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41121 if test "$am_cv_lib_iconv" = yes; then
41123 for element in $INCICONV; do
41124 haveit=
41125 for x in $CPPFLAGS; do
41127 acl_save_prefix="$prefix"
41128 prefix="$acl_final_prefix"
41129 acl_save_exec_prefix="$exec_prefix"
41130 exec_prefix="$acl_final_exec_prefix"
41131 eval x=\"$x\"
41132 exec_prefix="$acl_save_exec_prefix"
41133 prefix="$acl_save_prefix"
41135 if test "X$x" = "X$element"; then
41136 haveit=yes
41137 break
41139 done
41140 if test -z "$haveit"; then
41141 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41143 done
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41146 $as_echo_n "checking how to link with libiconv... " >&6; }
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41148 $as_echo "$LIBICONV" >&6; }
41149 else
41150 LIBICONV=
41151 LTLIBICONV=
41156 if test "$am_cv_func_iconv" = yes; then
41157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41158 $as_echo_n "checking for iconv declaration... " >&6; }
41159 if test "${am_cv_proto_iconv+set}" = set; then :
41160 $as_echo_n "(cached) " >&6
41161 else
41163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41164 /* end confdefs.h. */
41166 #include <stdlib.h>
41167 #include <iconv.h>
41168 extern
41169 #ifdef __cplusplus
41171 #endif
41172 #if defined(__STDC__) || defined(__cplusplus)
41173 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41174 #else
41175 size_t iconv();
41176 #endif
41179 main ()
41183 return 0;
41185 _ACEOF
41186 if ac_fn_c_try_compile "$LINENO"; then :
41187 am_cv_proto_iconv_arg1=""
41188 else
41189 am_cv_proto_iconv_arg1="const"
41191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41192 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);"
41195 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41197 }$am_cv_proto_iconv" >&5
41198 $as_echo "${ac_t:-
41199 }$am_cv_proto_iconv" >&6; }
41201 cat >>confdefs.h <<_ACEOF
41202 #define ICONV_CONST $am_cv_proto_iconv_arg1
41203 _ACEOF
41209 *-aix*)
41211 # If we're not using GNU ld, then there's no point in even trying these
41212 # tests. Check for that first. We should have already tested for gld
41213 # by now (in libtool), but require it now just to be safe...
41214 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41215 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41219 # The name set by libtool depends on the version of libtool. Shame on us
41220 # for depending on an impl detail, but c'est la vie. Older versions used
41221 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41222 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41223 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41224 # set (hence we're using an older libtool), then set it.
41225 if test x${with_gnu_ld+set} != xset; then
41226 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41227 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41228 with_gnu_ld=no
41229 else
41230 with_gnu_ld=$ac_cv_prog_gnu_ld
41234 # Start by getting the version number. I think the libtool test already
41235 # does some of this, but throws away the result.
41236 glibcxx_ld_is_gold=no
41237 if test x"$with_gnu_ld" = x"yes"; then
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41239 $as_echo_n "checking for ld version... " >&6; }
41241 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41242 glibcxx_ld_is_gold=yes
41244 ldver=`$LD --version 2>/dev/null |
41245 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'`
41247 glibcxx_gnu_ld_version=`echo $ldver | \
41248 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41250 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41253 # Set --gc-sections.
41254 glibcxx_have_gc_sections=no
41255 if test "$glibcxx_ld_is_gold" = "yes"; then
41256 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41257 glibcxx_have_gc_sections=yes
41259 else
41260 glibcxx_gcsections_min_ld=21602
41261 if test x"$with_gnu_ld" = x"yes" &&
41262 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41263 glibcxx_have_gc_sections=yes
41266 if test "$glibcxx_have_gc_sections" = "yes"; then
41267 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41268 # NB: This flag only works reliably after 2.16.1. Configure tests
41269 # for this are difficult, so hard wire a value that should work.
41271 ac_test_CFLAGS="${CFLAGS+set}"
41272 ac_save_CFLAGS="$CFLAGS"
41273 CFLAGS='-Wl,--gc-sections'
41275 # Check for -Wl,--gc-sections
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41277 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41278 if test x$gcc_no_link = xyes; then
41279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41282 /* end confdefs.h. */
41283 int one(void) { return 1; }
41284 int two(void) { return 2; }
41287 main ()
41289 two();
41291 return 0;
41293 _ACEOF
41294 if ac_fn_c_try_link "$LINENO"; then :
41295 ac_gcsections=yes
41296 else
41297 ac_gcsections=no
41299 rm -f core conftest.err conftest.$ac_objext \
41300 conftest$ac_exeext conftest.$ac_ext
41301 if test "$ac_gcsections" = "yes"; then
41302 rm -f conftest.c
41303 touch conftest.c
41304 if $CC -c conftest.c; then
41305 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41306 grep "Warning: gc-sections option ignored" > /dev/null; then
41307 ac_gcsections=no
41310 rm -f conftest.c conftest.o conftest
41312 if test "$ac_gcsections" = "yes"; then
41313 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41316 $as_echo "$ac_gcsections" >&6; }
41318 if test "$ac_test_CFLAGS" = set; then
41319 CFLAGS="$ac_save_CFLAGS"
41320 else
41321 # this is the suspicious part
41322 CFLAGS=''
41326 # Set -z,relro.
41327 # Note this is only for shared objects.
41328 ac_ld_relro=no
41329 if test x"$with_gnu_ld" = x"yes"; then
41330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41331 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41332 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41333 if test -n "$cxx_z_relo"; then
41334 OPT_LDFLAGS="-Wl,-z,relro"
41335 ac_ld_relro=yes
41337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41338 $as_echo "$ac_ld_relro" >&6; }
41341 # Set linker optimization flags.
41342 if test x"$with_gnu_ld" = x"yes"; then
41343 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41350 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41351 ac_save_CXXFLAGS="$CXXFLAGS"
41352 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41355 $as_echo_n "checking for sin in -lm... " >&6; }
41356 if test "${ac_cv_lib_m_sin+set}" = set; then :
41357 $as_echo_n "(cached) " >&6
41358 else
41359 ac_check_lib_save_LIBS=$LIBS
41360 LIBS="-lm $LIBS"
41361 if test x$gcc_no_link = xyes; then
41362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41365 /* end confdefs.h. */
41367 /* Override any GCC internal prototype to avoid an error.
41368 Use char because int might match the return type of a GCC
41369 builtin and then its argument prototype would still apply. */
41370 #ifdef __cplusplus
41371 extern "C"
41372 #endif
41373 char sin ();
41375 main ()
41377 return sin ();
41379 return 0;
41381 _ACEOF
41382 if ac_fn_c_try_link "$LINENO"; then :
41383 ac_cv_lib_m_sin=yes
41384 else
41385 ac_cv_lib_m_sin=no
41387 rm -f core conftest.err conftest.$ac_objext \
41388 conftest$ac_exeext conftest.$ac_ext
41389 LIBS=$ac_check_lib_save_LIBS
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41392 $as_echo "$ac_cv_lib_m_sin" >&6; }
41393 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41394 libm="-lm"
41397 ac_save_LIBS="$LIBS"
41398 LIBS="$LIBS $libm"
41402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41403 $as_echo_n "checking for isinf declaration... " >&6; }
41404 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41405 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41406 $as_echo_n "(cached) " >&6
41407 else
41410 ac_ext=cpp
41411 ac_cpp='$CXXCPP $CPPFLAGS'
41412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41417 /* end confdefs.h. */
41418 #include <math.h>
41419 #ifdef HAVE_IEEEFP_H
41420 #include <ieeefp.h>
41421 #endif
41424 main ()
41426 isinf(0);
41428 return 0;
41430 _ACEOF
41431 if ac_fn_cxx_try_compile "$LINENO"; then :
41432 glibcxx_cv_func_isinf_use=yes
41433 else
41434 glibcxx_cv_func_isinf_use=no
41436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41437 ac_ext=c
41438 ac_cpp='$CPP $CPPFLAGS'
41439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41448 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41450 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41451 for ac_func in isinf
41452 do :
41453 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41454 if test "x$ac_cv_func_isinf" = x""yes; then :
41455 cat >>confdefs.h <<_ACEOF
41456 #define HAVE_ISINF 1
41457 _ACEOF
41460 done
41462 else
41464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41465 $as_echo_n "checking for _isinf declaration... " >&6; }
41466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41468 $as_echo_n "(cached) " >&6
41469 else
41472 ac_ext=cpp
41473 ac_cpp='$CXXCPP $CPPFLAGS'
41474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41479 /* end confdefs.h. */
41480 #include <math.h>
41481 #ifdef HAVE_IEEEFP_H
41482 #include <ieeefp.h>
41483 #endif
41486 main ()
41488 _isinf(0);
41490 return 0;
41492 _ACEOF
41493 if ac_fn_cxx_try_compile "$LINENO"; then :
41494 glibcxx_cv_func__isinf_use=yes
41495 else
41496 glibcxx_cv_func__isinf_use=no
41498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41499 ac_ext=c
41500 ac_cpp='$CPP $CPPFLAGS'
41501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41510 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41512 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41513 for ac_func in _isinf
41514 do :
41515 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41516 if test "x$ac_cv_func__isinf" = x""yes; then :
41517 cat >>confdefs.h <<_ACEOF
41518 #define HAVE__ISINF 1
41519 _ACEOF
41522 done
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41532 $as_echo_n "checking for isnan declaration... " >&6; }
41533 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41534 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41535 $as_echo_n "(cached) " >&6
41536 else
41539 ac_ext=cpp
41540 ac_cpp='$CXXCPP $CPPFLAGS'
41541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41546 /* end confdefs.h. */
41547 #include <math.h>
41548 #ifdef HAVE_IEEEFP_H
41549 #include <ieeefp.h>
41550 #endif
41553 main ()
41555 isnan(0);
41557 return 0;
41559 _ACEOF
41560 if ac_fn_cxx_try_compile "$LINENO"; then :
41561 glibcxx_cv_func_isnan_use=yes
41562 else
41563 glibcxx_cv_func_isnan_use=no
41565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41566 ac_ext=c
41567 ac_cpp='$CPP $CPPFLAGS'
41568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41577 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41579 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41580 for ac_func in isnan
41581 do :
41582 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41583 if test "x$ac_cv_func_isnan" = x""yes; then :
41584 cat >>confdefs.h <<_ACEOF
41585 #define HAVE_ISNAN 1
41586 _ACEOF
41589 done
41591 else
41593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41594 $as_echo_n "checking for _isnan declaration... " >&6; }
41595 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41596 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41597 $as_echo_n "(cached) " >&6
41598 else
41601 ac_ext=cpp
41602 ac_cpp='$CXXCPP $CPPFLAGS'
41603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41608 /* end confdefs.h. */
41609 #include <math.h>
41610 #ifdef HAVE_IEEEFP_H
41611 #include <ieeefp.h>
41612 #endif
41615 main ()
41617 _isnan(0);
41619 return 0;
41621 _ACEOF
41622 if ac_fn_cxx_try_compile "$LINENO"; then :
41623 glibcxx_cv_func__isnan_use=yes
41624 else
41625 glibcxx_cv_func__isnan_use=no
41627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41628 ac_ext=c
41629 ac_cpp='$CPP $CPPFLAGS'
41630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41639 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41641 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41642 for ac_func in _isnan
41643 do :
41644 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41645 if test "x$ac_cv_func__isnan" = x""yes; then :
41646 cat >>confdefs.h <<_ACEOF
41647 #define HAVE__ISNAN 1
41648 _ACEOF
41651 done
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41661 $as_echo_n "checking for finite declaration... " >&6; }
41662 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41663 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41664 $as_echo_n "(cached) " >&6
41665 else
41668 ac_ext=cpp
41669 ac_cpp='$CXXCPP $CPPFLAGS'
41670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41675 /* end confdefs.h. */
41676 #include <math.h>
41677 #ifdef HAVE_IEEEFP_H
41678 #include <ieeefp.h>
41679 #endif
41682 main ()
41684 finite(0);
41686 return 0;
41688 _ACEOF
41689 if ac_fn_cxx_try_compile "$LINENO"; then :
41690 glibcxx_cv_func_finite_use=yes
41691 else
41692 glibcxx_cv_func_finite_use=no
41694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41695 ac_ext=c
41696 ac_cpp='$CPP $CPPFLAGS'
41697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41706 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41708 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41709 for ac_func in finite
41710 do :
41711 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41712 if test "x$ac_cv_func_finite" = x""yes; then :
41713 cat >>confdefs.h <<_ACEOF
41714 #define HAVE_FINITE 1
41715 _ACEOF
41718 done
41720 else
41722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41723 $as_echo_n "checking for _finite declaration... " >&6; }
41724 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41725 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41726 $as_echo_n "(cached) " >&6
41727 else
41730 ac_ext=cpp
41731 ac_cpp='$CXXCPP $CPPFLAGS'
41732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41737 /* end confdefs.h. */
41738 #include <math.h>
41739 #ifdef HAVE_IEEEFP_H
41740 #include <ieeefp.h>
41741 #endif
41744 main ()
41746 _finite(0);
41748 return 0;
41750 _ACEOF
41751 if ac_fn_cxx_try_compile "$LINENO"; then :
41752 glibcxx_cv_func__finite_use=yes
41753 else
41754 glibcxx_cv_func__finite_use=no
41756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41757 ac_ext=c
41758 ac_cpp='$CPP $CPPFLAGS'
41759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41768 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41770 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41771 for ac_func in _finite
41772 do :
41773 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41774 if test "x$ac_cv_func__finite" = x""yes; then :
41775 cat >>confdefs.h <<_ACEOF
41776 #define HAVE__FINITE 1
41777 _ACEOF
41780 done
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41790 $as_echo_n "checking for sincos declaration... " >&6; }
41791 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41792 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41793 $as_echo_n "(cached) " >&6
41794 else
41797 ac_ext=cpp
41798 ac_cpp='$CXXCPP $CPPFLAGS'
41799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41804 /* end confdefs.h. */
41805 #include <math.h>
41807 main ()
41809 sincos(0, 0, 0);
41811 return 0;
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815 glibcxx_cv_func_sincos_use=yes
41816 else
41817 glibcxx_cv_func_sincos_use=no
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820 ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41831 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41833 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41834 for ac_func in sincos
41835 do :
41836 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41837 if test "x$ac_cv_func_sincos" = x""yes; then :
41838 cat >>confdefs.h <<_ACEOF
41839 #define HAVE_SINCOS 1
41840 _ACEOF
41843 done
41845 else
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41848 $as_echo_n "checking for _sincos declaration... " >&6; }
41849 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41850 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41851 $as_echo_n "(cached) " >&6
41852 else
41855 ac_ext=cpp
41856 ac_cpp='$CXXCPP $CPPFLAGS'
41857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41862 /* end confdefs.h. */
41863 #include <math.h>
41865 main ()
41867 _sincos(0, 0, 0);
41869 return 0;
41871 _ACEOF
41872 if ac_fn_cxx_try_compile "$LINENO"; then :
41873 glibcxx_cv_func__sincos_use=yes
41874 else
41875 glibcxx_cv_func__sincos_use=no
41877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41878 ac_ext=c
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41889 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41891 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41892 for ac_func in _sincos
41893 do :
41894 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41895 if test "x$ac_cv_func__sincos" = x""yes; then :
41896 cat >>confdefs.h <<_ACEOF
41897 #define HAVE__SINCOS 1
41898 _ACEOF
41901 done
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41911 $as_echo_n "checking for fpclass declaration... " >&6; }
41912 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41913 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41914 $as_echo_n "(cached) " >&6
41915 else
41918 ac_ext=cpp
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h. */
41926 #include <math.h>
41927 #ifdef HAVE_IEEEFP_H
41928 #include <ieeefp.h>
41929 #endif
41932 main ()
41934 fpclass(0);
41936 return 0;
41938 _ACEOF
41939 if ac_fn_cxx_try_compile "$LINENO"; then :
41940 glibcxx_cv_func_fpclass_use=yes
41941 else
41942 glibcxx_cv_func_fpclass_use=no
41944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41945 ac_ext=c
41946 ac_cpp='$CPP $CPPFLAGS'
41947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41956 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41958 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41959 for ac_func in fpclass
41960 do :
41961 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41962 if test "x$ac_cv_func_fpclass" = x""yes; then :
41963 cat >>confdefs.h <<_ACEOF
41964 #define HAVE_FPCLASS 1
41965 _ACEOF
41968 done
41970 else
41972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41973 $as_echo_n "checking for _fpclass declaration... " >&6; }
41974 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41975 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41976 $as_echo_n "(cached) " >&6
41977 else
41980 ac_ext=cpp
41981 ac_cpp='$CXXCPP $CPPFLAGS'
41982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41987 /* end confdefs.h. */
41988 #include <math.h>
41989 #ifdef HAVE_IEEEFP_H
41990 #include <ieeefp.h>
41991 #endif
41994 main ()
41996 _fpclass(0);
41998 return 0;
42000 _ACEOF
42001 if ac_fn_cxx_try_compile "$LINENO"; then :
42002 glibcxx_cv_func__fpclass_use=yes
42003 else
42004 glibcxx_cv_func__fpclass_use=no
42006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42007 ac_ext=c
42008 ac_cpp='$CPP $CPPFLAGS'
42009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42018 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42020 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42021 for ac_func in _fpclass
42022 do :
42023 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42024 if test "x$ac_cv_func__fpclass" = x""yes; then :
42025 cat >>confdefs.h <<_ACEOF
42026 #define HAVE__FPCLASS 1
42027 _ACEOF
42030 done
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42040 $as_echo_n "checking for qfpclass declaration... " >&6; }
42041 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42042 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42043 $as_echo_n "(cached) " >&6
42044 else
42047 ac_ext=cpp
42048 ac_cpp='$CXXCPP $CPPFLAGS'
42049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42054 /* end confdefs.h. */
42055 #include <math.h>
42056 #ifdef HAVE_IEEEFP_H
42057 #include <ieeefp.h>
42058 #endif
42061 main ()
42063 qfpclass(0);
42065 return 0;
42067 _ACEOF
42068 if ac_fn_cxx_try_compile "$LINENO"; then :
42069 glibcxx_cv_func_qfpclass_use=yes
42070 else
42071 glibcxx_cv_func_qfpclass_use=no
42073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42074 ac_ext=c
42075 ac_cpp='$CPP $CPPFLAGS'
42076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42085 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42087 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42088 for ac_func in qfpclass
42089 do :
42090 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42091 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42092 cat >>confdefs.h <<_ACEOF
42093 #define HAVE_QFPCLASS 1
42094 _ACEOF
42097 done
42099 else
42101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42102 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42103 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42104 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42105 $as_echo_n "(cached) " >&6
42106 else
42109 ac_ext=cpp
42110 ac_cpp='$CXXCPP $CPPFLAGS'
42111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42116 /* end confdefs.h. */
42117 #include <math.h>
42118 #ifdef HAVE_IEEEFP_H
42119 #include <ieeefp.h>
42120 #endif
42123 main ()
42125 _qfpclass(0);
42127 return 0;
42129 _ACEOF
42130 if ac_fn_cxx_try_compile "$LINENO"; then :
42131 glibcxx_cv_func__qfpclass_use=yes
42132 else
42133 glibcxx_cv_func__qfpclass_use=no
42135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42136 ac_ext=c
42137 ac_cpp='$CPP $CPPFLAGS'
42138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42147 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42149 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42150 for ac_func in _qfpclass
42151 do :
42152 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42153 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42154 cat >>confdefs.h <<_ACEOF
42155 #define HAVE__QFPCLASS 1
42156 _ACEOF
42159 done
42168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42169 $as_echo_n "checking for hypot declaration... " >&6; }
42170 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42171 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42172 $as_echo_n "(cached) " >&6
42173 else
42176 ac_ext=cpp
42177 ac_cpp='$CXXCPP $CPPFLAGS'
42178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42183 /* end confdefs.h. */
42184 #include <math.h>
42186 main ()
42188 hypot(0, 0);
42190 return 0;
42192 _ACEOF
42193 if ac_fn_cxx_try_compile "$LINENO"; then :
42194 glibcxx_cv_func_hypot_use=yes
42195 else
42196 glibcxx_cv_func_hypot_use=no
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199 ac_ext=c
42200 ac_cpp='$CPP $CPPFLAGS'
42201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42210 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42212 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42213 for ac_func in hypot
42214 do :
42215 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42216 if test "x$ac_cv_func_hypot" = x""yes; then :
42217 cat >>confdefs.h <<_ACEOF
42218 #define HAVE_HYPOT 1
42219 _ACEOF
42222 done
42224 else
42226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42227 $as_echo_n "checking for _hypot declaration... " >&6; }
42228 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42229 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42230 $as_echo_n "(cached) " >&6
42231 else
42234 ac_ext=cpp
42235 ac_cpp='$CXXCPP $CPPFLAGS'
42236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42241 /* end confdefs.h. */
42242 #include <math.h>
42244 main ()
42246 _hypot(0, 0);
42248 return 0;
42250 _ACEOF
42251 if ac_fn_cxx_try_compile "$LINENO"; then :
42252 glibcxx_cv_func__hypot_use=yes
42253 else
42254 glibcxx_cv_func__hypot_use=no
42256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42257 ac_ext=c
42258 ac_cpp='$CPP $CPPFLAGS'
42259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42268 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42270 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42271 for ac_func in _hypot
42272 do :
42273 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42274 if test "x$ac_cv_func__hypot" = x""yes; then :
42275 cat >>confdefs.h <<_ACEOF
42276 #define HAVE__HYPOT 1
42277 _ACEOF
42280 done
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42290 $as_echo_n "checking for float trig functions... " >&6; }
42291 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42292 $as_echo_n "(cached) " >&6
42293 else
42296 ac_ext=cpp
42297 ac_cpp='$CXXCPP $CPPFLAGS'
42298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42303 /* end confdefs.h. */
42304 #include <math.h>
42306 main ()
42308 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42310 return 0;
42312 _ACEOF
42313 if ac_fn_cxx_try_compile "$LINENO"; then :
42314 glibcxx_cv_func_float_trig_use=yes
42315 else
42316 glibcxx_cv_func_float_trig_use=no
42318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42319 ac_ext=c
42320 ac_cpp='$CPP $CPPFLAGS'
42321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42328 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42329 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42330 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42331 do :
42332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42334 eval as_val=\$$as_ac_var
42335 if test "x$as_val" = x""yes; then :
42336 cat >>confdefs.h <<_ACEOF
42337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42338 _ACEOF
42341 done
42343 else
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42345 $as_echo_n "checking for _float trig functions... " >&6; }
42346 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42347 $as_echo_n "(cached) " >&6
42348 else
42351 ac_ext=cpp
42352 ac_cpp='$CXXCPP $CPPFLAGS'
42353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42358 /* end confdefs.h. */
42359 #include <math.h>
42361 main ()
42363 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42365 return 0;
42367 _ACEOF
42368 if ac_fn_cxx_try_compile "$LINENO"; then :
42369 glibcxx_cv_func__float_trig_use=yes
42370 else
42371 glibcxx_cv_func__float_trig_use=no
42373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42374 ac_ext=c
42375 ac_cpp='$CPP $CPPFLAGS'
42376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42383 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42384 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42385 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42386 do :
42387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42389 eval as_val=\$$as_ac_var
42390 if test "x$as_val" = x""yes; then :
42391 cat >>confdefs.h <<_ACEOF
42392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42393 _ACEOF
42396 done
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42406 $as_echo_n "checking for float round functions... " >&6; }
42407 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42408 $as_echo_n "(cached) " >&6
42409 else
42412 ac_ext=cpp
42413 ac_cpp='$CXXCPP $CPPFLAGS'
42414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42419 /* end confdefs.h. */
42420 #include <math.h>
42422 main ()
42424 ceilf (0); floorf (0);
42426 return 0;
42428 _ACEOF
42429 if ac_fn_cxx_try_compile "$LINENO"; then :
42430 glibcxx_cv_func_float_round_use=yes
42431 else
42432 glibcxx_cv_func_float_round_use=no
42434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42435 ac_ext=c
42436 ac_cpp='$CPP $CPPFLAGS'
42437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42444 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42445 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42446 for ac_func in ceilf floorf
42447 do :
42448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42450 eval as_val=\$$as_ac_var
42451 if test "x$as_val" = x""yes; then :
42452 cat >>confdefs.h <<_ACEOF
42453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42454 _ACEOF
42457 done
42459 else
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42461 $as_echo_n "checking for _float round functions... " >&6; }
42462 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42463 $as_echo_n "(cached) " >&6
42464 else
42467 ac_ext=cpp
42468 ac_cpp='$CXXCPP $CPPFLAGS'
42469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42474 /* end confdefs.h. */
42475 #include <math.h>
42477 main ()
42479 _ceilf (0); _floorf (0);
42481 return 0;
42483 _ACEOF
42484 if ac_fn_cxx_try_compile "$LINENO"; then :
42485 glibcxx_cv_func__float_round_use=yes
42486 else
42487 glibcxx_cv_func__float_round_use=no
42489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42490 ac_ext=c
42491 ac_cpp='$CPP $CPPFLAGS'
42492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42499 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42500 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42501 for ac_func in _ceilf _floorf
42502 do :
42503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42505 eval as_val=\$$as_ac_var
42506 if test "x$as_val" = x""yes; then :
42507 cat >>confdefs.h <<_ACEOF
42508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42509 _ACEOF
42512 done
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42523 $as_echo_n "checking for expf declaration... " >&6; }
42524 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42525 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42526 $as_echo_n "(cached) " >&6
42527 else
42530 ac_ext=cpp
42531 ac_cpp='$CXXCPP $CPPFLAGS'
42532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42537 /* end confdefs.h. */
42538 #include <math.h>
42539 #ifdef HAVE_IEEEFP_H
42540 #include <ieeefp.h>
42541 #endif
42544 main ()
42546 expf(0);
42548 return 0;
42550 _ACEOF
42551 if ac_fn_cxx_try_compile "$LINENO"; then :
42552 glibcxx_cv_func_expf_use=yes
42553 else
42554 glibcxx_cv_func_expf_use=no
42556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42557 ac_ext=c
42558 ac_cpp='$CPP $CPPFLAGS'
42559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42568 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42570 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42571 for ac_func in expf
42572 do :
42573 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42574 if test "x$ac_cv_func_expf" = x""yes; then :
42575 cat >>confdefs.h <<_ACEOF
42576 #define HAVE_EXPF 1
42577 _ACEOF
42580 done
42582 else
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42585 $as_echo_n "checking for _expf declaration... " >&6; }
42586 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42587 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42588 $as_echo_n "(cached) " >&6
42589 else
42592 ac_ext=cpp
42593 ac_cpp='$CXXCPP $CPPFLAGS'
42594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42599 /* end confdefs.h. */
42600 #include <math.h>
42601 #ifdef HAVE_IEEEFP_H
42602 #include <ieeefp.h>
42603 #endif
42606 main ()
42608 _expf(0);
42610 return 0;
42612 _ACEOF
42613 if ac_fn_cxx_try_compile "$LINENO"; then :
42614 glibcxx_cv_func__expf_use=yes
42615 else
42616 glibcxx_cv_func__expf_use=no
42618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42619 ac_ext=c
42620 ac_cpp='$CPP $CPPFLAGS'
42621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42630 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42632 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42633 for ac_func in _expf
42634 do :
42635 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42636 if test "x$ac_cv_func__expf" = x""yes; then :
42637 cat >>confdefs.h <<_ACEOF
42638 #define HAVE__EXPF 1
42639 _ACEOF
42642 done
42651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42652 $as_echo_n "checking for isnanf declaration... " >&6; }
42653 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42654 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42655 $as_echo_n "(cached) " >&6
42656 else
42659 ac_ext=cpp
42660 ac_cpp='$CXXCPP $CPPFLAGS'
42661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42666 /* end confdefs.h. */
42667 #include <math.h>
42668 #ifdef HAVE_IEEEFP_H
42669 #include <ieeefp.h>
42670 #endif
42673 main ()
42675 isnanf(0);
42677 return 0;
42679 _ACEOF
42680 if ac_fn_cxx_try_compile "$LINENO"; then :
42681 glibcxx_cv_func_isnanf_use=yes
42682 else
42683 glibcxx_cv_func_isnanf_use=no
42685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42686 ac_ext=c
42687 ac_cpp='$CPP $CPPFLAGS'
42688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42697 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42699 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42700 for ac_func in isnanf
42701 do :
42702 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42703 if test "x$ac_cv_func_isnanf" = x""yes; then :
42704 cat >>confdefs.h <<_ACEOF
42705 #define HAVE_ISNANF 1
42706 _ACEOF
42709 done
42711 else
42713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42714 $as_echo_n "checking for _isnanf declaration... " >&6; }
42715 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42716 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42717 $as_echo_n "(cached) " >&6
42718 else
42721 ac_ext=cpp
42722 ac_cpp='$CXXCPP $CPPFLAGS'
42723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42728 /* end confdefs.h. */
42729 #include <math.h>
42730 #ifdef HAVE_IEEEFP_H
42731 #include <ieeefp.h>
42732 #endif
42735 main ()
42737 _isnanf(0);
42739 return 0;
42741 _ACEOF
42742 if ac_fn_cxx_try_compile "$LINENO"; then :
42743 glibcxx_cv_func__isnanf_use=yes
42744 else
42745 glibcxx_cv_func__isnanf_use=no
42747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42748 ac_ext=c
42749 ac_cpp='$CPP $CPPFLAGS'
42750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42759 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42761 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42762 for ac_func in _isnanf
42763 do :
42764 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42765 if test "x$ac_cv_func__isnanf" = x""yes; then :
42766 cat >>confdefs.h <<_ACEOF
42767 #define HAVE__ISNANF 1
42768 _ACEOF
42771 done
42780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42781 $as_echo_n "checking for isinff declaration... " >&6; }
42782 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42783 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42784 $as_echo_n "(cached) " >&6
42785 else
42788 ac_ext=cpp
42789 ac_cpp='$CXXCPP $CPPFLAGS'
42790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42795 /* end confdefs.h. */
42796 #include <math.h>
42797 #ifdef HAVE_IEEEFP_H
42798 #include <ieeefp.h>
42799 #endif
42802 main ()
42804 isinff(0);
42806 return 0;
42808 _ACEOF
42809 if ac_fn_cxx_try_compile "$LINENO"; then :
42810 glibcxx_cv_func_isinff_use=yes
42811 else
42812 glibcxx_cv_func_isinff_use=no
42814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42815 ac_ext=c
42816 ac_cpp='$CPP $CPPFLAGS'
42817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42826 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42828 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42829 for ac_func in isinff
42830 do :
42831 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42832 if test "x$ac_cv_func_isinff" = x""yes; then :
42833 cat >>confdefs.h <<_ACEOF
42834 #define HAVE_ISINFF 1
42835 _ACEOF
42838 done
42840 else
42842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42843 $as_echo_n "checking for _isinff declaration... " >&6; }
42844 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42845 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42846 $as_echo_n "(cached) " >&6
42847 else
42850 ac_ext=cpp
42851 ac_cpp='$CXXCPP $CPPFLAGS'
42852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42857 /* end confdefs.h. */
42858 #include <math.h>
42859 #ifdef HAVE_IEEEFP_H
42860 #include <ieeefp.h>
42861 #endif
42864 main ()
42866 _isinff(0);
42868 return 0;
42870 _ACEOF
42871 if ac_fn_cxx_try_compile "$LINENO"; then :
42872 glibcxx_cv_func__isinff_use=yes
42873 else
42874 glibcxx_cv_func__isinff_use=no
42876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42877 ac_ext=c
42878 ac_cpp='$CPP $CPPFLAGS'
42879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42888 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42890 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42891 for ac_func in _isinff
42892 do :
42893 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42894 if test "x$ac_cv_func__isinff" = x""yes; then :
42895 cat >>confdefs.h <<_ACEOF
42896 #define HAVE__ISINFF 1
42897 _ACEOF
42900 done
42909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42910 $as_echo_n "checking for atan2f declaration... " >&6; }
42911 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42912 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42913 $as_echo_n "(cached) " >&6
42914 else
42917 ac_ext=cpp
42918 ac_cpp='$CXXCPP $CPPFLAGS'
42919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42924 /* end confdefs.h. */
42925 #include <math.h>
42927 main ()
42929 atan2f(0, 0);
42931 return 0;
42933 _ACEOF
42934 if ac_fn_cxx_try_compile "$LINENO"; then :
42935 glibcxx_cv_func_atan2f_use=yes
42936 else
42937 glibcxx_cv_func_atan2f_use=no
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42940 ac_ext=c
42941 ac_cpp='$CPP $CPPFLAGS'
42942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42951 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42953 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42954 for ac_func in atan2f
42955 do :
42956 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42957 if test "x$ac_cv_func_atan2f" = x""yes; then :
42958 cat >>confdefs.h <<_ACEOF
42959 #define HAVE_ATAN2F 1
42960 _ACEOF
42963 done
42965 else
42967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42968 $as_echo_n "checking for _atan2f declaration... " >&6; }
42969 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42970 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42971 $as_echo_n "(cached) " >&6
42972 else
42975 ac_ext=cpp
42976 ac_cpp='$CXXCPP $CPPFLAGS'
42977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42982 /* end confdefs.h. */
42983 #include <math.h>
42985 main ()
42987 _atan2f(0, 0);
42989 return 0;
42991 _ACEOF
42992 if ac_fn_cxx_try_compile "$LINENO"; then :
42993 glibcxx_cv_func__atan2f_use=yes
42994 else
42995 glibcxx_cv_func__atan2f_use=no
42997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42998 ac_ext=c
42999 ac_cpp='$CPP $CPPFLAGS'
43000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43009 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43011 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43012 for ac_func in _atan2f
43013 do :
43014 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43015 if test "x$ac_cv_func__atan2f" = x""yes; then :
43016 cat >>confdefs.h <<_ACEOF
43017 #define HAVE__ATAN2F 1
43018 _ACEOF
43021 done
43030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43031 $as_echo_n "checking for fabsf declaration... " >&6; }
43032 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43033 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43034 $as_echo_n "(cached) " >&6
43035 else
43038 ac_ext=cpp
43039 ac_cpp='$CXXCPP $CPPFLAGS'
43040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43045 /* end confdefs.h. */
43046 #include <math.h>
43047 #ifdef HAVE_IEEEFP_H
43048 #include <ieeefp.h>
43049 #endif
43052 main ()
43054 fabsf(0);
43056 return 0;
43058 _ACEOF
43059 if ac_fn_cxx_try_compile "$LINENO"; then :
43060 glibcxx_cv_func_fabsf_use=yes
43061 else
43062 glibcxx_cv_func_fabsf_use=no
43064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43065 ac_ext=c
43066 ac_cpp='$CPP $CPPFLAGS'
43067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43076 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43078 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43079 for ac_func in fabsf
43080 do :
43081 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43082 if test "x$ac_cv_func_fabsf" = x""yes; then :
43083 cat >>confdefs.h <<_ACEOF
43084 #define HAVE_FABSF 1
43085 _ACEOF
43088 done
43090 else
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43093 $as_echo_n "checking for _fabsf declaration... " >&6; }
43094 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43095 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43096 $as_echo_n "(cached) " >&6
43097 else
43100 ac_ext=cpp
43101 ac_cpp='$CXXCPP $CPPFLAGS'
43102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43107 /* end confdefs.h. */
43108 #include <math.h>
43109 #ifdef HAVE_IEEEFP_H
43110 #include <ieeefp.h>
43111 #endif
43114 main ()
43116 _fabsf(0);
43118 return 0;
43120 _ACEOF
43121 if ac_fn_cxx_try_compile "$LINENO"; then :
43122 glibcxx_cv_func__fabsf_use=yes
43123 else
43124 glibcxx_cv_func__fabsf_use=no
43126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43127 ac_ext=c
43128 ac_cpp='$CPP $CPPFLAGS'
43129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43138 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43140 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43141 for ac_func in _fabsf
43142 do :
43143 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43144 if test "x$ac_cv_func__fabsf" = x""yes; then :
43145 cat >>confdefs.h <<_ACEOF
43146 #define HAVE__FABSF 1
43147 _ACEOF
43150 done
43159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43160 $as_echo_n "checking for fmodf declaration... " >&6; }
43161 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43162 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43163 $as_echo_n "(cached) " >&6
43164 else
43167 ac_ext=cpp
43168 ac_cpp='$CXXCPP $CPPFLAGS'
43169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43174 /* end confdefs.h. */
43175 #include <math.h>
43177 main ()
43179 fmodf(0, 0);
43181 return 0;
43183 _ACEOF
43184 if ac_fn_cxx_try_compile "$LINENO"; then :
43185 glibcxx_cv_func_fmodf_use=yes
43186 else
43187 glibcxx_cv_func_fmodf_use=no
43189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43190 ac_ext=c
43191 ac_cpp='$CPP $CPPFLAGS'
43192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43201 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43203 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43204 for ac_func in fmodf
43205 do :
43206 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43207 if test "x$ac_cv_func_fmodf" = x""yes; then :
43208 cat >>confdefs.h <<_ACEOF
43209 #define HAVE_FMODF 1
43210 _ACEOF
43213 done
43215 else
43217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43218 $as_echo_n "checking for _fmodf declaration... " >&6; }
43219 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43220 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43221 $as_echo_n "(cached) " >&6
43222 else
43225 ac_ext=cpp
43226 ac_cpp='$CXXCPP $CPPFLAGS'
43227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43232 /* end confdefs.h. */
43233 #include <math.h>
43235 main ()
43237 _fmodf(0, 0);
43239 return 0;
43241 _ACEOF
43242 if ac_fn_cxx_try_compile "$LINENO"; then :
43243 glibcxx_cv_func__fmodf_use=yes
43244 else
43245 glibcxx_cv_func__fmodf_use=no
43247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43248 ac_ext=c
43249 ac_cpp='$CPP $CPPFLAGS'
43250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43259 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43261 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43262 for ac_func in _fmodf
43263 do :
43264 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43265 if test "x$ac_cv_func__fmodf" = x""yes; then :
43266 cat >>confdefs.h <<_ACEOF
43267 #define HAVE__FMODF 1
43268 _ACEOF
43271 done
43280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43281 $as_echo_n "checking for frexpf declaration... " >&6; }
43282 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43283 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43284 $as_echo_n "(cached) " >&6
43285 else
43288 ac_ext=cpp
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43295 /* end confdefs.h. */
43296 #include <math.h>
43298 main ()
43300 frexpf(0, 0);
43302 return 0;
43304 _ACEOF
43305 if ac_fn_cxx_try_compile "$LINENO"; then :
43306 glibcxx_cv_func_frexpf_use=yes
43307 else
43308 glibcxx_cv_func_frexpf_use=no
43310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43311 ac_ext=c
43312 ac_cpp='$CPP $CPPFLAGS'
43313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43322 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43324 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43325 for ac_func in frexpf
43326 do :
43327 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43328 if test "x$ac_cv_func_frexpf" = x""yes; then :
43329 cat >>confdefs.h <<_ACEOF
43330 #define HAVE_FREXPF 1
43331 _ACEOF
43334 done
43336 else
43338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43339 $as_echo_n "checking for _frexpf declaration... " >&6; }
43340 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43341 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43342 $as_echo_n "(cached) " >&6
43343 else
43346 ac_ext=cpp
43347 ac_cpp='$CXXCPP $CPPFLAGS'
43348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43353 /* end confdefs.h. */
43354 #include <math.h>
43356 main ()
43358 _frexpf(0, 0);
43360 return 0;
43362 _ACEOF
43363 if ac_fn_cxx_try_compile "$LINENO"; then :
43364 glibcxx_cv_func__frexpf_use=yes
43365 else
43366 glibcxx_cv_func__frexpf_use=no
43368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43369 ac_ext=c
43370 ac_cpp='$CPP $CPPFLAGS'
43371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43380 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43382 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43383 for ac_func in _frexpf
43384 do :
43385 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43386 if test "x$ac_cv_func__frexpf" = x""yes; then :
43387 cat >>confdefs.h <<_ACEOF
43388 #define HAVE__FREXPF 1
43389 _ACEOF
43392 done
43401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43402 $as_echo_n "checking for hypotf declaration... " >&6; }
43403 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43404 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43405 $as_echo_n "(cached) " >&6
43406 else
43409 ac_ext=cpp
43410 ac_cpp='$CXXCPP $CPPFLAGS'
43411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43416 /* end confdefs.h. */
43417 #include <math.h>
43419 main ()
43421 hypotf(0, 0);
43423 return 0;
43425 _ACEOF
43426 if ac_fn_cxx_try_compile "$LINENO"; then :
43427 glibcxx_cv_func_hypotf_use=yes
43428 else
43429 glibcxx_cv_func_hypotf_use=no
43431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43443 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43445 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43446 for ac_func in hypotf
43447 do :
43448 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43449 if test "x$ac_cv_func_hypotf" = x""yes; then :
43450 cat >>confdefs.h <<_ACEOF
43451 #define HAVE_HYPOTF 1
43452 _ACEOF
43455 done
43457 else
43459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43460 $as_echo_n "checking for _hypotf declaration... " >&6; }
43461 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43462 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43463 $as_echo_n "(cached) " >&6
43464 else
43467 ac_ext=cpp
43468 ac_cpp='$CXXCPP $CPPFLAGS'
43469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43474 /* end confdefs.h. */
43475 #include <math.h>
43477 main ()
43479 _hypotf(0, 0);
43481 return 0;
43483 _ACEOF
43484 if ac_fn_cxx_try_compile "$LINENO"; then :
43485 glibcxx_cv_func__hypotf_use=yes
43486 else
43487 glibcxx_cv_func__hypotf_use=no
43489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43490 ac_ext=c
43491 ac_cpp='$CPP $CPPFLAGS'
43492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43501 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43503 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43504 for ac_func in _hypotf
43505 do :
43506 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43507 if test "x$ac_cv_func__hypotf" = x""yes; then :
43508 cat >>confdefs.h <<_ACEOF
43509 #define HAVE__HYPOTF 1
43510 _ACEOF
43513 done
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43523 $as_echo_n "checking for ldexpf declaration... " >&6; }
43524 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43525 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43526 $as_echo_n "(cached) " >&6
43527 else
43530 ac_ext=cpp
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43537 /* end confdefs.h. */
43538 #include <math.h>
43540 main ()
43542 ldexpf(0, 0);
43544 return 0;
43546 _ACEOF
43547 if ac_fn_cxx_try_compile "$LINENO"; then :
43548 glibcxx_cv_func_ldexpf_use=yes
43549 else
43550 glibcxx_cv_func_ldexpf_use=no
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553 ac_ext=c
43554 ac_cpp='$CPP $CPPFLAGS'
43555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43564 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43566 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43567 for ac_func in ldexpf
43568 do :
43569 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43570 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43571 cat >>confdefs.h <<_ACEOF
43572 #define HAVE_LDEXPF 1
43573 _ACEOF
43576 done
43578 else
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43581 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43582 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43583 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43584 $as_echo_n "(cached) " >&6
43585 else
43588 ac_ext=cpp
43589 ac_cpp='$CXXCPP $CPPFLAGS'
43590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43595 /* end confdefs.h. */
43596 #include <math.h>
43598 main ()
43600 _ldexpf(0, 0);
43602 return 0;
43604 _ACEOF
43605 if ac_fn_cxx_try_compile "$LINENO"; then :
43606 glibcxx_cv_func__ldexpf_use=yes
43607 else
43608 glibcxx_cv_func__ldexpf_use=no
43610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43611 ac_ext=c
43612 ac_cpp='$CPP $CPPFLAGS'
43613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43622 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43624 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43625 for ac_func in _ldexpf
43626 do :
43627 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43628 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43629 cat >>confdefs.h <<_ACEOF
43630 #define HAVE__LDEXPF 1
43631 _ACEOF
43634 done
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43644 $as_echo_n "checking for logf declaration... " >&6; }
43645 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43646 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43647 $as_echo_n "(cached) " >&6
43648 else
43651 ac_ext=cpp
43652 ac_cpp='$CXXCPP $CPPFLAGS'
43653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43658 /* end confdefs.h. */
43659 #include <math.h>
43660 #ifdef HAVE_IEEEFP_H
43661 #include <ieeefp.h>
43662 #endif
43665 main ()
43667 logf(0);
43669 return 0;
43671 _ACEOF
43672 if ac_fn_cxx_try_compile "$LINENO"; then :
43673 glibcxx_cv_func_logf_use=yes
43674 else
43675 glibcxx_cv_func_logf_use=no
43677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43678 ac_ext=c
43679 ac_cpp='$CPP $CPPFLAGS'
43680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43689 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43691 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43692 for ac_func in logf
43693 do :
43694 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43695 if test "x$ac_cv_func_logf" = x""yes; then :
43696 cat >>confdefs.h <<_ACEOF
43697 #define HAVE_LOGF 1
43698 _ACEOF
43701 done
43703 else
43705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43706 $as_echo_n "checking for _logf declaration... " >&6; }
43707 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43708 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43709 $as_echo_n "(cached) " >&6
43710 else
43713 ac_ext=cpp
43714 ac_cpp='$CXXCPP $CPPFLAGS'
43715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43720 /* end confdefs.h. */
43721 #include <math.h>
43722 #ifdef HAVE_IEEEFP_H
43723 #include <ieeefp.h>
43724 #endif
43727 main ()
43729 _logf(0);
43731 return 0;
43733 _ACEOF
43734 if ac_fn_cxx_try_compile "$LINENO"; then :
43735 glibcxx_cv_func__logf_use=yes
43736 else
43737 glibcxx_cv_func__logf_use=no
43739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43740 ac_ext=c
43741 ac_cpp='$CPP $CPPFLAGS'
43742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43751 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43753 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43754 for ac_func in _logf
43755 do :
43756 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43757 if test "x$ac_cv_func__logf" = x""yes; then :
43758 cat >>confdefs.h <<_ACEOF
43759 #define HAVE__LOGF 1
43760 _ACEOF
43763 done
43772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43773 $as_echo_n "checking for log10f declaration... " >&6; }
43774 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43775 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43776 $as_echo_n "(cached) " >&6
43777 else
43780 ac_ext=cpp
43781 ac_cpp='$CXXCPP $CPPFLAGS'
43782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43787 /* end confdefs.h. */
43788 #include <math.h>
43789 #ifdef HAVE_IEEEFP_H
43790 #include <ieeefp.h>
43791 #endif
43794 main ()
43796 log10f(0);
43798 return 0;
43800 _ACEOF
43801 if ac_fn_cxx_try_compile "$LINENO"; then :
43802 glibcxx_cv_func_log10f_use=yes
43803 else
43804 glibcxx_cv_func_log10f_use=no
43806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43807 ac_ext=c
43808 ac_cpp='$CPP $CPPFLAGS'
43809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43818 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43820 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43821 for ac_func in log10f
43822 do :
43823 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43824 if test "x$ac_cv_func_log10f" = x""yes; then :
43825 cat >>confdefs.h <<_ACEOF
43826 #define HAVE_LOG10F 1
43827 _ACEOF
43830 done
43832 else
43834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43835 $as_echo_n "checking for _log10f declaration... " >&6; }
43836 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43837 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43838 $as_echo_n "(cached) " >&6
43839 else
43842 ac_ext=cpp
43843 ac_cpp='$CXXCPP $CPPFLAGS'
43844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43849 /* end confdefs.h. */
43850 #include <math.h>
43851 #ifdef HAVE_IEEEFP_H
43852 #include <ieeefp.h>
43853 #endif
43856 main ()
43858 _log10f(0);
43860 return 0;
43862 _ACEOF
43863 if ac_fn_cxx_try_compile "$LINENO"; then :
43864 glibcxx_cv_func__log10f_use=yes
43865 else
43866 glibcxx_cv_func__log10f_use=no
43868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43869 ac_ext=c
43870 ac_cpp='$CPP $CPPFLAGS'
43871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43880 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43882 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43883 for ac_func in _log10f
43884 do :
43885 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43886 if test "x$ac_cv_func__log10f" = x""yes; then :
43887 cat >>confdefs.h <<_ACEOF
43888 #define HAVE__LOG10F 1
43889 _ACEOF
43892 done
43901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43902 $as_echo_n "checking for modff declaration... " >&6; }
43903 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43904 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43905 $as_echo_n "(cached) " >&6
43906 else
43909 ac_ext=cpp
43910 ac_cpp='$CXXCPP $CPPFLAGS'
43911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43916 /* end confdefs.h. */
43917 #include <math.h>
43919 main ()
43921 modff(0, 0);
43923 return 0;
43925 _ACEOF
43926 if ac_fn_cxx_try_compile "$LINENO"; then :
43927 glibcxx_cv_func_modff_use=yes
43928 else
43929 glibcxx_cv_func_modff_use=no
43931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43932 ac_ext=c
43933 ac_cpp='$CPP $CPPFLAGS'
43934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43943 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43945 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43946 for ac_func in modff
43947 do :
43948 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43949 if test "x$ac_cv_func_modff" = x""yes; then :
43950 cat >>confdefs.h <<_ACEOF
43951 #define HAVE_MODFF 1
43952 _ACEOF
43955 done
43957 else
43959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43960 $as_echo_n "checking for _modff declaration... " >&6; }
43961 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43962 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43963 $as_echo_n "(cached) " >&6
43964 else
43967 ac_ext=cpp
43968 ac_cpp='$CXXCPP $CPPFLAGS'
43969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43974 /* end confdefs.h. */
43975 #include <math.h>
43977 main ()
43979 _modff(0, 0);
43981 return 0;
43983 _ACEOF
43984 if ac_fn_cxx_try_compile "$LINENO"; then :
43985 glibcxx_cv_func__modff_use=yes
43986 else
43987 glibcxx_cv_func__modff_use=no
43989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43990 ac_ext=c
43991 ac_cpp='$CPP $CPPFLAGS'
43992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44001 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44003 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44004 for ac_func in _modff
44005 do :
44006 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44007 if test "x$ac_cv_func__modff" = x""yes; then :
44008 cat >>confdefs.h <<_ACEOF
44009 #define HAVE__MODFF 1
44010 _ACEOF
44013 done
44022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44023 $as_echo_n "checking for modf declaration... " >&6; }
44024 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44025 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44026 $as_echo_n "(cached) " >&6
44027 else
44030 ac_ext=cpp
44031 ac_cpp='$CXXCPP $CPPFLAGS'
44032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44037 /* end confdefs.h. */
44038 #include <math.h>
44040 main ()
44042 modf(0, 0);
44044 return 0;
44046 _ACEOF
44047 if ac_fn_cxx_try_compile "$LINENO"; then :
44048 glibcxx_cv_func_modf_use=yes
44049 else
44050 glibcxx_cv_func_modf_use=no
44052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44053 ac_ext=c
44054 ac_cpp='$CPP $CPPFLAGS'
44055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44064 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44066 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44067 for ac_func in modf
44068 do :
44069 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44070 if test "x$ac_cv_func_modf" = x""yes; then :
44071 cat >>confdefs.h <<_ACEOF
44072 #define HAVE_MODF 1
44073 _ACEOF
44076 done
44078 else
44080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44081 $as_echo_n "checking for _modf declaration... " >&6; }
44082 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44083 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44084 $as_echo_n "(cached) " >&6
44085 else
44088 ac_ext=cpp
44089 ac_cpp='$CXXCPP $CPPFLAGS'
44090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44095 /* end confdefs.h. */
44096 #include <math.h>
44098 main ()
44100 _modf(0, 0);
44102 return 0;
44104 _ACEOF
44105 if ac_fn_cxx_try_compile "$LINENO"; then :
44106 glibcxx_cv_func__modf_use=yes
44107 else
44108 glibcxx_cv_func__modf_use=no
44110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44111 ac_ext=c
44112 ac_cpp='$CPP $CPPFLAGS'
44113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44122 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44124 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44125 for ac_func in _modf
44126 do :
44127 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44128 if test "x$ac_cv_func__modf" = x""yes; then :
44129 cat >>confdefs.h <<_ACEOF
44130 #define HAVE__MODF 1
44131 _ACEOF
44134 done
44143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44144 $as_echo_n "checking for powf declaration... " >&6; }
44145 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44146 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44147 $as_echo_n "(cached) " >&6
44148 else
44151 ac_ext=cpp
44152 ac_cpp='$CXXCPP $CPPFLAGS'
44153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44158 /* end confdefs.h. */
44159 #include <math.h>
44161 main ()
44163 powf(0, 0);
44165 return 0;
44167 _ACEOF
44168 if ac_fn_cxx_try_compile "$LINENO"; then :
44169 glibcxx_cv_func_powf_use=yes
44170 else
44171 glibcxx_cv_func_powf_use=no
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174 ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44185 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44187 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44188 for ac_func in powf
44189 do :
44190 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44191 if test "x$ac_cv_func_powf" = x""yes; then :
44192 cat >>confdefs.h <<_ACEOF
44193 #define HAVE_POWF 1
44194 _ACEOF
44197 done
44199 else
44201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44202 $as_echo_n "checking for _powf declaration... " >&6; }
44203 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44204 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44205 $as_echo_n "(cached) " >&6
44206 else
44209 ac_ext=cpp
44210 ac_cpp='$CXXCPP $CPPFLAGS'
44211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44216 /* end confdefs.h. */
44217 #include <math.h>
44219 main ()
44221 _powf(0, 0);
44223 return 0;
44225 _ACEOF
44226 if ac_fn_cxx_try_compile "$LINENO"; then :
44227 glibcxx_cv_func__powf_use=yes
44228 else
44229 glibcxx_cv_func__powf_use=no
44231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44232 ac_ext=c
44233 ac_cpp='$CPP $CPPFLAGS'
44234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44243 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44245 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44246 for ac_func in _powf
44247 do :
44248 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44249 if test "x$ac_cv_func__powf" = x""yes; then :
44250 cat >>confdefs.h <<_ACEOF
44251 #define HAVE__POWF 1
44252 _ACEOF
44255 done
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44265 $as_echo_n "checking for sqrtf declaration... " >&6; }
44266 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44267 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44268 $as_echo_n "(cached) " >&6
44269 else
44272 ac_ext=cpp
44273 ac_cpp='$CXXCPP $CPPFLAGS'
44274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44279 /* end confdefs.h. */
44280 #include <math.h>
44281 #ifdef HAVE_IEEEFP_H
44282 #include <ieeefp.h>
44283 #endif
44286 main ()
44288 sqrtf(0);
44290 return 0;
44292 _ACEOF
44293 if ac_fn_cxx_try_compile "$LINENO"; then :
44294 glibcxx_cv_func_sqrtf_use=yes
44295 else
44296 glibcxx_cv_func_sqrtf_use=no
44298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44299 ac_ext=c
44300 ac_cpp='$CPP $CPPFLAGS'
44301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44310 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44312 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44313 for ac_func in sqrtf
44314 do :
44315 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44316 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44317 cat >>confdefs.h <<_ACEOF
44318 #define HAVE_SQRTF 1
44319 _ACEOF
44322 done
44324 else
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44327 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44328 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44329 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44330 $as_echo_n "(cached) " >&6
44331 else
44334 ac_ext=cpp
44335 ac_cpp='$CXXCPP $CPPFLAGS'
44336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44341 /* end confdefs.h. */
44342 #include <math.h>
44343 #ifdef HAVE_IEEEFP_H
44344 #include <ieeefp.h>
44345 #endif
44348 main ()
44350 _sqrtf(0);
44352 return 0;
44354 _ACEOF
44355 if ac_fn_cxx_try_compile "$LINENO"; then :
44356 glibcxx_cv_func__sqrtf_use=yes
44357 else
44358 glibcxx_cv_func__sqrtf_use=no
44360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44361 ac_ext=c
44362 ac_cpp='$CPP $CPPFLAGS'
44363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44372 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44374 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44375 for ac_func in _sqrtf
44376 do :
44377 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44378 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44379 cat >>confdefs.h <<_ACEOF
44380 #define HAVE__SQRTF 1
44381 _ACEOF
44384 done
44393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44394 $as_echo_n "checking for sincosf declaration... " >&6; }
44395 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44396 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44397 $as_echo_n "(cached) " >&6
44398 else
44401 ac_ext=cpp
44402 ac_cpp='$CXXCPP $CPPFLAGS'
44403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44408 /* end confdefs.h. */
44409 #include <math.h>
44411 main ()
44413 sincosf(0, 0, 0);
44415 return 0;
44417 _ACEOF
44418 if ac_fn_cxx_try_compile "$LINENO"; then :
44419 glibcxx_cv_func_sincosf_use=yes
44420 else
44421 glibcxx_cv_func_sincosf_use=no
44423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44424 ac_ext=c
44425 ac_cpp='$CPP $CPPFLAGS'
44426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44435 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44437 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44438 for ac_func in sincosf
44439 do :
44440 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44441 if test "x$ac_cv_func_sincosf" = x""yes; then :
44442 cat >>confdefs.h <<_ACEOF
44443 #define HAVE_SINCOSF 1
44444 _ACEOF
44447 done
44449 else
44451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44452 $as_echo_n "checking for _sincosf declaration... " >&6; }
44453 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44454 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44455 $as_echo_n "(cached) " >&6
44456 else
44459 ac_ext=cpp
44460 ac_cpp='$CXXCPP $CPPFLAGS'
44461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44466 /* end confdefs.h. */
44467 #include <math.h>
44469 main ()
44471 _sincosf(0, 0, 0);
44473 return 0;
44475 _ACEOF
44476 if ac_fn_cxx_try_compile "$LINENO"; then :
44477 glibcxx_cv_func__sincosf_use=yes
44478 else
44479 glibcxx_cv_func__sincosf_use=no
44481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44482 ac_ext=c
44483 ac_cpp='$CPP $CPPFLAGS'
44484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44493 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44495 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44496 for ac_func in _sincosf
44497 do :
44498 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44499 if test "x$ac_cv_func__sincosf" = x""yes; then :
44500 cat >>confdefs.h <<_ACEOF
44501 #define HAVE__SINCOSF 1
44502 _ACEOF
44505 done
44514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44515 $as_echo_n "checking for finitef declaration... " >&6; }
44516 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44517 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44518 $as_echo_n "(cached) " >&6
44519 else
44522 ac_ext=cpp
44523 ac_cpp='$CXXCPP $CPPFLAGS'
44524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44529 /* end confdefs.h. */
44530 #include <math.h>
44531 #ifdef HAVE_IEEEFP_H
44532 #include <ieeefp.h>
44533 #endif
44536 main ()
44538 finitef(0);
44540 return 0;
44542 _ACEOF
44543 if ac_fn_cxx_try_compile "$LINENO"; then :
44544 glibcxx_cv_func_finitef_use=yes
44545 else
44546 glibcxx_cv_func_finitef_use=no
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 ac_ext=c
44550 ac_cpp='$CPP $CPPFLAGS'
44551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44560 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44562 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44563 for ac_func in finitef
44564 do :
44565 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44566 if test "x$ac_cv_func_finitef" = x""yes; then :
44567 cat >>confdefs.h <<_ACEOF
44568 #define HAVE_FINITEF 1
44569 _ACEOF
44572 done
44574 else
44576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44577 $as_echo_n "checking for _finitef declaration... " >&6; }
44578 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44579 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44580 $as_echo_n "(cached) " >&6
44581 else
44584 ac_ext=cpp
44585 ac_cpp='$CXXCPP $CPPFLAGS'
44586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44591 /* end confdefs.h. */
44592 #include <math.h>
44593 #ifdef HAVE_IEEEFP_H
44594 #include <ieeefp.h>
44595 #endif
44598 main ()
44600 _finitef(0);
44602 return 0;
44604 _ACEOF
44605 if ac_fn_cxx_try_compile "$LINENO"; then :
44606 glibcxx_cv_func__finitef_use=yes
44607 else
44608 glibcxx_cv_func__finitef_use=no
44610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44611 ac_ext=c
44612 ac_cpp='$CPP $CPPFLAGS'
44613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44622 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44624 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44625 for ac_func in _finitef
44626 do :
44627 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44628 if test "x$ac_cv_func__finitef" = x""yes; then :
44629 cat >>confdefs.h <<_ACEOF
44630 #define HAVE__FINITEF 1
44631 _ACEOF
44634 done
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44644 $as_echo_n "checking for long double trig functions... " >&6; }
44645 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44646 $as_echo_n "(cached) " >&6
44647 else
44650 ac_ext=cpp
44651 ac_cpp='$CXXCPP $CPPFLAGS'
44652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44657 /* end confdefs.h. */
44658 #include <math.h>
44660 main ()
44662 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44664 return 0;
44666 _ACEOF
44667 if ac_fn_cxx_try_compile "$LINENO"; then :
44668 glibcxx_cv_func_long_double_trig_use=yes
44669 else
44670 glibcxx_cv_func_long_double_trig_use=no
44672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44673 ac_ext=c
44674 ac_cpp='$CPP $CPPFLAGS'
44675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44682 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44683 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44684 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44685 do :
44686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44688 eval as_val=\$$as_ac_var
44689 if test "x$as_val" = x""yes; then :
44690 cat >>confdefs.h <<_ACEOF
44691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44692 _ACEOF
44695 done
44697 else
44698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44699 $as_echo_n "checking for _long double trig functions... " >&6; }
44700 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44701 $as_echo_n "(cached) " >&6
44702 else
44705 ac_ext=cpp
44706 ac_cpp='$CXXCPP $CPPFLAGS'
44707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44712 /* end confdefs.h. */
44713 #include <math.h>
44715 main ()
44717 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44719 return 0;
44721 _ACEOF
44722 if ac_fn_cxx_try_compile "$LINENO"; then :
44723 glibcxx_cv_func__long_double_trig_use=yes
44724 else
44725 glibcxx_cv_func__long_double_trig_use=no
44727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44728 ac_ext=c
44729 ac_cpp='$CPP $CPPFLAGS'
44730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44737 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44738 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44739 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44740 do :
44741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44743 eval as_val=\$$as_ac_var
44744 if test "x$as_val" = x""yes; then :
44745 cat >>confdefs.h <<_ACEOF
44746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44747 _ACEOF
44750 done
44759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44760 $as_echo_n "checking for long double round functions... " >&6; }
44761 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44762 $as_echo_n "(cached) " >&6
44763 else
44766 ac_ext=cpp
44767 ac_cpp='$CXXCPP $CPPFLAGS'
44768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44773 /* end confdefs.h. */
44774 #include <math.h>
44776 main ()
44778 ceill (0); floorl (0);
44780 return 0;
44782 _ACEOF
44783 if ac_fn_cxx_try_compile "$LINENO"; then :
44784 glibcxx_cv_func_long_double_round_use=yes
44785 else
44786 glibcxx_cv_func_long_double_round_use=no
44788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44789 ac_ext=c
44790 ac_cpp='$CPP $CPPFLAGS'
44791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44798 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44799 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44800 for ac_func in ceill floorl
44801 do :
44802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44804 eval as_val=\$$as_ac_var
44805 if test "x$as_val" = x""yes; then :
44806 cat >>confdefs.h <<_ACEOF
44807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44808 _ACEOF
44811 done
44813 else
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44815 $as_echo_n "checking for _long double round functions... " >&6; }
44816 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44817 $as_echo_n "(cached) " >&6
44818 else
44821 ac_ext=cpp
44822 ac_cpp='$CXXCPP $CPPFLAGS'
44823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44828 /* end confdefs.h. */
44829 #include <math.h>
44831 main ()
44833 _ceill (0); _floorl (0);
44835 return 0;
44837 _ACEOF
44838 if ac_fn_cxx_try_compile "$LINENO"; then :
44839 glibcxx_cv_func__long_double_round_use=yes
44840 else
44841 glibcxx_cv_func__long_double_round_use=no
44843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44844 ac_ext=c
44845 ac_cpp='$CPP $CPPFLAGS'
44846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44853 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44854 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44855 for ac_func in _ceill _floorl
44856 do :
44857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44859 eval as_val=\$$as_ac_var
44860 if test "x$as_val" = x""yes; then :
44861 cat >>confdefs.h <<_ACEOF
44862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44863 _ACEOF
44866 done
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44877 $as_echo_n "checking for isnanl declaration... " >&6; }
44878 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44879 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44880 $as_echo_n "(cached) " >&6
44881 else
44884 ac_ext=cpp
44885 ac_cpp='$CXXCPP $CPPFLAGS'
44886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44891 /* end confdefs.h. */
44892 #include <math.h>
44893 #ifdef HAVE_IEEEFP_H
44894 #include <ieeefp.h>
44895 #endif
44898 main ()
44900 isnanl(0);
44902 return 0;
44904 _ACEOF
44905 if ac_fn_cxx_try_compile "$LINENO"; then :
44906 glibcxx_cv_func_isnanl_use=yes
44907 else
44908 glibcxx_cv_func_isnanl_use=no
44910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44911 ac_ext=c
44912 ac_cpp='$CPP $CPPFLAGS'
44913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44922 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44924 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44925 for ac_func in isnanl
44926 do :
44927 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44928 if test "x$ac_cv_func_isnanl" = x""yes; then :
44929 cat >>confdefs.h <<_ACEOF
44930 #define HAVE_ISNANL 1
44931 _ACEOF
44934 done
44936 else
44938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44939 $as_echo_n "checking for _isnanl declaration... " >&6; }
44940 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44941 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44942 $as_echo_n "(cached) " >&6
44943 else
44946 ac_ext=cpp
44947 ac_cpp='$CXXCPP $CPPFLAGS'
44948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44953 /* end confdefs.h. */
44954 #include <math.h>
44955 #ifdef HAVE_IEEEFP_H
44956 #include <ieeefp.h>
44957 #endif
44960 main ()
44962 _isnanl(0);
44964 return 0;
44966 _ACEOF
44967 if ac_fn_cxx_try_compile "$LINENO"; then :
44968 glibcxx_cv_func__isnanl_use=yes
44969 else
44970 glibcxx_cv_func__isnanl_use=no
44972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44973 ac_ext=c
44974 ac_cpp='$CPP $CPPFLAGS'
44975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44984 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44986 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44987 for ac_func in _isnanl
44988 do :
44989 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44990 if test "x$ac_cv_func__isnanl" = x""yes; then :
44991 cat >>confdefs.h <<_ACEOF
44992 #define HAVE__ISNANL 1
44993 _ACEOF
44996 done
45005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45006 $as_echo_n "checking for isinfl declaration... " >&6; }
45007 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45008 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45009 $as_echo_n "(cached) " >&6
45010 else
45013 ac_ext=cpp
45014 ac_cpp='$CXXCPP $CPPFLAGS'
45015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45020 /* end confdefs.h. */
45021 #include <math.h>
45022 #ifdef HAVE_IEEEFP_H
45023 #include <ieeefp.h>
45024 #endif
45027 main ()
45029 isinfl(0);
45031 return 0;
45033 _ACEOF
45034 if ac_fn_cxx_try_compile "$LINENO"; then :
45035 glibcxx_cv_func_isinfl_use=yes
45036 else
45037 glibcxx_cv_func_isinfl_use=no
45039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45040 ac_ext=c
45041 ac_cpp='$CPP $CPPFLAGS'
45042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45051 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45053 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45054 for ac_func in isinfl
45055 do :
45056 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45057 if test "x$ac_cv_func_isinfl" = x""yes; then :
45058 cat >>confdefs.h <<_ACEOF
45059 #define HAVE_ISINFL 1
45060 _ACEOF
45063 done
45065 else
45067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45068 $as_echo_n "checking for _isinfl declaration... " >&6; }
45069 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45070 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45071 $as_echo_n "(cached) " >&6
45072 else
45075 ac_ext=cpp
45076 ac_cpp='$CXXCPP $CPPFLAGS'
45077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45082 /* end confdefs.h. */
45083 #include <math.h>
45084 #ifdef HAVE_IEEEFP_H
45085 #include <ieeefp.h>
45086 #endif
45089 main ()
45091 _isinfl(0);
45093 return 0;
45095 _ACEOF
45096 if ac_fn_cxx_try_compile "$LINENO"; then :
45097 glibcxx_cv_func__isinfl_use=yes
45098 else
45099 glibcxx_cv_func__isinfl_use=no
45101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45102 ac_ext=c
45103 ac_cpp='$CPP $CPPFLAGS'
45104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45113 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45115 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45116 for ac_func in _isinfl
45117 do :
45118 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45119 if test "x$ac_cv_func__isinfl" = x""yes; then :
45120 cat >>confdefs.h <<_ACEOF
45121 #define HAVE__ISINFL 1
45122 _ACEOF
45125 done
45134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45135 $as_echo_n "checking for atan2l declaration... " >&6; }
45136 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45137 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45138 $as_echo_n "(cached) " >&6
45139 else
45142 ac_ext=cpp
45143 ac_cpp='$CXXCPP $CPPFLAGS'
45144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45149 /* end confdefs.h. */
45150 #include <math.h>
45152 main ()
45154 atan2l(0, 0);
45156 return 0;
45158 _ACEOF
45159 if ac_fn_cxx_try_compile "$LINENO"; then :
45160 glibcxx_cv_func_atan2l_use=yes
45161 else
45162 glibcxx_cv_func_atan2l_use=no
45164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45165 ac_ext=c
45166 ac_cpp='$CPP $CPPFLAGS'
45167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45176 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45178 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45179 for ac_func in atan2l
45180 do :
45181 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45182 if test "x$ac_cv_func_atan2l" = x""yes; then :
45183 cat >>confdefs.h <<_ACEOF
45184 #define HAVE_ATAN2L 1
45185 _ACEOF
45188 done
45190 else
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45193 $as_echo_n "checking for _atan2l declaration... " >&6; }
45194 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45195 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45196 $as_echo_n "(cached) " >&6
45197 else
45200 ac_ext=cpp
45201 ac_cpp='$CXXCPP $CPPFLAGS'
45202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45207 /* end confdefs.h. */
45208 #include <math.h>
45210 main ()
45212 _atan2l(0, 0);
45214 return 0;
45216 _ACEOF
45217 if ac_fn_cxx_try_compile "$LINENO"; then :
45218 glibcxx_cv_func__atan2l_use=yes
45219 else
45220 glibcxx_cv_func__atan2l_use=no
45222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45223 ac_ext=c
45224 ac_cpp='$CPP $CPPFLAGS'
45225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45234 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45236 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45237 for ac_func in _atan2l
45238 do :
45239 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45240 if test "x$ac_cv_func__atan2l" = x""yes; then :
45241 cat >>confdefs.h <<_ACEOF
45242 #define HAVE__ATAN2L 1
45243 _ACEOF
45246 done
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45256 $as_echo_n "checking for expl declaration... " >&6; }
45257 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45258 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45259 $as_echo_n "(cached) " >&6
45260 else
45263 ac_ext=cpp
45264 ac_cpp='$CXXCPP $CPPFLAGS'
45265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45270 /* end confdefs.h. */
45271 #include <math.h>
45272 #ifdef HAVE_IEEEFP_H
45273 #include <ieeefp.h>
45274 #endif
45277 main ()
45279 expl(0);
45281 return 0;
45283 _ACEOF
45284 if ac_fn_cxx_try_compile "$LINENO"; then :
45285 glibcxx_cv_func_expl_use=yes
45286 else
45287 glibcxx_cv_func_expl_use=no
45289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45290 ac_ext=c
45291 ac_cpp='$CPP $CPPFLAGS'
45292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45301 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45303 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45304 for ac_func in expl
45305 do :
45306 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45307 if test "x$ac_cv_func_expl" = x""yes; then :
45308 cat >>confdefs.h <<_ACEOF
45309 #define HAVE_EXPL 1
45310 _ACEOF
45313 done
45315 else
45317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45318 $as_echo_n "checking for _expl declaration... " >&6; }
45319 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45320 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45321 $as_echo_n "(cached) " >&6
45322 else
45325 ac_ext=cpp
45326 ac_cpp='$CXXCPP $CPPFLAGS'
45327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45332 /* end confdefs.h. */
45333 #include <math.h>
45334 #ifdef HAVE_IEEEFP_H
45335 #include <ieeefp.h>
45336 #endif
45339 main ()
45341 _expl(0);
45343 return 0;
45345 _ACEOF
45346 if ac_fn_cxx_try_compile "$LINENO"; then :
45347 glibcxx_cv_func__expl_use=yes
45348 else
45349 glibcxx_cv_func__expl_use=no
45351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45352 ac_ext=c
45353 ac_cpp='$CPP $CPPFLAGS'
45354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45363 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45365 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45366 for ac_func in _expl
45367 do :
45368 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45369 if test "x$ac_cv_func__expl" = x""yes; then :
45370 cat >>confdefs.h <<_ACEOF
45371 #define HAVE__EXPL 1
45372 _ACEOF
45375 done
45384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45385 $as_echo_n "checking for fabsl declaration... " >&6; }
45386 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45387 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45388 $as_echo_n "(cached) " >&6
45389 else
45392 ac_ext=cpp
45393 ac_cpp='$CXXCPP $CPPFLAGS'
45394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45399 /* end confdefs.h. */
45400 #include <math.h>
45401 #ifdef HAVE_IEEEFP_H
45402 #include <ieeefp.h>
45403 #endif
45406 main ()
45408 fabsl(0);
45410 return 0;
45412 _ACEOF
45413 if ac_fn_cxx_try_compile "$LINENO"; then :
45414 glibcxx_cv_func_fabsl_use=yes
45415 else
45416 glibcxx_cv_func_fabsl_use=no
45418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45419 ac_ext=c
45420 ac_cpp='$CPP $CPPFLAGS'
45421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45430 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45432 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45433 for ac_func in fabsl
45434 do :
45435 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45436 if test "x$ac_cv_func_fabsl" = x""yes; then :
45437 cat >>confdefs.h <<_ACEOF
45438 #define HAVE_FABSL 1
45439 _ACEOF
45442 done
45444 else
45446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45447 $as_echo_n "checking for _fabsl declaration... " >&6; }
45448 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45449 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45450 $as_echo_n "(cached) " >&6
45451 else
45454 ac_ext=cpp
45455 ac_cpp='$CXXCPP $CPPFLAGS'
45456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45461 /* end confdefs.h. */
45462 #include <math.h>
45463 #ifdef HAVE_IEEEFP_H
45464 #include <ieeefp.h>
45465 #endif
45468 main ()
45470 _fabsl(0);
45472 return 0;
45474 _ACEOF
45475 if ac_fn_cxx_try_compile "$LINENO"; then :
45476 glibcxx_cv_func__fabsl_use=yes
45477 else
45478 glibcxx_cv_func__fabsl_use=no
45480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45481 ac_ext=c
45482 ac_cpp='$CPP $CPPFLAGS'
45483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45492 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45494 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45495 for ac_func in _fabsl
45496 do :
45497 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45498 if test "x$ac_cv_func__fabsl" = x""yes; then :
45499 cat >>confdefs.h <<_ACEOF
45500 #define HAVE__FABSL 1
45501 _ACEOF
45504 done
45513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45514 $as_echo_n "checking for fmodl declaration... " >&6; }
45515 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45516 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45517 $as_echo_n "(cached) " >&6
45518 else
45521 ac_ext=cpp
45522 ac_cpp='$CXXCPP $CPPFLAGS'
45523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45528 /* end confdefs.h. */
45529 #include <math.h>
45531 main ()
45533 fmodl(0, 0);
45535 return 0;
45537 _ACEOF
45538 if ac_fn_cxx_try_compile "$LINENO"; then :
45539 glibcxx_cv_func_fmodl_use=yes
45540 else
45541 glibcxx_cv_func_fmodl_use=no
45543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45544 ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45555 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45557 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45558 for ac_func in fmodl
45559 do :
45560 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45561 if test "x$ac_cv_func_fmodl" = x""yes; then :
45562 cat >>confdefs.h <<_ACEOF
45563 #define HAVE_FMODL 1
45564 _ACEOF
45567 done
45569 else
45571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45572 $as_echo_n "checking for _fmodl declaration... " >&6; }
45573 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45574 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45575 $as_echo_n "(cached) " >&6
45576 else
45579 ac_ext=cpp
45580 ac_cpp='$CXXCPP $CPPFLAGS'
45581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45586 /* end confdefs.h. */
45587 #include <math.h>
45589 main ()
45591 _fmodl(0, 0);
45593 return 0;
45595 _ACEOF
45596 if ac_fn_cxx_try_compile "$LINENO"; then :
45597 glibcxx_cv_func__fmodl_use=yes
45598 else
45599 glibcxx_cv_func__fmodl_use=no
45601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45602 ac_ext=c
45603 ac_cpp='$CPP $CPPFLAGS'
45604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45613 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45615 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45616 for ac_func in _fmodl
45617 do :
45618 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45619 if test "x$ac_cv_func__fmodl" = x""yes; then :
45620 cat >>confdefs.h <<_ACEOF
45621 #define HAVE__FMODL 1
45622 _ACEOF
45625 done
45634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45635 $as_echo_n "checking for frexpl declaration... " >&6; }
45636 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45637 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45638 $as_echo_n "(cached) " >&6
45639 else
45642 ac_ext=cpp
45643 ac_cpp='$CXXCPP $CPPFLAGS'
45644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45649 /* end confdefs.h. */
45650 #include <math.h>
45652 main ()
45654 frexpl(0, 0);
45656 return 0;
45658 _ACEOF
45659 if ac_fn_cxx_try_compile "$LINENO"; then :
45660 glibcxx_cv_func_frexpl_use=yes
45661 else
45662 glibcxx_cv_func_frexpl_use=no
45664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45665 ac_ext=c
45666 ac_cpp='$CPP $CPPFLAGS'
45667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45676 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45678 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45679 for ac_func in frexpl
45680 do :
45681 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45682 if test "x$ac_cv_func_frexpl" = x""yes; then :
45683 cat >>confdefs.h <<_ACEOF
45684 #define HAVE_FREXPL 1
45685 _ACEOF
45688 done
45690 else
45692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45693 $as_echo_n "checking for _frexpl declaration... " >&6; }
45694 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45695 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45696 $as_echo_n "(cached) " >&6
45697 else
45700 ac_ext=cpp
45701 ac_cpp='$CXXCPP $CPPFLAGS'
45702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45707 /* end confdefs.h. */
45708 #include <math.h>
45710 main ()
45712 _frexpl(0, 0);
45714 return 0;
45716 _ACEOF
45717 if ac_fn_cxx_try_compile "$LINENO"; then :
45718 glibcxx_cv_func__frexpl_use=yes
45719 else
45720 glibcxx_cv_func__frexpl_use=no
45722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45723 ac_ext=c
45724 ac_cpp='$CPP $CPPFLAGS'
45725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45734 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45736 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45737 for ac_func in _frexpl
45738 do :
45739 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45740 if test "x$ac_cv_func__frexpl" = x""yes; then :
45741 cat >>confdefs.h <<_ACEOF
45742 #define HAVE__FREXPL 1
45743 _ACEOF
45746 done
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45756 $as_echo_n "checking for hypotl declaration... " >&6; }
45757 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45758 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45759 $as_echo_n "(cached) " >&6
45760 else
45763 ac_ext=cpp
45764 ac_cpp='$CXXCPP $CPPFLAGS'
45765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45770 /* end confdefs.h. */
45771 #include <math.h>
45773 main ()
45775 hypotl(0, 0);
45777 return 0;
45779 _ACEOF
45780 if ac_fn_cxx_try_compile "$LINENO"; then :
45781 glibcxx_cv_func_hypotl_use=yes
45782 else
45783 glibcxx_cv_func_hypotl_use=no
45785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45786 ac_ext=c
45787 ac_cpp='$CPP $CPPFLAGS'
45788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45797 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45799 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45800 for ac_func in hypotl
45801 do :
45802 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45803 if test "x$ac_cv_func_hypotl" = x""yes; then :
45804 cat >>confdefs.h <<_ACEOF
45805 #define HAVE_HYPOTL 1
45806 _ACEOF
45809 done
45811 else
45813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45814 $as_echo_n "checking for _hypotl declaration... " >&6; }
45815 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45816 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45817 $as_echo_n "(cached) " >&6
45818 else
45821 ac_ext=cpp
45822 ac_cpp='$CXXCPP $CPPFLAGS'
45823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45828 /* end confdefs.h. */
45829 #include <math.h>
45831 main ()
45833 _hypotl(0, 0);
45835 return 0;
45837 _ACEOF
45838 if ac_fn_cxx_try_compile "$LINENO"; then :
45839 glibcxx_cv_func__hypotl_use=yes
45840 else
45841 glibcxx_cv_func__hypotl_use=no
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 ac_ext=c
45845 ac_cpp='$CPP $CPPFLAGS'
45846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45855 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45857 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45858 for ac_func in _hypotl
45859 do :
45860 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45861 if test "x$ac_cv_func__hypotl" = x""yes; then :
45862 cat >>confdefs.h <<_ACEOF
45863 #define HAVE__HYPOTL 1
45864 _ACEOF
45867 done
45876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45877 $as_echo_n "checking for ldexpl declaration... " >&6; }
45878 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45879 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45880 $as_echo_n "(cached) " >&6
45881 else
45884 ac_ext=cpp
45885 ac_cpp='$CXXCPP $CPPFLAGS'
45886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45891 /* end confdefs.h. */
45892 #include <math.h>
45894 main ()
45896 ldexpl(0, 0);
45898 return 0;
45900 _ACEOF
45901 if ac_fn_cxx_try_compile "$LINENO"; then :
45902 glibcxx_cv_func_ldexpl_use=yes
45903 else
45904 glibcxx_cv_func_ldexpl_use=no
45906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45907 ac_ext=c
45908 ac_cpp='$CPP $CPPFLAGS'
45909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45918 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45920 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45921 for ac_func in ldexpl
45922 do :
45923 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45924 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45925 cat >>confdefs.h <<_ACEOF
45926 #define HAVE_LDEXPL 1
45927 _ACEOF
45930 done
45932 else
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45935 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45936 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45937 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45938 $as_echo_n "(cached) " >&6
45939 else
45942 ac_ext=cpp
45943 ac_cpp='$CXXCPP $CPPFLAGS'
45944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45949 /* end confdefs.h. */
45950 #include <math.h>
45952 main ()
45954 _ldexpl(0, 0);
45956 return 0;
45958 _ACEOF
45959 if ac_fn_cxx_try_compile "$LINENO"; then :
45960 glibcxx_cv_func__ldexpl_use=yes
45961 else
45962 glibcxx_cv_func__ldexpl_use=no
45964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45965 ac_ext=c
45966 ac_cpp='$CPP $CPPFLAGS'
45967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45976 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45978 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45979 for ac_func in _ldexpl
45980 do :
45981 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45982 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45983 cat >>confdefs.h <<_ACEOF
45984 #define HAVE__LDEXPL 1
45985 _ACEOF
45988 done
45997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45998 $as_echo_n "checking for logl declaration... " >&6; }
45999 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46000 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46001 $as_echo_n "(cached) " >&6
46002 else
46005 ac_ext=cpp
46006 ac_cpp='$CXXCPP $CPPFLAGS'
46007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46012 /* end confdefs.h. */
46013 #include <math.h>
46014 #ifdef HAVE_IEEEFP_H
46015 #include <ieeefp.h>
46016 #endif
46019 main ()
46021 logl(0);
46023 return 0;
46025 _ACEOF
46026 if ac_fn_cxx_try_compile "$LINENO"; then :
46027 glibcxx_cv_func_logl_use=yes
46028 else
46029 glibcxx_cv_func_logl_use=no
46031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46032 ac_ext=c
46033 ac_cpp='$CPP $CPPFLAGS'
46034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46043 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46045 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46046 for ac_func in logl
46047 do :
46048 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46049 if test "x$ac_cv_func_logl" = x""yes; then :
46050 cat >>confdefs.h <<_ACEOF
46051 #define HAVE_LOGL 1
46052 _ACEOF
46055 done
46057 else
46059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46060 $as_echo_n "checking for _logl declaration... " >&6; }
46061 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46062 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46063 $as_echo_n "(cached) " >&6
46064 else
46067 ac_ext=cpp
46068 ac_cpp='$CXXCPP $CPPFLAGS'
46069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46074 /* end confdefs.h. */
46075 #include <math.h>
46076 #ifdef HAVE_IEEEFP_H
46077 #include <ieeefp.h>
46078 #endif
46081 main ()
46083 _logl(0);
46085 return 0;
46087 _ACEOF
46088 if ac_fn_cxx_try_compile "$LINENO"; then :
46089 glibcxx_cv_func__logl_use=yes
46090 else
46091 glibcxx_cv_func__logl_use=no
46093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46094 ac_ext=c
46095 ac_cpp='$CPP $CPPFLAGS'
46096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46105 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46107 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46108 for ac_func in _logl
46109 do :
46110 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46111 if test "x$ac_cv_func__logl" = x""yes; then :
46112 cat >>confdefs.h <<_ACEOF
46113 #define HAVE__LOGL 1
46114 _ACEOF
46117 done
46126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46127 $as_echo_n "checking for log10l declaration... " >&6; }
46128 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46129 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46130 $as_echo_n "(cached) " >&6
46131 else
46134 ac_ext=cpp
46135 ac_cpp='$CXXCPP $CPPFLAGS'
46136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46141 /* end confdefs.h. */
46142 #include <math.h>
46143 #ifdef HAVE_IEEEFP_H
46144 #include <ieeefp.h>
46145 #endif
46148 main ()
46150 log10l(0);
46152 return 0;
46154 _ACEOF
46155 if ac_fn_cxx_try_compile "$LINENO"; then :
46156 glibcxx_cv_func_log10l_use=yes
46157 else
46158 glibcxx_cv_func_log10l_use=no
46160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46161 ac_ext=c
46162 ac_cpp='$CPP $CPPFLAGS'
46163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46172 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46174 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46175 for ac_func in log10l
46176 do :
46177 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46178 if test "x$ac_cv_func_log10l" = x""yes; then :
46179 cat >>confdefs.h <<_ACEOF
46180 #define HAVE_LOG10L 1
46181 _ACEOF
46184 done
46186 else
46188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46189 $as_echo_n "checking for _log10l declaration... " >&6; }
46190 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46191 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46192 $as_echo_n "(cached) " >&6
46193 else
46196 ac_ext=cpp
46197 ac_cpp='$CXXCPP $CPPFLAGS'
46198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46203 /* end confdefs.h. */
46204 #include <math.h>
46205 #ifdef HAVE_IEEEFP_H
46206 #include <ieeefp.h>
46207 #endif
46210 main ()
46212 _log10l(0);
46214 return 0;
46216 _ACEOF
46217 if ac_fn_cxx_try_compile "$LINENO"; then :
46218 glibcxx_cv_func__log10l_use=yes
46219 else
46220 glibcxx_cv_func__log10l_use=no
46222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46223 ac_ext=c
46224 ac_cpp='$CPP $CPPFLAGS'
46225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46234 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46236 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46237 for ac_func in _log10l
46238 do :
46239 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46240 if test "x$ac_cv_func__log10l" = x""yes; then :
46241 cat >>confdefs.h <<_ACEOF
46242 #define HAVE__LOG10L 1
46243 _ACEOF
46246 done
46255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46256 $as_echo_n "checking for modfl declaration... " >&6; }
46257 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46258 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46259 $as_echo_n "(cached) " >&6
46260 else
46263 ac_ext=cpp
46264 ac_cpp='$CXXCPP $CPPFLAGS'
46265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46270 /* end confdefs.h. */
46271 #include <math.h>
46273 main ()
46275 modfl(0, 0);
46277 return 0;
46279 _ACEOF
46280 if ac_fn_cxx_try_compile "$LINENO"; then :
46281 glibcxx_cv_func_modfl_use=yes
46282 else
46283 glibcxx_cv_func_modfl_use=no
46285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46286 ac_ext=c
46287 ac_cpp='$CPP $CPPFLAGS'
46288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46297 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46299 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46300 for ac_func in modfl
46301 do :
46302 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46303 if test "x$ac_cv_func_modfl" = x""yes; then :
46304 cat >>confdefs.h <<_ACEOF
46305 #define HAVE_MODFL 1
46306 _ACEOF
46309 done
46311 else
46313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46314 $as_echo_n "checking for _modfl declaration... " >&6; }
46315 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46316 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46317 $as_echo_n "(cached) " >&6
46318 else
46321 ac_ext=cpp
46322 ac_cpp='$CXXCPP $CPPFLAGS'
46323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46328 /* end confdefs.h. */
46329 #include <math.h>
46331 main ()
46333 _modfl(0, 0);
46335 return 0;
46337 _ACEOF
46338 if ac_fn_cxx_try_compile "$LINENO"; then :
46339 glibcxx_cv_func__modfl_use=yes
46340 else
46341 glibcxx_cv_func__modfl_use=no
46343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46344 ac_ext=c
46345 ac_cpp='$CPP $CPPFLAGS'
46346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46355 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46357 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46358 for ac_func in _modfl
46359 do :
46360 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46361 if test "x$ac_cv_func__modfl" = x""yes; then :
46362 cat >>confdefs.h <<_ACEOF
46363 #define HAVE__MODFL 1
46364 _ACEOF
46367 done
46376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46377 $as_echo_n "checking for powl declaration... " >&6; }
46378 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46379 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46380 $as_echo_n "(cached) " >&6
46381 else
46384 ac_ext=cpp
46385 ac_cpp='$CXXCPP $CPPFLAGS'
46386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46391 /* end confdefs.h. */
46392 #include <math.h>
46394 main ()
46396 powl(0, 0);
46398 return 0;
46400 _ACEOF
46401 if ac_fn_cxx_try_compile "$LINENO"; then :
46402 glibcxx_cv_func_powl_use=yes
46403 else
46404 glibcxx_cv_func_powl_use=no
46406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46407 ac_ext=c
46408 ac_cpp='$CPP $CPPFLAGS'
46409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46418 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46420 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46421 for ac_func in powl
46422 do :
46423 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46424 if test "x$ac_cv_func_powl" = x""yes; then :
46425 cat >>confdefs.h <<_ACEOF
46426 #define HAVE_POWL 1
46427 _ACEOF
46430 done
46432 else
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46435 $as_echo_n "checking for _powl declaration... " >&6; }
46436 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46437 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46438 $as_echo_n "(cached) " >&6
46439 else
46442 ac_ext=cpp
46443 ac_cpp='$CXXCPP $CPPFLAGS'
46444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46449 /* end confdefs.h. */
46450 #include <math.h>
46452 main ()
46454 _powl(0, 0);
46456 return 0;
46458 _ACEOF
46459 if ac_fn_cxx_try_compile "$LINENO"; then :
46460 glibcxx_cv_func__powl_use=yes
46461 else
46462 glibcxx_cv_func__powl_use=no
46464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46465 ac_ext=c
46466 ac_cpp='$CPP $CPPFLAGS'
46467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46476 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46478 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46479 for ac_func in _powl
46480 do :
46481 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46482 if test "x$ac_cv_func__powl" = x""yes; then :
46483 cat >>confdefs.h <<_ACEOF
46484 #define HAVE__POWL 1
46485 _ACEOF
46488 done
46497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46498 $as_echo_n "checking for sqrtl declaration... " >&6; }
46499 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46500 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46501 $as_echo_n "(cached) " >&6
46502 else
46505 ac_ext=cpp
46506 ac_cpp='$CXXCPP $CPPFLAGS'
46507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46512 /* end confdefs.h. */
46513 #include <math.h>
46514 #ifdef HAVE_IEEEFP_H
46515 #include <ieeefp.h>
46516 #endif
46519 main ()
46521 sqrtl(0);
46523 return 0;
46525 _ACEOF
46526 if ac_fn_cxx_try_compile "$LINENO"; then :
46527 glibcxx_cv_func_sqrtl_use=yes
46528 else
46529 glibcxx_cv_func_sqrtl_use=no
46531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46532 ac_ext=c
46533 ac_cpp='$CPP $CPPFLAGS'
46534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46543 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46545 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46546 for ac_func in sqrtl
46547 do :
46548 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46549 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46550 cat >>confdefs.h <<_ACEOF
46551 #define HAVE_SQRTL 1
46552 _ACEOF
46555 done
46557 else
46559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46560 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46561 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46562 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46563 $as_echo_n "(cached) " >&6
46564 else
46567 ac_ext=cpp
46568 ac_cpp='$CXXCPP $CPPFLAGS'
46569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46574 /* end confdefs.h. */
46575 #include <math.h>
46576 #ifdef HAVE_IEEEFP_H
46577 #include <ieeefp.h>
46578 #endif
46581 main ()
46583 _sqrtl(0);
46585 return 0;
46587 _ACEOF
46588 if ac_fn_cxx_try_compile "$LINENO"; then :
46589 glibcxx_cv_func__sqrtl_use=yes
46590 else
46591 glibcxx_cv_func__sqrtl_use=no
46593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46594 ac_ext=c
46595 ac_cpp='$CPP $CPPFLAGS'
46596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46605 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46607 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46608 for ac_func in _sqrtl
46609 do :
46610 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46611 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46612 cat >>confdefs.h <<_ACEOF
46613 #define HAVE__SQRTL 1
46614 _ACEOF
46617 done
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46627 $as_echo_n "checking for sincosl declaration... " >&6; }
46628 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46629 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46630 $as_echo_n "(cached) " >&6
46631 else
46634 ac_ext=cpp
46635 ac_cpp='$CXXCPP $CPPFLAGS'
46636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46641 /* end confdefs.h. */
46642 #include <math.h>
46644 main ()
46646 sincosl(0, 0, 0);
46648 return 0;
46650 _ACEOF
46651 if ac_fn_cxx_try_compile "$LINENO"; then :
46652 glibcxx_cv_func_sincosl_use=yes
46653 else
46654 glibcxx_cv_func_sincosl_use=no
46656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46657 ac_ext=c
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46668 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46670 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46671 for ac_func in sincosl
46672 do :
46673 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46674 if test "x$ac_cv_func_sincosl" = x""yes; then :
46675 cat >>confdefs.h <<_ACEOF
46676 #define HAVE_SINCOSL 1
46677 _ACEOF
46680 done
46682 else
46684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46685 $as_echo_n "checking for _sincosl declaration... " >&6; }
46686 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46687 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46688 $as_echo_n "(cached) " >&6
46689 else
46692 ac_ext=cpp
46693 ac_cpp='$CXXCPP $CPPFLAGS'
46694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46699 /* end confdefs.h. */
46700 #include <math.h>
46702 main ()
46704 _sincosl(0, 0, 0);
46706 return 0;
46708 _ACEOF
46709 if ac_fn_cxx_try_compile "$LINENO"; then :
46710 glibcxx_cv_func__sincosl_use=yes
46711 else
46712 glibcxx_cv_func__sincosl_use=no
46714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46715 ac_ext=c
46716 ac_cpp='$CPP $CPPFLAGS'
46717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46726 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46728 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46729 for ac_func in _sincosl
46730 do :
46731 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46732 if test "x$ac_cv_func__sincosl" = x""yes; then :
46733 cat >>confdefs.h <<_ACEOF
46734 #define HAVE__SINCOSL 1
46735 _ACEOF
46738 done
46747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46748 $as_echo_n "checking for finitel declaration... " >&6; }
46749 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46750 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46751 $as_echo_n "(cached) " >&6
46752 else
46755 ac_ext=cpp
46756 ac_cpp='$CXXCPP $CPPFLAGS'
46757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46762 /* end confdefs.h. */
46763 #include <math.h>
46764 #ifdef HAVE_IEEEFP_H
46765 #include <ieeefp.h>
46766 #endif
46769 main ()
46771 finitel(0);
46773 return 0;
46775 _ACEOF
46776 if ac_fn_cxx_try_compile "$LINENO"; then :
46777 glibcxx_cv_func_finitel_use=yes
46778 else
46779 glibcxx_cv_func_finitel_use=no
46781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46782 ac_ext=c
46783 ac_cpp='$CPP $CPPFLAGS'
46784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46793 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46795 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46796 for ac_func in finitel
46797 do :
46798 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46799 if test "x$ac_cv_func_finitel" = x""yes; then :
46800 cat >>confdefs.h <<_ACEOF
46801 #define HAVE_FINITEL 1
46802 _ACEOF
46805 done
46807 else
46809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46810 $as_echo_n "checking for _finitel declaration... " >&6; }
46811 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46812 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46813 $as_echo_n "(cached) " >&6
46814 else
46817 ac_ext=cpp
46818 ac_cpp='$CXXCPP $CPPFLAGS'
46819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46824 /* end confdefs.h. */
46825 #include <math.h>
46826 #ifdef HAVE_IEEEFP_H
46827 #include <ieeefp.h>
46828 #endif
46831 main ()
46833 _finitel(0);
46835 return 0;
46837 _ACEOF
46838 if ac_fn_cxx_try_compile "$LINENO"; then :
46839 glibcxx_cv_func__finitel_use=yes
46840 else
46841 glibcxx_cv_func__finitel_use=no
46843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46844 ac_ext=c
46845 ac_cpp='$CPP $CPPFLAGS'
46846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46855 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46857 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46858 for ac_func in _finitel
46859 do :
46860 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46861 if test "x$ac_cv_func__finitel" = x""yes; then :
46862 cat >>confdefs.h <<_ACEOF
46863 #define HAVE__FINITEL 1
46864 _ACEOF
46867 done
46875 LIBS="$ac_save_LIBS"
46876 CXXFLAGS="$ac_save_CXXFLAGS"
46879 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46880 ac_save_CXXFLAGS="$CXXFLAGS"
46881 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46885 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46886 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46887 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46888 $as_echo_n "(cached) " >&6
46889 else
46892 ac_ext=cpp
46893 ac_cpp='$CXXCPP $CPPFLAGS'
46894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46899 /* end confdefs.h. */
46900 #include <stdlib.h>
46902 main ()
46904 at_quick_exit(0);
46906 return 0;
46908 _ACEOF
46909 if ac_fn_cxx_try_compile "$LINENO"; then :
46910 glibcxx_cv_func_at_quick_exit_use=yes
46911 else
46912 glibcxx_cv_func_at_quick_exit_use=no
46914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46915 ac_ext=c
46916 ac_cpp='$CPP $CPPFLAGS'
46917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46926 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46927 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46928 for ac_func in at_quick_exit
46929 do :
46930 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46931 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46932 cat >>confdefs.h <<_ACEOF
46933 #define HAVE_AT_QUICK_EXIT 1
46934 _ACEOF
46937 done
46942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46943 $as_echo_n "checking for quick_exit declaration... " >&6; }
46944 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46945 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46946 $as_echo_n "(cached) " >&6
46947 else
46950 ac_ext=cpp
46951 ac_cpp='$CXXCPP $CPPFLAGS'
46952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46957 /* end confdefs.h. */
46958 #include <stdlib.h>
46960 main ()
46962 quick_exit(0);
46964 return 0;
46966 _ACEOF
46967 if ac_fn_cxx_try_compile "$LINENO"; then :
46968 glibcxx_cv_func_quick_exit_use=yes
46969 else
46970 glibcxx_cv_func_quick_exit_use=no
46972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46973 ac_ext=c
46974 ac_cpp='$CPP $CPPFLAGS'
46975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46984 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46985 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46986 for ac_func in quick_exit
46987 do :
46988 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46989 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46990 cat >>confdefs.h <<_ACEOF
46991 #define HAVE_QUICK_EXIT 1
46992 _ACEOF
46995 done
47000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47001 $as_echo_n "checking for strtold declaration... " >&6; }
47002 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47003 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47004 $as_echo_n "(cached) " >&6
47005 else
47008 ac_ext=cpp
47009 ac_cpp='$CXXCPP $CPPFLAGS'
47010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47015 /* end confdefs.h. */
47016 #include <stdlib.h>
47018 main ()
47020 strtold(0, 0);
47022 return 0;
47024 _ACEOF
47025 if ac_fn_cxx_try_compile "$LINENO"; then :
47026 glibcxx_cv_func_strtold_use=yes
47027 else
47028 glibcxx_cv_func_strtold_use=no
47030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47031 ac_ext=c
47032 ac_cpp='$CPP $CPPFLAGS'
47033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47042 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47043 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47044 for ac_func in strtold
47045 do :
47046 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47047 if test "x$ac_cv_func_strtold" = x""yes; then :
47048 cat >>confdefs.h <<_ACEOF
47049 #define HAVE_STRTOLD 1
47050 _ACEOF
47053 done
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47061 $as_echo_n "checking for strtof declaration... " >&6; }
47062 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47063 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47064 $as_echo_n "(cached) " >&6
47065 else
47068 ac_ext=cpp
47069 ac_cpp='$CXXCPP $CPPFLAGS'
47070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47075 /* end confdefs.h. */
47076 #include <stdlib.h>
47078 main ()
47080 strtof(0, 0);
47082 return 0;
47084 _ACEOF
47085 if ac_fn_cxx_try_compile "$LINENO"; then :
47086 glibcxx_cv_func_strtof_use=yes
47087 else
47088 glibcxx_cv_func_strtof_use=no
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47091 ac_ext=c
47092 ac_cpp='$CPP $CPPFLAGS'
47093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47102 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47103 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47104 for ac_func in strtof
47105 do :
47106 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47107 if test "x$ac_cv_func_strtof" = x""yes; then :
47108 cat >>confdefs.h <<_ACEOF
47109 #define HAVE_STRTOF 1
47110 _ACEOF
47113 done
47120 CXXFLAGS="$ac_save_CXXFLAGS"
47122 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47124 # We don't yet support AIX's TLS ABI.
47125 #GCC_CHECK_TLS
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47132 $as_echo_n "checking for iconv... " >&6; }
47133 if test "${am_cv_func_iconv+set}" = set; then :
47134 $as_echo_n "(cached) " >&6
47135 else
47137 am_cv_func_iconv="no, consider installing GNU libiconv"
47138 am_cv_lib_iconv=no
47139 am_save_CPPFLAGS="$CPPFLAGS"
47140 CPPFLAGS="$CPPFLAGS $INCICONV"
47141 if test x$gcc_no_link = xyes; then
47142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47145 /* end confdefs.h. */
47146 #include <stdlib.h>
47147 #include <iconv.h>
47149 main ()
47151 iconv_t cd = iconv_open("","");
47152 iconv(cd,NULL,NULL,NULL,NULL);
47153 iconv_close(cd);
47155 return 0;
47157 _ACEOF
47158 if ac_fn_c_try_link "$LINENO"; then :
47159 am_cv_func_iconv=yes
47161 rm -f core conftest.err conftest.$ac_objext \
47162 conftest$ac_exeext conftest.$ac_ext
47163 CPPFLAGS="$am_save_CPPFLAGS"
47165 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47166 for _libs in .libs _libs; do
47167 am_save_CPPFLAGS="$CPPFLAGS"
47168 am_save_LIBS="$LIBS"
47169 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47170 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47171 if test x$gcc_no_link = xyes; then
47172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47175 /* end confdefs.h. */
47176 #include <stdlib.h>
47177 #include <iconv.h>
47179 main ()
47181 iconv_t cd = iconv_open("","");
47182 iconv(cd,NULL,NULL,NULL,NULL);
47183 iconv_close(cd);
47185 return 0;
47187 _ACEOF
47188 if ac_fn_c_try_link "$LINENO"; then :
47189 INCICONV="-I../libiconv/include"
47190 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47191 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47192 am_cv_lib_iconv=yes
47193 am_cv_func_iconv=yes
47195 rm -f core conftest.err conftest.$ac_objext \
47196 conftest$ac_exeext conftest.$ac_ext
47197 CPPFLAGS="$am_save_CPPFLAGS"
47198 LIBS="$am_save_LIBS"
47199 if test "$am_cv_func_iconv" = "yes"; then
47200 break
47202 done
47205 if test "$am_cv_func_iconv" != yes; then
47206 am_save_CPPFLAGS="$CPPFLAGS"
47207 am_save_LIBS="$LIBS"
47208 CPPFLAGS="$LIBS $INCICONV"
47209 LIBS="$LIBS $LIBICONV"
47210 if test x$gcc_no_link = xyes; then
47211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47214 /* end confdefs.h. */
47215 #include <stdlib.h>
47216 #include <iconv.h>
47218 main ()
47220 iconv_t cd = iconv_open("","");
47221 iconv(cd,NULL,NULL,NULL,NULL);
47222 iconv_close(cd);
47224 return 0;
47226 _ACEOF
47227 if ac_fn_c_try_link "$LINENO"; then :
47228 am_cv_lib_iconv=yes
47229 am_cv_func_iconv=yes
47231 rm -f core conftest.err conftest.$ac_objext \
47232 conftest$ac_exeext conftest.$ac_ext
47233 CPPFLAGS="$am_save_CPPFLAGS"
47234 LIBS="$am_save_LIBS"
47238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47239 $as_echo "$am_cv_func_iconv" >&6; }
47240 if test "$am_cv_func_iconv" = yes; then
47242 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47245 if test "$am_cv_lib_iconv" = yes; then
47247 for element in $INCICONV; do
47248 haveit=
47249 for x in $CPPFLAGS; do
47251 acl_save_prefix="$prefix"
47252 prefix="$acl_final_prefix"
47253 acl_save_exec_prefix="$exec_prefix"
47254 exec_prefix="$acl_final_exec_prefix"
47255 eval x=\"$x\"
47256 exec_prefix="$acl_save_exec_prefix"
47257 prefix="$acl_save_prefix"
47259 if test "X$x" = "X$element"; then
47260 haveit=yes
47261 break
47263 done
47264 if test -z "$haveit"; then
47265 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47267 done
47269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47270 $as_echo_n "checking how to link with libiconv... " >&6; }
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47272 $as_echo "$LIBICONV" >&6; }
47273 else
47274 LIBICONV=
47275 LTLIBICONV=
47280 if test "$am_cv_func_iconv" = yes; then
47281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47282 $as_echo_n "checking for iconv declaration... " >&6; }
47283 if test "${am_cv_proto_iconv+set}" = set; then :
47284 $as_echo_n "(cached) " >&6
47285 else
47287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47288 /* end confdefs.h. */
47290 #include <stdlib.h>
47291 #include <iconv.h>
47292 extern
47293 #ifdef __cplusplus
47295 #endif
47296 #if defined(__STDC__) || defined(__cplusplus)
47297 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47298 #else
47299 size_t iconv();
47300 #endif
47303 main ()
47307 return 0;
47309 _ACEOF
47310 if ac_fn_c_try_compile "$LINENO"; then :
47311 am_cv_proto_iconv_arg1=""
47312 else
47313 am_cv_proto_iconv_arg1="const"
47315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47316 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);"
47319 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47321 }$am_cv_proto_iconv" >&5
47322 $as_echo "${ac_t:-
47323 }$am_cv_proto_iconv" >&6; }
47325 cat >>confdefs.h <<_ACEOF
47326 #define ICONV_CONST $am_cv_proto_iconv_arg1
47327 _ACEOF
47333 *-darwin*)
47334 # Darwin versions vary, but the linker should work in a cross environment,
47335 # so we just check for all the features here.
47336 # Check for available headers.
47338 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47341 ac_save_CXXFLAGS="$CXXFLAGS"
47342 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47345 $as_echo_n "checking for sin in -lm... " >&6; }
47346 if test "${ac_cv_lib_m_sin+set}" = set; then :
47347 $as_echo_n "(cached) " >&6
47348 else
47349 ac_check_lib_save_LIBS=$LIBS
47350 LIBS="-lm $LIBS"
47351 if test x$gcc_no_link = xyes; then
47352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47355 /* end confdefs.h. */
47357 /* Override any GCC internal prototype to avoid an error.
47358 Use char because int might match the return type of a GCC
47359 builtin and then its argument prototype would still apply. */
47360 #ifdef __cplusplus
47361 extern "C"
47362 #endif
47363 char sin ();
47365 main ()
47367 return sin ();
47369 return 0;
47371 _ACEOF
47372 if ac_fn_c_try_link "$LINENO"; then :
47373 ac_cv_lib_m_sin=yes
47374 else
47375 ac_cv_lib_m_sin=no
47377 rm -f core conftest.err conftest.$ac_objext \
47378 conftest$ac_exeext conftest.$ac_ext
47379 LIBS=$ac_check_lib_save_LIBS
47381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47382 $as_echo "$ac_cv_lib_m_sin" >&6; }
47383 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47384 libm="-lm"
47387 ac_save_LIBS="$LIBS"
47388 LIBS="$LIBS $libm"
47392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47393 $as_echo_n "checking for isinf declaration... " >&6; }
47394 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47395 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47396 $as_echo_n "(cached) " >&6
47397 else
47400 ac_ext=cpp
47401 ac_cpp='$CXXCPP $CPPFLAGS'
47402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47407 /* end confdefs.h. */
47408 #include <math.h>
47409 #ifdef HAVE_IEEEFP_H
47410 #include <ieeefp.h>
47411 #endif
47414 main ()
47416 isinf(0);
47418 return 0;
47420 _ACEOF
47421 if ac_fn_cxx_try_compile "$LINENO"; then :
47422 glibcxx_cv_func_isinf_use=yes
47423 else
47424 glibcxx_cv_func_isinf_use=no
47426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47427 ac_ext=c
47428 ac_cpp='$CPP $CPPFLAGS'
47429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47438 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47440 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47441 for ac_func in isinf
47442 do :
47443 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47444 if test "x$ac_cv_func_isinf" = x""yes; then :
47445 cat >>confdefs.h <<_ACEOF
47446 #define HAVE_ISINF 1
47447 _ACEOF
47450 done
47452 else
47454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47455 $as_echo_n "checking for _isinf declaration... " >&6; }
47456 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47457 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47458 $as_echo_n "(cached) " >&6
47459 else
47462 ac_ext=cpp
47463 ac_cpp='$CXXCPP $CPPFLAGS'
47464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47469 /* end confdefs.h. */
47470 #include <math.h>
47471 #ifdef HAVE_IEEEFP_H
47472 #include <ieeefp.h>
47473 #endif
47476 main ()
47478 _isinf(0);
47480 return 0;
47482 _ACEOF
47483 if ac_fn_cxx_try_compile "$LINENO"; then :
47484 glibcxx_cv_func__isinf_use=yes
47485 else
47486 glibcxx_cv_func__isinf_use=no
47488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47489 ac_ext=c
47490 ac_cpp='$CPP $CPPFLAGS'
47491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47500 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47502 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47503 for ac_func in _isinf
47504 do :
47505 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47506 if test "x$ac_cv_func__isinf" = x""yes; then :
47507 cat >>confdefs.h <<_ACEOF
47508 #define HAVE__ISINF 1
47509 _ACEOF
47512 done
47521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47522 $as_echo_n "checking for isnan declaration... " >&6; }
47523 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47524 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47525 $as_echo_n "(cached) " >&6
47526 else
47529 ac_ext=cpp
47530 ac_cpp='$CXXCPP $CPPFLAGS'
47531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47536 /* end confdefs.h. */
47537 #include <math.h>
47538 #ifdef HAVE_IEEEFP_H
47539 #include <ieeefp.h>
47540 #endif
47543 main ()
47545 isnan(0);
47547 return 0;
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551 glibcxx_cv_func_isnan_use=yes
47552 else
47553 glibcxx_cv_func_isnan_use=no
47555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47556 ac_ext=c
47557 ac_cpp='$CPP $CPPFLAGS'
47558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47567 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47569 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47570 for ac_func in isnan
47571 do :
47572 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47573 if test "x$ac_cv_func_isnan" = x""yes; then :
47574 cat >>confdefs.h <<_ACEOF
47575 #define HAVE_ISNAN 1
47576 _ACEOF
47579 done
47581 else
47583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47584 $as_echo_n "checking for _isnan declaration... " >&6; }
47585 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47586 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47587 $as_echo_n "(cached) " >&6
47588 else
47591 ac_ext=cpp
47592 ac_cpp='$CXXCPP $CPPFLAGS'
47593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47598 /* end confdefs.h. */
47599 #include <math.h>
47600 #ifdef HAVE_IEEEFP_H
47601 #include <ieeefp.h>
47602 #endif
47605 main ()
47607 _isnan(0);
47609 return 0;
47611 _ACEOF
47612 if ac_fn_cxx_try_compile "$LINENO"; then :
47613 glibcxx_cv_func__isnan_use=yes
47614 else
47615 glibcxx_cv_func__isnan_use=no
47617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47618 ac_ext=c
47619 ac_cpp='$CPP $CPPFLAGS'
47620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47629 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47631 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47632 for ac_func in _isnan
47633 do :
47634 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47635 if test "x$ac_cv_func__isnan" = x""yes; then :
47636 cat >>confdefs.h <<_ACEOF
47637 #define HAVE__ISNAN 1
47638 _ACEOF
47641 done
47650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47651 $as_echo_n "checking for finite declaration... " >&6; }
47652 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47653 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47654 $as_echo_n "(cached) " >&6
47655 else
47658 ac_ext=cpp
47659 ac_cpp='$CXXCPP $CPPFLAGS'
47660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47665 /* end confdefs.h. */
47666 #include <math.h>
47667 #ifdef HAVE_IEEEFP_H
47668 #include <ieeefp.h>
47669 #endif
47672 main ()
47674 finite(0);
47676 return 0;
47678 _ACEOF
47679 if ac_fn_cxx_try_compile "$LINENO"; then :
47680 glibcxx_cv_func_finite_use=yes
47681 else
47682 glibcxx_cv_func_finite_use=no
47684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47685 ac_ext=c
47686 ac_cpp='$CPP $CPPFLAGS'
47687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47696 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47698 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47699 for ac_func in finite
47700 do :
47701 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47702 if test "x$ac_cv_func_finite" = x""yes; then :
47703 cat >>confdefs.h <<_ACEOF
47704 #define HAVE_FINITE 1
47705 _ACEOF
47708 done
47710 else
47712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47713 $as_echo_n "checking for _finite declaration... " >&6; }
47714 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47715 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47716 $as_echo_n "(cached) " >&6
47717 else
47720 ac_ext=cpp
47721 ac_cpp='$CXXCPP $CPPFLAGS'
47722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47727 /* end confdefs.h. */
47728 #include <math.h>
47729 #ifdef HAVE_IEEEFP_H
47730 #include <ieeefp.h>
47731 #endif
47734 main ()
47736 _finite(0);
47738 return 0;
47740 _ACEOF
47741 if ac_fn_cxx_try_compile "$LINENO"; then :
47742 glibcxx_cv_func__finite_use=yes
47743 else
47744 glibcxx_cv_func__finite_use=no
47746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47747 ac_ext=c
47748 ac_cpp='$CPP $CPPFLAGS'
47749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47758 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47760 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47761 for ac_func in _finite
47762 do :
47763 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47764 if test "x$ac_cv_func__finite" = x""yes; then :
47765 cat >>confdefs.h <<_ACEOF
47766 #define HAVE__FINITE 1
47767 _ACEOF
47770 done
47779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47780 $as_echo_n "checking for sincos declaration... " >&6; }
47781 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47782 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47783 $as_echo_n "(cached) " >&6
47784 else
47787 ac_ext=cpp
47788 ac_cpp='$CXXCPP $CPPFLAGS'
47789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47794 /* end confdefs.h. */
47795 #include <math.h>
47797 main ()
47799 sincos(0, 0, 0);
47801 return 0;
47803 _ACEOF
47804 if ac_fn_cxx_try_compile "$LINENO"; then :
47805 glibcxx_cv_func_sincos_use=yes
47806 else
47807 glibcxx_cv_func_sincos_use=no
47809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47810 ac_ext=c
47811 ac_cpp='$CPP $CPPFLAGS'
47812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47821 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47823 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47824 for ac_func in sincos
47825 do :
47826 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47827 if test "x$ac_cv_func_sincos" = x""yes; then :
47828 cat >>confdefs.h <<_ACEOF
47829 #define HAVE_SINCOS 1
47830 _ACEOF
47833 done
47835 else
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47838 $as_echo_n "checking for _sincos declaration... " >&6; }
47839 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47840 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47841 $as_echo_n "(cached) " >&6
47842 else
47845 ac_ext=cpp
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47852 /* end confdefs.h. */
47853 #include <math.h>
47855 main ()
47857 _sincos(0, 0, 0);
47859 return 0;
47861 _ACEOF
47862 if ac_fn_cxx_try_compile "$LINENO"; then :
47863 glibcxx_cv_func__sincos_use=yes
47864 else
47865 glibcxx_cv_func__sincos_use=no
47867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47868 ac_ext=c
47869 ac_cpp='$CPP $CPPFLAGS'
47870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47879 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47881 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47882 for ac_func in _sincos
47883 do :
47884 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47885 if test "x$ac_cv_func__sincos" = x""yes; then :
47886 cat >>confdefs.h <<_ACEOF
47887 #define HAVE__SINCOS 1
47888 _ACEOF
47891 done
47900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47901 $as_echo_n "checking for fpclass declaration... " >&6; }
47902 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47903 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47904 $as_echo_n "(cached) " >&6
47905 else
47908 ac_ext=cpp
47909 ac_cpp='$CXXCPP $CPPFLAGS'
47910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47915 /* end confdefs.h. */
47916 #include <math.h>
47917 #ifdef HAVE_IEEEFP_H
47918 #include <ieeefp.h>
47919 #endif
47922 main ()
47924 fpclass(0);
47926 return 0;
47928 _ACEOF
47929 if ac_fn_cxx_try_compile "$LINENO"; then :
47930 glibcxx_cv_func_fpclass_use=yes
47931 else
47932 glibcxx_cv_func_fpclass_use=no
47934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47935 ac_ext=c
47936 ac_cpp='$CPP $CPPFLAGS'
47937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47946 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47948 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47949 for ac_func in fpclass
47950 do :
47951 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47952 if test "x$ac_cv_func_fpclass" = x""yes; then :
47953 cat >>confdefs.h <<_ACEOF
47954 #define HAVE_FPCLASS 1
47955 _ACEOF
47958 done
47960 else
47962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47963 $as_echo_n "checking for _fpclass declaration... " >&6; }
47964 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47965 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47966 $as_echo_n "(cached) " >&6
47967 else
47970 ac_ext=cpp
47971 ac_cpp='$CXXCPP $CPPFLAGS'
47972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47977 /* end confdefs.h. */
47978 #include <math.h>
47979 #ifdef HAVE_IEEEFP_H
47980 #include <ieeefp.h>
47981 #endif
47984 main ()
47986 _fpclass(0);
47988 return 0;
47990 _ACEOF
47991 if ac_fn_cxx_try_compile "$LINENO"; then :
47992 glibcxx_cv_func__fpclass_use=yes
47993 else
47994 glibcxx_cv_func__fpclass_use=no
47996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47997 ac_ext=c
47998 ac_cpp='$CPP $CPPFLAGS'
47999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48008 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48010 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48011 for ac_func in _fpclass
48012 do :
48013 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48014 if test "x$ac_cv_func__fpclass" = x""yes; then :
48015 cat >>confdefs.h <<_ACEOF
48016 #define HAVE__FPCLASS 1
48017 _ACEOF
48020 done
48029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48030 $as_echo_n "checking for qfpclass declaration... " >&6; }
48031 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48032 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48033 $as_echo_n "(cached) " >&6
48034 else
48037 ac_ext=cpp
48038 ac_cpp='$CXXCPP $CPPFLAGS'
48039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48044 /* end confdefs.h. */
48045 #include <math.h>
48046 #ifdef HAVE_IEEEFP_H
48047 #include <ieeefp.h>
48048 #endif
48051 main ()
48053 qfpclass(0);
48055 return 0;
48057 _ACEOF
48058 if ac_fn_cxx_try_compile "$LINENO"; then :
48059 glibcxx_cv_func_qfpclass_use=yes
48060 else
48061 glibcxx_cv_func_qfpclass_use=no
48063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48064 ac_ext=c
48065 ac_cpp='$CPP $CPPFLAGS'
48066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48075 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48077 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48078 for ac_func in qfpclass
48079 do :
48080 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48081 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48082 cat >>confdefs.h <<_ACEOF
48083 #define HAVE_QFPCLASS 1
48084 _ACEOF
48087 done
48089 else
48091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48092 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48093 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48094 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48095 $as_echo_n "(cached) " >&6
48096 else
48099 ac_ext=cpp
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48106 /* end confdefs.h. */
48107 #include <math.h>
48108 #ifdef HAVE_IEEEFP_H
48109 #include <ieeefp.h>
48110 #endif
48113 main ()
48115 _qfpclass(0);
48117 return 0;
48119 _ACEOF
48120 if ac_fn_cxx_try_compile "$LINENO"; then :
48121 glibcxx_cv_func__qfpclass_use=yes
48122 else
48123 glibcxx_cv_func__qfpclass_use=no
48125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48126 ac_ext=c
48127 ac_cpp='$CPP $CPPFLAGS'
48128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48137 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48139 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48140 for ac_func in _qfpclass
48141 do :
48142 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48143 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48144 cat >>confdefs.h <<_ACEOF
48145 #define HAVE__QFPCLASS 1
48146 _ACEOF
48149 done
48158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48159 $as_echo_n "checking for hypot declaration... " >&6; }
48160 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48161 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48162 $as_echo_n "(cached) " >&6
48163 else
48166 ac_ext=cpp
48167 ac_cpp='$CXXCPP $CPPFLAGS'
48168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48173 /* end confdefs.h. */
48174 #include <math.h>
48176 main ()
48178 hypot(0, 0);
48180 return 0;
48182 _ACEOF
48183 if ac_fn_cxx_try_compile "$LINENO"; then :
48184 glibcxx_cv_func_hypot_use=yes
48185 else
48186 glibcxx_cv_func_hypot_use=no
48188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48189 ac_ext=c
48190 ac_cpp='$CPP $CPPFLAGS'
48191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48200 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48202 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48203 for ac_func in hypot
48204 do :
48205 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48206 if test "x$ac_cv_func_hypot" = x""yes; then :
48207 cat >>confdefs.h <<_ACEOF
48208 #define HAVE_HYPOT 1
48209 _ACEOF
48212 done
48214 else
48216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48217 $as_echo_n "checking for _hypot declaration... " >&6; }
48218 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48219 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48220 $as_echo_n "(cached) " >&6
48221 else
48224 ac_ext=cpp
48225 ac_cpp='$CXXCPP $CPPFLAGS'
48226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48231 /* end confdefs.h. */
48232 #include <math.h>
48234 main ()
48236 _hypot(0, 0);
48238 return 0;
48240 _ACEOF
48241 if ac_fn_cxx_try_compile "$LINENO"; then :
48242 glibcxx_cv_func__hypot_use=yes
48243 else
48244 glibcxx_cv_func__hypot_use=no
48246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48247 ac_ext=c
48248 ac_cpp='$CPP $CPPFLAGS'
48249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48258 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48260 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48261 for ac_func in _hypot
48262 do :
48263 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48264 if test "x$ac_cv_func__hypot" = x""yes; then :
48265 cat >>confdefs.h <<_ACEOF
48266 #define HAVE__HYPOT 1
48267 _ACEOF
48270 done
48279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48280 $as_echo_n "checking for float trig functions... " >&6; }
48281 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48282 $as_echo_n "(cached) " >&6
48283 else
48286 ac_ext=cpp
48287 ac_cpp='$CXXCPP $CPPFLAGS'
48288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48293 /* end confdefs.h. */
48294 #include <math.h>
48296 main ()
48298 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48300 return 0;
48302 _ACEOF
48303 if ac_fn_cxx_try_compile "$LINENO"; then :
48304 glibcxx_cv_func_float_trig_use=yes
48305 else
48306 glibcxx_cv_func_float_trig_use=no
48308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48309 ac_ext=c
48310 ac_cpp='$CPP $CPPFLAGS'
48311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48318 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48319 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48320 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48321 do :
48322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48324 eval as_val=\$$as_ac_var
48325 if test "x$as_val" = x""yes; then :
48326 cat >>confdefs.h <<_ACEOF
48327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48328 _ACEOF
48331 done
48333 else
48334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48335 $as_echo_n "checking for _float trig functions... " >&6; }
48336 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48337 $as_echo_n "(cached) " >&6
48338 else
48341 ac_ext=cpp
48342 ac_cpp='$CXXCPP $CPPFLAGS'
48343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48348 /* end confdefs.h. */
48349 #include <math.h>
48351 main ()
48353 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48355 return 0;
48357 _ACEOF
48358 if ac_fn_cxx_try_compile "$LINENO"; then :
48359 glibcxx_cv_func__float_trig_use=yes
48360 else
48361 glibcxx_cv_func__float_trig_use=no
48363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48364 ac_ext=c
48365 ac_cpp='$CPP $CPPFLAGS'
48366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48373 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48374 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48375 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48376 do :
48377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48379 eval as_val=\$$as_ac_var
48380 if test "x$as_val" = x""yes; then :
48381 cat >>confdefs.h <<_ACEOF
48382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48383 _ACEOF
48386 done
48395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48396 $as_echo_n "checking for float round functions... " >&6; }
48397 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48398 $as_echo_n "(cached) " >&6
48399 else
48402 ac_ext=cpp
48403 ac_cpp='$CXXCPP $CPPFLAGS'
48404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48409 /* end confdefs.h. */
48410 #include <math.h>
48412 main ()
48414 ceilf (0); floorf (0);
48416 return 0;
48418 _ACEOF
48419 if ac_fn_cxx_try_compile "$LINENO"; then :
48420 glibcxx_cv_func_float_round_use=yes
48421 else
48422 glibcxx_cv_func_float_round_use=no
48424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48425 ac_ext=c
48426 ac_cpp='$CPP $CPPFLAGS'
48427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48434 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48435 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48436 for ac_func in ceilf floorf
48437 do :
48438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48440 eval as_val=\$$as_ac_var
48441 if test "x$as_val" = x""yes; then :
48442 cat >>confdefs.h <<_ACEOF
48443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48444 _ACEOF
48447 done
48449 else
48450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48451 $as_echo_n "checking for _float round functions... " >&6; }
48452 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48453 $as_echo_n "(cached) " >&6
48454 else
48457 ac_ext=cpp
48458 ac_cpp='$CXXCPP $CPPFLAGS'
48459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48464 /* end confdefs.h. */
48465 #include <math.h>
48467 main ()
48469 _ceilf (0); _floorf (0);
48471 return 0;
48473 _ACEOF
48474 if ac_fn_cxx_try_compile "$LINENO"; then :
48475 glibcxx_cv_func__float_round_use=yes
48476 else
48477 glibcxx_cv_func__float_round_use=no
48479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48480 ac_ext=c
48481 ac_cpp='$CPP $CPPFLAGS'
48482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48489 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48490 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48491 for ac_func in _ceilf _floorf
48492 do :
48493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48495 eval as_val=\$$as_ac_var
48496 if test "x$as_val" = x""yes; then :
48497 cat >>confdefs.h <<_ACEOF
48498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48499 _ACEOF
48502 done
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48513 $as_echo_n "checking for expf declaration... " >&6; }
48514 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48515 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48516 $as_echo_n "(cached) " >&6
48517 else
48520 ac_ext=cpp
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h. */
48528 #include <math.h>
48529 #ifdef HAVE_IEEEFP_H
48530 #include <ieeefp.h>
48531 #endif
48534 main ()
48536 expf(0);
48538 return 0;
48540 _ACEOF
48541 if ac_fn_cxx_try_compile "$LINENO"; then :
48542 glibcxx_cv_func_expf_use=yes
48543 else
48544 glibcxx_cv_func_expf_use=no
48546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48547 ac_ext=c
48548 ac_cpp='$CPP $CPPFLAGS'
48549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48558 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48560 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48561 for ac_func in expf
48562 do :
48563 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48564 if test "x$ac_cv_func_expf" = x""yes; then :
48565 cat >>confdefs.h <<_ACEOF
48566 #define HAVE_EXPF 1
48567 _ACEOF
48570 done
48572 else
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48575 $as_echo_n "checking for _expf declaration... " >&6; }
48576 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48577 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48578 $as_echo_n "(cached) " >&6
48579 else
48582 ac_ext=cpp
48583 ac_cpp='$CXXCPP $CPPFLAGS'
48584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48589 /* end confdefs.h. */
48590 #include <math.h>
48591 #ifdef HAVE_IEEEFP_H
48592 #include <ieeefp.h>
48593 #endif
48596 main ()
48598 _expf(0);
48600 return 0;
48602 _ACEOF
48603 if ac_fn_cxx_try_compile "$LINENO"; then :
48604 glibcxx_cv_func__expf_use=yes
48605 else
48606 glibcxx_cv_func__expf_use=no
48608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48609 ac_ext=c
48610 ac_cpp='$CPP $CPPFLAGS'
48611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48620 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48622 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48623 for ac_func in _expf
48624 do :
48625 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48626 if test "x$ac_cv_func__expf" = x""yes; then :
48627 cat >>confdefs.h <<_ACEOF
48628 #define HAVE__EXPF 1
48629 _ACEOF
48632 done
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48642 $as_echo_n "checking for isnanf declaration... " >&6; }
48643 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48644 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48645 $as_echo_n "(cached) " >&6
48646 else
48649 ac_ext=cpp
48650 ac_cpp='$CXXCPP $CPPFLAGS'
48651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48656 /* end confdefs.h. */
48657 #include <math.h>
48658 #ifdef HAVE_IEEEFP_H
48659 #include <ieeefp.h>
48660 #endif
48663 main ()
48665 isnanf(0);
48667 return 0;
48669 _ACEOF
48670 if ac_fn_cxx_try_compile "$LINENO"; then :
48671 glibcxx_cv_func_isnanf_use=yes
48672 else
48673 glibcxx_cv_func_isnanf_use=no
48675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48676 ac_ext=c
48677 ac_cpp='$CPP $CPPFLAGS'
48678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48687 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48689 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48690 for ac_func in isnanf
48691 do :
48692 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48693 if test "x$ac_cv_func_isnanf" = x""yes; then :
48694 cat >>confdefs.h <<_ACEOF
48695 #define HAVE_ISNANF 1
48696 _ACEOF
48699 done
48701 else
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48704 $as_echo_n "checking for _isnanf declaration... " >&6; }
48705 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48706 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48707 $as_echo_n "(cached) " >&6
48708 else
48711 ac_ext=cpp
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48718 /* end confdefs.h. */
48719 #include <math.h>
48720 #ifdef HAVE_IEEEFP_H
48721 #include <ieeefp.h>
48722 #endif
48725 main ()
48727 _isnanf(0);
48729 return 0;
48731 _ACEOF
48732 if ac_fn_cxx_try_compile "$LINENO"; then :
48733 glibcxx_cv_func__isnanf_use=yes
48734 else
48735 glibcxx_cv_func__isnanf_use=no
48737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48738 ac_ext=c
48739 ac_cpp='$CPP $CPPFLAGS'
48740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48749 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48751 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48752 for ac_func in _isnanf
48753 do :
48754 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48755 if test "x$ac_cv_func__isnanf" = x""yes; then :
48756 cat >>confdefs.h <<_ACEOF
48757 #define HAVE__ISNANF 1
48758 _ACEOF
48761 done
48770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48771 $as_echo_n "checking for isinff declaration... " >&6; }
48772 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48773 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48774 $as_echo_n "(cached) " >&6
48775 else
48778 ac_ext=cpp
48779 ac_cpp='$CXXCPP $CPPFLAGS'
48780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48785 /* end confdefs.h. */
48786 #include <math.h>
48787 #ifdef HAVE_IEEEFP_H
48788 #include <ieeefp.h>
48789 #endif
48792 main ()
48794 isinff(0);
48796 return 0;
48798 _ACEOF
48799 if ac_fn_cxx_try_compile "$LINENO"; then :
48800 glibcxx_cv_func_isinff_use=yes
48801 else
48802 glibcxx_cv_func_isinff_use=no
48804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48805 ac_ext=c
48806 ac_cpp='$CPP $CPPFLAGS'
48807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48816 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48818 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48819 for ac_func in isinff
48820 do :
48821 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48822 if test "x$ac_cv_func_isinff" = x""yes; then :
48823 cat >>confdefs.h <<_ACEOF
48824 #define HAVE_ISINFF 1
48825 _ACEOF
48828 done
48830 else
48832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48833 $as_echo_n "checking for _isinff declaration... " >&6; }
48834 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48835 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48836 $as_echo_n "(cached) " >&6
48837 else
48840 ac_ext=cpp
48841 ac_cpp='$CXXCPP $CPPFLAGS'
48842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48847 /* end confdefs.h. */
48848 #include <math.h>
48849 #ifdef HAVE_IEEEFP_H
48850 #include <ieeefp.h>
48851 #endif
48854 main ()
48856 _isinff(0);
48858 return 0;
48860 _ACEOF
48861 if ac_fn_cxx_try_compile "$LINENO"; then :
48862 glibcxx_cv_func__isinff_use=yes
48863 else
48864 glibcxx_cv_func__isinff_use=no
48866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48867 ac_ext=c
48868 ac_cpp='$CPP $CPPFLAGS'
48869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48878 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48880 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48881 for ac_func in _isinff
48882 do :
48883 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48884 if test "x$ac_cv_func__isinff" = x""yes; then :
48885 cat >>confdefs.h <<_ACEOF
48886 #define HAVE__ISINFF 1
48887 _ACEOF
48890 done
48899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48900 $as_echo_n "checking for atan2f declaration... " >&6; }
48901 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48902 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48903 $as_echo_n "(cached) " >&6
48904 else
48907 ac_ext=cpp
48908 ac_cpp='$CXXCPP $CPPFLAGS'
48909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48914 /* end confdefs.h. */
48915 #include <math.h>
48917 main ()
48919 atan2f(0, 0);
48921 return 0;
48923 _ACEOF
48924 if ac_fn_cxx_try_compile "$LINENO"; then :
48925 glibcxx_cv_func_atan2f_use=yes
48926 else
48927 glibcxx_cv_func_atan2f_use=no
48929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48930 ac_ext=c
48931 ac_cpp='$CPP $CPPFLAGS'
48932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48941 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48943 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48944 for ac_func in atan2f
48945 do :
48946 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48947 if test "x$ac_cv_func_atan2f" = x""yes; then :
48948 cat >>confdefs.h <<_ACEOF
48949 #define HAVE_ATAN2F 1
48950 _ACEOF
48953 done
48955 else
48957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48958 $as_echo_n "checking for _atan2f declaration... " >&6; }
48959 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48960 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48961 $as_echo_n "(cached) " >&6
48962 else
48965 ac_ext=cpp
48966 ac_cpp='$CXXCPP $CPPFLAGS'
48967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48972 /* end confdefs.h. */
48973 #include <math.h>
48975 main ()
48977 _atan2f(0, 0);
48979 return 0;
48981 _ACEOF
48982 if ac_fn_cxx_try_compile "$LINENO"; then :
48983 glibcxx_cv_func__atan2f_use=yes
48984 else
48985 glibcxx_cv_func__atan2f_use=no
48987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48988 ac_ext=c
48989 ac_cpp='$CPP $CPPFLAGS'
48990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48999 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49001 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49002 for ac_func in _atan2f
49003 do :
49004 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49005 if test "x$ac_cv_func__atan2f" = x""yes; then :
49006 cat >>confdefs.h <<_ACEOF
49007 #define HAVE__ATAN2F 1
49008 _ACEOF
49011 done
49020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49021 $as_echo_n "checking for fabsf declaration... " >&6; }
49022 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49023 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49024 $as_echo_n "(cached) " >&6
49025 else
49028 ac_ext=cpp
49029 ac_cpp='$CXXCPP $CPPFLAGS'
49030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49035 /* end confdefs.h. */
49036 #include <math.h>
49037 #ifdef HAVE_IEEEFP_H
49038 #include <ieeefp.h>
49039 #endif
49042 main ()
49044 fabsf(0);
49046 return 0;
49048 _ACEOF
49049 if ac_fn_cxx_try_compile "$LINENO"; then :
49050 glibcxx_cv_func_fabsf_use=yes
49051 else
49052 glibcxx_cv_func_fabsf_use=no
49054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49055 ac_ext=c
49056 ac_cpp='$CPP $CPPFLAGS'
49057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49066 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49068 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49069 for ac_func in fabsf
49070 do :
49071 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49072 if test "x$ac_cv_func_fabsf" = x""yes; then :
49073 cat >>confdefs.h <<_ACEOF
49074 #define HAVE_FABSF 1
49075 _ACEOF
49078 done
49080 else
49082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49083 $as_echo_n "checking for _fabsf declaration... " >&6; }
49084 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49085 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49086 $as_echo_n "(cached) " >&6
49087 else
49090 ac_ext=cpp
49091 ac_cpp='$CXXCPP $CPPFLAGS'
49092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49097 /* end confdefs.h. */
49098 #include <math.h>
49099 #ifdef HAVE_IEEEFP_H
49100 #include <ieeefp.h>
49101 #endif
49104 main ()
49106 _fabsf(0);
49108 return 0;
49110 _ACEOF
49111 if ac_fn_cxx_try_compile "$LINENO"; then :
49112 glibcxx_cv_func__fabsf_use=yes
49113 else
49114 glibcxx_cv_func__fabsf_use=no
49116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49117 ac_ext=c
49118 ac_cpp='$CPP $CPPFLAGS'
49119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49128 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49130 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49131 for ac_func in _fabsf
49132 do :
49133 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49134 if test "x$ac_cv_func__fabsf" = x""yes; then :
49135 cat >>confdefs.h <<_ACEOF
49136 #define HAVE__FABSF 1
49137 _ACEOF
49140 done
49149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49150 $as_echo_n "checking for fmodf declaration... " >&6; }
49151 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49152 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49153 $as_echo_n "(cached) " >&6
49154 else
49157 ac_ext=cpp
49158 ac_cpp='$CXXCPP $CPPFLAGS'
49159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49164 /* end confdefs.h. */
49165 #include <math.h>
49167 main ()
49169 fmodf(0, 0);
49171 return 0;
49173 _ACEOF
49174 if ac_fn_cxx_try_compile "$LINENO"; then :
49175 glibcxx_cv_func_fmodf_use=yes
49176 else
49177 glibcxx_cv_func_fmodf_use=no
49179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49180 ac_ext=c
49181 ac_cpp='$CPP $CPPFLAGS'
49182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49191 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49193 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49194 for ac_func in fmodf
49195 do :
49196 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49197 if test "x$ac_cv_func_fmodf" = x""yes; then :
49198 cat >>confdefs.h <<_ACEOF
49199 #define HAVE_FMODF 1
49200 _ACEOF
49203 done
49205 else
49207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49208 $as_echo_n "checking for _fmodf declaration... " >&6; }
49209 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49210 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49211 $as_echo_n "(cached) " >&6
49212 else
49215 ac_ext=cpp
49216 ac_cpp='$CXXCPP $CPPFLAGS'
49217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49222 /* end confdefs.h. */
49223 #include <math.h>
49225 main ()
49227 _fmodf(0, 0);
49229 return 0;
49231 _ACEOF
49232 if ac_fn_cxx_try_compile "$LINENO"; then :
49233 glibcxx_cv_func__fmodf_use=yes
49234 else
49235 glibcxx_cv_func__fmodf_use=no
49237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49238 ac_ext=c
49239 ac_cpp='$CPP $CPPFLAGS'
49240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49249 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49251 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49252 for ac_func in _fmodf
49253 do :
49254 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49255 if test "x$ac_cv_func__fmodf" = x""yes; then :
49256 cat >>confdefs.h <<_ACEOF
49257 #define HAVE__FMODF 1
49258 _ACEOF
49261 done
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49271 $as_echo_n "checking for frexpf declaration... " >&6; }
49272 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49273 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49274 $as_echo_n "(cached) " >&6
49275 else
49278 ac_ext=cpp
49279 ac_cpp='$CXXCPP $CPPFLAGS'
49280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49285 /* end confdefs.h. */
49286 #include <math.h>
49288 main ()
49290 frexpf(0, 0);
49292 return 0;
49294 _ACEOF
49295 if ac_fn_cxx_try_compile "$LINENO"; then :
49296 glibcxx_cv_func_frexpf_use=yes
49297 else
49298 glibcxx_cv_func_frexpf_use=no
49300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49301 ac_ext=c
49302 ac_cpp='$CPP $CPPFLAGS'
49303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49312 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49314 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49315 for ac_func in frexpf
49316 do :
49317 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49318 if test "x$ac_cv_func_frexpf" = x""yes; then :
49319 cat >>confdefs.h <<_ACEOF
49320 #define HAVE_FREXPF 1
49321 _ACEOF
49324 done
49326 else
49328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49329 $as_echo_n "checking for _frexpf declaration... " >&6; }
49330 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49331 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49332 $as_echo_n "(cached) " >&6
49333 else
49336 ac_ext=cpp
49337 ac_cpp='$CXXCPP $CPPFLAGS'
49338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49343 /* end confdefs.h. */
49344 #include <math.h>
49346 main ()
49348 _frexpf(0, 0);
49350 return 0;
49352 _ACEOF
49353 if ac_fn_cxx_try_compile "$LINENO"; then :
49354 glibcxx_cv_func__frexpf_use=yes
49355 else
49356 glibcxx_cv_func__frexpf_use=no
49358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49359 ac_ext=c
49360 ac_cpp='$CPP $CPPFLAGS'
49361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49370 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49372 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49373 for ac_func in _frexpf
49374 do :
49375 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49376 if test "x$ac_cv_func__frexpf" = x""yes; then :
49377 cat >>confdefs.h <<_ACEOF
49378 #define HAVE__FREXPF 1
49379 _ACEOF
49382 done
49391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49392 $as_echo_n "checking for hypotf declaration... " >&6; }
49393 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49394 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49395 $as_echo_n "(cached) " >&6
49396 else
49399 ac_ext=cpp
49400 ac_cpp='$CXXCPP $CPPFLAGS'
49401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49406 /* end confdefs.h. */
49407 #include <math.h>
49409 main ()
49411 hypotf(0, 0);
49413 return 0;
49415 _ACEOF
49416 if ac_fn_cxx_try_compile "$LINENO"; then :
49417 glibcxx_cv_func_hypotf_use=yes
49418 else
49419 glibcxx_cv_func_hypotf_use=no
49421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49422 ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49433 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49435 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49436 for ac_func in hypotf
49437 do :
49438 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49439 if test "x$ac_cv_func_hypotf" = x""yes; then :
49440 cat >>confdefs.h <<_ACEOF
49441 #define HAVE_HYPOTF 1
49442 _ACEOF
49445 done
49447 else
49449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49450 $as_echo_n "checking for _hypotf declaration... " >&6; }
49451 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49452 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49453 $as_echo_n "(cached) " >&6
49454 else
49457 ac_ext=cpp
49458 ac_cpp='$CXXCPP $CPPFLAGS'
49459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49464 /* end confdefs.h. */
49465 #include <math.h>
49467 main ()
49469 _hypotf(0, 0);
49471 return 0;
49473 _ACEOF
49474 if ac_fn_cxx_try_compile "$LINENO"; then :
49475 glibcxx_cv_func__hypotf_use=yes
49476 else
49477 glibcxx_cv_func__hypotf_use=no
49479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49480 ac_ext=c
49481 ac_cpp='$CPP $CPPFLAGS'
49482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49491 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49493 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49494 for ac_func in _hypotf
49495 do :
49496 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49497 if test "x$ac_cv_func__hypotf" = x""yes; then :
49498 cat >>confdefs.h <<_ACEOF
49499 #define HAVE__HYPOTF 1
49500 _ACEOF
49503 done
49512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49513 $as_echo_n "checking for ldexpf declaration... " >&6; }
49514 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49515 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49516 $as_echo_n "(cached) " >&6
49517 else
49520 ac_ext=cpp
49521 ac_cpp='$CXXCPP $CPPFLAGS'
49522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49527 /* end confdefs.h. */
49528 #include <math.h>
49530 main ()
49532 ldexpf(0, 0);
49534 return 0;
49536 _ACEOF
49537 if ac_fn_cxx_try_compile "$LINENO"; then :
49538 glibcxx_cv_func_ldexpf_use=yes
49539 else
49540 glibcxx_cv_func_ldexpf_use=no
49542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49543 ac_ext=c
49544 ac_cpp='$CPP $CPPFLAGS'
49545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49554 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49556 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49557 for ac_func in ldexpf
49558 do :
49559 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49560 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49561 cat >>confdefs.h <<_ACEOF
49562 #define HAVE_LDEXPF 1
49563 _ACEOF
49566 done
49568 else
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49571 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49572 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49573 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49588 main ()
49590 _ldexpf(0, 0);
49592 return 0;
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func__ldexpf_use=yes
49597 else
49598 glibcxx_cv_func__ldexpf_use=no
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 ac_ext=c
49602 ac_cpp='$CPP $CPPFLAGS'
49603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49612 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49614 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49615 for ac_func in _ldexpf
49616 do :
49617 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49618 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49619 cat >>confdefs.h <<_ACEOF
49620 #define HAVE__LDEXPF 1
49621 _ACEOF
49624 done
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49634 $as_echo_n "checking for logf declaration... " >&6; }
49635 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49636 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49637 $as_echo_n "(cached) " >&6
49638 else
49641 ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h. */
49649 #include <math.h>
49650 #ifdef HAVE_IEEEFP_H
49651 #include <ieeefp.h>
49652 #endif
49655 main ()
49657 logf(0);
49659 return 0;
49661 _ACEOF
49662 if ac_fn_cxx_try_compile "$LINENO"; then :
49663 glibcxx_cv_func_logf_use=yes
49664 else
49665 glibcxx_cv_func_logf_use=no
49667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668 ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49679 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49681 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49682 for ac_func in logf
49683 do :
49684 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49685 if test "x$ac_cv_func_logf" = x""yes; then :
49686 cat >>confdefs.h <<_ACEOF
49687 #define HAVE_LOGF 1
49688 _ACEOF
49691 done
49693 else
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49696 $as_echo_n "checking for _logf declaration... " >&6; }
49697 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49698 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49699 $as_echo_n "(cached) " >&6
49700 else
49703 ac_ext=cpp
49704 ac_cpp='$CXXCPP $CPPFLAGS'
49705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49710 /* end confdefs.h. */
49711 #include <math.h>
49712 #ifdef HAVE_IEEEFP_H
49713 #include <ieeefp.h>
49714 #endif
49717 main ()
49719 _logf(0);
49721 return 0;
49723 _ACEOF
49724 if ac_fn_cxx_try_compile "$LINENO"; then :
49725 glibcxx_cv_func__logf_use=yes
49726 else
49727 glibcxx_cv_func__logf_use=no
49729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49730 ac_ext=c
49731 ac_cpp='$CPP $CPPFLAGS'
49732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49741 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49743 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49744 for ac_func in _logf
49745 do :
49746 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49747 if test "x$ac_cv_func__logf" = x""yes; then :
49748 cat >>confdefs.h <<_ACEOF
49749 #define HAVE__LOGF 1
49750 _ACEOF
49753 done
49762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49763 $as_echo_n "checking for log10f declaration... " >&6; }
49764 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49765 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49766 $as_echo_n "(cached) " >&6
49767 else
49770 ac_ext=cpp
49771 ac_cpp='$CXXCPP $CPPFLAGS'
49772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49777 /* end confdefs.h. */
49778 #include <math.h>
49779 #ifdef HAVE_IEEEFP_H
49780 #include <ieeefp.h>
49781 #endif
49784 main ()
49786 log10f(0);
49788 return 0;
49790 _ACEOF
49791 if ac_fn_cxx_try_compile "$LINENO"; then :
49792 glibcxx_cv_func_log10f_use=yes
49793 else
49794 glibcxx_cv_func_log10f_use=no
49796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49797 ac_ext=c
49798 ac_cpp='$CPP $CPPFLAGS'
49799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49808 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49810 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49811 for ac_func in log10f
49812 do :
49813 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49814 if test "x$ac_cv_func_log10f" = x""yes; then :
49815 cat >>confdefs.h <<_ACEOF
49816 #define HAVE_LOG10F 1
49817 _ACEOF
49820 done
49822 else
49824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49825 $as_echo_n "checking for _log10f declaration... " >&6; }
49826 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49827 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49828 $as_echo_n "(cached) " >&6
49829 else
49832 ac_ext=cpp
49833 ac_cpp='$CXXCPP $CPPFLAGS'
49834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49839 /* end confdefs.h. */
49840 #include <math.h>
49841 #ifdef HAVE_IEEEFP_H
49842 #include <ieeefp.h>
49843 #endif
49846 main ()
49848 _log10f(0);
49850 return 0;
49852 _ACEOF
49853 if ac_fn_cxx_try_compile "$LINENO"; then :
49854 glibcxx_cv_func__log10f_use=yes
49855 else
49856 glibcxx_cv_func__log10f_use=no
49858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49859 ac_ext=c
49860 ac_cpp='$CPP $CPPFLAGS'
49861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49870 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49872 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49873 for ac_func in _log10f
49874 do :
49875 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49876 if test "x$ac_cv_func__log10f" = x""yes; then :
49877 cat >>confdefs.h <<_ACEOF
49878 #define HAVE__LOG10F 1
49879 _ACEOF
49882 done
49891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49892 $as_echo_n "checking for modff declaration... " >&6; }
49893 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49894 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49895 $as_echo_n "(cached) " >&6
49896 else
49899 ac_ext=cpp
49900 ac_cpp='$CXXCPP $CPPFLAGS'
49901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49906 /* end confdefs.h. */
49907 #include <math.h>
49909 main ()
49911 modff(0, 0);
49913 return 0;
49915 _ACEOF
49916 if ac_fn_cxx_try_compile "$LINENO"; then :
49917 glibcxx_cv_func_modff_use=yes
49918 else
49919 glibcxx_cv_func_modff_use=no
49921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49922 ac_ext=c
49923 ac_cpp='$CPP $CPPFLAGS'
49924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49933 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49935 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49936 for ac_func in modff
49937 do :
49938 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49939 if test "x$ac_cv_func_modff" = x""yes; then :
49940 cat >>confdefs.h <<_ACEOF
49941 #define HAVE_MODFF 1
49942 _ACEOF
49945 done
49947 else
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49950 $as_echo_n "checking for _modff declaration... " >&6; }
49951 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49952 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49967 main ()
49969 _modff(0, 0);
49971 return 0;
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func__modff_use=yes
49976 else
49977 glibcxx_cv_func__modff_use=no
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49991 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49993 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49994 for ac_func in _modff
49995 do :
49996 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49997 if test "x$ac_cv_func__modff" = x""yes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE__MODFF 1
50000 _ACEOF
50003 done
50012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50013 $as_echo_n "checking for modf declaration... " >&6; }
50014 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50015 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50016 $as_echo_n "(cached) " >&6
50017 else
50020 ac_ext=cpp
50021 ac_cpp='$CXXCPP $CPPFLAGS'
50022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50027 /* end confdefs.h. */
50028 #include <math.h>
50030 main ()
50032 modf(0, 0);
50034 return 0;
50036 _ACEOF
50037 if ac_fn_cxx_try_compile "$LINENO"; then :
50038 glibcxx_cv_func_modf_use=yes
50039 else
50040 glibcxx_cv_func_modf_use=no
50042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50043 ac_ext=c
50044 ac_cpp='$CPP $CPPFLAGS'
50045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50054 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50056 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50057 for ac_func in modf
50058 do :
50059 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50060 if test "x$ac_cv_func_modf" = x""yes; then :
50061 cat >>confdefs.h <<_ACEOF
50062 #define HAVE_MODF 1
50063 _ACEOF
50066 done
50068 else
50070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50071 $as_echo_n "checking for _modf declaration... " >&6; }
50072 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50073 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50074 $as_echo_n "(cached) " >&6
50075 else
50078 ac_ext=cpp
50079 ac_cpp='$CXXCPP $CPPFLAGS'
50080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50085 /* end confdefs.h. */
50086 #include <math.h>
50088 main ()
50090 _modf(0, 0);
50092 return 0;
50094 _ACEOF
50095 if ac_fn_cxx_try_compile "$LINENO"; then :
50096 glibcxx_cv_func__modf_use=yes
50097 else
50098 glibcxx_cv_func__modf_use=no
50100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50101 ac_ext=c
50102 ac_cpp='$CPP $CPPFLAGS'
50103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50112 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50114 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50115 for ac_func in _modf
50116 do :
50117 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50118 if test "x$ac_cv_func__modf" = x""yes; then :
50119 cat >>confdefs.h <<_ACEOF
50120 #define HAVE__MODF 1
50121 _ACEOF
50124 done
50133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50134 $as_echo_n "checking for powf declaration... " >&6; }
50135 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50136 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50137 $as_echo_n "(cached) " >&6
50138 else
50141 ac_ext=cpp
50142 ac_cpp='$CXXCPP $CPPFLAGS'
50143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50148 /* end confdefs.h. */
50149 #include <math.h>
50151 main ()
50153 powf(0, 0);
50155 return 0;
50157 _ACEOF
50158 if ac_fn_cxx_try_compile "$LINENO"; then :
50159 glibcxx_cv_func_powf_use=yes
50160 else
50161 glibcxx_cv_func_powf_use=no
50163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50164 ac_ext=c
50165 ac_cpp='$CPP $CPPFLAGS'
50166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50175 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50177 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50178 for ac_func in powf
50179 do :
50180 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50181 if test "x$ac_cv_func_powf" = x""yes; then :
50182 cat >>confdefs.h <<_ACEOF
50183 #define HAVE_POWF 1
50184 _ACEOF
50187 done
50189 else
50191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50192 $as_echo_n "checking for _powf declaration... " >&6; }
50193 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50194 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50195 $as_echo_n "(cached) " >&6
50196 else
50199 ac_ext=cpp
50200 ac_cpp='$CXXCPP $CPPFLAGS'
50201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50206 /* end confdefs.h. */
50207 #include <math.h>
50209 main ()
50211 _powf(0, 0);
50213 return 0;
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217 glibcxx_cv_func__powf_use=yes
50218 else
50219 glibcxx_cv_func__powf_use=no
50221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50222 ac_ext=c
50223 ac_cpp='$CPP $CPPFLAGS'
50224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50233 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50235 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50236 for ac_func in _powf
50237 do :
50238 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50239 if test "x$ac_cv_func__powf" = x""yes; then :
50240 cat >>confdefs.h <<_ACEOF
50241 #define HAVE__POWF 1
50242 _ACEOF
50245 done
50254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50255 $as_echo_n "checking for sqrtf declaration... " >&6; }
50256 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50257 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50258 $as_echo_n "(cached) " >&6
50259 else
50262 ac_ext=cpp
50263 ac_cpp='$CXXCPP $CPPFLAGS'
50264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50269 /* end confdefs.h. */
50270 #include <math.h>
50271 #ifdef HAVE_IEEEFP_H
50272 #include <ieeefp.h>
50273 #endif
50276 main ()
50278 sqrtf(0);
50280 return 0;
50282 _ACEOF
50283 if ac_fn_cxx_try_compile "$LINENO"; then :
50284 glibcxx_cv_func_sqrtf_use=yes
50285 else
50286 glibcxx_cv_func_sqrtf_use=no
50288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50289 ac_ext=c
50290 ac_cpp='$CPP $CPPFLAGS'
50291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50300 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50302 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50303 for ac_func in sqrtf
50304 do :
50305 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50306 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50307 cat >>confdefs.h <<_ACEOF
50308 #define HAVE_SQRTF 1
50309 _ACEOF
50312 done
50314 else
50316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50317 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50318 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50319 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50320 $as_echo_n "(cached) " >&6
50321 else
50324 ac_ext=cpp
50325 ac_cpp='$CXXCPP $CPPFLAGS'
50326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50331 /* end confdefs.h. */
50332 #include <math.h>
50333 #ifdef HAVE_IEEEFP_H
50334 #include <ieeefp.h>
50335 #endif
50338 main ()
50340 _sqrtf(0);
50342 return 0;
50344 _ACEOF
50345 if ac_fn_cxx_try_compile "$LINENO"; then :
50346 glibcxx_cv_func__sqrtf_use=yes
50347 else
50348 glibcxx_cv_func__sqrtf_use=no
50350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50351 ac_ext=c
50352 ac_cpp='$CPP $CPPFLAGS'
50353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50362 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50364 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50365 for ac_func in _sqrtf
50366 do :
50367 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50368 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50369 cat >>confdefs.h <<_ACEOF
50370 #define HAVE__SQRTF 1
50371 _ACEOF
50374 done
50383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50384 $as_echo_n "checking for sincosf declaration... " >&6; }
50385 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50386 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50387 $as_echo_n "(cached) " >&6
50388 else
50391 ac_ext=cpp
50392 ac_cpp='$CXXCPP $CPPFLAGS'
50393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50398 /* end confdefs.h. */
50399 #include <math.h>
50401 main ()
50403 sincosf(0, 0, 0);
50405 return 0;
50407 _ACEOF
50408 if ac_fn_cxx_try_compile "$LINENO"; then :
50409 glibcxx_cv_func_sincosf_use=yes
50410 else
50411 glibcxx_cv_func_sincosf_use=no
50413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50414 ac_ext=c
50415 ac_cpp='$CPP $CPPFLAGS'
50416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50425 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50427 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50428 for ac_func in sincosf
50429 do :
50430 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50431 if test "x$ac_cv_func_sincosf" = x""yes; then :
50432 cat >>confdefs.h <<_ACEOF
50433 #define HAVE_SINCOSF 1
50434 _ACEOF
50437 done
50439 else
50441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50442 $as_echo_n "checking for _sincosf declaration... " >&6; }
50443 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50444 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50445 $as_echo_n "(cached) " >&6
50446 else
50449 ac_ext=cpp
50450 ac_cpp='$CXXCPP $CPPFLAGS'
50451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50456 /* end confdefs.h. */
50457 #include <math.h>
50459 main ()
50461 _sincosf(0, 0, 0);
50463 return 0;
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467 glibcxx_cv_func__sincosf_use=yes
50468 else
50469 glibcxx_cv_func__sincosf_use=no
50471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50472 ac_ext=c
50473 ac_cpp='$CPP $CPPFLAGS'
50474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50483 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50485 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50486 for ac_func in _sincosf
50487 do :
50488 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50489 if test "x$ac_cv_func__sincosf" = x""yes; then :
50490 cat >>confdefs.h <<_ACEOF
50491 #define HAVE__SINCOSF 1
50492 _ACEOF
50495 done
50504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50505 $as_echo_n "checking for finitef declaration... " >&6; }
50506 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50507 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50508 $as_echo_n "(cached) " >&6
50509 else
50512 ac_ext=cpp
50513 ac_cpp='$CXXCPP $CPPFLAGS'
50514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50519 /* end confdefs.h. */
50520 #include <math.h>
50521 #ifdef HAVE_IEEEFP_H
50522 #include <ieeefp.h>
50523 #endif
50526 main ()
50528 finitef(0);
50530 return 0;
50532 _ACEOF
50533 if ac_fn_cxx_try_compile "$LINENO"; then :
50534 glibcxx_cv_func_finitef_use=yes
50535 else
50536 glibcxx_cv_func_finitef_use=no
50538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50539 ac_ext=c
50540 ac_cpp='$CPP $CPPFLAGS'
50541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50550 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50552 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50553 for ac_func in finitef
50554 do :
50555 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50556 if test "x$ac_cv_func_finitef" = x""yes; then :
50557 cat >>confdefs.h <<_ACEOF
50558 #define HAVE_FINITEF 1
50559 _ACEOF
50562 done
50564 else
50566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50567 $as_echo_n "checking for _finitef declaration... " >&6; }
50568 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50569 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50570 $as_echo_n "(cached) " >&6
50571 else
50574 ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h. */
50582 #include <math.h>
50583 #ifdef HAVE_IEEEFP_H
50584 #include <ieeefp.h>
50585 #endif
50588 main ()
50590 _finitef(0);
50592 return 0;
50594 _ACEOF
50595 if ac_fn_cxx_try_compile "$LINENO"; then :
50596 glibcxx_cv_func__finitef_use=yes
50597 else
50598 glibcxx_cv_func__finitef_use=no
50600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50601 ac_ext=c
50602 ac_cpp='$CPP $CPPFLAGS'
50603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50612 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50614 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50615 for ac_func in _finitef
50616 do :
50617 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50618 if test "x$ac_cv_func__finitef" = x""yes; then :
50619 cat >>confdefs.h <<_ACEOF
50620 #define HAVE__FINITEF 1
50621 _ACEOF
50624 done
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50634 $as_echo_n "checking for long double trig functions... " >&6; }
50635 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50636 $as_echo_n "(cached) " >&6
50637 else
50640 ac_ext=cpp
50641 ac_cpp='$CXXCPP $CPPFLAGS'
50642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50647 /* end confdefs.h. */
50648 #include <math.h>
50650 main ()
50652 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50654 return 0;
50656 _ACEOF
50657 if ac_fn_cxx_try_compile "$LINENO"; then :
50658 glibcxx_cv_func_long_double_trig_use=yes
50659 else
50660 glibcxx_cv_func_long_double_trig_use=no
50662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50663 ac_ext=c
50664 ac_cpp='$CPP $CPPFLAGS'
50665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50672 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50673 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50674 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50675 do :
50676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50678 eval as_val=\$$as_ac_var
50679 if test "x$as_val" = x""yes; then :
50680 cat >>confdefs.h <<_ACEOF
50681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50682 _ACEOF
50685 done
50687 else
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50689 $as_echo_n "checking for _long double trig functions... " >&6; }
50690 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50691 $as_echo_n "(cached) " >&6
50692 else
50695 ac_ext=cpp
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50702 /* end confdefs.h. */
50703 #include <math.h>
50705 main ()
50707 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50709 return 0;
50711 _ACEOF
50712 if ac_fn_cxx_try_compile "$LINENO"; then :
50713 glibcxx_cv_func__long_double_trig_use=yes
50714 else
50715 glibcxx_cv_func__long_double_trig_use=no
50717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50718 ac_ext=c
50719 ac_cpp='$CPP $CPPFLAGS'
50720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50727 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50728 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50729 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50730 do :
50731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50733 eval as_val=\$$as_ac_var
50734 if test "x$as_val" = x""yes; then :
50735 cat >>confdefs.h <<_ACEOF
50736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50737 _ACEOF
50740 done
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50750 $as_echo_n "checking for long double round functions... " >&6; }
50751 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50752 $as_echo_n "(cached) " >&6
50753 else
50756 ac_ext=cpp
50757 ac_cpp='$CXXCPP $CPPFLAGS'
50758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50763 /* end confdefs.h. */
50764 #include <math.h>
50766 main ()
50768 ceill (0); floorl (0);
50770 return 0;
50772 _ACEOF
50773 if ac_fn_cxx_try_compile "$LINENO"; then :
50774 glibcxx_cv_func_long_double_round_use=yes
50775 else
50776 glibcxx_cv_func_long_double_round_use=no
50778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50779 ac_ext=c
50780 ac_cpp='$CPP $CPPFLAGS'
50781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50788 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50789 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50790 for ac_func in ceill floorl
50791 do :
50792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50794 eval as_val=\$$as_ac_var
50795 if test "x$as_val" = x""yes; then :
50796 cat >>confdefs.h <<_ACEOF
50797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50798 _ACEOF
50801 done
50803 else
50804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50805 $as_echo_n "checking for _long double round functions... " >&6; }
50806 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50807 $as_echo_n "(cached) " >&6
50808 else
50811 ac_ext=cpp
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50819 #include <math.h>
50821 main ()
50823 _ceill (0); _floorl (0);
50825 return 0;
50827 _ACEOF
50828 if ac_fn_cxx_try_compile "$LINENO"; then :
50829 glibcxx_cv_func__long_double_round_use=yes
50830 else
50831 glibcxx_cv_func__long_double_round_use=no
50833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50834 ac_ext=c
50835 ac_cpp='$CPP $CPPFLAGS'
50836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50843 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50844 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50845 for ac_func in _ceill _floorl
50846 do :
50847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50849 eval as_val=\$$as_ac_var
50850 if test "x$as_val" = x""yes; then :
50851 cat >>confdefs.h <<_ACEOF
50852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50853 _ACEOF
50856 done
50866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50867 $as_echo_n "checking for isnanl declaration... " >&6; }
50868 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50869 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50870 $as_echo_n "(cached) " >&6
50871 else
50874 ac_ext=cpp
50875 ac_cpp='$CXXCPP $CPPFLAGS'
50876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50881 /* end confdefs.h. */
50882 #include <math.h>
50883 #ifdef HAVE_IEEEFP_H
50884 #include <ieeefp.h>
50885 #endif
50888 main ()
50890 isnanl(0);
50892 return 0;
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func_isnanl_use=yes
50897 else
50898 glibcxx_cv_func_isnanl_use=no
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50901 ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50912 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50914 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50915 for ac_func in isnanl
50916 do :
50917 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50918 if test "x$ac_cv_func_isnanl" = x""yes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE_ISNANL 1
50921 _ACEOF
50924 done
50926 else
50928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50929 $as_echo_n "checking for _isnanl declaration... " >&6; }
50930 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50931 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50932 $as_echo_n "(cached) " >&6
50933 else
50936 ac_ext=cpp
50937 ac_cpp='$CXXCPP $CPPFLAGS'
50938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h. */
50944 #include <math.h>
50945 #ifdef HAVE_IEEEFP_H
50946 #include <ieeefp.h>
50947 #endif
50950 main ()
50952 _isnanl(0);
50954 return 0;
50956 _ACEOF
50957 if ac_fn_cxx_try_compile "$LINENO"; then :
50958 glibcxx_cv_func__isnanl_use=yes
50959 else
50960 glibcxx_cv_func__isnanl_use=no
50962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50963 ac_ext=c
50964 ac_cpp='$CPP $CPPFLAGS'
50965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50974 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50976 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50977 for ac_func in _isnanl
50978 do :
50979 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50980 if test "x$ac_cv_func__isnanl" = x""yes; then :
50981 cat >>confdefs.h <<_ACEOF
50982 #define HAVE__ISNANL 1
50983 _ACEOF
50986 done
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50996 $as_echo_n "checking for isinfl declaration... " >&6; }
50997 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50998 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50999 $as_echo_n "(cached) " >&6
51000 else
51003 ac_ext=cpp
51004 ac_cpp='$CXXCPP $CPPFLAGS'
51005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51010 /* end confdefs.h. */
51011 #include <math.h>
51012 #ifdef HAVE_IEEEFP_H
51013 #include <ieeefp.h>
51014 #endif
51017 main ()
51019 isinfl(0);
51021 return 0;
51023 _ACEOF
51024 if ac_fn_cxx_try_compile "$LINENO"; then :
51025 glibcxx_cv_func_isinfl_use=yes
51026 else
51027 glibcxx_cv_func_isinfl_use=no
51029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51030 ac_ext=c
51031 ac_cpp='$CPP $CPPFLAGS'
51032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51041 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51043 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51044 for ac_func in isinfl
51045 do :
51046 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51047 if test "x$ac_cv_func_isinfl" = x""yes; then :
51048 cat >>confdefs.h <<_ACEOF
51049 #define HAVE_ISINFL 1
51050 _ACEOF
51053 done
51055 else
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51058 $as_echo_n "checking for _isinfl declaration... " >&6; }
51059 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51060 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51061 $as_echo_n "(cached) " >&6
51062 else
51065 ac_ext=cpp
51066 ac_cpp='$CXXCPP $CPPFLAGS'
51067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51072 /* end confdefs.h. */
51073 #include <math.h>
51074 #ifdef HAVE_IEEEFP_H
51075 #include <ieeefp.h>
51076 #endif
51079 main ()
51081 _isinfl(0);
51083 return 0;
51085 _ACEOF
51086 if ac_fn_cxx_try_compile "$LINENO"; then :
51087 glibcxx_cv_func__isinfl_use=yes
51088 else
51089 glibcxx_cv_func__isinfl_use=no
51091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51092 ac_ext=c
51093 ac_cpp='$CPP $CPPFLAGS'
51094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51103 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51105 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51106 for ac_func in _isinfl
51107 do :
51108 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51109 if test "x$ac_cv_func__isinfl" = x""yes; then :
51110 cat >>confdefs.h <<_ACEOF
51111 #define HAVE__ISINFL 1
51112 _ACEOF
51115 done
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51125 $as_echo_n "checking for atan2l declaration... " >&6; }
51126 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51127 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51128 $as_echo_n "(cached) " >&6
51129 else
51132 ac_ext=cpp
51133 ac_cpp='$CXXCPP $CPPFLAGS'
51134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51139 /* end confdefs.h. */
51140 #include <math.h>
51142 main ()
51144 atan2l(0, 0);
51146 return 0;
51148 _ACEOF
51149 if ac_fn_cxx_try_compile "$LINENO"; then :
51150 glibcxx_cv_func_atan2l_use=yes
51151 else
51152 glibcxx_cv_func_atan2l_use=no
51154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51155 ac_ext=c
51156 ac_cpp='$CPP $CPPFLAGS'
51157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51166 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51168 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51169 for ac_func in atan2l
51170 do :
51171 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51172 if test "x$ac_cv_func_atan2l" = x""yes; then :
51173 cat >>confdefs.h <<_ACEOF
51174 #define HAVE_ATAN2L 1
51175 _ACEOF
51178 done
51180 else
51182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51183 $as_echo_n "checking for _atan2l declaration... " >&6; }
51184 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51185 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51186 $as_echo_n "(cached) " >&6
51187 else
51190 ac_ext=cpp
51191 ac_cpp='$CXXCPP $CPPFLAGS'
51192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51197 /* end confdefs.h. */
51198 #include <math.h>
51200 main ()
51202 _atan2l(0, 0);
51204 return 0;
51206 _ACEOF
51207 if ac_fn_cxx_try_compile "$LINENO"; then :
51208 glibcxx_cv_func__atan2l_use=yes
51209 else
51210 glibcxx_cv_func__atan2l_use=no
51212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51213 ac_ext=c
51214 ac_cpp='$CPP $CPPFLAGS'
51215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51224 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51226 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51227 for ac_func in _atan2l
51228 do :
51229 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51230 if test "x$ac_cv_func__atan2l" = x""yes; then :
51231 cat >>confdefs.h <<_ACEOF
51232 #define HAVE__ATAN2L 1
51233 _ACEOF
51236 done
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51246 $as_echo_n "checking for expl declaration... " >&6; }
51247 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51248 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51249 $as_echo_n "(cached) " >&6
51250 else
51253 ac_ext=cpp
51254 ac_cpp='$CXXCPP $CPPFLAGS'
51255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51260 /* end confdefs.h. */
51261 #include <math.h>
51262 #ifdef HAVE_IEEEFP_H
51263 #include <ieeefp.h>
51264 #endif
51267 main ()
51269 expl(0);
51271 return 0;
51273 _ACEOF
51274 if ac_fn_cxx_try_compile "$LINENO"; then :
51275 glibcxx_cv_func_expl_use=yes
51276 else
51277 glibcxx_cv_func_expl_use=no
51279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51280 ac_ext=c
51281 ac_cpp='$CPP $CPPFLAGS'
51282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51291 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51293 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51294 for ac_func in expl
51295 do :
51296 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51297 if test "x$ac_cv_func_expl" = x""yes; then :
51298 cat >>confdefs.h <<_ACEOF
51299 #define HAVE_EXPL 1
51300 _ACEOF
51303 done
51305 else
51307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51308 $as_echo_n "checking for _expl declaration... " >&6; }
51309 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51310 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51311 $as_echo_n "(cached) " >&6
51312 else
51315 ac_ext=cpp
51316 ac_cpp='$CXXCPP $CPPFLAGS'
51317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51322 /* end confdefs.h. */
51323 #include <math.h>
51324 #ifdef HAVE_IEEEFP_H
51325 #include <ieeefp.h>
51326 #endif
51329 main ()
51331 _expl(0);
51333 return 0;
51335 _ACEOF
51336 if ac_fn_cxx_try_compile "$LINENO"; then :
51337 glibcxx_cv_func__expl_use=yes
51338 else
51339 glibcxx_cv_func__expl_use=no
51341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51342 ac_ext=c
51343 ac_cpp='$CPP $CPPFLAGS'
51344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51353 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51355 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51356 for ac_func in _expl
51357 do :
51358 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51359 if test "x$ac_cv_func__expl" = x""yes; then :
51360 cat >>confdefs.h <<_ACEOF
51361 #define HAVE__EXPL 1
51362 _ACEOF
51365 done
51374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51375 $as_echo_n "checking for fabsl declaration... " >&6; }
51376 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51377 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51378 $as_echo_n "(cached) " >&6
51379 else
51382 ac_ext=cpp
51383 ac_cpp='$CXXCPP $CPPFLAGS'
51384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51389 /* end confdefs.h. */
51390 #include <math.h>
51391 #ifdef HAVE_IEEEFP_H
51392 #include <ieeefp.h>
51393 #endif
51396 main ()
51398 fabsl(0);
51400 return 0;
51402 _ACEOF
51403 if ac_fn_cxx_try_compile "$LINENO"; then :
51404 glibcxx_cv_func_fabsl_use=yes
51405 else
51406 glibcxx_cv_func_fabsl_use=no
51408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51409 ac_ext=c
51410 ac_cpp='$CPP $CPPFLAGS'
51411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51420 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51422 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51423 for ac_func in fabsl
51424 do :
51425 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51426 if test "x$ac_cv_func_fabsl" = x""yes; then :
51427 cat >>confdefs.h <<_ACEOF
51428 #define HAVE_FABSL 1
51429 _ACEOF
51432 done
51434 else
51436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51437 $as_echo_n "checking for _fabsl declaration... " >&6; }
51438 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51439 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51440 $as_echo_n "(cached) " >&6
51441 else
51444 ac_ext=cpp
51445 ac_cpp='$CXXCPP $CPPFLAGS'
51446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51451 /* end confdefs.h. */
51452 #include <math.h>
51453 #ifdef HAVE_IEEEFP_H
51454 #include <ieeefp.h>
51455 #endif
51458 main ()
51460 _fabsl(0);
51462 return 0;
51464 _ACEOF
51465 if ac_fn_cxx_try_compile "$LINENO"; then :
51466 glibcxx_cv_func__fabsl_use=yes
51467 else
51468 glibcxx_cv_func__fabsl_use=no
51470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51471 ac_ext=c
51472 ac_cpp='$CPP $CPPFLAGS'
51473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51482 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51484 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51485 for ac_func in _fabsl
51486 do :
51487 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51488 if test "x$ac_cv_func__fabsl" = x""yes; then :
51489 cat >>confdefs.h <<_ACEOF
51490 #define HAVE__FABSL 1
51491 _ACEOF
51494 done
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51504 $as_echo_n "checking for fmodl declaration... " >&6; }
51505 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51506 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51507 $as_echo_n "(cached) " >&6
51508 else
51511 ac_ext=cpp
51512 ac_cpp='$CXXCPP $CPPFLAGS'
51513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51518 /* end confdefs.h. */
51519 #include <math.h>
51521 main ()
51523 fmodl(0, 0);
51525 return 0;
51527 _ACEOF
51528 if ac_fn_cxx_try_compile "$LINENO"; then :
51529 glibcxx_cv_func_fmodl_use=yes
51530 else
51531 glibcxx_cv_func_fmodl_use=no
51533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51534 ac_ext=c
51535 ac_cpp='$CPP $CPPFLAGS'
51536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51545 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51547 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51548 for ac_func in fmodl
51549 do :
51550 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51551 if test "x$ac_cv_func_fmodl" = x""yes; then :
51552 cat >>confdefs.h <<_ACEOF
51553 #define HAVE_FMODL 1
51554 _ACEOF
51557 done
51559 else
51561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51562 $as_echo_n "checking for _fmodl declaration... " >&6; }
51563 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51564 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51565 $as_echo_n "(cached) " >&6
51566 else
51569 ac_ext=cpp
51570 ac_cpp='$CXXCPP $CPPFLAGS'
51571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51576 /* end confdefs.h. */
51577 #include <math.h>
51579 main ()
51581 _fmodl(0, 0);
51583 return 0;
51585 _ACEOF
51586 if ac_fn_cxx_try_compile "$LINENO"; then :
51587 glibcxx_cv_func__fmodl_use=yes
51588 else
51589 glibcxx_cv_func__fmodl_use=no
51591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51592 ac_ext=c
51593 ac_cpp='$CPP $CPPFLAGS'
51594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51603 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51605 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51606 for ac_func in _fmodl
51607 do :
51608 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51609 if test "x$ac_cv_func__fmodl" = x""yes; then :
51610 cat >>confdefs.h <<_ACEOF
51611 #define HAVE__FMODL 1
51612 _ACEOF
51615 done
51624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51625 $as_echo_n "checking for frexpl declaration... " >&6; }
51626 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51627 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51628 $as_echo_n "(cached) " >&6
51629 else
51632 ac_ext=cpp
51633 ac_cpp='$CXXCPP $CPPFLAGS'
51634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51639 /* end confdefs.h. */
51640 #include <math.h>
51642 main ()
51644 frexpl(0, 0);
51646 return 0;
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650 glibcxx_cv_func_frexpl_use=yes
51651 else
51652 glibcxx_cv_func_frexpl_use=no
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51666 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51668 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51669 for ac_func in frexpl
51670 do :
51671 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51672 if test "x$ac_cv_func_frexpl" = x""yes; then :
51673 cat >>confdefs.h <<_ACEOF
51674 #define HAVE_FREXPL 1
51675 _ACEOF
51678 done
51680 else
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51683 $as_echo_n "checking for _frexpl declaration... " >&6; }
51684 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51685 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51686 $as_echo_n "(cached) " >&6
51687 else
51690 ac_ext=cpp
51691 ac_cpp='$CXXCPP $CPPFLAGS'
51692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51697 /* end confdefs.h. */
51698 #include <math.h>
51700 main ()
51702 _frexpl(0, 0);
51704 return 0;
51706 _ACEOF
51707 if ac_fn_cxx_try_compile "$LINENO"; then :
51708 glibcxx_cv_func__frexpl_use=yes
51709 else
51710 glibcxx_cv_func__frexpl_use=no
51712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51713 ac_ext=c
51714 ac_cpp='$CPP $CPPFLAGS'
51715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51724 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51726 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51727 for ac_func in _frexpl
51728 do :
51729 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51730 if test "x$ac_cv_func__frexpl" = x""yes; then :
51731 cat >>confdefs.h <<_ACEOF
51732 #define HAVE__FREXPL 1
51733 _ACEOF
51736 done
51745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51746 $as_echo_n "checking for hypotl declaration... " >&6; }
51747 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51748 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51749 $as_echo_n "(cached) " >&6
51750 else
51753 ac_ext=cpp
51754 ac_cpp='$CXXCPP $CPPFLAGS'
51755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51760 /* end confdefs.h. */
51761 #include <math.h>
51763 main ()
51765 hypotl(0, 0);
51767 return 0;
51769 _ACEOF
51770 if ac_fn_cxx_try_compile "$LINENO"; then :
51771 glibcxx_cv_func_hypotl_use=yes
51772 else
51773 glibcxx_cv_func_hypotl_use=no
51775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51776 ac_ext=c
51777 ac_cpp='$CPP $CPPFLAGS'
51778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51787 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51789 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51790 for ac_func in hypotl
51791 do :
51792 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51793 if test "x$ac_cv_func_hypotl" = x""yes; then :
51794 cat >>confdefs.h <<_ACEOF
51795 #define HAVE_HYPOTL 1
51796 _ACEOF
51799 done
51801 else
51803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51804 $as_echo_n "checking for _hypotl declaration... " >&6; }
51805 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51806 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51807 $as_echo_n "(cached) " >&6
51808 else
51811 ac_ext=cpp
51812 ac_cpp='$CXXCPP $CPPFLAGS'
51813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51818 /* end confdefs.h. */
51819 #include <math.h>
51821 main ()
51823 _hypotl(0, 0);
51825 return 0;
51827 _ACEOF
51828 if ac_fn_cxx_try_compile "$LINENO"; then :
51829 glibcxx_cv_func__hypotl_use=yes
51830 else
51831 glibcxx_cv_func__hypotl_use=no
51833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51834 ac_ext=c
51835 ac_cpp='$CPP $CPPFLAGS'
51836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51845 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51847 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51848 for ac_func in _hypotl
51849 do :
51850 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51851 if test "x$ac_cv_func__hypotl" = x""yes; then :
51852 cat >>confdefs.h <<_ACEOF
51853 #define HAVE__HYPOTL 1
51854 _ACEOF
51857 done
51866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51867 $as_echo_n "checking for ldexpl declaration... " >&6; }
51868 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51869 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51870 $as_echo_n "(cached) " >&6
51871 else
51874 ac_ext=cpp
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h. */
51882 #include <math.h>
51884 main ()
51886 ldexpl(0, 0);
51888 return 0;
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func_ldexpl_use=yes
51893 else
51894 glibcxx_cv_func_ldexpl_use=no
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51897 ac_ext=c
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51908 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51910 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51911 for ac_func in ldexpl
51912 do :
51913 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51914 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51915 cat >>confdefs.h <<_ACEOF
51916 #define HAVE_LDEXPL 1
51917 _ACEOF
51920 done
51922 else
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51925 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51926 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51927 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51942 main ()
51944 _ldexpl(0, 0);
51946 return 0;
51948 _ACEOF
51949 if ac_fn_cxx_try_compile "$LINENO"; then :
51950 glibcxx_cv_func__ldexpl_use=yes
51951 else
51952 glibcxx_cv_func__ldexpl_use=no
51954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51955 ac_ext=c
51956 ac_cpp='$CPP $CPPFLAGS'
51957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51966 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51968 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51969 for ac_func in _ldexpl
51970 do :
51971 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51972 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51973 cat >>confdefs.h <<_ACEOF
51974 #define HAVE__LDEXPL 1
51975 _ACEOF
51978 done
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51988 $as_echo_n "checking for logl declaration... " >&6; }
51989 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51990 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51991 $as_echo_n "(cached) " >&6
51992 else
51995 ac_ext=cpp
51996 ac_cpp='$CXXCPP $CPPFLAGS'
51997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52002 /* end confdefs.h. */
52003 #include <math.h>
52004 #ifdef HAVE_IEEEFP_H
52005 #include <ieeefp.h>
52006 #endif
52009 main ()
52011 logl(0);
52013 return 0;
52015 _ACEOF
52016 if ac_fn_cxx_try_compile "$LINENO"; then :
52017 glibcxx_cv_func_logl_use=yes
52018 else
52019 glibcxx_cv_func_logl_use=no
52021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52022 ac_ext=c
52023 ac_cpp='$CPP $CPPFLAGS'
52024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52033 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52035 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52036 for ac_func in logl
52037 do :
52038 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52039 if test "x$ac_cv_func_logl" = x""yes; then :
52040 cat >>confdefs.h <<_ACEOF
52041 #define HAVE_LOGL 1
52042 _ACEOF
52045 done
52047 else
52049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52050 $as_echo_n "checking for _logl declaration... " >&6; }
52051 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52052 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52053 $as_echo_n "(cached) " >&6
52054 else
52057 ac_ext=cpp
52058 ac_cpp='$CXXCPP $CPPFLAGS'
52059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52064 /* end confdefs.h. */
52065 #include <math.h>
52066 #ifdef HAVE_IEEEFP_H
52067 #include <ieeefp.h>
52068 #endif
52071 main ()
52073 _logl(0);
52075 return 0;
52077 _ACEOF
52078 if ac_fn_cxx_try_compile "$LINENO"; then :
52079 glibcxx_cv_func__logl_use=yes
52080 else
52081 glibcxx_cv_func__logl_use=no
52083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52084 ac_ext=c
52085 ac_cpp='$CPP $CPPFLAGS'
52086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52095 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52097 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52098 for ac_func in _logl
52099 do :
52100 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52101 if test "x$ac_cv_func__logl" = x""yes; then :
52102 cat >>confdefs.h <<_ACEOF
52103 #define HAVE__LOGL 1
52104 _ACEOF
52107 done
52116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52117 $as_echo_n "checking for log10l declaration... " >&6; }
52118 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52119 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52120 $as_echo_n "(cached) " >&6
52121 else
52124 ac_ext=cpp
52125 ac_cpp='$CXXCPP $CPPFLAGS'
52126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52131 /* end confdefs.h. */
52132 #include <math.h>
52133 #ifdef HAVE_IEEEFP_H
52134 #include <ieeefp.h>
52135 #endif
52138 main ()
52140 log10l(0);
52142 return 0;
52144 _ACEOF
52145 if ac_fn_cxx_try_compile "$LINENO"; then :
52146 glibcxx_cv_func_log10l_use=yes
52147 else
52148 glibcxx_cv_func_log10l_use=no
52150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52151 ac_ext=c
52152 ac_cpp='$CPP $CPPFLAGS'
52153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52162 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52164 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52165 for ac_func in log10l
52166 do :
52167 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52168 if test "x$ac_cv_func_log10l" = x""yes; then :
52169 cat >>confdefs.h <<_ACEOF
52170 #define HAVE_LOG10L 1
52171 _ACEOF
52174 done
52176 else
52178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52179 $as_echo_n "checking for _log10l declaration... " >&6; }
52180 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52181 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52182 $as_echo_n "(cached) " >&6
52183 else
52186 ac_ext=cpp
52187 ac_cpp='$CXXCPP $CPPFLAGS'
52188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52193 /* end confdefs.h. */
52194 #include <math.h>
52195 #ifdef HAVE_IEEEFP_H
52196 #include <ieeefp.h>
52197 #endif
52200 main ()
52202 _log10l(0);
52204 return 0;
52206 _ACEOF
52207 if ac_fn_cxx_try_compile "$LINENO"; then :
52208 glibcxx_cv_func__log10l_use=yes
52209 else
52210 glibcxx_cv_func__log10l_use=no
52212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52213 ac_ext=c
52214 ac_cpp='$CPP $CPPFLAGS'
52215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52224 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52226 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52227 for ac_func in _log10l
52228 do :
52229 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52230 if test "x$ac_cv_func__log10l" = x""yes; then :
52231 cat >>confdefs.h <<_ACEOF
52232 #define HAVE__LOG10L 1
52233 _ACEOF
52236 done
52245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52246 $as_echo_n "checking for modfl declaration... " >&6; }
52247 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52248 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52249 $as_echo_n "(cached) " >&6
52250 else
52253 ac_ext=cpp
52254 ac_cpp='$CXXCPP $CPPFLAGS'
52255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52260 /* end confdefs.h. */
52261 #include <math.h>
52263 main ()
52265 modfl(0, 0);
52267 return 0;
52269 _ACEOF
52270 if ac_fn_cxx_try_compile "$LINENO"; then :
52271 glibcxx_cv_func_modfl_use=yes
52272 else
52273 glibcxx_cv_func_modfl_use=no
52275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52276 ac_ext=c
52277 ac_cpp='$CPP $CPPFLAGS'
52278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52287 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52289 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52290 for ac_func in modfl
52291 do :
52292 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52293 if test "x$ac_cv_func_modfl" = x""yes; then :
52294 cat >>confdefs.h <<_ACEOF
52295 #define HAVE_MODFL 1
52296 _ACEOF
52299 done
52301 else
52303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52304 $as_echo_n "checking for _modfl declaration... " >&6; }
52305 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52306 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52307 $as_echo_n "(cached) " >&6
52308 else
52311 ac_ext=cpp
52312 ac_cpp='$CXXCPP $CPPFLAGS'
52313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52318 /* end confdefs.h. */
52319 #include <math.h>
52321 main ()
52323 _modfl(0, 0);
52325 return 0;
52327 _ACEOF
52328 if ac_fn_cxx_try_compile "$LINENO"; then :
52329 glibcxx_cv_func__modfl_use=yes
52330 else
52331 glibcxx_cv_func__modfl_use=no
52333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52334 ac_ext=c
52335 ac_cpp='$CPP $CPPFLAGS'
52336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52345 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52347 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52348 for ac_func in _modfl
52349 do :
52350 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52351 if test "x$ac_cv_func__modfl" = x""yes; then :
52352 cat >>confdefs.h <<_ACEOF
52353 #define HAVE__MODFL 1
52354 _ACEOF
52357 done
52366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52367 $as_echo_n "checking for powl declaration... " >&6; }
52368 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52369 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52370 $as_echo_n "(cached) " >&6
52371 else
52374 ac_ext=cpp
52375 ac_cpp='$CXXCPP $CPPFLAGS'
52376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52381 /* end confdefs.h. */
52382 #include <math.h>
52384 main ()
52386 powl(0, 0);
52388 return 0;
52390 _ACEOF
52391 if ac_fn_cxx_try_compile "$LINENO"; then :
52392 glibcxx_cv_func_powl_use=yes
52393 else
52394 glibcxx_cv_func_powl_use=no
52396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52397 ac_ext=c
52398 ac_cpp='$CPP $CPPFLAGS'
52399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52408 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52410 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52411 for ac_func in powl
52412 do :
52413 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52414 if test "x$ac_cv_func_powl" = x""yes; then :
52415 cat >>confdefs.h <<_ACEOF
52416 #define HAVE_POWL 1
52417 _ACEOF
52420 done
52422 else
52424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52425 $as_echo_n "checking for _powl declaration... " >&6; }
52426 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52427 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52428 $as_echo_n "(cached) " >&6
52429 else
52432 ac_ext=cpp
52433 ac_cpp='$CXXCPP $CPPFLAGS'
52434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52439 /* end confdefs.h. */
52440 #include <math.h>
52442 main ()
52444 _powl(0, 0);
52446 return 0;
52448 _ACEOF
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func__powl_use=yes
52451 else
52452 glibcxx_cv_func__powl_use=no
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52455 ac_ext=c
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52466 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52468 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52469 for ac_func in _powl
52470 do :
52471 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52472 if test "x$ac_cv_func__powl" = x""yes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE__POWL 1
52475 _ACEOF
52478 done
52487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52488 $as_echo_n "checking for sqrtl declaration... " >&6; }
52489 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52490 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52491 $as_echo_n "(cached) " >&6
52492 else
52495 ac_ext=cpp
52496 ac_cpp='$CXXCPP $CPPFLAGS'
52497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h. */
52503 #include <math.h>
52504 #ifdef HAVE_IEEEFP_H
52505 #include <ieeefp.h>
52506 #endif
52509 main ()
52511 sqrtl(0);
52513 return 0;
52515 _ACEOF
52516 if ac_fn_cxx_try_compile "$LINENO"; then :
52517 glibcxx_cv_func_sqrtl_use=yes
52518 else
52519 glibcxx_cv_func_sqrtl_use=no
52521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52522 ac_ext=c
52523 ac_cpp='$CPP $CPPFLAGS'
52524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52533 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52535 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52536 for ac_func in sqrtl
52537 do :
52538 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52539 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52540 cat >>confdefs.h <<_ACEOF
52541 #define HAVE_SQRTL 1
52542 _ACEOF
52545 done
52547 else
52549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52550 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52551 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52552 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52553 $as_echo_n "(cached) " >&6
52554 else
52557 ac_ext=cpp
52558 ac_cpp='$CXXCPP $CPPFLAGS'
52559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52564 /* end confdefs.h. */
52565 #include <math.h>
52566 #ifdef HAVE_IEEEFP_H
52567 #include <ieeefp.h>
52568 #endif
52571 main ()
52573 _sqrtl(0);
52575 return 0;
52577 _ACEOF
52578 if ac_fn_cxx_try_compile "$LINENO"; then :
52579 glibcxx_cv_func__sqrtl_use=yes
52580 else
52581 glibcxx_cv_func__sqrtl_use=no
52583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52584 ac_ext=c
52585 ac_cpp='$CPP $CPPFLAGS'
52586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52595 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52597 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52598 for ac_func in _sqrtl
52599 do :
52600 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52601 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52602 cat >>confdefs.h <<_ACEOF
52603 #define HAVE__SQRTL 1
52604 _ACEOF
52607 done
52616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52617 $as_echo_n "checking for sincosl declaration... " >&6; }
52618 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52619 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52620 $as_echo_n "(cached) " >&6
52621 else
52624 ac_ext=cpp
52625 ac_cpp='$CXXCPP $CPPFLAGS'
52626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52631 /* end confdefs.h. */
52632 #include <math.h>
52634 main ()
52636 sincosl(0, 0, 0);
52638 return 0;
52640 _ACEOF
52641 if ac_fn_cxx_try_compile "$LINENO"; then :
52642 glibcxx_cv_func_sincosl_use=yes
52643 else
52644 glibcxx_cv_func_sincosl_use=no
52646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52647 ac_ext=c
52648 ac_cpp='$CPP $CPPFLAGS'
52649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52658 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52660 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52661 for ac_func in sincosl
52662 do :
52663 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52664 if test "x$ac_cv_func_sincosl" = x""yes; then :
52665 cat >>confdefs.h <<_ACEOF
52666 #define HAVE_SINCOSL 1
52667 _ACEOF
52670 done
52672 else
52674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52675 $as_echo_n "checking for _sincosl declaration... " >&6; }
52676 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52677 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52678 $as_echo_n "(cached) " >&6
52679 else
52682 ac_ext=cpp
52683 ac_cpp='$CXXCPP $CPPFLAGS'
52684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52689 /* end confdefs.h. */
52690 #include <math.h>
52692 main ()
52694 _sincosl(0, 0, 0);
52696 return 0;
52698 _ACEOF
52699 if ac_fn_cxx_try_compile "$LINENO"; then :
52700 glibcxx_cv_func__sincosl_use=yes
52701 else
52702 glibcxx_cv_func__sincosl_use=no
52704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52705 ac_ext=c
52706 ac_cpp='$CPP $CPPFLAGS'
52707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52716 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52718 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52719 for ac_func in _sincosl
52720 do :
52721 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52722 if test "x$ac_cv_func__sincosl" = x""yes; then :
52723 cat >>confdefs.h <<_ACEOF
52724 #define HAVE__SINCOSL 1
52725 _ACEOF
52728 done
52737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52738 $as_echo_n "checking for finitel declaration... " >&6; }
52739 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52740 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52741 $as_echo_n "(cached) " >&6
52742 else
52745 ac_ext=cpp
52746 ac_cpp='$CXXCPP $CPPFLAGS'
52747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52752 /* end confdefs.h. */
52753 #include <math.h>
52754 #ifdef HAVE_IEEEFP_H
52755 #include <ieeefp.h>
52756 #endif
52759 main ()
52761 finitel(0);
52763 return 0;
52765 _ACEOF
52766 if ac_fn_cxx_try_compile "$LINENO"; then :
52767 glibcxx_cv_func_finitel_use=yes
52768 else
52769 glibcxx_cv_func_finitel_use=no
52771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52772 ac_ext=c
52773 ac_cpp='$CPP $CPPFLAGS'
52774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52783 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52785 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52786 for ac_func in finitel
52787 do :
52788 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52789 if test "x$ac_cv_func_finitel" = x""yes; then :
52790 cat >>confdefs.h <<_ACEOF
52791 #define HAVE_FINITEL 1
52792 _ACEOF
52795 done
52797 else
52799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52800 $as_echo_n "checking for _finitel declaration... " >&6; }
52801 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52802 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52803 $as_echo_n "(cached) " >&6
52804 else
52807 ac_ext=cpp
52808 ac_cpp='$CXXCPP $CPPFLAGS'
52809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52814 /* end confdefs.h. */
52815 #include <math.h>
52816 #ifdef HAVE_IEEEFP_H
52817 #include <ieeefp.h>
52818 #endif
52821 main ()
52823 _finitel(0);
52825 return 0;
52827 _ACEOF
52828 if ac_fn_cxx_try_compile "$LINENO"; then :
52829 glibcxx_cv_func__finitel_use=yes
52830 else
52831 glibcxx_cv_func__finitel_use=no
52833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52834 ac_ext=c
52835 ac_cpp='$CPP $CPPFLAGS'
52836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52845 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52847 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52848 for ac_func in _finitel
52849 do :
52850 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52851 if test "x$ac_cv_func__finitel" = x""yes; then :
52852 cat >>confdefs.h <<_ACEOF
52853 #define HAVE__FINITEL 1
52854 _ACEOF
52857 done
52865 LIBS="$ac_save_LIBS"
52866 CXXFLAGS="$ac_save_CXXFLAGS"
52869 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52870 ac_save_CXXFLAGS="$CXXFLAGS"
52871 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52875 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52876 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52877 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52878 $as_echo_n "(cached) " >&6
52879 else
52882 ac_ext=cpp
52883 ac_cpp='$CXXCPP $CPPFLAGS'
52884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52889 /* end confdefs.h. */
52890 #include <stdlib.h>
52892 main ()
52894 at_quick_exit(0);
52896 return 0;
52898 _ACEOF
52899 if ac_fn_cxx_try_compile "$LINENO"; then :
52900 glibcxx_cv_func_at_quick_exit_use=yes
52901 else
52902 glibcxx_cv_func_at_quick_exit_use=no
52904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52905 ac_ext=c
52906 ac_cpp='$CPP $CPPFLAGS'
52907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52916 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52917 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52918 for ac_func in at_quick_exit
52919 do :
52920 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52921 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52922 cat >>confdefs.h <<_ACEOF
52923 #define HAVE_AT_QUICK_EXIT 1
52924 _ACEOF
52927 done
52932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52933 $as_echo_n "checking for quick_exit declaration... " >&6; }
52934 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52935 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52936 $as_echo_n "(cached) " >&6
52937 else
52940 ac_ext=cpp
52941 ac_cpp='$CXXCPP $CPPFLAGS'
52942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52947 /* end confdefs.h. */
52948 #include <stdlib.h>
52950 main ()
52952 quick_exit(0);
52954 return 0;
52956 _ACEOF
52957 if ac_fn_cxx_try_compile "$LINENO"; then :
52958 glibcxx_cv_func_quick_exit_use=yes
52959 else
52960 glibcxx_cv_func_quick_exit_use=no
52962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52963 ac_ext=c
52964 ac_cpp='$CPP $CPPFLAGS'
52965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52974 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52975 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52976 for ac_func in quick_exit
52977 do :
52978 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52979 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52980 cat >>confdefs.h <<_ACEOF
52981 #define HAVE_QUICK_EXIT 1
52982 _ACEOF
52985 done
52990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52991 $as_echo_n "checking for strtold declaration... " >&6; }
52992 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52993 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52994 $as_echo_n "(cached) " >&6
52995 else
52998 ac_ext=cpp
52999 ac_cpp='$CXXCPP $CPPFLAGS'
53000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53005 /* end confdefs.h. */
53006 #include <stdlib.h>
53008 main ()
53010 strtold(0, 0);
53012 return 0;
53014 _ACEOF
53015 if ac_fn_cxx_try_compile "$LINENO"; then :
53016 glibcxx_cv_func_strtold_use=yes
53017 else
53018 glibcxx_cv_func_strtold_use=no
53020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53021 ac_ext=c
53022 ac_cpp='$CPP $CPPFLAGS'
53023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53032 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53033 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53034 for ac_func in strtold
53035 do :
53036 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53037 if test "x$ac_cv_func_strtold" = x""yes; then :
53038 cat >>confdefs.h <<_ACEOF
53039 #define HAVE_STRTOLD 1
53040 _ACEOF
53043 done
53050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53051 $as_echo_n "checking for strtof declaration... " >&6; }
53052 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53053 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53054 $as_echo_n "(cached) " >&6
53055 else
53058 ac_ext=cpp
53059 ac_cpp='$CXXCPP $CPPFLAGS'
53060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53065 /* end confdefs.h. */
53066 #include <stdlib.h>
53068 main ()
53070 strtof(0, 0);
53072 return 0;
53074 _ACEOF
53075 if ac_fn_cxx_try_compile "$LINENO"; then :
53076 glibcxx_cv_func_strtof_use=yes
53077 else
53078 glibcxx_cv_func_strtof_use=no
53080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53081 ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53092 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53093 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53094 for ac_func in strtof
53095 do :
53096 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53097 if test "x$ac_cv_func_strtof" = x""yes; then :
53098 cat >>confdefs.h <<_ACEOF
53099 #define HAVE_STRTOF 1
53100 _ACEOF
53103 done
53110 CXXFLAGS="$ac_save_CXXFLAGS"
53114 *djgpp)
53115 # GLIBCXX_CHECK_MATH_SUPPORT
53116 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53118 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53120 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53122 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53124 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53128 *-freebsd*)
53129 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53132 # If we're not using GNU ld, then there's no point in even trying these
53133 # tests. Check for that first. We should have already tested for gld
53134 # by now (in libtool), but require it now just to be safe...
53135 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53136 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53140 # The name set by libtool depends on the version of libtool. Shame on us
53141 # for depending on an impl detail, but c'est la vie. Older versions used
53142 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53143 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53144 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53145 # set (hence we're using an older libtool), then set it.
53146 if test x${with_gnu_ld+set} != xset; then
53147 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53148 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53149 with_gnu_ld=no
53150 else
53151 with_gnu_ld=$ac_cv_prog_gnu_ld
53155 # Start by getting the version number. I think the libtool test already
53156 # does some of this, but throws away the result.
53157 glibcxx_ld_is_gold=no
53158 if test x"$with_gnu_ld" = x"yes"; then
53159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53160 $as_echo_n "checking for ld version... " >&6; }
53162 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53163 glibcxx_ld_is_gold=yes
53165 ldver=`$LD --version 2>/dev/null |
53166 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'`
53168 glibcxx_gnu_ld_version=`echo $ldver | \
53169 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53171 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53174 # Set --gc-sections.
53175 glibcxx_have_gc_sections=no
53176 if test "$glibcxx_ld_is_gold" = "yes"; then
53177 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53178 glibcxx_have_gc_sections=yes
53180 else
53181 glibcxx_gcsections_min_ld=21602
53182 if test x"$with_gnu_ld" = x"yes" &&
53183 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53184 glibcxx_have_gc_sections=yes
53187 if test "$glibcxx_have_gc_sections" = "yes"; then
53188 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53189 # NB: This flag only works reliably after 2.16.1. Configure tests
53190 # for this are difficult, so hard wire a value that should work.
53192 ac_test_CFLAGS="${CFLAGS+set}"
53193 ac_save_CFLAGS="$CFLAGS"
53194 CFLAGS='-Wl,--gc-sections'
53196 # Check for -Wl,--gc-sections
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53198 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53199 if test x$gcc_no_link = xyes; then
53200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53203 /* end confdefs.h. */
53204 int one(void) { return 1; }
53205 int two(void) { return 2; }
53208 main ()
53210 two();
53212 return 0;
53214 _ACEOF
53215 if ac_fn_c_try_link "$LINENO"; then :
53216 ac_gcsections=yes
53217 else
53218 ac_gcsections=no
53220 rm -f core conftest.err conftest.$ac_objext \
53221 conftest$ac_exeext conftest.$ac_ext
53222 if test "$ac_gcsections" = "yes"; then
53223 rm -f conftest.c
53224 touch conftest.c
53225 if $CC -c conftest.c; then
53226 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53227 grep "Warning: gc-sections option ignored" > /dev/null; then
53228 ac_gcsections=no
53231 rm -f conftest.c conftest.o conftest
53233 if test "$ac_gcsections" = "yes"; then
53234 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53237 $as_echo "$ac_gcsections" >&6; }
53239 if test "$ac_test_CFLAGS" = set; then
53240 CFLAGS="$ac_save_CFLAGS"
53241 else
53242 # this is the suspicious part
53243 CFLAGS=''
53247 # Set -z,relro.
53248 # Note this is only for shared objects.
53249 ac_ld_relro=no
53250 if test x"$with_gnu_ld" = x"yes"; then
53251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53252 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53253 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53254 if test -n "$cxx_z_relo"; then
53255 OPT_LDFLAGS="-Wl,-z,relro"
53256 ac_ld_relro=yes
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53259 $as_echo "$ac_ld_relro" >&6; }
53262 # Set linker optimization flags.
53263 if test x"$with_gnu_ld" = x"yes"; then
53264 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53270 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53272 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53274 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53276 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53278 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53280 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53282 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53284 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53286 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53289 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53291 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53293 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53295 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53297 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53299 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53301 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53303 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53305 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53307 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53309 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53311 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53313 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53315 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53317 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53319 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53321 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53323 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53325 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53327 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53329 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53331 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53333 if test x"long_double_math_on_this_cpu" = x"yes"; then
53334 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53336 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53338 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53341 for ac_func in __cxa_thread_atexit
53342 do :
53343 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53344 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53345 cat >>confdefs.h <<_ACEOF
53346 #define HAVE___CXA_THREAD_ATEXIT 1
53347 _ACEOF
53350 done
53352 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53353 do :
53354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53356 eval as_val=\$$as_ac_var
53357 if test "x$as_val" = x""yes; then :
53358 cat >>confdefs.h <<_ACEOF
53359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53360 _ACEOF
53363 done
53367 *-fuchsia*)
53368 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53372 *-hpux*)
53373 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53376 # If we're not using GNU ld, then there's no point in even trying these
53377 # tests. Check for that first. We should have already tested for gld
53378 # by now (in libtool), but require it now just to be safe...
53379 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53380 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53384 # The name set by libtool depends on the version of libtool. Shame on us
53385 # for depending on an impl detail, but c'est la vie. Older versions used
53386 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53387 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53388 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53389 # set (hence we're using an older libtool), then set it.
53390 if test x${with_gnu_ld+set} != xset; then
53391 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53392 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53393 with_gnu_ld=no
53394 else
53395 with_gnu_ld=$ac_cv_prog_gnu_ld
53399 # Start by getting the version number. I think the libtool test already
53400 # does some of this, but throws away the result.
53401 glibcxx_ld_is_gold=no
53402 if test x"$with_gnu_ld" = x"yes"; then
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53404 $as_echo_n "checking for ld version... " >&6; }
53406 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53407 glibcxx_ld_is_gold=yes
53409 ldver=`$LD --version 2>/dev/null |
53410 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'`
53412 glibcxx_gnu_ld_version=`echo $ldver | \
53413 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53415 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53418 # Set --gc-sections.
53419 glibcxx_have_gc_sections=no
53420 if test "$glibcxx_ld_is_gold" = "yes"; then
53421 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53422 glibcxx_have_gc_sections=yes
53424 else
53425 glibcxx_gcsections_min_ld=21602
53426 if test x"$with_gnu_ld" = x"yes" &&
53427 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53428 glibcxx_have_gc_sections=yes
53431 if test "$glibcxx_have_gc_sections" = "yes"; then
53432 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53433 # NB: This flag only works reliably after 2.16.1. Configure tests
53434 # for this are difficult, so hard wire a value that should work.
53436 ac_test_CFLAGS="${CFLAGS+set}"
53437 ac_save_CFLAGS="$CFLAGS"
53438 CFLAGS='-Wl,--gc-sections'
53440 # Check for -Wl,--gc-sections
53441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53442 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53443 if test x$gcc_no_link = xyes; then
53444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53447 /* end confdefs.h. */
53448 int one(void) { return 1; }
53449 int two(void) { return 2; }
53452 main ()
53454 two();
53456 return 0;
53458 _ACEOF
53459 if ac_fn_c_try_link "$LINENO"; then :
53460 ac_gcsections=yes
53461 else
53462 ac_gcsections=no
53464 rm -f core conftest.err conftest.$ac_objext \
53465 conftest$ac_exeext conftest.$ac_ext
53466 if test "$ac_gcsections" = "yes"; then
53467 rm -f conftest.c
53468 touch conftest.c
53469 if $CC -c conftest.c; then
53470 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53471 grep "Warning: gc-sections option ignored" > /dev/null; then
53472 ac_gcsections=no
53475 rm -f conftest.c conftest.o conftest
53477 if test "$ac_gcsections" = "yes"; then
53478 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53481 $as_echo "$ac_gcsections" >&6; }
53483 if test "$ac_test_CFLAGS" = set; then
53484 CFLAGS="$ac_save_CFLAGS"
53485 else
53486 # this is the suspicious part
53487 CFLAGS=''
53491 # Set -z,relro.
53492 # Note this is only for shared objects.
53493 ac_ld_relro=no
53494 if test x"$with_gnu_ld" = x"yes"; then
53495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53496 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53497 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53498 if test -n "$cxx_z_relo"; then
53499 OPT_LDFLAGS="-Wl,-z,relro"
53500 ac_ld_relro=yes
53502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53503 $as_echo "$ac_ld_relro" >&6; }
53506 # Set linker optimization flags.
53507 if test x"$with_gnu_ld" = x"yes"; then
53508 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53515 # GLIBCXX_CHECK_MATH_SUPPORT
53516 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53518 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53520 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53522 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53524 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53526 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53528 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53530 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53532 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53534 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53536 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53538 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53540 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53542 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53544 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53546 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53548 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53550 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53552 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53554 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53556 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53559 # GLIBCXX_CHECK_STDLIB_SUPPORT
53560 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53565 # Check whether --enable-tls was given.
53566 if test "${enable_tls+set}" = set; then :
53567 enableval=$enable_tls;
53568 case "$enableval" in
53569 yes|no) ;;
53570 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53571 esac
53573 else
53574 enable_tls=yes
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53579 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53580 if test "${gcc_cv_have_tls+set}" = set; then :
53581 $as_echo_n "(cached) " >&6
53582 else
53584 if test "$cross_compiling" = yes; then :
53585 if test x$gcc_no_link = xyes; then
53586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53589 /* end confdefs.h. */
53590 __thread int a; int b; int main() { return a = b; }
53591 _ACEOF
53592 if ac_fn_c_try_link "$LINENO"; then :
53593 chktls_save_LDFLAGS="$LDFLAGS"
53594 case $host in
53595 *-*-linux*)
53596 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53598 esac
53599 chktls_save_CFLAGS="$CFLAGS"
53600 CFLAGS="-fPIC $CFLAGS"
53601 if test x$gcc_no_link = xyes; then
53602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53605 /* end confdefs.h. */
53606 int f() { return 0; }
53607 _ACEOF
53608 if ac_fn_c_try_link "$LINENO"; then :
53609 if test x$gcc_no_link = xyes; then
53610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53613 /* end confdefs.h. */
53614 __thread int a; int b; int f() { return a = b; }
53615 _ACEOF
53616 if ac_fn_c_try_link "$LINENO"; then :
53617 gcc_cv_have_tls=yes
53618 else
53619 gcc_cv_have_tls=no
53621 rm -f core conftest.err conftest.$ac_objext \
53622 conftest$ac_exeext conftest.$ac_ext
53623 else
53624 gcc_cv_have_tls=yes
53626 rm -f core conftest.err conftest.$ac_objext \
53627 conftest$ac_exeext conftest.$ac_ext
53628 CFLAGS="$chktls_save_CFLAGS"
53629 LDFLAGS="$chktls_save_LDFLAGS"
53630 else
53631 gcc_cv_have_tls=no
53633 rm -f core conftest.err conftest.$ac_objext \
53634 conftest$ac_exeext conftest.$ac_ext
53637 else
53638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53639 /* end confdefs.h. */
53640 __thread int a; int b; int main() { return a = b; }
53641 _ACEOF
53642 if ac_fn_c_try_run "$LINENO"; then :
53643 chktls_save_LDFLAGS="$LDFLAGS"
53644 LDFLAGS="-static $LDFLAGS"
53645 if test x$gcc_no_link = xyes; then
53646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53649 /* end confdefs.h. */
53650 int main() { return 0; }
53651 _ACEOF
53652 if ac_fn_c_try_link "$LINENO"; then :
53653 if test "$cross_compiling" = yes; then :
53654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53656 as_fn_error "cannot run test program while cross compiling
53657 See \`config.log' for more details." "$LINENO" 5; }
53658 else
53659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53660 /* end confdefs.h. */
53661 __thread int a; int b; int main() { return a = b; }
53662 _ACEOF
53663 if ac_fn_c_try_run "$LINENO"; then :
53664 gcc_cv_have_tls=yes
53665 else
53666 gcc_cv_have_tls=no
53668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53669 conftest.$ac_objext conftest.beam conftest.$ac_ext
53672 else
53673 gcc_cv_have_tls=yes
53675 rm -f core conftest.err conftest.$ac_objext \
53676 conftest$ac_exeext conftest.$ac_ext
53677 LDFLAGS="$chktls_save_LDFLAGS"
53678 if test $gcc_cv_have_tls = yes; then
53679 chktls_save_CFLAGS="$CFLAGS"
53680 thread_CFLAGS=failed
53681 for flag in '' '-pthread' '-lpthread'; do
53682 CFLAGS="$flag $chktls_save_CFLAGS"
53683 if test x$gcc_no_link = xyes; then
53684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53687 /* end confdefs.h. */
53688 #include <pthread.h>
53689 void *g(void *d) { return NULL; }
53691 main ()
53693 pthread_t t; pthread_create(&t,NULL,g,NULL);
53695 return 0;
53697 _ACEOF
53698 if ac_fn_c_try_link "$LINENO"; then :
53699 thread_CFLAGS="$flag"
53701 rm -f core conftest.err conftest.$ac_objext \
53702 conftest$ac_exeext conftest.$ac_ext
53703 if test "X$thread_CFLAGS" != Xfailed; then
53704 break
53706 done
53707 CFLAGS="$chktls_save_CFLAGS"
53708 if test "X$thread_CFLAGS" != Xfailed; then
53709 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53710 if test "$cross_compiling" = yes; then :
53711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53713 as_fn_error "cannot run test program while cross compiling
53714 See \`config.log' for more details." "$LINENO" 5; }
53715 else
53716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53717 /* end confdefs.h. */
53718 #include <pthread.h>
53719 __thread int a;
53720 static int *volatile a_in_other_thread;
53721 static void *
53722 thread_func (void *arg)
53724 a_in_other_thread = &a;
53725 return (void *)0;
53728 main ()
53730 pthread_t thread;
53731 void *thread_retval;
53732 int *volatile a_in_main_thread;
53733 a_in_main_thread = &a;
53734 if (pthread_create (&thread, (pthread_attr_t *)0,
53735 thread_func, (void *)0))
53736 return 0;
53737 if (pthread_join (thread, &thread_retval))
53738 return 0;
53739 return (a_in_other_thread == a_in_main_thread);
53741 return 0;
53743 _ACEOF
53744 if ac_fn_c_try_run "$LINENO"; then :
53745 gcc_cv_have_tls=yes
53746 else
53747 gcc_cv_have_tls=no
53749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53750 conftest.$ac_objext conftest.beam conftest.$ac_ext
53753 CFLAGS="$chktls_save_CFLAGS"
53756 else
53757 gcc_cv_have_tls=no
53759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53760 conftest.$ac_objext conftest.beam conftest.$ac_ext
53764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53765 $as_echo "$gcc_cv_have_tls" >&6; }
53766 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53768 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53771 case "$target" in
53772 *-hpux10*)
53773 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53775 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53777 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53779 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53781 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53784 esac
53786 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53788 # All these tests are for C++; save the language and the compiler flags.
53789 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53790 # found in GLIBCXX_CONFIGURE.
53792 ac_ext=cpp
53793 ac_cpp='$CXXCPP $CPPFLAGS'
53794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53798 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53799 ac_save_CXXFLAGS="$CXXFLAGS"
53801 # Check for maintainer-mode bits.
53802 if test x"$USE_MAINTAINER_MODE" = xno; then
53803 WERROR=''
53804 else
53805 WERROR='-Werror'
53808 # Check for -ffunction-sections -fdata-sections
53809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53810 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53811 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h. */
53814 int foo; void bar() { };
53816 main ()
53820 return 0;
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824 ac_fdsections=yes
53825 else
53826 ac_fdsections=no
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829 if test "$ac_test_CXXFLAGS" = set; then
53830 CXXFLAGS="$ac_save_CXXFLAGS"
53831 else
53832 # this is the suspicious part
53833 CXXFLAGS=''
53835 if test x"$ac_fdsections" = x"yes"; then
53836 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53839 $as_echo "$ac_fdsections" >&6; }
53841 ac_ext=c
53842 ac_cpp='$CPP $CPPFLAGS'
53843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53851 # If we're not using GNU ld, then there's no point in even trying these
53852 # tests. Check for that first. We should have already tested for gld
53853 # by now (in libtool), but require it now just to be safe...
53854 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53855 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53859 # The name set by libtool depends on the version of libtool. Shame on us
53860 # for depending on an impl detail, but c'est la vie. Older versions used
53861 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53862 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53863 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53864 # set (hence we're using an older libtool), then set it.
53865 if test x${with_gnu_ld+set} != xset; then
53866 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53867 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53868 with_gnu_ld=no
53869 else
53870 with_gnu_ld=$ac_cv_prog_gnu_ld
53874 # Start by getting the version number. I think the libtool test already
53875 # does some of this, but throws away the result.
53876 glibcxx_ld_is_gold=no
53877 if test x"$with_gnu_ld" = x"yes"; then
53878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53879 $as_echo_n "checking for ld version... " >&6; }
53881 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53882 glibcxx_ld_is_gold=yes
53884 ldver=`$LD --version 2>/dev/null |
53885 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'`
53887 glibcxx_gnu_ld_version=`echo $ldver | \
53888 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53890 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53893 # Set --gc-sections.
53894 glibcxx_have_gc_sections=no
53895 if test "$glibcxx_ld_is_gold" = "yes"; then
53896 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53897 glibcxx_have_gc_sections=yes
53899 else
53900 glibcxx_gcsections_min_ld=21602
53901 if test x"$with_gnu_ld" = x"yes" &&
53902 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53903 glibcxx_have_gc_sections=yes
53906 if test "$glibcxx_have_gc_sections" = "yes"; then
53907 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53908 # NB: This flag only works reliably after 2.16.1. Configure tests
53909 # for this are difficult, so hard wire a value that should work.
53911 ac_test_CFLAGS="${CFLAGS+set}"
53912 ac_save_CFLAGS="$CFLAGS"
53913 CFLAGS='-Wl,--gc-sections'
53915 # Check for -Wl,--gc-sections
53916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53917 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53918 if test x$gcc_no_link = xyes; then
53919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53922 /* end confdefs.h. */
53923 int one(void) { return 1; }
53924 int two(void) { return 2; }
53927 main ()
53929 two();
53931 return 0;
53933 _ACEOF
53934 if ac_fn_c_try_link "$LINENO"; then :
53935 ac_gcsections=yes
53936 else
53937 ac_gcsections=no
53939 rm -f core conftest.err conftest.$ac_objext \
53940 conftest$ac_exeext conftest.$ac_ext
53941 if test "$ac_gcsections" = "yes"; then
53942 rm -f conftest.c
53943 touch conftest.c
53944 if $CC -c conftest.c; then
53945 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53946 grep "Warning: gc-sections option ignored" > /dev/null; then
53947 ac_gcsections=no
53950 rm -f conftest.c conftest.o conftest
53952 if test "$ac_gcsections" = "yes"; then
53953 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53956 $as_echo "$ac_gcsections" >&6; }
53958 if test "$ac_test_CFLAGS" = set; then
53959 CFLAGS="$ac_save_CFLAGS"
53960 else
53961 # this is the suspicious part
53962 CFLAGS=''
53966 # Set -z,relro.
53967 # Note this is only for shared objects.
53968 ac_ld_relro=no
53969 if test x"$with_gnu_ld" = x"yes"; then
53970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53971 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53972 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53973 if test -n "$cxx_z_relo"; then
53974 OPT_LDFLAGS="-Wl,-z,relro"
53975 ac_ld_relro=yes
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53978 $as_echo "$ac_ld_relro" >&6; }
53981 # Set linker optimization flags.
53982 if test x"$with_gnu_ld" = x"yes"; then
53983 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53990 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53991 ac_save_CXXFLAGS="$CXXFLAGS"
53992 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53995 $as_echo_n "checking for sin in -lm... " >&6; }
53996 if test "${ac_cv_lib_m_sin+set}" = set; then :
53997 $as_echo_n "(cached) " >&6
53998 else
53999 ac_check_lib_save_LIBS=$LIBS
54000 LIBS="-lm $LIBS"
54001 if test x$gcc_no_link = xyes; then
54002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54005 /* end confdefs.h. */
54007 /* Override any GCC internal prototype to avoid an error.
54008 Use char because int might match the return type of a GCC
54009 builtin and then its argument prototype would still apply. */
54010 #ifdef __cplusplus
54011 extern "C"
54012 #endif
54013 char sin ();
54015 main ()
54017 return sin ();
54019 return 0;
54021 _ACEOF
54022 if ac_fn_c_try_link "$LINENO"; then :
54023 ac_cv_lib_m_sin=yes
54024 else
54025 ac_cv_lib_m_sin=no
54027 rm -f core conftest.err conftest.$ac_objext \
54028 conftest$ac_exeext conftest.$ac_ext
54029 LIBS=$ac_check_lib_save_LIBS
54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54032 $as_echo "$ac_cv_lib_m_sin" >&6; }
54033 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54034 libm="-lm"
54037 ac_save_LIBS="$LIBS"
54038 LIBS="$LIBS $libm"
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54043 $as_echo_n "checking for isinf declaration... " >&6; }
54044 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54045 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54046 $as_echo_n "(cached) " >&6
54047 else
54050 ac_ext=cpp
54051 ac_cpp='$CXXCPP $CPPFLAGS'
54052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54057 /* end confdefs.h. */
54058 #include <math.h>
54059 #ifdef HAVE_IEEEFP_H
54060 #include <ieeefp.h>
54061 #endif
54064 main ()
54066 isinf(0);
54068 return 0;
54070 _ACEOF
54071 if ac_fn_cxx_try_compile "$LINENO"; then :
54072 glibcxx_cv_func_isinf_use=yes
54073 else
54074 glibcxx_cv_func_isinf_use=no
54076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54077 ac_ext=c
54078 ac_cpp='$CPP $CPPFLAGS'
54079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54088 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54090 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54091 for ac_func in isinf
54092 do :
54093 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54094 if test "x$ac_cv_func_isinf" = x""yes; then :
54095 cat >>confdefs.h <<_ACEOF
54096 #define HAVE_ISINF 1
54097 _ACEOF
54100 done
54102 else
54104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54105 $as_echo_n "checking for _isinf declaration... " >&6; }
54106 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54107 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54108 $as_echo_n "(cached) " >&6
54109 else
54112 ac_ext=cpp
54113 ac_cpp='$CXXCPP $CPPFLAGS'
54114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54119 /* end confdefs.h. */
54120 #include <math.h>
54121 #ifdef HAVE_IEEEFP_H
54122 #include <ieeefp.h>
54123 #endif
54126 main ()
54128 _isinf(0);
54130 return 0;
54132 _ACEOF
54133 if ac_fn_cxx_try_compile "$LINENO"; then :
54134 glibcxx_cv_func__isinf_use=yes
54135 else
54136 glibcxx_cv_func__isinf_use=no
54138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54139 ac_ext=c
54140 ac_cpp='$CPP $CPPFLAGS'
54141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54150 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54152 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54153 for ac_func in _isinf
54154 do :
54155 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54156 if test "x$ac_cv_func__isinf" = x""yes; then :
54157 cat >>confdefs.h <<_ACEOF
54158 #define HAVE__ISINF 1
54159 _ACEOF
54162 done
54171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54172 $as_echo_n "checking for isnan declaration... " >&6; }
54173 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54174 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54175 $as_echo_n "(cached) " >&6
54176 else
54179 ac_ext=cpp
54180 ac_cpp='$CXXCPP $CPPFLAGS'
54181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54186 /* end confdefs.h. */
54187 #include <math.h>
54188 #ifdef HAVE_IEEEFP_H
54189 #include <ieeefp.h>
54190 #endif
54193 main ()
54195 isnan(0);
54197 return 0;
54199 _ACEOF
54200 if ac_fn_cxx_try_compile "$LINENO"; then :
54201 glibcxx_cv_func_isnan_use=yes
54202 else
54203 glibcxx_cv_func_isnan_use=no
54205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54206 ac_ext=c
54207 ac_cpp='$CPP $CPPFLAGS'
54208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54217 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54219 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54220 for ac_func in isnan
54221 do :
54222 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54223 if test "x$ac_cv_func_isnan" = x""yes; then :
54224 cat >>confdefs.h <<_ACEOF
54225 #define HAVE_ISNAN 1
54226 _ACEOF
54229 done
54231 else
54233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54234 $as_echo_n "checking for _isnan declaration... " >&6; }
54235 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54236 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54237 $as_echo_n "(cached) " >&6
54238 else
54241 ac_ext=cpp
54242 ac_cpp='$CXXCPP $CPPFLAGS'
54243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54248 /* end confdefs.h. */
54249 #include <math.h>
54250 #ifdef HAVE_IEEEFP_H
54251 #include <ieeefp.h>
54252 #endif
54255 main ()
54257 _isnan(0);
54259 return 0;
54261 _ACEOF
54262 if ac_fn_cxx_try_compile "$LINENO"; then :
54263 glibcxx_cv_func__isnan_use=yes
54264 else
54265 glibcxx_cv_func__isnan_use=no
54267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54268 ac_ext=c
54269 ac_cpp='$CPP $CPPFLAGS'
54270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54279 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54281 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54282 for ac_func in _isnan
54283 do :
54284 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54285 if test "x$ac_cv_func__isnan" = x""yes; then :
54286 cat >>confdefs.h <<_ACEOF
54287 #define HAVE__ISNAN 1
54288 _ACEOF
54291 done
54300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54301 $as_echo_n "checking for finite declaration... " >&6; }
54302 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54303 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54304 $as_echo_n "(cached) " >&6
54305 else
54308 ac_ext=cpp
54309 ac_cpp='$CXXCPP $CPPFLAGS'
54310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54315 /* end confdefs.h. */
54316 #include <math.h>
54317 #ifdef HAVE_IEEEFP_H
54318 #include <ieeefp.h>
54319 #endif
54322 main ()
54324 finite(0);
54326 return 0;
54328 _ACEOF
54329 if ac_fn_cxx_try_compile "$LINENO"; then :
54330 glibcxx_cv_func_finite_use=yes
54331 else
54332 glibcxx_cv_func_finite_use=no
54334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54335 ac_ext=c
54336 ac_cpp='$CPP $CPPFLAGS'
54337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54346 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54348 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54349 for ac_func in finite
54350 do :
54351 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54352 if test "x$ac_cv_func_finite" = x""yes; then :
54353 cat >>confdefs.h <<_ACEOF
54354 #define HAVE_FINITE 1
54355 _ACEOF
54358 done
54360 else
54362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54363 $as_echo_n "checking for _finite declaration... " >&6; }
54364 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54365 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54366 $as_echo_n "(cached) " >&6
54367 else
54370 ac_ext=cpp
54371 ac_cpp='$CXXCPP $CPPFLAGS'
54372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54377 /* end confdefs.h. */
54378 #include <math.h>
54379 #ifdef HAVE_IEEEFP_H
54380 #include <ieeefp.h>
54381 #endif
54384 main ()
54386 _finite(0);
54388 return 0;
54390 _ACEOF
54391 if ac_fn_cxx_try_compile "$LINENO"; then :
54392 glibcxx_cv_func__finite_use=yes
54393 else
54394 glibcxx_cv_func__finite_use=no
54396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54397 ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54408 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54410 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54411 for ac_func in _finite
54412 do :
54413 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54414 if test "x$ac_cv_func__finite" = x""yes; then :
54415 cat >>confdefs.h <<_ACEOF
54416 #define HAVE__FINITE 1
54417 _ACEOF
54420 done
54429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54430 $as_echo_n "checking for sincos declaration... " >&6; }
54431 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54432 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54433 $as_echo_n "(cached) " >&6
54434 else
54437 ac_ext=cpp
54438 ac_cpp='$CXXCPP $CPPFLAGS'
54439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54444 /* end confdefs.h. */
54445 #include <math.h>
54447 main ()
54449 sincos(0, 0, 0);
54451 return 0;
54453 _ACEOF
54454 if ac_fn_cxx_try_compile "$LINENO"; then :
54455 glibcxx_cv_func_sincos_use=yes
54456 else
54457 glibcxx_cv_func_sincos_use=no
54459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54460 ac_ext=c
54461 ac_cpp='$CPP $CPPFLAGS'
54462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54471 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54473 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54474 for ac_func in sincos
54475 do :
54476 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54477 if test "x$ac_cv_func_sincos" = x""yes; then :
54478 cat >>confdefs.h <<_ACEOF
54479 #define HAVE_SINCOS 1
54480 _ACEOF
54483 done
54485 else
54487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54488 $as_echo_n "checking for _sincos declaration... " >&6; }
54489 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54490 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54491 $as_echo_n "(cached) " >&6
54492 else
54495 ac_ext=cpp
54496 ac_cpp='$CXXCPP $CPPFLAGS'
54497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54502 /* end confdefs.h. */
54503 #include <math.h>
54505 main ()
54507 _sincos(0, 0, 0);
54509 return 0;
54511 _ACEOF
54512 if ac_fn_cxx_try_compile "$LINENO"; then :
54513 glibcxx_cv_func__sincos_use=yes
54514 else
54515 glibcxx_cv_func__sincos_use=no
54517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54518 ac_ext=c
54519 ac_cpp='$CPP $CPPFLAGS'
54520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54529 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54531 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54532 for ac_func in _sincos
54533 do :
54534 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54535 if test "x$ac_cv_func__sincos" = x""yes; then :
54536 cat >>confdefs.h <<_ACEOF
54537 #define HAVE__SINCOS 1
54538 _ACEOF
54541 done
54550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54551 $as_echo_n "checking for fpclass declaration... " >&6; }
54552 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54553 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54554 $as_echo_n "(cached) " >&6
54555 else
54558 ac_ext=cpp
54559 ac_cpp='$CXXCPP $CPPFLAGS'
54560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54565 /* end confdefs.h. */
54566 #include <math.h>
54567 #ifdef HAVE_IEEEFP_H
54568 #include <ieeefp.h>
54569 #endif
54572 main ()
54574 fpclass(0);
54576 return 0;
54578 _ACEOF
54579 if ac_fn_cxx_try_compile "$LINENO"; then :
54580 glibcxx_cv_func_fpclass_use=yes
54581 else
54582 glibcxx_cv_func_fpclass_use=no
54584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54585 ac_ext=c
54586 ac_cpp='$CPP $CPPFLAGS'
54587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54596 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54598 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54599 for ac_func in fpclass
54600 do :
54601 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54602 if test "x$ac_cv_func_fpclass" = x""yes; then :
54603 cat >>confdefs.h <<_ACEOF
54604 #define HAVE_FPCLASS 1
54605 _ACEOF
54608 done
54610 else
54612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54613 $as_echo_n "checking for _fpclass declaration... " >&6; }
54614 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54615 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54616 $as_echo_n "(cached) " >&6
54617 else
54620 ac_ext=cpp
54621 ac_cpp='$CXXCPP $CPPFLAGS'
54622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54627 /* end confdefs.h. */
54628 #include <math.h>
54629 #ifdef HAVE_IEEEFP_H
54630 #include <ieeefp.h>
54631 #endif
54634 main ()
54636 _fpclass(0);
54638 return 0;
54640 _ACEOF
54641 if ac_fn_cxx_try_compile "$LINENO"; then :
54642 glibcxx_cv_func__fpclass_use=yes
54643 else
54644 glibcxx_cv_func__fpclass_use=no
54646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54647 ac_ext=c
54648 ac_cpp='$CPP $CPPFLAGS'
54649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54658 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54660 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54661 for ac_func in _fpclass
54662 do :
54663 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54664 if test "x$ac_cv_func__fpclass" = x""yes; then :
54665 cat >>confdefs.h <<_ACEOF
54666 #define HAVE__FPCLASS 1
54667 _ACEOF
54670 done
54679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54680 $as_echo_n "checking for qfpclass declaration... " >&6; }
54681 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54682 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54683 $as_echo_n "(cached) " >&6
54684 else
54687 ac_ext=cpp
54688 ac_cpp='$CXXCPP $CPPFLAGS'
54689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54694 /* end confdefs.h. */
54695 #include <math.h>
54696 #ifdef HAVE_IEEEFP_H
54697 #include <ieeefp.h>
54698 #endif
54701 main ()
54703 qfpclass(0);
54705 return 0;
54707 _ACEOF
54708 if ac_fn_cxx_try_compile "$LINENO"; then :
54709 glibcxx_cv_func_qfpclass_use=yes
54710 else
54711 glibcxx_cv_func_qfpclass_use=no
54713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54714 ac_ext=c
54715 ac_cpp='$CPP $CPPFLAGS'
54716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54725 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54727 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54728 for ac_func in qfpclass
54729 do :
54730 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54731 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54732 cat >>confdefs.h <<_ACEOF
54733 #define HAVE_QFPCLASS 1
54734 _ACEOF
54737 done
54739 else
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54742 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54743 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54744 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54745 $as_echo_n "(cached) " >&6
54746 else
54749 ac_ext=cpp
54750 ac_cpp='$CXXCPP $CPPFLAGS'
54751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54756 /* end confdefs.h. */
54757 #include <math.h>
54758 #ifdef HAVE_IEEEFP_H
54759 #include <ieeefp.h>
54760 #endif
54763 main ()
54765 _qfpclass(0);
54767 return 0;
54769 _ACEOF
54770 if ac_fn_cxx_try_compile "$LINENO"; then :
54771 glibcxx_cv_func__qfpclass_use=yes
54772 else
54773 glibcxx_cv_func__qfpclass_use=no
54775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54776 ac_ext=c
54777 ac_cpp='$CPP $CPPFLAGS'
54778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54787 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54789 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54790 for ac_func in _qfpclass
54791 do :
54792 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54793 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54794 cat >>confdefs.h <<_ACEOF
54795 #define HAVE__QFPCLASS 1
54796 _ACEOF
54799 done
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54809 $as_echo_n "checking for hypot declaration... " >&6; }
54810 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54811 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54812 $as_echo_n "(cached) " >&6
54813 else
54816 ac_ext=cpp
54817 ac_cpp='$CXXCPP $CPPFLAGS'
54818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54823 /* end confdefs.h. */
54824 #include <math.h>
54826 main ()
54828 hypot(0, 0);
54830 return 0;
54832 _ACEOF
54833 if ac_fn_cxx_try_compile "$LINENO"; then :
54834 glibcxx_cv_func_hypot_use=yes
54835 else
54836 glibcxx_cv_func_hypot_use=no
54838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54839 ac_ext=c
54840 ac_cpp='$CPP $CPPFLAGS'
54841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54850 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54852 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54853 for ac_func in hypot
54854 do :
54855 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54856 if test "x$ac_cv_func_hypot" = x""yes; then :
54857 cat >>confdefs.h <<_ACEOF
54858 #define HAVE_HYPOT 1
54859 _ACEOF
54862 done
54864 else
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54867 $as_echo_n "checking for _hypot declaration... " >&6; }
54868 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54869 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54870 $as_echo_n "(cached) " >&6
54871 else
54874 ac_ext=cpp
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881 /* end confdefs.h. */
54882 #include <math.h>
54884 main ()
54886 _hypot(0, 0);
54888 return 0;
54890 _ACEOF
54891 if ac_fn_cxx_try_compile "$LINENO"; then :
54892 glibcxx_cv_func__hypot_use=yes
54893 else
54894 glibcxx_cv_func__hypot_use=no
54896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54897 ac_ext=c
54898 ac_cpp='$CPP $CPPFLAGS'
54899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54908 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54910 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54911 for ac_func in _hypot
54912 do :
54913 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54914 if test "x$ac_cv_func__hypot" = x""yes; then :
54915 cat >>confdefs.h <<_ACEOF
54916 #define HAVE__HYPOT 1
54917 _ACEOF
54920 done
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54930 $as_echo_n "checking for float trig functions... " >&6; }
54931 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54932 $as_echo_n "(cached) " >&6
54933 else
54936 ac_ext=cpp
54937 ac_cpp='$CXXCPP $CPPFLAGS'
54938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54943 /* end confdefs.h. */
54944 #include <math.h>
54946 main ()
54948 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54950 return 0;
54952 _ACEOF
54953 if ac_fn_cxx_try_compile "$LINENO"; then :
54954 glibcxx_cv_func_float_trig_use=yes
54955 else
54956 glibcxx_cv_func_float_trig_use=no
54958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54959 ac_ext=c
54960 ac_cpp='$CPP $CPPFLAGS'
54961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54968 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54969 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54970 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54971 do :
54972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54974 eval as_val=\$$as_ac_var
54975 if test "x$as_val" = x""yes; then :
54976 cat >>confdefs.h <<_ACEOF
54977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54978 _ACEOF
54981 done
54983 else
54984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54985 $as_echo_n "checking for _float trig functions... " >&6; }
54986 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54987 $as_echo_n "(cached) " >&6
54988 else
54991 ac_ext=cpp
54992 ac_cpp='$CXXCPP $CPPFLAGS'
54993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54998 /* end confdefs.h. */
54999 #include <math.h>
55001 main ()
55003 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55005 return 0;
55007 _ACEOF
55008 if ac_fn_cxx_try_compile "$LINENO"; then :
55009 glibcxx_cv_func__float_trig_use=yes
55010 else
55011 glibcxx_cv_func__float_trig_use=no
55013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55014 ac_ext=c
55015 ac_cpp='$CPP $CPPFLAGS'
55016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55023 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55024 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55025 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55026 do :
55027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55029 eval as_val=\$$as_ac_var
55030 if test "x$as_val" = x""yes; then :
55031 cat >>confdefs.h <<_ACEOF
55032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55033 _ACEOF
55036 done
55045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55046 $as_echo_n "checking for float round functions... " >&6; }
55047 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55048 $as_echo_n "(cached) " >&6
55049 else
55052 ac_ext=cpp
55053 ac_cpp='$CXXCPP $CPPFLAGS'
55054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55059 /* end confdefs.h. */
55060 #include <math.h>
55062 main ()
55064 ceilf (0); floorf (0);
55066 return 0;
55068 _ACEOF
55069 if ac_fn_cxx_try_compile "$LINENO"; then :
55070 glibcxx_cv_func_float_round_use=yes
55071 else
55072 glibcxx_cv_func_float_round_use=no
55074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55075 ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55084 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55085 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55086 for ac_func in ceilf floorf
55087 do :
55088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55090 eval as_val=\$$as_ac_var
55091 if test "x$as_val" = x""yes; then :
55092 cat >>confdefs.h <<_ACEOF
55093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55094 _ACEOF
55097 done
55099 else
55100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55101 $as_echo_n "checking for _float round functions... " >&6; }
55102 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55103 $as_echo_n "(cached) " >&6
55104 else
55107 ac_ext=cpp
55108 ac_cpp='$CXXCPP $CPPFLAGS'
55109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55114 /* end confdefs.h. */
55115 #include <math.h>
55117 main ()
55119 _ceilf (0); _floorf (0);
55121 return 0;
55123 _ACEOF
55124 if ac_fn_cxx_try_compile "$LINENO"; then :
55125 glibcxx_cv_func__float_round_use=yes
55126 else
55127 glibcxx_cv_func__float_round_use=no
55129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55130 ac_ext=c
55131 ac_cpp='$CPP $CPPFLAGS'
55132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55139 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55140 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55141 for ac_func in _ceilf _floorf
55142 do :
55143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55145 eval as_val=\$$as_ac_var
55146 if test "x$as_val" = x""yes; then :
55147 cat >>confdefs.h <<_ACEOF
55148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55149 _ACEOF
55152 done
55162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55163 $as_echo_n "checking for expf declaration... " >&6; }
55164 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55165 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55166 $as_echo_n "(cached) " >&6
55167 else
55170 ac_ext=cpp
55171 ac_cpp='$CXXCPP $CPPFLAGS'
55172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55177 /* end confdefs.h. */
55178 #include <math.h>
55179 #ifdef HAVE_IEEEFP_H
55180 #include <ieeefp.h>
55181 #endif
55184 main ()
55186 expf(0);
55188 return 0;
55190 _ACEOF
55191 if ac_fn_cxx_try_compile "$LINENO"; then :
55192 glibcxx_cv_func_expf_use=yes
55193 else
55194 glibcxx_cv_func_expf_use=no
55196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55197 ac_ext=c
55198 ac_cpp='$CPP $CPPFLAGS'
55199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55208 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55210 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55211 for ac_func in expf
55212 do :
55213 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55214 if test "x$ac_cv_func_expf" = x""yes; then :
55215 cat >>confdefs.h <<_ACEOF
55216 #define HAVE_EXPF 1
55217 _ACEOF
55220 done
55222 else
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55225 $as_echo_n "checking for _expf declaration... " >&6; }
55226 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55227 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55228 $as_echo_n "(cached) " >&6
55229 else
55232 ac_ext=cpp
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55239 /* end confdefs.h. */
55240 #include <math.h>
55241 #ifdef HAVE_IEEEFP_H
55242 #include <ieeefp.h>
55243 #endif
55246 main ()
55248 _expf(0);
55250 return 0;
55252 _ACEOF
55253 if ac_fn_cxx_try_compile "$LINENO"; then :
55254 glibcxx_cv_func__expf_use=yes
55255 else
55256 glibcxx_cv_func__expf_use=no
55258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55259 ac_ext=c
55260 ac_cpp='$CPP $CPPFLAGS'
55261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55270 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55272 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55273 for ac_func in _expf
55274 do :
55275 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55276 if test "x$ac_cv_func__expf" = x""yes; then :
55277 cat >>confdefs.h <<_ACEOF
55278 #define HAVE__EXPF 1
55279 _ACEOF
55282 done
55291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55292 $as_echo_n "checking for isnanf declaration... " >&6; }
55293 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55294 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55295 $as_echo_n "(cached) " >&6
55296 else
55299 ac_ext=cpp
55300 ac_cpp='$CXXCPP $CPPFLAGS'
55301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55306 /* end confdefs.h. */
55307 #include <math.h>
55308 #ifdef HAVE_IEEEFP_H
55309 #include <ieeefp.h>
55310 #endif
55313 main ()
55315 isnanf(0);
55317 return 0;
55319 _ACEOF
55320 if ac_fn_cxx_try_compile "$LINENO"; then :
55321 glibcxx_cv_func_isnanf_use=yes
55322 else
55323 glibcxx_cv_func_isnanf_use=no
55325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55326 ac_ext=c
55327 ac_cpp='$CPP $CPPFLAGS'
55328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55337 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55339 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55340 for ac_func in isnanf
55341 do :
55342 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55343 if test "x$ac_cv_func_isnanf" = x""yes; then :
55344 cat >>confdefs.h <<_ACEOF
55345 #define HAVE_ISNANF 1
55346 _ACEOF
55349 done
55351 else
55353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55354 $as_echo_n "checking for _isnanf declaration... " >&6; }
55355 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55356 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55357 $as_echo_n "(cached) " >&6
55358 else
55361 ac_ext=cpp
55362 ac_cpp='$CXXCPP $CPPFLAGS'
55363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55368 /* end confdefs.h. */
55369 #include <math.h>
55370 #ifdef HAVE_IEEEFP_H
55371 #include <ieeefp.h>
55372 #endif
55375 main ()
55377 _isnanf(0);
55379 return 0;
55381 _ACEOF
55382 if ac_fn_cxx_try_compile "$LINENO"; then :
55383 glibcxx_cv_func__isnanf_use=yes
55384 else
55385 glibcxx_cv_func__isnanf_use=no
55387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55388 ac_ext=c
55389 ac_cpp='$CPP $CPPFLAGS'
55390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55399 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55401 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55402 for ac_func in _isnanf
55403 do :
55404 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55405 if test "x$ac_cv_func__isnanf" = x""yes; then :
55406 cat >>confdefs.h <<_ACEOF
55407 #define HAVE__ISNANF 1
55408 _ACEOF
55411 done
55420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55421 $as_echo_n "checking for isinff declaration... " >&6; }
55422 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55423 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55424 $as_echo_n "(cached) " >&6
55425 else
55428 ac_ext=cpp
55429 ac_cpp='$CXXCPP $CPPFLAGS'
55430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55435 /* end confdefs.h. */
55436 #include <math.h>
55437 #ifdef HAVE_IEEEFP_H
55438 #include <ieeefp.h>
55439 #endif
55442 main ()
55444 isinff(0);
55446 return 0;
55448 _ACEOF
55449 if ac_fn_cxx_try_compile "$LINENO"; then :
55450 glibcxx_cv_func_isinff_use=yes
55451 else
55452 glibcxx_cv_func_isinff_use=no
55454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55455 ac_ext=c
55456 ac_cpp='$CPP $CPPFLAGS'
55457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55466 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55468 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55469 for ac_func in isinff
55470 do :
55471 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55472 if test "x$ac_cv_func_isinff" = x""yes; then :
55473 cat >>confdefs.h <<_ACEOF
55474 #define HAVE_ISINFF 1
55475 _ACEOF
55478 done
55480 else
55482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55483 $as_echo_n "checking for _isinff declaration... " >&6; }
55484 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55485 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55486 $as_echo_n "(cached) " >&6
55487 else
55490 ac_ext=cpp
55491 ac_cpp='$CXXCPP $CPPFLAGS'
55492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55497 /* end confdefs.h. */
55498 #include <math.h>
55499 #ifdef HAVE_IEEEFP_H
55500 #include <ieeefp.h>
55501 #endif
55504 main ()
55506 _isinff(0);
55508 return 0;
55510 _ACEOF
55511 if ac_fn_cxx_try_compile "$LINENO"; then :
55512 glibcxx_cv_func__isinff_use=yes
55513 else
55514 glibcxx_cv_func__isinff_use=no
55516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55517 ac_ext=c
55518 ac_cpp='$CPP $CPPFLAGS'
55519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55528 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55530 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55531 for ac_func in _isinff
55532 do :
55533 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55534 if test "x$ac_cv_func__isinff" = x""yes; then :
55535 cat >>confdefs.h <<_ACEOF
55536 #define HAVE__ISINFF 1
55537 _ACEOF
55540 done
55549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55550 $as_echo_n "checking for atan2f declaration... " >&6; }
55551 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55552 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55553 $as_echo_n "(cached) " >&6
55554 else
55557 ac_ext=cpp
55558 ac_cpp='$CXXCPP $CPPFLAGS'
55559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55564 /* end confdefs.h. */
55565 #include <math.h>
55567 main ()
55569 atan2f(0, 0);
55571 return 0;
55573 _ACEOF
55574 if ac_fn_cxx_try_compile "$LINENO"; then :
55575 glibcxx_cv_func_atan2f_use=yes
55576 else
55577 glibcxx_cv_func_atan2f_use=no
55579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55580 ac_ext=c
55581 ac_cpp='$CPP $CPPFLAGS'
55582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55591 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55593 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55594 for ac_func in atan2f
55595 do :
55596 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55597 if test "x$ac_cv_func_atan2f" = x""yes; then :
55598 cat >>confdefs.h <<_ACEOF
55599 #define HAVE_ATAN2F 1
55600 _ACEOF
55603 done
55605 else
55607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55608 $as_echo_n "checking for _atan2f declaration... " >&6; }
55609 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55610 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55611 $as_echo_n "(cached) " >&6
55612 else
55615 ac_ext=cpp
55616 ac_cpp='$CXXCPP $CPPFLAGS'
55617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55622 /* end confdefs.h. */
55623 #include <math.h>
55625 main ()
55627 _atan2f(0, 0);
55629 return 0;
55631 _ACEOF
55632 if ac_fn_cxx_try_compile "$LINENO"; then :
55633 glibcxx_cv_func__atan2f_use=yes
55634 else
55635 glibcxx_cv_func__atan2f_use=no
55637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55638 ac_ext=c
55639 ac_cpp='$CPP $CPPFLAGS'
55640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55649 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55651 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55652 for ac_func in _atan2f
55653 do :
55654 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55655 if test "x$ac_cv_func__atan2f" = x""yes; then :
55656 cat >>confdefs.h <<_ACEOF
55657 #define HAVE__ATAN2F 1
55658 _ACEOF
55661 done
55670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55671 $as_echo_n "checking for fabsf declaration... " >&6; }
55672 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55673 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55674 $as_echo_n "(cached) " >&6
55675 else
55678 ac_ext=cpp
55679 ac_cpp='$CXXCPP $CPPFLAGS'
55680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55685 /* end confdefs.h. */
55686 #include <math.h>
55687 #ifdef HAVE_IEEEFP_H
55688 #include <ieeefp.h>
55689 #endif
55692 main ()
55694 fabsf(0);
55696 return 0;
55698 _ACEOF
55699 if ac_fn_cxx_try_compile "$LINENO"; then :
55700 glibcxx_cv_func_fabsf_use=yes
55701 else
55702 glibcxx_cv_func_fabsf_use=no
55704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55705 ac_ext=c
55706 ac_cpp='$CPP $CPPFLAGS'
55707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55716 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55718 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55719 for ac_func in fabsf
55720 do :
55721 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55722 if test "x$ac_cv_func_fabsf" = x""yes; then :
55723 cat >>confdefs.h <<_ACEOF
55724 #define HAVE_FABSF 1
55725 _ACEOF
55728 done
55730 else
55732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55733 $as_echo_n "checking for _fabsf declaration... " >&6; }
55734 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55735 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55736 $as_echo_n "(cached) " >&6
55737 else
55740 ac_ext=cpp
55741 ac_cpp='$CXXCPP $CPPFLAGS'
55742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55747 /* end confdefs.h. */
55748 #include <math.h>
55749 #ifdef HAVE_IEEEFP_H
55750 #include <ieeefp.h>
55751 #endif
55754 main ()
55756 _fabsf(0);
55758 return 0;
55760 _ACEOF
55761 if ac_fn_cxx_try_compile "$LINENO"; then :
55762 glibcxx_cv_func__fabsf_use=yes
55763 else
55764 glibcxx_cv_func__fabsf_use=no
55766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55767 ac_ext=c
55768 ac_cpp='$CPP $CPPFLAGS'
55769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55778 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55780 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55781 for ac_func in _fabsf
55782 do :
55783 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55784 if test "x$ac_cv_func__fabsf" = x""yes; then :
55785 cat >>confdefs.h <<_ACEOF
55786 #define HAVE__FABSF 1
55787 _ACEOF
55790 done
55799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55800 $as_echo_n "checking for fmodf declaration... " >&6; }
55801 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55802 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55803 $as_echo_n "(cached) " >&6
55804 else
55807 ac_ext=cpp
55808 ac_cpp='$CXXCPP $CPPFLAGS'
55809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55814 /* end confdefs.h. */
55815 #include <math.h>
55817 main ()
55819 fmodf(0, 0);
55821 return 0;
55823 _ACEOF
55824 if ac_fn_cxx_try_compile "$LINENO"; then :
55825 glibcxx_cv_func_fmodf_use=yes
55826 else
55827 glibcxx_cv_func_fmodf_use=no
55829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55830 ac_ext=c
55831 ac_cpp='$CPP $CPPFLAGS'
55832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55841 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55843 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55844 for ac_func in fmodf
55845 do :
55846 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55847 if test "x$ac_cv_func_fmodf" = x""yes; then :
55848 cat >>confdefs.h <<_ACEOF
55849 #define HAVE_FMODF 1
55850 _ACEOF
55853 done
55855 else
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55858 $as_echo_n "checking for _fmodf declaration... " >&6; }
55859 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55860 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55861 $as_echo_n "(cached) " >&6
55862 else
55865 ac_ext=cpp
55866 ac_cpp='$CXXCPP $CPPFLAGS'
55867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55872 /* end confdefs.h. */
55873 #include <math.h>
55875 main ()
55877 _fmodf(0, 0);
55879 return 0;
55881 _ACEOF
55882 if ac_fn_cxx_try_compile "$LINENO"; then :
55883 glibcxx_cv_func__fmodf_use=yes
55884 else
55885 glibcxx_cv_func__fmodf_use=no
55887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55888 ac_ext=c
55889 ac_cpp='$CPP $CPPFLAGS'
55890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55899 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55901 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55902 for ac_func in _fmodf
55903 do :
55904 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55905 if test "x$ac_cv_func__fmodf" = x""yes; then :
55906 cat >>confdefs.h <<_ACEOF
55907 #define HAVE__FMODF 1
55908 _ACEOF
55911 done
55920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55921 $as_echo_n "checking for frexpf declaration... " >&6; }
55922 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55923 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55924 $as_echo_n "(cached) " >&6
55925 else
55928 ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h. */
55936 #include <math.h>
55938 main ()
55940 frexpf(0, 0);
55942 return 0;
55944 _ACEOF
55945 if ac_fn_cxx_try_compile "$LINENO"; then :
55946 glibcxx_cv_func_frexpf_use=yes
55947 else
55948 glibcxx_cv_func_frexpf_use=no
55950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55951 ac_ext=c
55952 ac_cpp='$CPP $CPPFLAGS'
55953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55962 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55964 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55965 for ac_func in frexpf
55966 do :
55967 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55968 if test "x$ac_cv_func_frexpf" = x""yes; then :
55969 cat >>confdefs.h <<_ACEOF
55970 #define HAVE_FREXPF 1
55971 _ACEOF
55974 done
55976 else
55978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55979 $as_echo_n "checking for _frexpf declaration... " >&6; }
55980 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55981 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55982 $as_echo_n "(cached) " >&6
55983 else
55986 ac_ext=cpp
55987 ac_cpp='$CXXCPP $CPPFLAGS'
55988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55993 /* end confdefs.h. */
55994 #include <math.h>
55996 main ()
55998 _frexpf(0, 0);
56000 return 0;
56002 _ACEOF
56003 if ac_fn_cxx_try_compile "$LINENO"; then :
56004 glibcxx_cv_func__frexpf_use=yes
56005 else
56006 glibcxx_cv_func__frexpf_use=no
56008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56009 ac_ext=c
56010 ac_cpp='$CPP $CPPFLAGS'
56011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56020 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56022 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56023 for ac_func in _frexpf
56024 do :
56025 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56026 if test "x$ac_cv_func__frexpf" = x""yes; then :
56027 cat >>confdefs.h <<_ACEOF
56028 #define HAVE__FREXPF 1
56029 _ACEOF
56032 done
56041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56042 $as_echo_n "checking for hypotf declaration... " >&6; }
56043 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56044 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56045 $as_echo_n "(cached) " >&6
56046 else
56049 ac_ext=cpp
56050 ac_cpp='$CXXCPP $CPPFLAGS'
56051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56056 /* end confdefs.h. */
56057 #include <math.h>
56059 main ()
56061 hypotf(0, 0);
56063 return 0;
56065 _ACEOF
56066 if ac_fn_cxx_try_compile "$LINENO"; then :
56067 glibcxx_cv_func_hypotf_use=yes
56068 else
56069 glibcxx_cv_func_hypotf_use=no
56071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56072 ac_ext=c
56073 ac_cpp='$CPP $CPPFLAGS'
56074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56083 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56085 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56086 for ac_func in hypotf
56087 do :
56088 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56089 if test "x$ac_cv_func_hypotf" = x""yes; then :
56090 cat >>confdefs.h <<_ACEOF
56091 #define HAVE_HYPOTF 1
56092 _ACEOF
56095 done
56097 else
56099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56100 $as_echo_n "checking for _hypotf declaration... " >&6; }
56101 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56102 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56103 $as_echo_n "(cached) " >&6
56104 else
56107 ac_ext=cpp
56108 ac_cpp='$CXXCPP $CPPFLAGS'
56109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56114 /* end confdefs.h. */
56115 #include <math.h>
56117 main ()
56119 _hypotf(0, 0);
56121 return 0;
56123 _ACEOF
56124 if ac_fn_cxx_try_compile "$LINENO"; then :
56125 glibcxx_cv_func__hypotf_use=yes
56126 else
56127 glibcxx_cv_func__hypotf_use=no
56129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56130 ac_ext=c
56131 ac_cpp='$CPP $CPPFLAGS'
56132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56141 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56143 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56144 for ac_func in _hypotf
56145 do :
56146 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56147 if test "x$ac_cv_func__hypotf" = x""yes; then :
56148 cat >>confdefs.h <<_ACEOF
56149 #define HAVE__HYPOTF 1
56150 _ACEOF
56153 done
56162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56163 $as_echo_n "checking for ldexpf declaration... " >&6; }
56164 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56165 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56166 $as_echo_n "(cached) " >&6
56167 else
56170 ac_ext=cpp
56171 ac_cpp='$CXXCPP $CPPFLAGS'
56172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56177 /* end confdefs.h. */
56178 #include <math.h>
56180 main ()
56182 ldexpf(0, 0);
56184 return 0;
56186 _ACEOF
56187 if ac_fn_cxx_try_compile "$LINENO"; then :
56188 glibcxx_cv_func_ldexpf_use=yes
56189 else
56190 glibcxx_cv_func_ldexpf_use=no
56192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56193 ac_ext=c
56194 ac_cpp='$CPP $CPPFLAGS'
56195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56204 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56206 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56207 for ac_func in ldexpf
56208 do :
56209 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56210 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56211 cat >>confdefs.h <<_ACEOF
56212 #define HAVE_LDEXPF 1
56213 _ACEOF
56216 done
56218 else
56220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56221 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56222 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56223 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56224 $as_echo_n "(cached) " >&6
56225 else
56228 ac_ext=cpp
56229 ac_cpp='$CXXCPP $CPPFLAGS'
56230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56235 /* end confdefs.h. */
56236 #include <math.h>
56238 main ()
56240 _ldexpf(0, 0);
56242 return 0;
56244 _ACEOF
56245 if ac_fn_cxx_try_compile "$LINENO"; then :
56246 glibcxx_cv_func__ldexpf_use=yes
56247 else
56248 glibcxx_cv_func__ldexpf_use=no
56250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56251 ac_ext=c
56252 ac_cpp='$CPP $CPPFLAGS'
56253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56262 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56264 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56265 for ac_func in _ldexpf
56266 do :
56267 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56268 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56269 cat >>confdefs.h <<_ACEOF
56270 #define HAVE__LDEXPF 1
56271 _ACEOF
56274 done
56283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56284 $as_echo_n "checking for logf declaration... " >&6; }
56285 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56286 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56287 $as_echo_n "(cached) " >&6
56288 else
56291 ac_ext=cpp
56292 ac_cpp='$CXXCPP $CPPFLAGS'
56293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56298 /* end confdefs.h. */
56299 #include <math.h>
56300 #ifdef HAVE_IEEEFP_H
56301 #include <ieeefp.h>
56302 #endif
56305 main ()
56307 logf(0);
56309 return 0;
56311 _ACEOF
56312 if ac_fn_cxx_try_compile "$LINENO"; then :
56313 glibcxx_cv_func_logf_use=yes
56314 else
56315 glibcxx_cv_func_logf_use=no
56317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56318 ac_ext=c
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56329 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56331 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56332 for ac_func in logf
56333 do :
56334 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56335 if test "x$ac_cv_func_logf" = x""yes; then :
56336 cat >>confdefs.h <<_ACEOF
56337 #define HAVE_LOGF 1
56338 _ACEOF
56341 done
56343 else
56345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56346 $as_echo_n "checking for _logf declaration... " >&6; }
56347 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56348 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56349 $as_echo_n "(cached) " >&6
56350 else
56353 ac_ext=cpp
56354 ac_cpp='$CXXCPP $CPPFLAGS'
56355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56360 /* end confdefs.h. */
56361 #include <math.h>
56362 #ifdef HAVE_IEEEFP_H
56363 #include <ieeefp.h>
56364 #endif
56367 main ()
56369 _logf(0);
56371 return 0;
56373 _ACEOF
56374 if ac_fn_cxx_try_compile "$LINENO"; then :
56375 glibcxx_cv_func__logf_use=yes
56376 else
56377 glibcxx_cv_func__logf_use=no
56379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56380 ac_ext=c
56381 ac_cpp='$CPP $CPPFLAGS'
56382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56391 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56393 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56394 for ac_func in _logf
56395 do :
56396 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56397 if test "x$ac_cv_func__logf" = x""yes; then :
56398 cat >>confdefs.h <<_ACEOF
56399 #define HAVE__LOGF 1
56400 _ACEOF
56403 done
56412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56413 $as_echo_n "checking for log10f declaration... " >&6; }
56414 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56415 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56416 $as_echo_n "(cached) " >&6
56417 else
56420 ac_ext=cpp
56421 ac_cpp='$CXXCPP $CPPFLAGS'
56422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56427 /* end confdefs.h. */
56428 #include <math.h>
56429 #ifdef HAVE_IEEEFP_H
56430 #include <ieeefp.h>
56431 #endif
56434 main ()
56436 log10f(0);
56438 return 0;
56440 _ACEOF
56441 if ac_fn_cxx_try_compile "$LINENO"; then :
56442 glibcxx_cv_func_log10f_use=yes
56443 else
56444 glibcxx_cv_func_log10f_use=no
56446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56447 ac_ext=c
56448 ac_cpp='$CPP $CPPFLAGS'
56449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56458 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56460 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56461 for ac_func in log10f
56462 do :
56463 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56464 if test "x$ac_cv_func_log10f" = x""yes; then :
56465 cat >>confdefs.h <<_ACEOF
56466 #define HAVE_LOG10F 1
56467 _ACEOF
56470 done
56472 else
56474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56475 $as_echo_n "checking for _log10f declaration... " >&6; }
56476 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56477 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56478 $as_echo_n "(cached) " >&6
56479 else
56482 ac_ext=cpp
56483 ac_cpp='$CXXCPP $CPPFLAGS'
56484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56489 /* end confdefs.h. */
56490 #include <math.h>
56491 #ifdef HAVE_IEEEFP_H
56492 #include <ieeefp.h>
56493 #endif
56496 main ()
56498 _log10f(0);
56500 return 0;
56502 _ACEOF
56503 if ac_fn_cxx_try_compile "$LINENO"; then :
56504 glibcxx_cv_func__log10f_use=yes
56505 else
56506 glibcxx_cv_func__log10f_use=no
56508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56509 ac_ext=c
56510 ac_cpp='$CPP $CPPFLAGS'
56511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56520 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56522 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56523 for ac_func in _log10f
56524 do :
56525 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56526 if test "x$ac_cv_func__log10f" = x""yes; then :
56527 cat >>confdefs.h <<_ACEOF
56528 #define HAVE__LOG10F 1
56529 _ACEOF
56532 done
56541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56542 $as_echo_n "checking for modff declaration... " >&6; }
56543 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56544 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56545 $as_echo_n "(cached) " >&6
56546 else
56549 ac_ext=cpp
56550 ac_cpp='$CXXCPP $CPPFLAGS'
56551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56556 /* end confdefs.h. */
56557 #include <math.h>
56559 main ()
56561 modff(0, 0);
56563 return 0;
56565 _ACEOF
56566 if ac_fn_cxx_try_compile "$LINENO"; then :
56567 glibcxx_cv_func_modff_use=yes
56568 else
56569 glibcxx_cv_func_modff_use=no
56571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56572 ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56583 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56585 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56586 for ac_func in modff
56587 do :
56588 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56589 if test "x$ac_cv_func_modff" = x""yes; then :
56590 cat >>confdefs.h <<_ACEOF
56591 #define HAVE_MODFF 1
56592 _ACEOF
56595 done
56597 else
56599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56600 $as_echo_n "checking for _modff declaration... " >&6; }
56601 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56602 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56603 $as_echo_n "(cached) " >&6
56604 else
56607 ac_ext=cpp
56608 ac_cpp='$CXXCPP $CPPFLAGS'
56609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56614 /* end confdefs.h. */
56615 #include <math.h>
56617 main ()
56619 _modff(0, 0);
56621 return 0;
56623 _ACEOF
56624 if ac_fn_cxx_try_compile "$LINENO"; then :
56625 glibcxx_cv_func__modff_use=yes
56626 else
56627 glibcxx_cv_func__modff_use=no
56629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56630 ac_ext=c
56631 ac_cpp='$CPP $CPPFLAGS'
56632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56641 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56643 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56644 for ac_func in _modff
56645 do :
56646 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56647 if test "x$ac_cv_func__modff" = x""yes; then :
56648 cat >>confdefs.h <<_ACEOF
56649 #define HAVE__MODFF 1
56650 _ACEOF
56653 done
56662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56663 $as_echo_n "checking for modf declaration... " >&6; }
56664 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56665 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56666 $as_echo_n "(cached) " >&6
56667 else
56670 ac_ext=cpp
56671 ac_cpp='$CXXCPP $CPPFLAGS'
56672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56677 /* end confdefs.h. */
56678 #include <math.h>
56680 main ()
56682 modf(0, 0);
56684 return 0;
56686 _ACEOF
56687 if ac_fn_cxx_try_compile "$LINENO"; then :
56688 glibcxx_cv_func_modf_use=yes
56689 else
56690 glibcxx_cv_func_modf_use=no
56692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56693 ac_ext=c
56694 ac_cpp='$CPP $CPPFLAGS'
56695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56704 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56706 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56707 for ac_func in modf
56708 do :
56709 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56710 if test "x$ac_cv_func_modf" = x""yes; then :
56711 cat >>confdefs.h <<_ACEOF
56712 #define HAVE_MODF 1
56713 _ACEOF
56716 done
56718 else
56720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56721 $as_echo_n "checking for _modf declaration... " >&6; }
56722 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56723 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56724 $as_echo_n "(cached) " >&6
56725 else
56728 ac_ext=cpp
56729 ac_cpp='$CXXCPP $CPPFLAGS'
56730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h. */
56736 #include <math.h>
56738 main ()
56740 _modf(0, 0);
56742 return 0;
56744 _ACEOF
56745 if ac_fn_cxx_try_compile "$LINENO"; then :
56746 glibcxx_cv_func__modf_use=yes
56747 else
56748 glibcxx_cv_func__modf_use=no
56750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56751 ac_ext=c
56752 ac_cpp='$CPP $CPPFLAGS'
56753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56762 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56764 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56765 for ac_func in _modf
56766 do :
56767 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56768 if test "x$ac_cv_func__modf" = x""yes; then :
56769 cat >>confdefs.h <<_ACEOF
56770 #define HAVE__MODF 1
56771 _ACEOF
56774 done
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56784 $as_echo_n "checking for powf declaration... " >&6; }
56785 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56786 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56787 $as_echo_n "(cached) " >&6
56788 else
56791 ac_ext=cpp
56792 ac_cpp='$CXXCPP $CPPFLAGS'
56793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56798 /* end confdefs.h. */
56799 #include <math.h>
56801 main ()
56803 powf(0, 0);
56805 return 0;
56807 _ACEOF
56808 if ac_fn_cxx_try_compile "$LINENO"; then :
56809 glibcxx_cv_func_powf_use=yes
56810 else
56811 glibcxx_cv_func_powf_use=no
56813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56814 ac_ext=c
56815 ac_cpp='$CPP $CPPFLAGS'
56816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56825 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56827 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56828 for ac_func in powf
56829 do :
56830 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56831 if test "x$ac_cv_func_powf" = x""yes; then :
56832 cat >>confdefs.h <<_ACEOF
56833 #define HAVE_POWF 1
56834 _ACEOF
56837 done
56839 else
56841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56842 $as_echo_n "checking for _powf declaration... " >&6; }
56843 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56844 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56845 $as_echo_n "(cached) " >&6
56846 else
56849 ac_ext=cpp
56850 ac_cpp='$CXXCPP $CPPFLAGS'
56851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56856 /* end confdefs.h. */
56857 #include <math.h>
56859 main ()
56861 _powf(0, 0);
56863 return 0;
56865 _ACEOF
56866 if ac_fn_cxx_try_compile "$LINENO"; then :
56867 glibcxx_cv_func__powf_use=yes
56868 else
56869 glibcxx_cv_func__powf_use=no
56871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56872 ac_ext=c
56873 ac_cpp='$CPP $CPPFLAGS'
56874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56883 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56885 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56886 for ac_func in _powf
56887 do :
56888 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56889 if test "x$ac_cv_func__powf" = x""yes; then :
56890 cat >>confdefs.h <<_ACEOF
56891 #define HAVE__POWF 1
56892 _ACEOF
56895 done
56904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56905 $as_echo_n "checking for sqrtf declaration... " >&6; }
56906 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56907 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56908 $as_echo_n "(cached) " >&6
56909 else
56912 ac_ext=cpp
56913 ac_cpp='$CXXCPP $CPPFLAGS'
56914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56919 /* end confdefs.h. */
56920 #include <math.h>
56921 #ifdef HAVE_IEEEFP_H
56922 #include <ieeefp.h>
56923 #endif
56926 main ()
56928 sqrtf(0);
56930 return 0;
56932 _ACEOF
56933 if ac_fn_cxx_try_compile "$LINENO"; then :
56934 glibcxx_cv_func_sqrtf_use=yes
56935 else
56936 glibcxx_cv_func_sqrtf_use=no
56938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56939 ac_ext=c
56940 ac_cpp='$CPP $CPPFLAGS'
56941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56950 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56952 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56953 for ac_func in sqrtf
56954 do :
56955 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56956 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56957 cat >>confdefs.h <<_ACEOF
56958 #define HAVE_SQRTF 1
56959 _ACEOF
56962 done
56964 else
56966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56967 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56968 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56969 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56970 $as_echo_n "(cached) " >&6
56971 else
56974 ac_ext=cpp
56975 ac_cpp='$CXXCPP $CPPFLAGS'
56976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56981 /* end confdefs.h. */
56982 #include <math.h>
56983 #ifdef HAVE_IEEEFP_H
56984 #include <ieeefp.h>
56985 #endif
56988 main ()
56990 _sqrtf(0);
56992 return 0;
56994 _ACEOF
56995 if ac_fn_cxx_try_compile "$LINENO"; then :
56996 glibcxx_cv_func__sqrtf_use=yes
56997 else
56998 glibcxx_cv_func__sqrtf_use=no
57000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57001 ac_ext=c
57002 ac_cpp='$CPP $CPPFLAGS'
57003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57012 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57014 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57015 for ac_func in _sqrtf
57016 do :
57017 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57018 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57019 cat >>confdefs.h <<_ACEOF
57020 #define HAVE__SQRTF 1
57021 _ACEOF
57024 done
57033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57034 $as_echo_n "checking for sincosf declaration... " >&6; }
57035 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57036 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57037 $as_echo_n "(cached) " >&6
57038 else
57041 ac_ext=cpp
57042 ac_cpp='$CXXCPP $CPPFLAGS'
57043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57048 /* end confdefs.h. */
57049 #include <math.h>
57051 main ()
57053 sincosf(0, 0, 0);
57055 return 0;
57057 _ACEOF
57058 if ac_fn_cxx_try_compile "$LINENO"; then :
57059 glibcxx_cv_func_sincosf_use=yes
57060 else
57061 glibcxx_cv_func_sincosf_use=no
57063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57064 ac_ext=c
57065 ac_cpp='$CPP $CPPFLAGS'
57066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57075 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57077 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57078 for ac_func in sincosf
57079 do :
57080 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57081 if test "x$ac_cv_func_sincosf" = x""yes; then :
57082 cat >>confdefs.h <<_ACEOF
57083 #define HAVE_SINCOSF 1
57084 _ACEOF
57087 done
57089 else
57091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57092 $as_echo_n "checking for _sincosf declaration... " >&6; }
57093 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57094 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57095 $as_echo_n "(cached) " >&6
57096 else
57099 ac_ext=cpp
57100 ac_cpp='$CXXCPP $CPPFLAGS'
57101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57106 /* end confdefs.h. */
57107 #include <math.h>
57109 main ()
57111 _sincosf(0, 0, 0);
57113 return 0;
57115 _ACEOF
57116 if ac_fn_cxx_try_compile "$LINENO"; then :
57117 glibcxx_cv_func__sincosf_use=yes
57118 else
57119 glibcxx_cv_func__sincosf_use=no
57121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57122 ac_ext=c
57123 ac_cpp='$CPP $CPPFLAGS'
57124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57133 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57135 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57136 for ac_func in _sincosf
57137 do :
57138 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57139 if test "x$ac_cv_func__sincosf" = x""yes; then :
57140 cat >>confdefs.h <<_ACEOF
57141 #define HAVE__SINCOSF 1
57142 _ACEOF
57145 done
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57155 $as_echo_n "checking for finitef declaration... " >&6; }
57156 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57157 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57158 $as_echo_n "(cached) " >&6
57159 else
57162 ac_ext=cpp
57163 ac_cpp='$CXXCPP $CPPFLAGS'
57164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57169 /* end confdefs.h. */
57170 #include <math.h>
57171 #ifdef HAVE_IEEEFP_H
57172 #include <ieeefp.h>
57173 #endif
57176 main ()
57178 finitef(0);
57180 return 0;
57182 _ACEOF
57183 if ac_fn_cxx_try_compile "$LINENO"; then :
57184 glibcxx_cv_func_finitef_use=yes
57185 else
57186 glibcxx_cv_func_finitef_use=no
57188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57189 ac_ext=c
57190 ac_cpp='$CPP $CPPFLAGS'
57191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57200 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57202 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57203 for ac_func in finitef
57204 do :
57205 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57206 if test "x$ac_cv_func_finitef" = x""yes; then :
57207 cat >>confdefs.h <<_ACEOF
57208 #define HAVE_FINITEF 1
57209 _ACEOF
57212 done
57214 else
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57217 $as_echo_n "checking for _finitef declaration... " >&6; }
57218 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57219 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57220 $as_echo_n "(cached) " >&6
57221 else
57224 ac_ext=cpp
57225 ac_cpp='$CXXCPP $CPPFLAGS'
57226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57231 /* end confdefs.h. */
57232 #include <math.h>
57233 #ifdef HAVE_IEEEFP_H
57234 #include <ieeefp.h>
57235 #endif
57238 main ()
57240 _finitef(0);
57242 return 0;
57244 _ACEOF
57245 if ac_fn_cxx_try_compile "$LINENO"; then :
57246 glibcxx_cv_func__finitef_use=yes
57247 else
57248 glibcxx_cv_func__finitef_use=no
57250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57251 ac_ext=c
57252 ac_cpp='$CPP $CPPFLAGS'
57253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57262 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57264 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57265 for ac_func in _finitef
57266 do :
57267 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57268 if test "x$ac_cv_func__finitef" = x""yes; then :
57269 cat >>confdefs.h <<_ACEOF
57270 #define HAVE__FINITEF 1
57271 _ACEOF
57274 done
57283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57284 $as_echo_n "checking for long double trig functions... " >&6; }
57285 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57286 $as_echo_n "(cached) " >&6
57287 else
57290 ac_ext=cpp
57291 ac_cpp='$CXXCPP $CPPFLAGS'
57292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57297 /* end confdefs.h. */
57298 #include <math.h>
57300 main ()
57302 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57304 return 0;
57306 _ACEOF
57307 if ac_fn_cxx_try_compile "$LINENO"; then :
57308 glibcxx_cv_func_long_double_trig_use=yes
57309 else
57310 glibcxx_cv_func_long_double_trig_use=no
57312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57313 ac_ext=c
57314 ac_cpp='$CPP $CPPFLAGS'
57315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57322 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57323 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57324 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57325 do :
57326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57328 eval as_val=\$$as_ac_var
57329 if test "x$as_val" = x""yes; then :
57330 cat >>confdefs.h <<_ACEOF
57331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57332 _ACEOF
57335 done
57337 else
57338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57339 $as_echo_n "checking for _long double trig functions... " >&6; }
57340 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57341 $as_echo_n "(cached) " >&6
57342 else
57345 ac_ext=cpp
57346 ac_cpp='$CXXCPP $CPPFLAGS'
57347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57352 /* end confdefs.h. */
57353 #include <math.h>
57355 main ()
57357 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57359 return 0;
57361 _ACEOF
57362 if ac_fn_cxx_try_compile "$LINENO"; then :
57363 glibcxx_cv_func__long_double_trig_use=yes
57364 else
57365 glibcxx_cv_func__long_double_trig_use=no
57367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57368 ac_ext=c
57369 ac_cpp='$CPP $CPPFLAGS'
57370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57377 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57378 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57379 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57380 do :
57381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57383 eval as_val=\$$as_ac_var
57384 if test "x$as_val" = x""yes; then :
57385 cat >>confdefs.h <<_ACEOF
57386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57387 _ACEOF
57390 done
57399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57400 $as_echo_n "checking for long double round functions... " >&6; }
57401 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57402 $as_echo_n "(cached) " >&6
57403 else
57406 ac_ext=cpp
57407 ac_cpp='$CXXCPP $CPPFLAGS'
57408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57413 /* end confdefs.h. */
57414 #include <math.h>
57416 main ()
57418 ceill (0); floorl (0);
57420 return 0;
57422 _ACEOF
57423 if ac_fn_cxx_try_compile "$LINENO"; then :
57424 glibcxx_cv_func_long_double_round_use=yes
57425 else
57426 glibcxx_cv_func_long_double_round_use=no
57428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57429 ac_ext=c
57430 ac_cpp='$CPP $CPPFLAGS'
57431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57438 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57439 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57440 for ac_func in ceill floorl
57441 do :
57442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57444 eval as_val=\$$as_ac_var
57445 if test "x$as_val" = x""yes; then :
57446 cat >>confdefs.h <<_ACEOF
57447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57448 _ACEOF
57451 done
57453 else
57454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57455 $as_echo_n "checking for _long double round functions... " >&6; }
57456 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57457 $as_echo_n "(cached) " >&6
57458 else
57461 ac_ext=cpp
57462 ac_cpp='$CXXCPP $CPPFLAGS'
57463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57468 /* end confdefs.h. */
57469 #include <math.h>
57471 main ()
57473 _ceill (0); _floorl (0);
57475 return 0;
57477 _ACEOF
57478 if ac_fn_cxx_try_compile "$LINENO"; then :
57479 glibcxx_cv_func__long_double_round_use=yes
57480 else
57481 glibcxx_cv_func__long_double_round_use=no
57483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484 ac_ext=c
57485 ac_cpp='$CPP $CPPFLAGS'
57486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57493 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57494 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57495 for ac_func in _ceill _floorl
57496 do :
57497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57499 eval as_val=\$$as_ac_var
57500 if test "x$as_val" = x""yes; then :
57501 cat >>confdefs.h <<_ACEOF
57502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57503 _ACEOF
57506 done
57516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57517 $as_echo_n "checking for isnanl declaration... " >&6; }
57518 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57519 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57520 $as_echo_n "(cached) " >&6
57521 else
57524 ac_ext=cpp
57525 ac_cpp='$CXXCPP $CPPFLAGS'
57526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57531 /* end confdefs.h. */
57532 #include <math.h>
57533 #ifdef HAVE_IEEEFP_H
57534 #include <ieeefp.h>
57535 #endif
57538 main ()
57540 isnanl(0);
57542 return 0;
57544 _ACEOF
57545 if ac_fn_cxx_try_compile "$LINENO"; then :
57546 glibcxx_cv_func_isnanl_use=yes
57547 else
57548 glibcxx_cv_func_isnanl_use=no
57550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57551 ac_ext=c
57552 ac_cpp='$CPP $CPPFLAGS'
57553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57562 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57564 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57565 for ac_func in isnanl
57566 do :
57567 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57568 if test "x$ac_cv_func_isnanl" = x""yes; then :
57569 cat >>confdefs.h <<_ACEOF
57570 #define HAVE_ISNANL 1
57571 _ACEOF
57574 done
57576 else
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57579 $as_echo_n "checking for _isnanl declaration... " >&6; }
57580 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57581 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57582 $as_echo_n "(cached) " >&6
57583 else
57586 ac_ext=cpp
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593 /* end confdefs.h. */
57594 #include <math.h>
57595 #ifdef HAVE_IEEEFP_H
57596 #include <ieeefp.h>
57597 #endif
57600 main ()
57602 _isnanl(0);
57604 return 0;
57606 _ACEOF
57607 if ac_fn_cxx_try_compile "$LINENO"; then :
57608 glibcxx_cv_func__isnanl_use=yes
57609 else
57610 glibcxx_cv_func__isnanl_use=no
57612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57613 ac_ext=c
57614 ac_cpp='$CPP $CPPFLAGS'
57615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57624 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57626 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57627 for ac_func in _isnanl
57628 do :
57629 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57630 if test "x$ac_cv_func__isnanl" = x""yes; then :
57631 cat >>confdefs.h <<_ACEOF
57632 #define HAVE__ISNANL 1
57633 _ACEOF
57636 done
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57646 $as_echo_n "checking for isinfl declaration... " >&6; }
57647 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57648 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57649 $as_echo_n "(cached) " >&6
57650 else
57653 ac_ext=cpp
57654 ac_cpp='$CXXCPP $CPPFLAGS'
57655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57660 /* end confdefs.h. */
57661 #include <math.h>
57662 #ifdef HAVE_IEEEFP_H
57663 #include <ieeefp.h>
57664 #endif
57667 main ()
57669 isinfl(0);
57671 return 0;
57673 _ACEOF
57674 if ac_fn_cxx_try_compile "$LINENO"; then :
57675 glibcxx_cv_func_isinfl_use=yes
57676 else
57677 glibcxx_cv_func_isinfl_use=no
57679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57680 ac_ext=c
57681 ac_cpp='$CPP $CPPFLAGS'
57682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57691 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57693 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57694 for ac_func in isinfl
57695 do :
57696 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57697 if test "x$ac_cv_func_isinfl" = x""yes; then :
57698 cat >>confdefs.h <<_ACEOF
57699 #define HAVE_ISINFL 1
57700 _ACEOF
57703 done
57705 else
57707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57708 $as_echo_n "checking for _isinfl declaration... " >&6; }
57709 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57710 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57711 $as_echo_n "(cached) " >&6
57712 else
57715 ac_ext=cpp
57716 ac_cpp='$CXXCPP $CPPFLAGS'
57717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57722 /* end confdefs.h. */
57723 #include <math.h>
57724 #ifdef HAVE_IEEEFP_H
57725 #include <ieeefp.h>
57726 #endif
57729 main ()
57731 _isinfl(0);
57733 return 0;
57735 _ACEOF
57736 if ac_fn_cxx_try_compile "$LINENO"; then :
57737 glibcxx_cv_func__isinfl_use=yes
57738 else
57739 glibcxx_cv_func__isinfl_use=no
57741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57742 ac_ext=c
57743 ac_cpp='$CPP $CPPFLAGS'
57744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57753 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57755 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57756 for ac_func in _isinfl
57757 do :
57758 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57759 if test "x$ac_cv_func__isinfl" = x""yes; then :
57760 cat >>confdefs.h <<_ACEOF
57761 #define HAVE__ISINFL 1
57762 _ACEOF
57765 done
57774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57775 $as_echo_n "checking for atan2l declaration... " >&6; }
57776 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57777 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57778 $as_echo_n "(cached) " >&6
57779 else
57782 ac_ext=cpp
57783 ac_cpp='$CXXCPP $CPPFLAGS'
57784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57789 /* end confdefs.h. */
57790 #include <math.h>
57792 main ()
57794 atan2l(0, 0);
57796 return 0;
57798 _ACEOF
57799 if ac_fn_cxx_try_compile "$LINENO"; then :
57800 glibcxx_cv_func_atan2l_use=yes
57801 else
57802 glibcxx_cv_func_atan2l_use=no
57804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57805 ac_ext=c
57806 ac_cpp='$CPP $CPPFLAGS'
57807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57816 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57818 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57819 for ac_func in atan2l
57820 do :
57821 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57822 if test "x$ac_cv_func_atan2l" = x""yes; then :
57823 cat >>confdefs.h <<_ACEOF
57824 #define HAVE_ATAN2L 1
57825 _ACEOF
57828 done
57830 else
57832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57833 $as_echo_n "checking for _atan2l declaration... " >&6; }
57834 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57835 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57836 $as_echo_n "(cached) " >&6
57837 else
57840 ac_ext=cpp
57841 ac_cpp='$CXXCPP $CPPFLAGS'
57842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57847 /* end confdefs.h. */
57848 #include <math.h>
57850 main ()
57852 _atan2l(0, 0);
57854 return 0;
57856 _ACEOF
57857 if ac_fn_cxx_try_compile "$LINENO"; then :
57858 glibcxx_cv_func__atan2l_use=yes
57859 else
57860 glibcxx_cv_func__atan2l_use=no
57862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57863 ac_ext=c
57864 ac_cpp='$CPP $CPPFLAGS'
57865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57874 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57876 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57877 for ac_func in _atan2l
57878 do :
57879 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57880 if test "x$ac_cv_func__atan2l" = x""yes; then :
57881 cat >>confdefs.h <<_ACEOF
57882 #define HAVE__ATAN2L 1
57883 _ACEOF
57886 done
57895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57896 $as_echo_n "checking for expl declaration... " >&6; }
57897 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57898 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57899 $as_echo_n "(cached) " >&6
57900 else
57903 ac_ext=cpp
57904 ac_cpp='$CXXCPP $CPPFLAGS'
57905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57910 /* end confdefs.h. */
57911 #include <math.h>
57912 #ifdef HAVE_IEEEFP_H
57913 #include <ieeefp.h>
57914 #endif
57917 main ()
57919 expl(0);
57921 return 0;
57923 _ACEOF
57924 if ac_fn_cxx_try_compile "$LINENO"; then :
57925 glibcxx_cv_func_expl_use=yes
57926 else
57927 glibcxx_cv_func_expl_use=no
57929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57930 ac_ext=c
57931 ac_cpp='$CPP $CPPFLAGS'
57932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57941 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57943 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57944 for ac_func in expl
57945 do :
57946 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57947 if test "x$ac_cv_func_expl" = x""yes; then :
57948 cat >>confdefs.h <<_ACEOF
57949 #define HAVE_EXPL 1
57950 _ACEOF
57953 done
57955 else
57957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57958 $as_echo_n "checking for _expl declaration... " >&6; }
57959 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57960 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57961 $as_echo_n "(cached) " >&6
57962 else
57965 ac_ext=cpp
57966 ac_cpp='$CXXCPP $CPPFLAGS'
57967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57972 /* end confdefs.h. */
57973 #include <math.h>
57974 #ifdef HAVE_IEEEFP_H
57975 #include <ieeefp.h>
57976 #endif
57979 main ()
57981 _expl(0);
57983 return 0;
57985 _ACEOF
57986 if ac_fn_cxx_try_compile "$LINENO"; then :
57987 glibcxx_cv_func__expl_use=yes
57988 else
57989 glibcxx_cv_func__expl_use=no
57991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57992 ac_ext=c
57993 ac_cpp='$CPP $CPPFLAGS'
57994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58003 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58005 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58006 for ac_func in _expl
58007 do :
58008 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58009 if test "x$ac_cv_func__expl" = x""yes; then :
58010 cat >>confdefs.h <<_ACEOF
58011 #define HAVE__EXPL 1
58012 _ACEOF
58015 done
58024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58025 $as_echo_n "checking for fabsl declaration... " >&6; }
58026 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58027 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58028 $as_echo_n "(cached) " >&6
58029 else
58032 ac_ext=cpp
58033 ac_cpp='$CXXCPP $CPPFLAGS'
58034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58039 /* end confdefs.h. */
58040 #include <math.h>
58041 #ifdef HAVE_IEEEFP_H
58042 #include <ieeefp.h>
58043 #endif
58046 main ()
58048 fabsl(0);
58050 return 0;
58052 _ACEOF
58053 if ac_fn_cxx_try_compile "$LINENO"; then :
58054 glibcxx_cv_func_fabsl_use=yes
58055 else
58056 glibcxx_cv_func_fabsl_use=no
58058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58059 ac_ext=c
58060 ac_cpp='$CPP $CPPFLAGS'
58061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58070 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58072 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58073 for ac_func in fabsl
58074 do :
58075 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58076 if test "x$ac_cv_func_fabsl" = x""yes; then :
58077 cat >>confdefs.h <<_ACEOF
58078 #define HAVE_FABSL 1
58079 _ACEOF
58082 done
58084 else
58086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58087 $as_echo_n "checking for _fabsl declaration... " >&6; }
58088 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58089 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58090 $as_echo_n "(cached) " >&6
58091 else
58094 ac_ext=cpp
58095 ac_cpp='$CXXCPP $CPPFLAGS'
58096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58101 /* end confdefs.h. */
58102 #include <math.h>
58103 #ifdef HAVE_IEEEFP_H
58104 #include <ieeefp.h>
58105 #endif
58108 main ()
58110 _fabsl(0);
58112 return 0;
58114 _ACEOF
58115 if ac_fn_cxx_try_compile "$LINENO"; then :
58116 glibcxx_cv_func__fabsl_use=yes
58117 else
58118 glibcxx_cv_func__fabsl_use=no
58120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58121 ac_ext=c
58122 ac_cpp='$CPP $CPPFLAGS'
58123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58132 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58134 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58135 for ac_func in _fabsl
58136 do :
58137 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58138 if test "x$ac_cv_func__fabsl" = x""yes; then :
58139 cat >>confdefs.h <<_ACEOF
58140 #define HAVE__FABSL 1
58141 _ACEOF
58144 done
58153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58154 $as_echo_n "checking for fmodl declaration... " >&6; }
58155 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58156 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58157 $as_echo_n "(cached) " >&6
58158 else
58161 ac_ext=cpp
58162 ac_cpp='$CXXCPP $CPPFLAGS'
58163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58168 /* end confdefs.h. */
58169 #include <math.h>
58171 main ()
58173 fmodl(0, 0);
58175 return 0;
58177 _ACEOF
58178 if ac_fn_cxx_try_compile "$LINENO"; then :
58179 glibcxx_cv_func_fmodl_use=yes
58180 else
58181 glibcxx_cv_func_fmodl_use=no
58183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58184 ac_ext=c
58185 ac_cpp='$CPP $CPPFLAGS'
58186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58195 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58197 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58198 for ac_func in fmodl
58199 do :
58200 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58201 if test "x$ac_cv_func_fmodl" = x""yes; then :
58202 cat >>confdefs.h <<_ACEOF
58203 #define HAVE_FMODL 1
58204 _ACEOF
58207 done
58209 else
58211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58212 $as_echo_n "checking for _fmodl declaration... " >&6; }
58213 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58214 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58215 $as_echo_n "(cached) " >&6
58216 else
58219 ac_ext=cpp
58220 ac_cpp='$CXXCPP $CPPFLAGS'
58221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58226 /* end confdefs.h. */
58227 #include <math.h>
58229 main ()
58231 _fmodl(0, 0);
58233 return 0;
58235 _ACEOF
58236 if ac_fn_cxx_try_compile "$LINENO"; then :
58237 glibcxx_cv_func__fmodl_use=yes
58238 else
58239 glibcxx_cv_func__fmodl_use=no
58241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58242 ac_ext=c
58243 ac_cpp='$CPP $CPPFLAGS'
58244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58253 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58255 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58256 for ac_func in _fmodl
58257 do :
58258 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58259 if test "x$ac_cv_func__fmodl" = x""yes; then :
58260 cat >>confdefs.h <<_ACEOF
58261 #define HAVE__FMODL 1
58262 _ACEOF
58265 done
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58275 $as_echo_n "checking for frexpl declaration... " >&6; }
58276 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58277 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58278 $as_echo_n "(cached) " >&6
58279 else
58282 ac_ext=cpp
58283 ac_cpp='$CXXCPP $CPPFLAGS'
58284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58289 /* end confdefs.h. */
58290 #include <math.h>
58292 main ()
58294 frexpl(0, 0);
58296 return 0;
58298 _ACEOF
58299 if ac_fn_cxx_try_compile "$LINENO"; then :
58300 glibcxx_cv_func_frexpl_use=yes
58301 else
58302 glibcxx_cv_func_frexpl_use=no
58304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58305 ac_ext=c
58306 ac_cpp='$CPP $CPPFLAGS'
58307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58316 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58318 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58319 for ac_func in frexpl
58320 do :
58321 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58322 if test "x$ac_cv_func_frexpl" = x""yes; then :
58323 cat >>confdefs.h <<_ACEOF
58324 #define HAVE_FREXPL 1
58325 _ACEOF
58328 done
58330 else
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58333 $as_echo_n "checking for _frexpl declaration... " >&6; }
58334 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58335 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58336 $as_echo_n "(cached) " >&6
58337 else
58340 ac_ext=cpp
58341 ac_cpp='$CXXCPP $CPPFLAGS'
58342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58347 /* end confdefs.h. */
58348 #include <math.h>
58350 main ()
58352 _frexpl(0, 0);
58354 return 0;
58356 _ACEOF
58357 if ac_fn_cxx_try_compile "$LINENO"; then :
58358 glibcxx_cv_func__frexpl_use=yes
58359 else
58360 glibcxx_cv_func__frexpl_use=no
58362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58363 ac_ext=c
58364 ac_cpp='$CPP $CPPFLAGS'
58365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58374 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58376 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58377 for ac_func in _frexpl
58378 do :
58379 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58380 if test "x$ac_cv_func__frexpl" = x""yes; then :
58381 cat >>confdefs.h <<_ACEOF
58382 #define HAVE__FREXPL 1
58383 _ACEOF
58386 done
58395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58396 $as_echo_n "checking for hypotl declaration... " >&6; }
58397 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58398 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58399 $as_echo_n "(cached) " >&6
58400 else
58403 ac_ext=cpp
58404 ac_cpp='$CXXCPP $CPPFLAGS'
58405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58410 /* end confdefs.h. */
58411 #include <math.h>
58413 main ()
58415 hypotl(0, 0);
58417 return 0;
58419 _ACEOF
58420 if ac_fn_cxx_try_compile "$LINENO"; then :
58421 glibcxx_cv_func_hypotl_use=yes
58422 else
58423 glibcxx_cv_func_hypotl_use=no
58425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58426 ac_ext=c
58427 ac_cpp='$CPP $CPPFLAGS'
58428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58437 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58439 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58440 for ac_func in hypotl
58441 do :
58442 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58443 if test "x$ac_cv_func_hypotl" = x""yes; then :
58444 cat >>confdefs.h <<_ACEOF
58445 #define HAVE_HYPOTL 1
58446 _ACEOF
58449 done
58451 else
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58454 $as_echo_n "checking for _hypotl declaration... " >&6; }
58455 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58456 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58457 $as_echo_n "(cached) " >&6
58458 else
58461 ac_ext=cpp
58462 ac_cpp='$CXXCPP $CPPFLAGS'
58463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58468 /* end confdefs.h. */
58469 #include <math.h>
58471 main ()
58473 _hypotl(0, 0);
58475 return 0;
58477 _ACEOF
58478 if ac_fn_cxx_try_compile "$LINENO"; then :
58479 glibcxx_cv_func__hypotl_use=yes
58480 else
58481 glibcxx_cv_func__hypotl_use=no
58483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58484 ac_ext=c
58485 ac_cpp='$CPP $CPPFLAGS'
58486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58495 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58497 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58498 for ac_func in _hypotl
58499 do :
58500 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58501 if test "x$ac_cv_func__hypotl" = x""yes; then :
58502 cat >>confdefs.h <<_ACEOF
58503 #define HAVE__HYPOTL 1
58504 _ACEOF
58507 done
58516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58517 $as_echo_n "checking for ldexpl declaration... " >&6; }
58518 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58519 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58520 $as_echo_n "(cached) " >&6
58521 else
58524 ac_ext=cpp
58525 ac_cpp='$CXXCPP $CPPFLAGS'
58526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58531 /* end confdefs.h. */
58532 #include <math.h>
58534 main ()
58536 ldexpl(0, 0);
58538 return 0;
58540 _ACEOF
58541 if ac_fn_cxx_try_compile "$LINENO"; then :
58542 glibcxx_cv_func_ldexpl_use=yes
58543 else
58544 glibcxx_cv_func_ldexpl_use=no
58546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58547 ac_ext=c
58548 ac_cpp='$CPP $CPPFLAGS'
58549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58558 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58560 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58561 for ac_func in ldexpl
58562 do :
58563 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58564 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58565 cat >>confdefs.h <<_ACEOF
58566 #define HAVE_LDEXPL 1
58567 _ACEOF
58570 done
58572 else
58574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58575 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58576 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58577 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58578 $as_echo_n "(cached) " >&6
58579 else
58582 ac_ext=cpp
58583 ac_cpp='$CXXCPP $CPPFLAGS'
58584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58589 /* end confdefs.h. */
58590 #include <math.h>
58592 main ()
58594 _ldexpl(0, 0);
58596 return 0;
58598 _ACEOF
58599 if ac_fn_cxx_try_compile "$LINENO"; then :
58600 glibcxx_cv_func__ldexpl_use=yes
58601 else
58602 glibcxx_cv_func__ldexpl_use=no
58604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58605 ac_ext=c
58606 ac_cpp='$CPP $CPPFLAGS'
58607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58616 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58618 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58619 for ac_func in _ldexpl
58620 do :
58621 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58622 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58623 cat >>confdefs.h <<_ACEOF
58624 #define HAVE__LDEXPL 1
58625 _ACEOF
58628 done
58637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58638 $as_echo_n "checking for logl declaration... " >&6; }
58639 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58640 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58641 $as_echo_n "(cached) " >&6
58642 else
58645 ac_ext=cpp
58646 ac_cpp='$CXXCPP $CPPFLAGS'
58647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58652 /* end confdefs.h. */
58653 #include <math.h>
58654 #ifdef HAVE_IEEEFP_H
58655 #include <ieeefp.h>
58656 #endif
58659 main ()
58661 logl(0);
58663 return 0;
58665 _ACEOF
58666 if ac_fn_cxx_try_compile "$LINENO"; then :
58667 glibcxx_cv_func_logl_use=yes
58668 else
58669 glibcxx_cv_func_logl_use=no
58671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58672 ac_ext=c
58673 ac_cpp='$CPP $CPPFLAGS'
58674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58683 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58685 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58686 for ac_func in logl
58687 do :
58688 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58689 if test "x$ac_cv_func_logl" = x""yes; then :
58690 cat >>confdefs.h <<_ACEOF
58691 #define HAVE_LOGL 1
58692 _ACEOF
58695 done
58697 else
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58700 $as_echo_n "checking for _logl declaration... " >&6; }
58701 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58702 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58703 $as_echo_n "(cached) " >&6
58704 else
58707 ac_ext=cpp
58708 ac_cpp='$CXXCPP $CPPFLAGS'
58709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 #include <math.h>
58716 #ifdef HAVE_IEEEFP_H
58717 #include <ieeefp.h>
58718 #endif
58721 main ()
58723 _logl(0);
58725 return 0;
58727 _ACEOF
58728 if ac_fn_cxx_try_compile "$LINENO"; then :
58729 glibcxx_cv_func__logl_use=yes
58730 else
58731 glibcxx_cv_func__logl_use=no
58733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58734 ac_ext=c
58735 ac_cpp='$CPP $CPPFLAGS'
58736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58745 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58747 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58748 for ac_func in _logl
58749 do :
58750 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58751 if test "x$ac_cv_func__logl" = x""yes; then :
58752 cat >>confdefs.h <<_ACEOF
58753 #define HAVE__LOGL 1
58754 _ACEOF
58757 done
58766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58767 $as_echo_n "checking for log10l declaration... " >&6; }
58768 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58769 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58770 $as_echo_n "(cached) " >&6
58771 else
58774 ac_ext=cpp
58775 ac_cpp='$CXXCPP $CPPFLAGS'
58776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58781 /* end confdefs.h. */
58782 #include <math.h>
58783 #ifdef HAVE_IEEEFP_H
58784 #include <ieeefp.h>
58785 #endif
58788 main ()
58790 log10l(0);
58792 return 0;
58794 _ACEOF
58795 if ac_fn_cxx_try_compile "$LINENO"; then :
58796 glibcxx_cv_func_log10l_use=yes
58797 else
58798 glibcxx_cv_func_log10l_use=no
58800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58801 ac_ext=c
58802 ac_cpp='$CPP $CPPFLAGS'
58803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58812 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58814 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58815 for ac_func in log10l
58816 do :
58817 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58818 if test "x$ac_cv_func_log10l" = x""yes; then :
58819 cat >>confdefs.h <<_ACEOF
58820 #define HAVE_LOG10L 1
58821 _ACEOF
58824 done
58826 else
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58829 $as_echo_n "checking for _log10l declaration... " >&6; }
58830 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58831 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58832 $as_echo_n "(cached) " >&6
58833 else
58836 ac_ext=cpp
58837 ac_cpp='$CXXCPP $CPPFLAGS'
58838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58843 /* end confdefs.h. */
58844 #include <math.h>
58845 #ifdef HAVE_IEEEFP_H
58846 #include <ieeefp.h>
58847 #endif
58850 main ()
58852 _log10l(0);
58854 return 0;
58856 _ACEOF
58857 if ac_fn_cxx_try_compile "$LINENO"; then :
58858 glibcxx_cv_func__log10l_use=yes
58859 else
58860 glibcxx_cv_func__log10l_use=no
58862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58863 ac_ext=c
58864 ac_cpp='$CPP $CPPFLAGS'
58865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58874 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58876 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58877 for ac_func in _log10l
58878 do :
58879 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58880 if test "x$ac_cv_func__log10l" = x""yes; then :
58881 cat >>confdefs.h <<_ACEOF
58882 #define HAVE__LOG10L 1
58883 _ACEOF
58886 done
58895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58896 $as_echo_n "checking for modfl declaration... " >&6; }
58897 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58898 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58899 $as_echo_n "(cached) " >&6
58900 else
58903 ac_ext=cpp
58904 ac_cpp='$CXXCPP $CPPFLAGS'
58905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58910 /* end confdefs.h. */
58911 #include <math.h>
58913 main ()
58915 modfl(0, 0);
58917 return 0;
58919 _ACEOF
58920 if ac_fn_cxx_try_compile "$LINENO"; then :
58921 glibcxx_cv_func_modfl_use=yes
58922 else
58923 glibcxx_cv_func_modfl_use=no
58925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58926 ac_ext=c
58927 ac_cpp='$CPP $CPPFLAGS'
58928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58937 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58939 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58940 for ac_func in modfl
58941 do :
58942 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58943 if test "x$ac_cv_func_modfl" = x""yes; then :
58944 cat >>confdefs.h <<_ACEOF
58945 #define HAVE_MODFL 1
58946 _ACEOF
58949 done
58951 else
58953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58954 $as_echo_n "checking for _modfl declaration... " >&6; }
58955 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58956 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58957 $as_echo_n "(cached) " >&6
58958 else
58961 ac_ext=cpp
58962 ac_cpp='$CXXCPP $CPPFLAGS'
58963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58968 /* end confdefs.h. */
58969 #include <math.h>
58971 main ()
58973 _modfl(0, 0);
58975 return 0;
58977 _ACEOF
58978 if ac_fn_cxx_try_compile "$LINENO"; then :
58979 glibcxx_cv_func__modfl_use=yes
58980 else
58981 glibcxx_cv_func__modfl_use=no
58983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58984 ac_ext=c
58985 ac_cpp='$CPP $CPPFLAGS'
58986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58995 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58997 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58998 for ac_func in _modfl
58999 do :
59000 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59001 if test "x$ac_cv_func__modfl" = x""yes; then :
59002 cat >>confdefs.h <<_ACEOF
59003 #define HAVE__MODFL 1
59004 _ACEOF
59007 done
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59017 $as_echo_n "checking for powl declaration... " >&6; }
59018 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59019 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59020 $as_echo_n "(cached) " >&6
59021 else
59024 ac_ext=cpp
59025 ac_cpp='$CXXCPP $CPPFLAGS'
59026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59031 /* end confdefs.h. */
59032 #include <math.h>
59034 main ()
59036 powl(0, 0);
59038 return 0;
59040 _ACEOF
59041 if ac_fn_cxx_try_compile "$LINENO"; then :
59042 glibcxx_cv_func_powl_use=yes
59043 else
59044 glibcxx_cv_func_powl_use=no
59046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59047 ac_ext=c
59048 ac_cpp='$CPP $CPPFLAGS'
59049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59058 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59060 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59061 for ac_func in powl
59062 do :
59063 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59064 if test "x$ac_cv_func_powl" = x""yes; then :
59065 cat >>confdefs.h <<_ACEOF
59066 #define HAVE_POWL 1
59067 _ACEOF
59070 done
59072 else
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59075 $as_echo_n "checking for _powl declaration... " >&6; }
59076 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59077 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59078 $as_echo_n "(cached) " >&6
59079 else
59082 ac_ext=cpp
59083 ac_cpp='$CXXCPP $CPPFLAGS'
59084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59089 /* end confdefs.h. */
59090 #include <math.h>
59092 main ()
59094 _powl(0, 0);
59096 return 0;
59098 _ACEOF
59099 if ac_fn_cxx_try_compile "$LINENO"; then :
59100 glibcxx_cv_func__powl_use=yes
59101 else
59102 glibcxx_cv_func__powl_use=no
59104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59105 ac_ext=c
59106 ac_cpp='$CPP $CPPFLAGS'
59107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59116 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59118 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59119 for ac_func in _powl
59120 do :
59121 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59122 if test "x$ac_cv_func__powl" = x""yes; then :
59123 cat >>confdefs.h <<_ACEOF
59124 #define HAVE__POWL 1
59125 _ACEOF
59128 done
59137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59138 $as_echo_n "checking for sqrtl declaration... " >&6; }
59139 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59140 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59141 $as_echo_n "(cached) " >&6
59142 else
59145 ac_ext=cpp
59146 ac_cpp='$CXXCPP $CPPFLAGS'
59147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59152 /* end confdefs.h. */
59153 #include <math.h>
59154 #ifdef HAVE_IEEEFP_H
59155 #include <ieeefp.h>
59156 #endif
59159 main ()
59161 sqrtl(0);
59163 return 0;
59165 _ACEOF
59166 if ac_fn_cxx_try_compile "$LINENO"; then :
59167 glibcxx_cv_func_sqrtl_use=yes
59168 else
59169 glibcxx_cv_func_sqrtl_use=no
59171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59172 ac_ext=c
59173 ac_cpp='$CPP $CPPFLAGS'
59174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59183 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59185 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59186 for ac_func in sqrtl
59187 do :
59188 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59189 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59190 cat >>confdefs.h <<_ACEOF
59191 #define HAVE_SQRTL 1
59192 _ACEOF
59195 done
59197 else
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59200 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59201 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59202 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59203 $as_echo_n "(cached) " >&6
59204 else
59207 ac_ext=cpp
59208 ac_cpp='$CXXCPP $CPPFLAGS'
59209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59214 /* end confdefs.h. */
59215 #include <math.h>
59216 #ifdef HAVE_IEEEFP_H
59217 #include <ieeefp.h>
59218 #endif
59221 main ()
59223 _sqrtl(0);
59225 return 0;
59227 _ACEOF
59228 if ac_fn_cxx_try_compile "$LINENO"; then :
59229 glibcxx_cv_func__sqrtl_use=yes
59230 else
59231 glibcxx_cv_func__sqrtl_use=no
59233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59234 ac_ext=c
59235 ac_cpp='$CPP $CPPFLAGS'
59236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59245 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59247 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59248 for ac_func in _sqrtl
59249 do :
59250 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59251 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59252 cat >>confdefs.h <<_ACEOF
59253 #define HAVE__SQRTL 1
59254 _ACEOF
59257 done
59266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59267 $as_echo_n "checking for sincosl declaration... " >&6; }
59268 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59269 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59270 $as_echo_n "(cached) " >&6
59271 else
59274 ac_ext=cpp
59275 ac_cpp='$CXXCPP $CPPFLAGS'
59276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59281 /* end confdefs.h. */
59282 #include <math.h>
59284 main ()
59286 sincosl(0, 0, 0);
59288 return 0;
59290 _ACEOF
59291 if ac_fn_cxx_try_compile "$LINENO"; then :
59292 glibcxx_cv_func_sincosl_use=yes
59293 else
59294 glibcxx_cv_func_sincosl_use=no
59296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59297 ac_ext=c
59298 ac_cpp='$CPP $CPPFLAGS'
59299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59308 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59310 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59311 for ac_func in sincosl
59312 do :
59313 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59314 if test "x$ac_cv_func_sincosl" = x""yes; then :
59315 cat >>confdefs.h <<_ACEOF
59316 #define HAVE_SINCOSL 1
59317 _ACEOF
59320 done
59322 else
59324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59325 $as_echo_n "checking for _sincosl declaration... " >&6; }
59326 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59327 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59328 $as_echo_n "(cached) " >&6
59329 else
59332 ac_ext=cpp
59333 ac_cpp='$CXXCPP $CPPFLAGS'
59334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59339 /* end confdefs.h. */
59340 #include <math.h>
59342 main ()
59344 _sincosl(0, 0, 0);
59346 return 0;
59348 _ACEOF
59349 if ac_fn_cxx_try_compile "$LINENO"; then :
59350 glibcxx_cv_func__sincosl_use=yes
59351 else
59352 glibcxx_cv_func__sincosl_use=no
59354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59355 ac_ext=c
59356 ac_cpp='$CPP $CPPFLAGS'
59357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59366 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59368 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59369 for ac_func in _sincosl
59370 do :
59371 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59372 if test "x$ac_cv_func__sincosl" = x""yes; then :
59373 cat >>confdefs.h <<_ACEOF
59374 #define HAVE__SINCOSL 1
59375 _ACEOF
59378 done
59387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59388 $as_echo_n "checking for finitel declaration... " >&6; }
59389 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59390 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59391 $as_echo_n "(cached) " >&6
59392 else
59395 ac_ext=cpp
59396 ac_cpp='$CXXCPP $CPPFLAGS'
59397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59402 /* end confdefs.h. */
59403 #include <math.h>
59404 #ifdef HAVE_IEEEFP_H
59405 #include <ieeefp.h>
59406 #endif
59409 main ()
59411 finitel(0);
59413 return 0;
59415 _ACEOF
59416 if ac_fn_cxx_try_compile "$LINENO"; then :
59417 glibcxx_cv_func_finitel_use=yes
59418 else
59419 glibcxx_cv_func_finitel_use=no
59421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59422 ac_ext=c
59423 ac_cpp='$CPP $CPPFLAGS'
59424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59433 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59435 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59436 for ac_func in finitel
59437 do :
59438 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59439 if test "x$ac_cv_func_finitel" = x""yes; then :
59440 cat >>confdefs.h <<_ACEOF
59441 #define HAVE_FINITEL 1
59442 _ACEOF
59445 done
59447 else
59449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59450 $as_echo_n "checking for _finitel declaration... " >&6; }
59451 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59452 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59453 $as_echo_n "(cached) " >&6
59454 else
59457 ac_ext=cpp
59458 ac_cpp='$CXXCPP $CPPFLAGS'
59459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59464 /* end confdefs.h. */
59465 #include <math.h>
59466 #ifdef HAVE_IEEEFP_H
59467 #include <ieeefp.h>
59468 #endif
59471 main ()
59473 _finitel(0);
59475 return 0;
59477 _ACEOF
59478 if ac_fn_cxx_try_compile "$LINENO"; then :
59479 glibcxx_cv_func__finitel_use=yes
59480 else
59481 glibcxx_cv_func__finitel_use=no
59483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59484 ac_ext=c
59485 ac_cpp='$CPP $CPPFLAGS'
59486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59495 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59497 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59498 for ac_func in _finitel
59499 do :
59500 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59501 if test "x$ac_cv_func__finitel" = x""yes; then :
59502 cat >>confdefs.h <<_ACEOF
59503 #define HAVE__FINITEL 1
59504 _ACEOF
59507 done
59515 LIBS="$ac_save_LIBS"
59516 CXXFLAGS="$ac_save_CXXFLAGS"
59519 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59520 ac_save_CXXFLAGS="$CXXFLAGS"
59521 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59525 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59526 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59527 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59528 $as_echo_n "(cached) " >&6
59529 else
59532 ac_ext=cpp
59533 ac_cpp='$CXXCPP $CPPFLAGS'
59534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59539 /* end confdefs.h. */
59540 #include <stdlib.h>
59542 main ()
59544 at_quick_exit(0);
59546 return 0;
59548 _ACEOF
59549 if ac_fn_cxx_try_compile "$LINENO"; then :
59550 glibcxx_cv_func_at_quick_exit_use=yes
59551 else
59552 glibcxx_cv_func_at_quick_exit_use=no
59554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59555 ac_ext=c
59556 ac_cpp='$CPP $CPPFLAGS'
59557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59566 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59567 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59568 for ac_func in at_quick_exit
59569 do :
59570 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59571 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59572 cat >>confdefs.h <<_ACEOF
59573 #define HAVE_AT_QUICK_EXIT 1
59574 _ACEOF
59577 done
59582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59583 $as_echo_n "checking for quick_exit declaration... " >&6; }
59584 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59585 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59586 $as_echo_n "(cached) " >&6
59587 else
59590 ac_ext=cpp
59591 ac_cpp='$CXXCPP $CPPFLAGS'
59592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59597 /* end confdefs.h. */
59598 #include <stdlib.h>
59600 main ()
59602 quick_exit(0);
59604 return 0;
59606 _ACEOF
59607 if ac_fn_cxx_try_compile "$LINENO"; then :
59608 glibcxx_cv_func_quick_exit_use=yes
59609 else
59610 glibcxx_cv_func_quick_exit_use=no
59612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59613 ac_ext=c
59614 ac_cpp='$CPP $CPPFLAGS'
59615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59624 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59625 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59626 for ac_func in quick_exit
59627 do :
59628 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59629 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59630 cat >>confdefs.h <<_ACEOF
59631 #define HAVE_QUICK_EXIT 1
59632 _ACEOF
59635 done
59640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59641 $as_echo_n "checking for strtold declaration... " >&6; }
59642 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59643 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59644 $as_echo_n "(cached) " >&6
59645 else
59648 ac_ext=cpp
59649 ac_cpp='$CXXCPP $CPPFLAGS'
59650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59655 /* end confdefs.h. */
59656 #include <stdlib.h>
59658 main ()
59660 strtold(0, 0);
59662 return 0;
59664 _ACEOF
59665 if ac_fn_cxx_try_compile "$LINENO"; then :
59666 glibcxx_cv_func_strtold_use=yes
59667 else
59668 glibcxx_cv_func_strtold_use=no
59670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59671 ac_ext=c
59672 ac_cpp='$CPP $CPPFLAGS'
59673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59682 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59683 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59684 for ac_func in strtold
59685 do :
59686 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59687 if test "x$ac_cv_func_strtold" = x""yes; then :
59688 cat >>confdefs.h <<_ACEOF
59689 #define HAVE_STRTOLD 1
59690 _ACEOF
59693 done
59700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59701 $as_echo_n "checking for strtof declaration... " >&6; }
59702 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59703 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59704 $as_echo_n "(cached) " >&6
59705 else
59708 ac_ext=cpp
59709 ac_cpp='$CXXCPP $CPPFLAGS'
59710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59715 /* end confdefs.h. */
59716 #include <stdlib.h>
59718 main ()
59720 strtof(0, 0);
59722 return 0;
59724 _ACEOF
59725 if ac_fn_cxx_try_compile "$LINENO"; then :
59726 glibcxx_cv_func_strtof_use=yes
59727 else
59728 glibcxx_cv_func_strtof_use=no
59730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59731 ac_ext=c
59732 ac_cpp='$CPP $CPPFLAGS'
59733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59742 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59743 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59744 for ac_func in strtof
59745 do :
59746 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59747 if test "x$ac_cv_func_strtof" = x""yes; then :
59748 cat >>confdefs.h <<_ACEOF
59749 #define HAVE_STRTOF 1
59750 _ACEOF
59753 done
59760 CXXFLAGS="$ac_save_CXXFLAGS"
59762 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59766 # Check whether --enable-tls was given.
59767 if test "${enable_tls+set}" = set; then :
59768 enableval=$enable_tls;
59769 case "$enableval" in
59770 yes|no) ;;
59771 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59772 esac
59774 else
59775 enable_tls=yes
59779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59780 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59781 if test "${gcc_cv_have_tls+set}" = set; then :
59782 $as_echo_n "(cached) " >&6
59783 else
59785 if test "$cross_compiling" = yes; then :
59786 if test x$gcc_no_link = xyes; then
59787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59790 /* end confdefs.h. */
59791 __thread int a; int b; int main() { return a = b; }
59792 _ACEOF
59793 if ac_fn_c_try_link "$LINENO"; then :
59794 chktls_save_LDFLAGS="$LDFLAGS"
59795 case $host in
59796 *-*-linux*)
59797 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59799 esac
59800 chktls_save_CFLAGS="$CFLAGS"
59801 CFLAGS="-fPIC $CFLAGS"
59802 if test x$gcc_no_link = xyes; then
59803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59806 /* end confdefs.h. */
59807 int f() { return 0; }
59808 _ACEOF
59809 if ac_fn_c_try_link "$LINENO"; then :
59810 if test x$gcc_no_link = xyes; then
59811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h. */
59815 __thread int a; int b; int f() { return a = b; }
59816 _ACEOF
59817 if ac_fn_c_try_link "$LINENO"; then :
59818 gcc_cv_have_tls=yes
59819 else
59820 gcc_cv_have_tls=no
59822 rm -f core conftest.err conftest.$ac_objext \
59823 conftest$ac_exeext conftest.$ac_ext
59824 else
59825 gcc_cv_have_tls=yes
59827 rm -f core conftest.err conftest.$ac_objext \
59828 conftest$ac_exeext conftest.$ac_ext
59829 CFLAGS="$chktls_save_CFLAGS"
59830 LDFLAGS="$chktls_save_LDFLAGS"
59831 else
59832 gcc_cv_have_tls=no
59834 rm -f core conftest.err conftest.$ac_objext \
59835 conftest$ac_exeext conftest.$ac_ext
59838 else
59839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59840 /* end confdefs.h. */
59841 __thread int a; int b; int main() { return a = b; }
59842 _ACEOF
59843 if ac_fn_c_try_run "$LINENO"; then :
59844 chktls_save_LDFLAGS="$LDFLAGS"
59845 LDFLAGS="-static $LDFLAGS"
59846 if test x$gcc_no_link = xyes; then
59847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59850 /* end confdefs.h. */
59851 int main() { return 0; }
59852 _ACEOF
59853 if ac_fn_c_try_link "$LINENO"; then :
59854 if test "$cross_compiling" = yes; then :
59855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59857 as_fn_error "cannot run test program while cross compiling
59858 See \`config.log' for more details." "$LINENO" 5; }
59859 else
59860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59861 /* end confdefs.h. */
59862 __thread int a; int b; int main() { return a = b; }
59863 _ACEOF
59864 if ac_fn_c_try_run "$LINENO"; then :
59865 gcc_cv_have_tls=yes
59866 else
59867 gcc_cv_have_tls=no
59869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59870 conftest.$ac_objext conftest.beam conftest.$ac_ext
59873 else
59874 gcc_cv_have_tls=yes
59876 rm -f core conftest.err conftest.$ac_objext \
59877 conftest$ac_exeext conftest.$ac_ext
59878 LDFLAGS="$chktls_save_LDFLAGS"
59879 if test $gcc_cv_have_tls = yes; then
59880 chktls_save_CFLAGS="$CFLAGS"
59881 thread_CFLAGS=failed
59882 for flag in '' '-pthread' '-lpthread'; do
59883 CFLAGS="$flag $chktls_save_CFLAGS"
59884 if test x$gcc_no_link = xyes; then
59885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59888 /* end confdefs.h. */
59889 #include <pthread.h>
59890 void *g(void *d) { return NULL; }
59892 main ()
59894 pthread_t t; pthread_create(&t,NULL,g,NULL);
59896 return 0;
59898 _ACEOF
59899 if ac_fn_c_try_link "$LINENO"; then :
59900 thread_CFLAGS="$flag"
59902 rm -f core conftest.err conftest.$ac_objext \
59903 conftest$ac_exeext conftest.$ac_ext
59904 if test "X$thread_CFLAGS" != Xfailed; then
59905 break
59907 done
59908 CFLAGS="$chktls_save_CFLAGS"
59909 if test "X$thread_CFLAGS" != Xfailed; then
59910 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59911 if test "$cross_compiling" = yes; then :
59912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59914 as_fn_error "cannot run test program while cross compiling
59915 See \`config.log' for more details." "$LINENO" 5; }
59916 else
59917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59918 /* end confdefs.h. */
59919 #include <pthread.h>
59920 __thread int a;
59921 static int *volatile a_in_other_thread;
59922 static void *
59923 thread_func (void *arg)
59925 a_in_other_thread = &a;
59926 return (void *)0;
59929 main ()
59931 pthread_t thread;
59932 void *thread_retval;
59933 int *volatile a_in_main_thread;
59934 a_in_main_thread = &a;
59935 if (pthread_create (&thread, (pthread_attr_t *)0,
59936 thread_func, (void *)0))
59937 return 0;
59938 if (pthread_join (thread, &thread_retval))
59939 return 0;
59940 return (a_in_other_thread == a_in_main_thread);
59942 return 0;
59944 _ACEOF
59945 if ac_fn_c_try_run "$LINENO"; then :
59946 gcc_cv_have_tls=yes
59947 else
59948 gcc_cv_have_tls=no
59950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59951 conftest.$ac_objext conftest.beam conftest.$ac_ext
59954 CFLAGS="$chktls_save_CFLAGS"
59957 else
59958 gcc_cv_have_tls=no
59960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59961 conftest.$ac_objext conftest.beam conftest.$ac_ext
59965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59966 $as_echo "$gcc_cv_have_tls" >&6; }
59967 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59969 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59972 for ac_func in __cxa_thread_atexit_impl
59973 do :
59974 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59975 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59976 cat >>confdefs.h <<_ACEOF
59977 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59978 _ACEOF
59981 done
59983 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59984 do :
59985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59987 eval as_val=\$$as_ac_var
59988 if test "x$as_val" = x""yes; then :
59989 cat >>confdefs.h <<_ACEOF
59990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59991 _ACEOF
59994 done
60001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60002 $as_echo_n "checking for iconv... " >&6; }
60003 if test "${am_cv_func_iconv+set}" = set; then :
60004 $as_echo_n "(cached) " >&6
60005 else
60007 am_cv_func_iconv="no, consider installing GNU libiconv"
60008 am_cv_lib_iconv=no
60009 am_save_CPPFLAGS="$CPPFLAGS"
60010 CPPFLAGS="$CPPFLAGS $INCICONV"
60011 if test x$gcc_no_link = xyes; then
60012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60015 /* end confdefs.h. */
60016 #include <stdlib.h>
60017 #include <iconv.h>
60019 main ()
60021 iconv_t cd = iconv_open("","");
60022 iconv(cd,NULL,NULL,NULL,NULL);
60023 iconv_close(cd);
60025 return 0;
60027 _ACEOF
60028 if ac_fn_c_try_link "$LINENO"; then :
60029 am_cv_func_iconv=yes
60031 rm -f core conftest.err conftest.$ac_objext \
60032 conftest$ac_exeext conftest.$ac_ext
60033 CPPFLAGS="$am_save_CPPFLAGS"
60035 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60036 for _libs in .libs _libs; do
60037 am_save_CPPFLAGS="$CPPFLAGS"
60038 am_save_LIBS="$LIBS"
60039 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60040 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60041 if test x$gcc_no_link = xyes; then
60042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60045 /* end confdefs.h. */
60046 #include <stdlib.h>
60047 #include <iconv.h>
60049 main ()
60051 iconv_t cd = iconv_open("","");
60052 iconv(cd,NULL,NULL,NULL,NULL);
60053 iconv_close(cd);
60055 return 0;
60057 _ACEOF
60058 if ac_fn_c_try_link "$LINENO"; then :
60059 INCICONV="-I../libiconv/include"
60060 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60061 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60062 am_cv_lib_iconv=yes
60063 am_cv_func_iconv=yes
60065 rm -f core conftest.err conftest.$ac_objext \
60066 conftest$ac_exeext conftest.$ac_ext
60067 CPPFLAGS="$am_save_CPPFLAGS"
60068 LIBS="$am_save_LIBS"
60069 if test "$am_cv_func_iconv" = "yes"; then
60070 break
60072 done
60075 if test "$am_cv_func_iconv" != yes; then
60076 am_save_CPPFLAGS="$CPPFLAGS"
60077 am_save_LIBS="$LIBS"
60078 CPPFLAGS="$LIBS $INCICONV"
60079 LIBS="$LIBS $LIBICONV"
60080 if test x$gcc_no_link = xyes; then
60081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60084 /* end confdefs.h. */
60085 #include <stdlib.h>
60086 #include <iconv.h>
60088 main ()
60090 iconv_t cd = iconv_open("","");
60091 iconv(cd,NULL,NULL,NULL,NULL);
60092 iconv_close(cd);
60094 return 0;
60096 _ACEOF
60097 if ac_fn_c_try_link "$LINENO"; then :
60098 am_cv_lib_iconv=yes
60099 am_cv_func_iconv=yes
60101 rm -f core conftest.err conftest.$ac_objext \
60102 conftest$ac_exeext conftest.$ac_ext
60103 CPPFLAGS="$am_save_CPPFLAGS"
60104 LIBS="$am_save_LIBS"
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60109 $as_echo "$am_cv_func_iconv" >&6; }
60110 if test "$am_cv_func_iconv" = yes; then
60112 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60115 if test "$am_cv_lib_iconv" = yes; then
60117 for element in $INCICONV; do
60118 haveit=
60119 for x in $CPPFLAGS; do
60121 acl_save_prefix="$prefix"
60122 prefix="$acl_final_prefix"
60123 acl_save_exec_prefix="$exec_prefix"
60124 exec_prefix="$acl_final_exec_prefix"
60125 eval x=\"$x\"
60126 exec_prefix="$acl_save_exec_prefix"
60127 prefix="$acl_save_prefix"
60129 if test "X$x" = "X$element"; then
60130 haveit=yes
60131 break
60133 done
60134 if test -z "$haveit"; then
60135 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60137 done
60139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60140 $as_echo_n "checking how to link with libiconv... " >&6; }
60141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60142 $as_echo "$LIBICONV" >&6; }
60143 else
60144 LIBICONV=
60145 LTLIBICONV=
60150 if test "$am_cv_func_iconv" = yes; then
60151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60152 $as_echo_n "checking for iconv declaration... " >&6; }
60153 if test "${am_cv_proto_iconv+set}" = set; then :
60154 $as_echo_n "(cached) " >&6
60155 else
60157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60158 /* end confdefs.h. */
60160 #include <stdlib.h>
60161 #include <iconv.h>
60162 extern
60163 #ifdef __cplusplus
60165 #endif
60166 #if defined(__STDC__) || defined(__cplusplus)
60167 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60168 #else
60169 size_t iconv();
60170 #endif
60173 main ()
60177 return 0;
60179 _ACEOF
60180 if ac_fn_c_try_compile "$LINENO"; then :
60181 am_cv_proto_iconv_arg1=""
60182 else
60183 am_cv_proto_iconv_arg1="const"
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186 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);"
60189 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60191 }$am_cv_proto_iconv" >&5
60192 $as_echo "${ac_t:-
60193 }$am_cv_proto_iconv" >&6; }
60195 cat >>confdefs.h <<_ACEOF
60196 #define ICONV_CONST $am_cv_proto_iconv_arg1
60197 _ACEOF
60202 *-mingw32*)
60204 # If we're not using GNU ld, then there's no point in even trying these
60205 # tests. Check for that first. We should have already tested for gld
60206 # by now (in libtool), but require it now just to be safe...
60207 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60208 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60212 # The name set by libtool depends on the version of libtool. Shame on us
60213 # for depending on an impl detail, but c'est la vie. Older versions used
60214 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60215 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60216 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60217 # set (hence we're using an older libtool), then set it.
60218 if test x${with_gnu_ld+set} != xset; then
60219 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60220 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60221 with_gnu_ld=no
60222 else
60223 with_gnu_ld=$ac_cv_prog_gnu_ld
60227 # Start by getting the version number. I think the libtool test already
60228 # does some of this, but throws away the result.
60229 glibcxx_ld_is_gold=no
60230 if test x"$with_gnu_ld" = x"yes"; then
60231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60232 $as_echo_n "checking for ld version... " >&6; }
60234 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60235 glibcxx_ld_is_gold=yes
60237 ldver=`$LD --version 2>/dev/null |
60238 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'`
60240 glibcxx_gnu_ld_version=`echo $ldver | \
60241 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60243 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60246 # Set --gc-sections.
60247 glibcxx_have_gc_sections=no
60248 if test "$glibcxx_ld_is_gold" = "yes"; then
60249 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60250 glibcxx_have_gc_sections=yes
60252 else
60253 glibcxx_gcsections_min_ld=21602
60254 if test x"$with_gnu_ld" = x"yes" &&
60255 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60256 glibcxx_have_gc_sections=yes
60259 if test "$glibcxx_have_gc_sections" = "yes"; then
60260 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60261 # NB: This flag only works reliably after 2.16.1. Configure tests
60262 # for this are difficult, so hard wire a value that should work.
60264 ac_test_CFLAGS="${CFLAGS+set}"
60265 ac_save_CFLAGS="$CFLAGS"
60266 CFLAGS='-Wl,--gc-sections'
60268 # Check for -Wl,--gc-sections
60269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60270 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60271 if test x$gcc_no_link = xyes; then
60272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60275 /* end confdefs.h. */
60276 int one(void) { return 1; }
60277 int two(void) { return 2; }
60280 main ()
60282 two();
60284 return 0;
60286 _ACEOF
60287 if ac_fn_c_try_link "$LINENO"; then :
60288 ac_gcsections=yes
60289 else
60290 ac_gcsections=no
60292 rm -f core conftest.err conftest.$ac_objext \
60293 conftest$ac_exeext conftest.$ac_ext
60294 if test "$ac_gcsections" = "yes"; then
60295 rm -f conftest.c
60296 touch conftest.c
60297 if $CC -c conftest.c; then
60298 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60299 grep "Warning: gc-sections option ignored" > /dev/null; then
60300 ac_gcsections=no
60303 rm -f conftest.c conftest.o conftest
60305 if test "$ac_gcsections" = "yes"; then
60306 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60309 $as_echo "$ac_gcsections" >&6; }
60311 if test "$ac_test_CFLAGS" = set; then
60312 CFLAGS="$ac_save_CFLAGS"
60313 else
60314 # this is the suspicious part
60315 CFLAGS=''
60319 # Set -z,relro.
60320 # Note this is only for shared objects.
60321 ac_ld_relro=no
60322 if test x"$with_gnu_ld" = x"yes"; then
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60324 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60325 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60326 if test -n "$cxx_z_relo"; then
60327 OPT_LDFLAGS="-Wl,-z,relro"
60328 ac_ld_relro=yes
60330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60331 $as_echo "$ac_ld_relro" >&6; }
60334 # Set linker optimization flags.
60335 if test x"$with_gnu_ld" = x"yes"; then
60336 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60344 ac_save_CXXFLAGS="$CXXFLAGS"
60345 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60348 $as_echo_n "checking for sin in -lm... " >&6; }
60349 if test "${ac_cv_lib_m_sin+set}" = set; then :
60350 $as_echo_n "(cached) " >&6
60351 else
60352 ac_check_lib_save_LIBS=$LIBS
60353 LIBS="-lm $LIBS"
60354 if test x$gcc_no_link = xyes; then
60355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60358 /* end confdefs.h. */
60360 /* Override any GCC internal prototype to avoid an error.
60361 Use char because int might match the return type of a GCC
60362 builtin and then its argument prototype would still apply. */
60363 #ifdef __cplusplus
60364 extern "C"
60365 #endif
60366 char sin ();
60368 main ()
60370 return sin ();
60372 return 0;
60374 _ACEOF
60375 if ac_fn_c_try_link "$LINENO"; then :
60376 ac_cv_lib_m_sin=yes
60377 else
60378 ac_cv_lib_m_sin=no
60380 rm -f core conftest.err conftest.$ac_objext \
60381 conftest$ac_exeext conftest.$ac_ext
60382 LIBS=$ac_check_lib_save_LIBS
60384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60385 $as_echo "$ac_cv_lib_m_sin" >&6; }
60386 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60387 libm="-lm"
60390 ac_save_LIBS="$LIBS"
60391 LIBS="$LIBS $libm"
60395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60396 $as_echo_n "checking for isinf declaration... " >&6; }
60397 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60398 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60399 $as_echo_n "(cached) " >&6
60400 else
60403 ac_ext=cpp
60404 ac_cpp='$CXXCPP $CPPFLAGS'
60405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60410 /* end confdefs.h. */
60411 #include <math.h>
60412 #ifdef HAVE_IEEEFP_H
60413 #include <ieeefp.h>
60414 #endif
60417 main ()
60419 isinf(0);
60421 return 0;
60423 _ACEOF
60424 if ac_fn_cxx_try_compile "$LINENO"; then :
60425 glibcxx_cv_func_isinf_use=yes
60426 else
60427 glibcxx_cv_func_isinf_use=no
60429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60430 ac_ext=c
60431 ac_cpp='$CPP $CPPFLAGS'
60432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60441 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60443 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60444 for ac_func in isinf
60445 do :
60446 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60447 if test "x$ac_cv_func_isinf" = x""yes; then :
60448 cat >>confdefs.h <<_ACEOF
60449 #define HAVE_ISINF 1
60450 _ACEOF
60453 done
60455 else
60457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60458 $as_echo_n "checking for _isinf declaration... " >&6; }
60459 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60460 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60461 $as_echo_n "(cached) " >&6
60462 else
60465 ac_ext=cpp
60466 ac_cpp='$CXXCPP $CPPFLAGS'
60467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60472 /* end confdefs.h. */
60473 #include <math.h>
60474 #ifdef HAVE_IEEEFP_H
60475 #include <ieeefp.h>
60476 #endif
60479 main ()
60481 _isinf(0);
60483 return 0;
60485 _ACEOF
60486 if ac_fn_cxx_try_compile "$LINENO"; then :
60487 glibcxx_cv_func__isinf_use=yes
60488 else
60489 glibcxx_cv_func__isinf_use=no
60491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60492 ac_ext=c
60493 ac_cpp='$CPP $CPPFLAGS'
60494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60503 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60505 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60506 for ac_func in _isinf
60507 do :
60508 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60509 if test "x$ac_cv_func__isinf" = x""yes; then :
60510 cat >>confdefs.h <<_ACEOF
60511 #define HAVE__ISINF 1
60512 _ACEOF
60515 done
60524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60525 $as_echo_n "checking for isnan declaration... " >&6; }
60526 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60527 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60528 $as_echo_n "(cached) " >&6
60529 else
60532 ac_ext=cpp
60533 ac_cpp='$CXXCPP $CPPFLAGS'
60534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60539 /* end confdefs.h. */
60540 #include <math.h>
60541 #ifdef HAVE_IEEEFP_H
60542 #include <ieeefp.h>
60543 #endif
60546 main ()
60548 isnan(0);
60550 return 0;
60552 _ACEOF
60553 if ac_fn_cxx_try_compile "$LINENO"; then :
60554 glibcxx_cv_func_isnan_use=yes
60555 else
60556 glibcxx_cv_func_isnan_use=no
60558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60559 ac_ext=c
60560 ac_cpp='$CPP $CPPFLAGS'
60561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60570 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60572 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60573 for ac_func in isnan
60574 do :
60575 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60576 if test "x$ac_cv_func_isnan" = x""yes; then :
60577 cat >>confdefs.h <<_ACEOF
60578 #define HAVE_ISNAN 1
60579 _ACEOF
60582 done
60584 else
60586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60587 $as_echo_n "checking for _isnan declaration... " >&6; }
60588 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60589 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60590 $as_echo_n "(cached) " >&6
60591 else
60594 ac_ext=cpp
60595 ac_cpp='$CXXCPP $CPPFLAGS'
60596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60601 /* end confdefs.h. */
60602 #include <math.h>
60603 #ifdef HAVE_IEEEFP_H
60604 #include <ieeefp.h>
60605 #endif
60608 main ()
60610 _isnan(0);
60612 return 0;
60614 _ACEOF
60615 if ac_fn_cxx_try_compile "$LINENO"; then :
60616 glibcxx_cv_func__isnan_use=yes
60617 else
60618 glibcxx_cv_func__isnan_use=no
60620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60621 ac_ext=c
60622 ac_cpp='$CPP $CPPFLAGS'
60623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60632 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60634 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60635 for ac_func in _isnan
60636 do :
60637 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60638 if test "x$ac_cv_func__isnan" = x""yes; then :
60639 cat >>confdefs.h <<_ACEOF
60640 #define HAVE__ISNAN 1
60641 _ACEOF
60644 done
60653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60654 $as_echo_n "checking for finite declaration... " >&6; }
60655 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60656 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60657 $as_echo_n "(cached) " >&6
60658 else
60661 ac_ext=cpp
60662 ac_cpp='$CXXCPP $CPPFLAGS'
60663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60668 /* end confdefs.h. */
60669 #include <math.h>
60670 #ifdef HAVE_IEEEFP_H
60671 #include <ieeefp.h>
60672 #endif
60675 main ()
60677 finite(0);
60679 return 0;
60681 _ACEOF
60682 if ac_fn_cxx_try_compile "$LINENO"; then :
60683 glibcxx_cv_func_finite_use=yes
60684 else
60685 glibcxx_cv_func_finite_use=no
60687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60688 ac_ext=c
60689 ac_cpp='$CPP $CPPFLAGS'
60690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60699 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60701 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60702 for ac_func in finite
60703 do :
60704 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60705 if test "x$ac_cv_func_finite" = x""yes; then :
60706 cat >>confdefs.h <<_ACEOF
60707 #define HAVE_FINITE 1
60708 _ACEOF
60711 done
60713 else
60715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60716 $as_echo_n "checking for _finite declaration... " >&6; }
60717 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60718 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60719 $as_echo_n "(cached) " >&6
60720 else
60723 ac_ext=cpp
60724 ac_cpp='$CXXCPP $CPPFLAGS'
60725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60730 /* end confdefs.h. */
60731 #include <math.h>
60732 #ifdef HAVE_IEEEFP_H
60733 #include <ieeefp.h>
60734 #endif
60737 main ()
60739 _finite(0);
60741 return 0;
60743 _ACEOF
60744 if ac_fn_cxx_try_compile "$LINENO"; then :
60745 glibcxx_cv_func__finite_use=yes
60746 else
60747 glibcxx_cv_func__finite_use=no
60749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60750 ac_ext=c
60751 ac_cpp='$CPP $CPPFLAGS'
60752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60761 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60763 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60764 for ac_func in _finite
60765 do :
60766 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60767 if test "x$ac_cv_func__finite" = x""yes; then :
60768 cat >>confdefs.h <<_ACEOF
60769 #define HAVE__FINITE 1
60770 _ACEOF
60773 done
60782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60783 $as_echo_n "checking for sincos declaration... " >&6; }
60784 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60785 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60786 $as_echo_n "(cached) " >&6
60787 else
60790 ac_ext=cpp
60791 ac_cpp='$CXXCPP $CPPFLAGS'
60792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60797 /* end confdefs.h. */
60798 #include <math.h>
60800 main ()
60802 sincos(0, 0, 0);
60804 return 0;
60806 _ACEOF
60807 if ac_fn_cxx_try_compile "$LINENO"; then :
60808 glibcxx_cv_func_sincos_use=yes
60809 else
60810 glibcxx_cv_func_sincos_use=no
60812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60813 ac_ext=c
60814 ac_cpp='$CPP $CPPFLAGS'
60815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60824 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60826 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60827 for ac_func in sincos
60828 do :
60829 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60830 if test "x$ac_cv_func_sincos" = x""yes; then :
60831 cat >>confdefs.h <<_ACEOF
60832 #define HAVE_SINCOS 1
60833 _ACEOF
60836 done
60838 else
60840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60841 $as_echo_n "checking for _sincos declaration... " >&6; }
60842 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60843 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60844 $as_echo_n "(cached) " >&6
60845 else
60848 ac_ext=cpp
60849 ac_cpp='$CXXCPP $CPPFLAGS'
60850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60855 /* end confdefs.h. */
60856 #include <math.h>
60858 main ()
60860 _sincos(0, 0, 0);
60862 return 0;
60864 _ACEOF
60865 if ac_fn_cxx_try_compile "$LINENO"; then :
60866 glibcxx_cv_func__sincos_use=yes
60867 else
60868 glibcxx_cv_func__sincos_use=no
60870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60871 ac_ext=c
60872 ac_cpp='$CPP $CPPFLAGS'
60873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60882 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60884 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60885 for ac_func in _sincos
60886 do :
60887 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60888 if test "x$ac_cv_func__sincos" = x""yes; then :
60889 cat >>confdefs.h <<_ACEOF
60890 #define HAVE__SINCOS 1
60891 _ACEOF
60894 done
60903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60904 $as_echo_n "checking for fpclass declaration... " >&6; }
60905 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60906 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60907 $as_echo_n "(cached) " >&6
60908 else
60911 ac_ext=cpp
60912 ac_cpp='$CXXCPP $CPPFLAGS'
60913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60918 /* end confdefs.h. */
60919 #include <math.h>
60920 #ifdef HAVE_IEEEFP_H
60921 #include <ieeefp.h>
60922 #endif
60925 main ()
60927 fpclass(0);
60929 return 0;
60931 _ACEOF
60932 if ac_fn_cxx_try_compile "$LINENO"; then :
60933 glibcxx_cv_func_fpclass_use=yes
60934 else
60935 glibcxx_cv_func_fpclass_use=no
60937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60938 ac_ext=c
60939 ac_cpp='$CPP $CPPFLAGS'
60940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60949 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60951 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60952 for ac_func in fpclass
60953 do :
60954 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60955 if test "x$ac_cv_func_fpclass" = x""yes; then :
60956 cat >>confdefs.h <<_ACEOF
60957 #define HAVE_FPCLASS 1
60958 _ACEOF
60961 done
60963 else
60965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60966 $as_echo_n "checking for _fpclass declaration... " >&6; }
60967 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60968 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60969 $as_echo_n "(cached) " >&6
60970 else
60973 ac_ext=cpp
60974 ac_cpp='$CXXCPP $CPPFLAGS'
60975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60980 /* end confdefs.h. */
60981 #include <math.h>
60982 #ifdef HAVE_IEEEFP_H
60983 #include <ieeefp.h>
60984 #endif
60987 main ()
60989 _fpclass(0);
60991 return 0;
60993 _ACEOF
60994 if ac_fn_cxx_try_compile "$LINENO"; then :
60995 glibcxx_cv_func__fpclass_use=yes
60996 else
60997 glibcxx_cv_func__fpclass_use=no
60999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61000 ac_ext=c
61001 ac_cpp='$CPP $CPPFLAGS'
61002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61011 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61013 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61014 for ac_func in _fpclass
61015 do :
61016 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61017 if test "x$ac_cv_func__fpclass" = x""yes; then :
61018 cat >>confdefs.h <<_ACEOF
61019 #define HAVE__FPCLASS 1
61020 _ACEOF
61023 done
61032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61033 $as_echo_n "checking for qfpclass declaration... " >&6; }
61034 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61035 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61036 $as_echo_n "(cached) " >&6
61037 else
61040 ac_ext=cpp
61041 ac_cpp='$CXXCPP $CPPFLAGS'
61042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61047 /* end confdefs.h. */
61048 #include <math.h>
61049 #ifdef HAVE_IEEEFP_H
61050 #include <ieeefp.h>
61051 #endif
61054 main ()
61056 qfpclass(0);
61058 return 0;
61060 _ACEOF
61061 if ac_fn_cxx_try_compile "$LINENO"; then :
61062 glibcxx_cv_func_qfpclass_use=yes
61063 else
61064 glibcxx_cv_func_qfpclass_use=no
61066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61067 ac_ext=c
61068 ac_cpp='$CPP $CPPFLAGS'
61069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61078 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61080 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61081 for ac_func in qfpclass
61082 do :
61083 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61084 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61085 cat >>confdefs.h <<_ACEOF
61086 #define HAVE_QFPCLASS 1
61087 _ACEOF
61090 done
61092 else
61094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61095 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61096 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61097 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61098 $as_echo_n "(cached) " >&6
61099 else
61102 ac_ext=cpp
61103 ac_cpp='$CXXCPP $CPPFLAGS'
61104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61109 /* end confdefs.h. */
61110 #include <math.h>
61111 #ifdef HAVE_IEEEFP_H
61112 #include <ieeefp.h>
61113 #endif
61116 main ()
61118 _qfpclass(0);
61120 return 0;
61122 _ACEOF
61123 if ac_fn_cxx_try_compile "$LINENO"; then :
61124 glibcxx_cv_func__qfpclass_use=yes
61125 else
61126 glibcxx_cv_func__qfpclass_use=no
61128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61129 ac_ext=c
61130 ac_cpp='$CPP $CPPFLAGS'
61131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61140 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61142 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61143 for ac_func in _qfpclass
61144 do :
61145 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61146 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61147 cat >>confdefs.h <<_ACEOF
61148 #define HAVE__QFPCLASS 1
61149 _ACEOF
61152 done
61161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61162 $as_echo_n "checking for hypot declaration... " >&6; }
61163 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61164 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61165 $as_echo_n "(cached) " >&6
61166 else
61169 ac_ext=cpp
61170 ac_cpp='$CXXCPP $CPPFLAGS'
61171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61176 /* end confdefs.h. */
61177 #include <math.h>
61179 main ()
61181 hypot(0, 0);
61183 return 0;
61185 _ACEOF
61186 if ac_fn_cxx_try_compile "$LINENO"; then :
61187 glibcxx_cv_func_hypot_use=yes
61188 else
61189 glibcxx_cv_func_hypot_use=no
61191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61192 ac_ext=c
61193 ac_cpp='$CPP $CPPFLAGS'
61194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61203 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61205 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61206 for ac_func in hypot
61207 do :
61208 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61209 if test "x$ac_cv_func_hypot" = x""yes; then :
61210 cat >>confdefs.h <<_ACEOF
61211 #define HAVE_HYPOT 1
61212 _ACEOF
61215 done
61217 else
61219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61220 $as_echo_n "checking for _hypot declaration... " >&6; }
61221 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61222 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61223 $as_echo_n "(cached) " >&6
61224 else
61227 ac_ext=cpp
61228 ac_cpp='$CXXCPP $CPPFLAGS'
61229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61234 /* end confdefs.h. */
61235 #include <math.h>
61237 main ()
61239 _hypot(0, 0);
61241 return 0;
61243 _ACEOF
61244 if ac_fn_cxx_try_compile "$LINENO"; then :
61245 glibcxx_cv_func__hypot_use=yes
61246 else
61247 glibcxx_cv_func__hypot_use=no
61249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61250 ac_ext=c
61251 ac_cpp='$CPP $CPPFLAGS'
61252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61261 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61263 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61264 for ac_func in _hypot
61265 do :
61266 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61267 if test "x$ac_cv_func__hypot" = x""yes; then :
61268 cat >>confdefs.h <<_ACEOF
61269 #define HAVE__HYPOT 1
61270 _ACEOF
61273 done
61282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61283 $as_echo_n "checking for float trig functions... " >&6; }
61284 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61285 $as_echo_n "(cached) " >&6
61286 else
61289 ac_ext=cpp
61290 ac_cpp='$CXXCPP $CPPFLAGS'
61291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61296 /* end confdefs.h. */
61297 #include <math.h>
61299 main ()
61301 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61303 return 0;
61305 _ACEOF
61306 if ac_fn_cxx_try_compile "$LINENO"; then :
61307 glibcxx_cv_func_float_trig_use=yes
61308 else
61309 glibcxx_cv_func_float_trig_use=no
61311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61312 ac_ext=c
61313 ac_cpp='$CPP $CPPFLAGS'
61314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61321 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61322 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61323 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61324 do :
61325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61327 eval as_val=\$$as_ac_var
61328 if test "x$as_val" = x""yes; then :
61329 cat >>confdefs.h <<_ACEOF
61330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61331 _ACEOF
61334 done
61336 else
61337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61338 $as_echo_n "checking for _float trig functions... " >&6; }
61339 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61340 $as_echo_n "(cached) " >&6
61341 else
61344 ac_ext=cpp
61345 ac_cpp='$CXXCPP $CPPFLAGS'
61346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61351 /* end confdefs.h. */
61352 #include <math.h>
61354 main ()
61356 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61358 return 0;
61360 _ACEOF
61361 if ac_fn_cxx_try_compile "$LINENO"; then :
61362 glibcxx_cv_func__float_trig_use=yes
61363 else
61364 glibcxx_cv_func__float_trig_use=no
61366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61367 ac_ext=c
61368 ac_cpp='$CPP $CPPFLAGS'
61369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61376 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61377 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61378 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61379 do :
61380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61382 eval as_val=\$$as_ac_var
61383 if test "x$as_val" = x""yes; then :
61384 cat >>confdefs.h <<_ACEOF
61385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61386 _ACEOF
61389 done
61398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61399 $as_echo_n "checking for float round functions... " >&6; }
61400 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61401 $as_echo_n "(cached) " >&6
61402 else
61405 ac_ext=cpp
61406 ac_cpp='$CXXCPP $CPPFLAGS'
61407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61412 /* end confdefs.h. */
61413 #include <math.h>
61415 main ()
61417 ceilf (0); floorf (0);
61419 return 0;
61421 _ACEOF
61422 if ac_fn_cxx_try_compile "$LINENO"; then :
61423 glibcxx_cv_func_float_round_use=yes
61424 else
61425 glibcxx_cv_func_float_round_use=no
61427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61428 ac_ext=c
61429 ac_cpp='$CPP $CPPFLAGS'
61430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61437 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61438 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61439 for ac_func in ceilf floorf
61440 do :
61441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61443 eval as_val=\$$as_ac_var
61444 if test "x$as_val" = x""yes; then :
61445 cat >>confdefs.h <<_ACEOF
61446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61447 _ACEOF
61450 done
61452 else
61453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61454 $as_echo_n "checking for _float round functions... " >&6; }
61455 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61456 $as_echo_n "(cached) " >&6
61457 else
61460 ac_ext=cpp
61461 ac_cpp='$CXXCPP $CPPFLAGS'
61462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61467 /* end confdefs.h. */
61468 #include <math.h>
61470 main ()
61472 _ceilf (0); _floorf (0);
61474 return 0;
61476 _ACEOF
61477 if ac_fn_cxx_try_compile "$LINENO"; then :
61478 glibcxx_cv_func__float_round_use=yes
61479 else
61480 glibcxx_cv_func__float_round_use=no
61482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61483 ac_ext=c
61484 ac_cpp='$CPP $CPPFLAGS'
61485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61492 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61493 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61494 for ac_func in _ceilf _floorf
61495 do :
61496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61498 eval as_val=\$$as_ac_var
61499 if test "x$as_val" = x""yes; then :
61500 cat >>confdefs.h <<_ACEOF
61501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61502 _ACEOF
61505 done
61515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61516 $as_echo_n "checking for expf declaration... " >&6; }
61517 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61518 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61519 $as_echo_n "(cached) " >&6
61520 else
61523 ac_ext=cpp
61524 ac_cpp='$CXXCPP $CPPFLAGS'
61525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61530 /* end confdefs.h. */
61531 #include <math.h>
61532 #ifdef HAVE_IEEEFP_H
61533 #include <ieeefp.h>
61534 #endif
61537 main ()
61539 expf(0);
61541 return 0;
61543 _ACEOF
61544 if ac_fn_cxx_try_compile "$LINENO"; then :
61545 glibcxx_cv_func_expf_use=yes
61546 else
61547 glibcxx_cv_func_expf_use=no
61549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61550 ac_ext=c
61551 ac_cpp='$CPP $CPPFLAGS'
61552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61561 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61563 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61564 for ac_func in expf
61565 do :
61566 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61567 if test "x$ac_cv_func_expf" = x""yes; then :
61568 cat >>confdefs.h <<_ACEOF
61569 #define HAVE_EXPF 1
61570 _ACEOF
61573 done
61575 else
61577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61578 $as_echo_n "checking for _expf declaration... " >&6; }
61579 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61580 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61581 $as_echo_n "(cached) " >&6
61582 else
61585 ac_ext=cpp
61586 ac_cpp='$CXXCPP $CPPFLAGS'
61587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61592 /* end confdefs.h. */
61593 #include <math.h>
61594 #ifdef HAVE_IEEEFP_H
61595 #include <ieeefp.h>
61596 #endif
61599 main ()
61601 _expf(0);
61603 return 0;
61605 _ACEOF
61606 if ac_fn_cxx_try_compile "$LINENO"; then :
61607 glibcxx_cv_func__expf_use=yes
61608 else
61609 glibcxx_cv_func__expf_use=no
61611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61612 ac_ext=c
61613 ac_cpp='$CPP $CPPFLAGS'
61614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61623 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61625 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61626 for ac_func in _expf
61627 do :
61628 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61629 if test "x$ac_cv_func__expf" = x""yes; then :
61630 cat >>confdefs.h <<_ACEOF
61631 #define HAVE__EXPF 1
61632 _ACEOF
61635 done
61644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61645 $as_echo_n "checking for isnanf declaration... " >&6; }
61646 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61647 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61648 $as_echo_n "(cached) " >&6
61649 else
61652 ac_ext=cpp
61653 ac_cpp='$CXXCPP $CPPFLAGS'
61654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61659 /* end confdefs.h. */
61660 #include <math.h>
61661 #ifdef HAVE_IEEEFP_H
61662 #include <ieeefp.h>
61663 #endif
61666 main ()
61668 isnanf(0);
61670 return 0;
61672 _ACEOF
61673 if ac_fn_cxx_try_compile "$LINENO"; then :
61674 glibcxx_cv_func_isnanf_use=yes
61675 else
61676 glibcxx_cv_func_isnanf_use=no
61678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61679 ac_ext=c
61680 ac_cpp='$CPP $CPPFLAGS'
61681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61690 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61692 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61693 for ac_func in isnanf
61694 do :
61695 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61696 if test "x$ac_cv_func_isnanf" = x""yes; then :
61697 cat >>confdefs.h <<_ACEOF
61698 #define HAVE_ISNANF 1
61699 _ACEOF
61702 done
61704 else
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61707 $as_echo_n "checking for _isnanf declaration... " >&6; }
61708 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61709 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61710 $as_echo_n "(cached) " >&6
61711 else
61714 ac_ext=cpp
61715 ac_cpp='$CXXCPP $CPPFLAGS'
61716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61721 /* end confdefs.h. */
61722 #include <math.h>
61723 #ifdef HAVE_IEEEFP_H
61724 #include <ieeefp.h>
61725 #endif
61728 main ()
61730 _isnanf(0);
61732 return 0;
61734 _ACEOF
61735 if ac_fn_cxx_try_compile "$LINENO"; then :
61736 glibcxx_cv_func__isnanf_use=yes
61737 else
61738 glibcxx_cv_func__isnanf_use=no
61740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61741 ac_ext=c
61742 ac_cpp='$CPP $CPPFLAGS'
61743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61752 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61754 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61755 for ac_func in _isnanf
61756 do :
61757 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61758 if test "x$ac_cv_func__isnanf" = x""yes; then :
61759 cat >>confdefs.h <<_ACEOF
61760 #define HAVE__ISNANF 1
61761 _ACEOF
61764 done
61773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61774 $as_echo_n "checking for isinff declaration... " >&6; }
61775 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61776 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61777 $as_echo_n "(cached) " >&6
61778 else
61781 ac_ext=cpp
61782 ac_cpp='$CXXCPP $CPPFLAGS'
61783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61788 /* end confdefs.h. */
61789 #include <math.h>
61790 #ifdef HAVE_IEEEFP_H
61791 #include <ieeefp.h>
61792 #endif
61795 main ()
61797 isinff(0);
61799 return 0;
61801 _ACEOF
61802 if ac_fn_cxx_try_compile "$LINENO"; then :
61803 glibcxx_cv_func_isinff_use=yes
61804 else
61805 glibcxx_cv_func_isinff_use=no
61807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61808 ac_ext=c
61809 ac_cpp='$CPP $CPPFLAGS'
61810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61819 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61821 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61822 for ac_func in isinff
61823 do :
61824 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61825 if test "x$ac_cv_func_isinff" = x""yes; then :
61826 cat >>confdefs.h <<_ACEOF
61827 #define HAVE_ISINFF 1
61828 _ACEOF
61831 done
61833 else
61835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61836 $as_echo_n "checking for _isinff declaration... " >&6; }
61837 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61838 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61839 $as_echo_n "(cached) " >&6
61840 else
61843 ac_ext=cpp
61844 ac_cpp='$CXXCPP $CPPFLAGS'
61845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61850 /* end confdefs.h. */
61851 #include <math.h>
61852 #ifdef HAVE_IEEEFP_H
61853 #include <ieeefp.h>
61854 #endif
61857 main ()
61859 _isinff(0);
61861 return 0;
61863 _ACEOF
61864 if ac_fn_cxx_try_compile "$LINENO"; then :
61865 glibcxx_cv_func__isinff_use=yes
61866 else
61867 glibcxx_cv_func__isinff_use=no
61869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61870 ac_ext=c
61871 ac_cpp='$CPP $CPPFLAGS'
61872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61881 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61883 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61884 for ac_func in _isinff
61885 do :
61886 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61887 if test "x$ac_cv_func__isinff" = x""yes; then :
61888 cat >>confdefs.h <<_ACEOF
61889 #define HAVE__ISINFF 1
61890 _ACEOF
61893 done
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61903 $as_echo_n "checking for atan2f declaration... " >&6; }
61904 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61905 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61906 $as_echo_n "(cached) " >&6
61907 else
61910 ac_ext=cpp
61911 ac_cpp='$CXXCPP $CPPFLAGS'
61912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61917 /* end confdefs.h. */
61918 #include <math.h>
61920 main ()
61922 atan2f(0, 0);
61924 return 0;
61926 _ACEOF
61927 if ac_fn_cxx_try_compile "$LINENO"; then :
61928 glibcxx_cv_func_atan2f_use=yes
61929 else
61930 glibcxx_cv_func_atan2f_use=no
61932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61933 ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61944 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61946 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61947 for ac_func in atan2f
61948 do :
61949 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61950 if test "x$ac_cv_func_atan2f" = x""yes; then :
61951 cat >>confdefs.h <<_ACEOF
61952 #define HAVE_ATAN2F 1
61953 _ACEOF
61956 done
61958 else
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61961 $as_echo_n "checking for _atan2f declaration... " >&6; }
61962 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61963 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61964 $as_echo_n "(cached) " >&6
61965 else
61968 ac_ext=cpp
61969 ac_cpp='$CXXCPP $CPPFLAGS'
61970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61975 /* end confdefs.h. */
61976 #include <math.h>
61978 main ()
61980 _atan2f(0, 0);
61982 return 0;
61984 _ACEOF
61985 if ac_fn_cxx_try_compile "$LINENO"; then :
61986 glibcxx_cv_func__atan2f_use=yes
61987 else
61988 glibcxx_cv_func__atan2f_use=no
61990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61991 ac_ext=c
61992 ac_cpp='$CPP $CPPFLAGS'
61993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62002 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62004 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62005 for ac_func in _atan2f
62006 do :
62007 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62008 if test "x$ac_cv_func__atan2f" = x""yes; then :
62009 cat >>confdefs.h <<_ACEOF
62010 #define HAVE__ATAN2F 1
62011 _ACEOF
62014 done
62023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62024 $as_echo_n "checking for fabsf declaration... " >&6; }
62025 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62026 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62027 $as_echo_n "(cached) " >&6
62028 else
62031 ac_ext=cpp
62032 ac_cpp='$CXXCPP $CPPFLAGS'
62033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62038 /* end confdefs.h. */
62039 #include <math.h>
62040 #ifdef HAVE_IEEEFP_H
62041 #include <ieeefp.h>
62042 #endif
62045 main ()
62047 fabsf(0);
62049 return 0;
62051 _ACEOF
62052 if ac_fn_cxx_try_compile "$LINENO"; then :
62053 glibcxx_cv_func_fabsf_use=yes
62054 else
62055 glibcxx_cv_func_fabsf_use=no
62057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62058 ac_ext=c
62059 ac_cpp='$CPP $CPPFLAGS'
62060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62069 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62071 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62072 for ac_func in fabsf
62073 do :
62074 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62075 if test "x$ac_cv_func_fabsf" = x""yes; then :
62076 cat >>confdefs.h <<_ACEOF
62077 #define HAVE_FABSF 1
62078 _ACEOF
62081 done
62083 else
62085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62086 $as_echo_n "checking for _fabsf declaration... " >&6; }
62087 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62088 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62089 $as_echo_n "(cached) " >&6
62090 else
62093 ac_ext=cpp
62094 ac_cpp='$CXXCPP $CPPFLAGS'
62095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62100 /* end confdefs.h. */
62101 #include <math.h>
62102 #ifdef HAVE_IEEEFP_H
62103 #include <ieeefp.h>
62104 #endif
62107 main ()
62109 _fabsf(0);
62111 return 0;
62113 _ACEOF
62114 if ac_fn_cxx_try_compile "$LINENO"; then :
62115 glibcxx_cv_func__fabsf_use=yes
62116 else
62117 glibcxx_cv_func__fabsf_use=no
62119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62120 ac_ext=c
62121 ac_cpp='$CPP $CPPFLAGS'
62122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62131 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62133 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62134 for ac_func in _fabsf
62135 do :
62136 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62137 if test "x$ac_cv_func__fabsf" = x""yes; then :
62138 cat >>confdefs.h <<_ACEOF
62139 #define HAVE__FABSF 1
62140 _ACEOF
62143 done
62152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62153 $as_echo_n "checking for fmodf declaration... " >&6; }
62154 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62155 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62156 $as_echo_n "(cached) " >&6
62157 else
62160 ac_ext=cpp
62161 ac_cpp='$CXXCPP $CPPFLAGS'
62162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62167 /* end confdefs.h. */
62168 #include <math.h>
62170 main ()
62172 fmodf(0, 0);
62174 return 0;
62176 _ACEOF
62177 if ac_fn_cxx_try_compile "$LINENO"; then :
62178 glibcxx_cv_func_fmodf_use=yes
62179 else
62180 glibcxx_cv_func_fmodf_use=no
62182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62183 ac_ext=c
62184 ac_cpp='$CPP $CPPFLAGS'
62185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62194 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62196 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62197 for ac_func in fmodf
62198 do :
62199 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62200 if test "x$ac_cv_func_fmodf" = x""yes; then :
62201 cat >>confdefs.h <<_ACEOF
62202 #define HAVE_FMODF 1
62203 _ACEOF
62206 done
62208 else
62210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62211 $as_echo_n "checking for _fmodf declaration... " >&6; }
62212 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62213 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62214 $as_echo_n "(cached) " >&6
62215 else
62218 ac_ext=cpp
62219 ac_cpp='$CXXCPP $CPPFLAGS'
62220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62225 /* end confdefs.h. */
62226 #include <math.h>
62228 main ()
62230 _fmodf(0, 0);
62232 return 0;
62234 _ACEOF
62235 if ac_fn_cxx_try_compile "$LINENO"; then :
62236 glibcxx_cv_func__fmodf_use=yes
62237 else
62238 glibcxx_cv_func__fmodf_use=no
62240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62241 ac_ext=c
62242 ac_cpp='$CPP $CPPFLAGS'
62243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62252 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62254 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62255 for ac_func in _fmodf
62256 do :
62257 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62258 if test "x$ac_cv_func__fmodf" = x""yes; then :
62259 cat >>confdefs.h <<_ACEOF
62260 #define HAVE__FMODF 1
62261 _ACEOF
62264 done
62273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62274 $as_echo_n "checking for frexpf declaration... " >&6; }
62275 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62276 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62277 $as_echo_n "(cached) " >&6
62278 else
62281 ac_ext=cpp
62282 ac_cpp='$CXXCPP $CPPFLAGS'
62283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62288 /* end confdefs.h. */
62289 #include <math.h>
62291 main ()
62293 frexpf(0, 0);
62295 return 0;
62297 _ACEOF
62298 if ac_fn_cxx_try_compile "$LINENO"; then :
62299 glibcxx_cv_func_frexpf_use=yes
62300 else
62301 glibcxx_cv_func_frexpf_use=no
62303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62304 ac_ext=c
62305 ac_cpp='$CPP $CPPFLAGS'
62306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62315 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62317 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62318 for ac_func in frexpf
62319 do :
62320 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62321 if test "x$ac_cv_func_frexpf" = x""yes; then :
62322 cat >>confdefs.h <<_ACEOF
62323 #define HAVE_FREXPF 1
62324 _ACEOF
62327 done
62329 else
62331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62332 $as_echo_n "checking for _frexpf declaration... " >&6; }
62333 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62334 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62335 $as_echo_n "(cached) " >&6
62336 else
62339 ac_ext=cpp
62340 ac_cpp='$CXXCPP $CPPFLAGS'
62341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62346 /* end confdefs.h. */
62347 #include <math.h>
62349 main ()
62351 _frexpf(0, 0);
62353 return 0;
62355 _ACEOF
62356 if ac_fn_cxx_try_compile "$LINENO"; then :
62357 glibcxx_cv_func__frexpf_use=yes
62358 else
62359 glibcxx_cv_func__frexpf_use=no
62361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62362 ac_ext=c
62363 ac_cpp='$CPP $CPPFLAGS'
62364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62373 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62375 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62376 for ac_func in _frexpf
62377 do :
62378 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62379 if test "x$ac_cv_func__frexpf" = x""yes; then :
62380 cat >>confdefs.h <<_ACEOF
62381 #define HAVE__FREXPF 1
62382 _ACEOF
62385 done
62394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62395 $as_echo_n "checking for hypotf declaration... " >&6; }
62396 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62397 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62398 $as_echo_n "(cached) " >&6
62399 else
62402 ac_ext=cpp
62403 ac_cpp='$CXXCPP $CPPFLAGS'
62404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62409 /* end confdefs.h. */
62410 #include <math.h>
62412 main ()
62414 hypotf(0, 0);
62416 return 0;
62418 _ACEOF
62419 if ac_fn_cxx_try_compile "$LINENO"; then :
62420 glibcxx_cv_func_hypotf_use=yes
62421 else
62422 glibcxx_cv_func_hypotf_use=no
62424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62425 ac_ext=c
62426 ac_cpp='$CPP $CPPFLAGS'
62427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62436 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62438 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62439 for ac_func in hypotf
62440 do :
62441 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62442 if test "x$ac_cv_func_hypotf" = x""yes; then :
62443 cat >>confdefs.h <<_ACEOF
62444 #define HAVE_HYPOTF 1
62445 _ACEOF
62448 done
62450 else
62452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62453 $as_echo_n "checking for _hypotf declaration... " >&6; }
62454 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62455 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62456 $as_echo_n "(cached) " >&6
62457 else
62460 ac_ext=cpp
62461 ac_cpp='$CXXCPP $CPPFLAGS'
62462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62467 /* end confdefs.h. */
62468 #include <math.h>
62470 main ()
62472 _hypotf(0, 0);
62474 return 0;
62476 _ACEOF
62477 if ac_fn_cxx_try_compile "$LINENO"; then :
62478 glibcxx_cv_func__hypotf_use=yes
62479 else
62480 glibcxx_cv_func__hypotf_use=no
62482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62483 ac_ext=c
62484 ac_cpp='$CPP $CPPFLAGS'
62485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62494 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62496 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62497 for ac_func in _hypotf
62498 do :
62499 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62500 if test "x$ac_cv_func__hypotf" = x""yes; then :
62501 cat >>confdefs.h <<_ACEOF
62502 #define HAVE__HYPOTF 1
62503 _ACEOF
62506 done
62515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62516 $as_echo_n "checking for ldexpf declaration... " >&6; }
62517 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62518 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62519 $as_echo_n "(cached) " >&6
62520 else
62523 ac_ext=cpp
62524 ac_cpp='$CXXCPP $CPPFLAGS'
62525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62530 /* end confdefs.h. */
62531 #include <math.h>
62533 main ()
62535 ldexpf(0, 0);
62537 return 0;
62539 _ACEOF
62540 if ac_fn_cxx_try_compile "$LINENO"; then :
62541 glibcxx_cv_func_ldexpf_use=yes
62542 else
62543 glibcxx_cv_func_ldexpf_use=no
62545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62546 ac_ext=c
62547 ac_cpp='$CPP $CPPFLAGS'
62548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62557 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62559 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62560 for ac_func in ldexpf
62561 do :
62562 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62563 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62564 cat >>confdefs.h <<_ACEOF
62565 #define HAVE_LDEXPF 1
62566 _ACEOF
62569 done
62571 else
62573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62574 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62575 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62576 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62577 $as_echo_n "(cached) " >&6
62578 else
62581 ac_ext=cpp
62582 ac_cpp='$CXXCPP $CPPFLAGS'
62583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62588 /* end confdefs.h. */
62589 #include <math.h>
62591 main ()
62593 _ldexpf(0, 0);
62595 return 0;
62597 _ACEOF
62598 if ac_fn_cxx_try_compile "$LINENO"; then :
62599 glibcxx_cv_func__ldexpf_use=yes
62600 else
62601 glibcxx_cv_func__ldexpf_use=no
62603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62604 ac_ext=c
62605 ac_cpp='$CPP $CPPFLAGS'
62606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62615 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62617 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62618 for ac_func in _ldexpf
62619 do :
62620 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62621 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62622 cat >>confdefs.h <<_ACEOF
62623 #define HAVE__LDEXPF 1
62624 _ACEOF
62627 done
62636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62637 $as_echo_n "checking for logf declaration... " >&6; }
62638 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62639 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62640 $as_echo_n "(cached) " >&6
62641 else
62644 ac_ext=cpp
62645 ac_cpp='$CXXCPP $CPPFLAGS'
62646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62651 /* end confdefs.h. */
62652 #include <math.h>
62653 #ifdef HAVE_IEEEFP_H
62654 #include <ieeefp.h>
62655 #endif
62658 main ()
62660 logf(0);
62662 return 0;
62664 _ACEOF
62665 if ac_fn_cxx_try_compile "$LINENO"; then :
62666 glibcxx_cv_func_logf_use=yes
62667 else
62668 glibcxx_cv_func_logf_use=no
62670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62671 ac_ext=c
62672 ac_cpp='$CPP $CPPFLAGS'
62673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62682 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62684 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62685 for ac_func in logf
62686 do :
62687 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62688 if test "x$ac_cv_func_logf" = x""yes; then :
62689 cat >>confdefs.h <<_ACEOF
62690 #define HAVE_LOGF 1
62691 _ACEOF
62694 done
62696 else
62698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62699 $as_echo_n "checking for _logf declaration... " >&6; }
62700 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62701 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62702 $as_echo_n "(cached) " >&6
62703 else
62706 ac_ext=cpp
62707 ac_cpp='$CXXCPP $CPPFLAGS'
62708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62713 /* end confdefs.h. */
62714 #include <math.h>
62715 #ifdef HAVE_IEEEFP_H
62716 #include <ieeefp.h>
62717 #endif
62720 main ()
62722 _logf(0);
62724 return 0;
62726 _ACEOF
62727 if ac_fn_cxx_try_compile "$LINENO"; then :
62728 glibcxx_cv_func__logf_use=yes
62729 else
62730 glibcxx_cv_func__logf_use=no
62732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62733 ac_ext=c
62734 ac_cpp='$CPP $CPPFLAGS'
62735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62744 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62746 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62747 for ac_func in _logf
62748 do :
62749 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62750 if test "x$ac_cv_func__logf" = x""yes; then :
62751 cat >>confdefs.h <<_ACEOF
62752 #define HAVE__LOGF 1
62753 _ACEOF
62756 done
62765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62766 $as_echo_n "checking for log10f declaration... " >&6; }
62767 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62768 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62769 $as_echo_n "(cached) " >&6
62770 else
62773 ac_ext=cpp
62774 ac_cpp='$CXXCPP $CPPFLAGS'
62775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62780 /* end confdefs.h. */
62781 #include <math.h>
62782 #ifdef HAVE_IEEEFP_H
62783 #include <ieeefp.h>
62784 #endif
62787 main ()
62789 log10f(0);
62791 return 0;
62793 _ACEOF
62794 if ac_fn_cxx_try_compile "$LINENO"; then :
62795 glibcxx_cv_func_log10f_use=yes
62796 else
62797 glibcxx_cv_func_log10f_use=no
62799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62800 ac_ext=c
62801 ac_cpp='$CPP $CPPFLAGS'
62802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62811 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62813 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62814 for ac_func in log10f
62815 do :
62816 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62817 if test "x$ac_cv_func_log10f" = x""yes; then :
62818 cat >>confdefs.h <<_ACEOF
62819 #define HAVE_LOG10F 1
62820 _ACEOF
62823 done
62825 else
62827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62828 $as_echo_n "checking for _log10f declaration... " >&6; }
62829 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62830 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62831 $as_echo_n "(cached) " >&6
62832 else
62835 ac_ext=cpp
62836 ac_cpp='$CXXCPP $CPPFLAGS'
62837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62842 /* end confdefs.h. */
62843 #include <math.h>
62844 #ifdef HAVE_IEEEFP_H
62845 #include <ieeefp.h>
62846 #endif
62849 main ()
62851 _log10f(0);
62853 return 0;
62855 _ACEOF
62856 if ac_fn_cxx_try_compile "$LINENO"; then :
62857 glibcxx_cv_func__log10f_use=yes
62858 else
62859 glibcxx_cv_func__log10f_use=no
62861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62862 ac_ext=c
62863 ac_cpp='$CPP $CPPFLAGS'
62864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62873 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62875 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62876 for ac_func in _log10f
62877 do :
62878 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62879 if test "x$ac_cv_func__log10f" = x""yes; then :
62880 cat >>confdefs.h <<_ACEOF
62881 #define HAVE__LOG10F 1
62882 _ACEOF
62885 done
62894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62895 $as_echo_n "checking for modff declaration... " >&6; }
62896 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62897 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62898 $as_echo_n "(cached) " >&6
62899 else
62902 ac_ext=cpp
62903 ac_cpp='$CXXCPP $CPPFLAGS'
62904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62909 /* end confdefs.h. */
62910 #include <math.h>
62912 main ()
62914 modff(0, 0);
62916 return 0;
62918 _ACEOF
62919 if ac_fn_cxx_try_compile "$LINENO"; then :
62920 glibcxx_cv_func_modff_use=yes
62921 else
62922 glibcxx_cv_func_modff_use=no
62924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62925 ac_ext=c
62926 ac_cpp='$CPP $CPPFLAGS'
62927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62936 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62938 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62939 for ac_func in modff
62940 do :
62941 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62942 if test "x$ac_cv_func_modff" = x""yes; then :
62943 cat >>confdefs.h <<_ACEOF
62944 #define HAVE_MODFF 1
62945 _ACEOF
62948 done
62950 else
62952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62953 $as_echo_n "checking for _modff declaration... " >&6; }
62954 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62955 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62956 $as_echo_n "(cached) " >&6
62957 else
62960 ac_ext=cpp
62961 ac_cpp='$CXXCPP $CPPFLAGS'
62962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62967 /* end confdefs.h. */
62968 #include <math.h>
62970 main ()
62972 _modff(0, 0);
62974 return 0;
62976 _ACEOF
62977 if ac_fn_cxx_try_compile "$LINENO"; then :
62978 glibcxx_cv_func__modff_use=yes
62979 else
62980 glibcxx_cv_func__modff_use=no
62982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62983 ac_ext=c
62984 ac_cpp='$CPP $CPPFLAGS'
62985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62994 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62996 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62997 for ac_func in _modff
62998 do :
62999 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63000 if test "x$ac_cv_func__modff" = x""yes; then :
63001 cat >>confdefs.h <<_ACEOF
63002 #define HAVE__MODFF 1
63003 _ACEOF
63006 done
63015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63016 $as_echo_n "checking for modf declaration... " >&6; }
63017 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63018 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63019 $as_echo_n "(cached) " >&6
63020 else
63023 ac_ext=cpp
63024 ac_cpp='$CXXCPP $CPPFLAGS'
63025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63030 /* end confdefs.h. */
63031 #include <math.h>
63033 main ()
63035 modf(0, 0);
63037 return 0;
63039 _ACEOF
63040 if ac_fn_cxx_try_compile "$LINENO"; then :
63041 glibcxx_cv_func_modf_use=yes
63042 else
63043 glibcxx_cv_func_modf_use=no
63045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63046 ac_ext=c
63047 ac_cpp='$CPP $CPPFLAGS'
63048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63057 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63059 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63060 for ac_func in modf
63061 do :
63062 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63063 if test "x$ac_cv_func_modf" = x""yes; then :
63064 cat >>confdefs.h <<_ACEOF
63065 #define HAVE_MODF 1
63066 _ACEOF
63069 done
63071 else
63073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63074 $as_echo_n "checking for _modf declaration... " >&6; }
63075 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63076 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63077 $as_echo_n "(cached) " >&6
63078 else
63081 ac_ext=cpp
63082 ac_cpp='$CXXCPP $CPPFLAGS'
63083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63088 /* end confdefs.h. */
63089 #include <math.h>
63091 main ()
63093 _modf(0, 0);
63095 return 0;
63097 _ACEOF
63098 if ac_fn_cxx_try_compile "$LINENO"; then :
63099 glibcxx_cv_func__modf_use=yes
63100 else
63101 glibcxx_cv_func__modf_use=no
63103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63115 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63117 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63118 for ac_func in _modf
63119 do :
63120 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63121 if test "x$ac_cv_func__modf" = x""yes; then :
63122 cat >>confdefs.h <<_ACEOF
63123 #define HAVE__MODF 1
63124 _ACEOF
63127 done
63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63137 $as_echo_n "checking for powf declaration... " >&6; }
63138 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63139 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63140 $as_echo_n "(cached) " >&6
63141 else
63144 ac_ext=cpp
63145 ac_cpp='$CXXCPP $CPPFLAGS'
63146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63151 /* end confdefs.h. */
63152 #include <math.h>
63154 main ()
63156 powf(0, 0);
63158 return 0;
63160 _ACEOF
63161 if ac_fn_cxx_try_compile "$LINENO"; then :
63162 glibcxx_cv_func_powf_use=yes
63163 else
63164 glibcxx_cv_func_powf_use=no
63166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63167 ac_ext=c
63168 ac_cpp='$CPP $CPPFLAGS'
63169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63178 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63180 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63181 for ac_func in powf
63182 do :
63183 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63184 if test "x$ac_cv_func_powf" = x""yes; then :
63185 cat >>confdefs.h <<_ACEOF
63186 #define HAVE_POWF 1
63187 _ACEOF
63190 done
63192 else
63194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63195 $as_echo_n "checking for _powf declaration... " >&6; }
63196 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63197 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63198 $as_echo_n "(cached) " >&6
63199 else
63202 ac_ext=cpp
63203 ac_cpp='$CXXCPP $CPPFLAGS'
63204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63209 /* end confdefs.h. */
63210 #include <math.h>
63212 main ()
63214 _powf(0, 0);
63216 return 0;
63218 _ACEOF
63219 if ac_fn_cxx_try_compile "$LINENO"; then :
63220 glibcxx_cv_func__powf_use=yes
63221 else
63222 glibcxx_cv_func__powf_use=no
63224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63225 ac_ext=c
63226 ac_cpp='$CPP $CPPFLAGS'
63227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63236 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63238 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63239 for ac_func in _powf
63240 do :
63241 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63242 if test "x$ac_cv_func__powf" = x""yes; then :
63243 cat >>confdefs.h <<_ACEOF
63244 #define HAVE__POWF 1
63245 _ACEOF
63248 done
63257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63258 $as_echo_n "checking for sqrtf declaration... " >&6; }
63259 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63260 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63261 $as_echo_n "(cached) " >&6
63262 else
63265 ac_ext=cpp
63266 ac_cpp='$CXXCPP $CPPFLAGS'
63267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63272 /* end confdefs.h. */
63273 #include <math.h>
63274 #ifdef HAVE_IEEEFP_H
63275 #include <ieeefp.h>
63276 #endif
63279 main ()
63281 sqrtf(0);
63283 return 0;
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287 glibcxx_cv_func_sqrtf_use=yes
63288 else
63289 glibcxx_cv_func_sqrtf_use=no
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292 ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63303 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63305 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63306 for ac_func in sqrtf
63307 do :
63308 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63309 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63310 cat >>confdefs.h <<_ACEOF
63311 #define HAVE_SQRTF 1
63312 _ACEOF
63315 done
63317 else
63319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63320 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63321 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63322 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63323 $as_echo_n "(cached) " >&6
63324 else
63327 ac_ext=cpp
63328 ac_cpp='$CXXCPP $CPPFLAGS'
63329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63334 /* end confdefs.h. */
63335 #include <math.h>
63336 #ifdef HAVE_IEEEFP_H
63337 #include <ieeefp.h>
63338 #endif
63341 main ()
63343 _sqrtf(0);
63345 return 0;
63347 _ACEOF
63348 if ac_fn_cxx_try_compile "$LINENO"; then :
63349 glibcxx_cv_func__sqrtf_use=yes
63350 else
63351 glibcxx_cv_func__sqrtf_use=no
63353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_ext=c
63355 ac_cpp='$CPP $CPPFLAGS'
63356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63365 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63367 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63368 for ac_func in _sqrtf
63369 do :
63370 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63371 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63372 cat >>confdefs.h <<_ACEOF
63373 #define HAVE__SQRTF 1
63374 _ACEOF
63377 done
63386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63387 $as_echo_n "checking for sincosf declaration... " >&6; }
63388 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63389 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63390 $as_echo_n "(cached) " >&6
63391 else
63394 ac_ext=cpp
63395 ac_cpp='$CXXCPP $CPPFLAGS'
63396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63401 /* end confdefs.h. */
63402 #include <math.h>
63404 main ()
63406 sincosf(0, 0, 0);
63408 return 0;
63410 _ACEOF
63411 if ac_fn_cxx_try_compile "$LINENO"; then :
63412 glibcxx_cv_func_sincosf_use=yes
63413 else
63414 glibcxx_cv_func_sincosf_use=no
63416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63417 ac_ext=c
63418 ac_cpp='$CPP $CPPFLAGS'
63419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63428 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63430 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63431 for ac_func in sincosf
63432 do :
63433 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63434 if test "x$ac_cv_func_sincosf" = x""yes; then :
63435 cat >>confdefs.h <<_ACEOF
63436 #define HAVE_SINCOSF 1
63437 _ACEOF
63440 done
63442 else
63444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63445 $as_echo_n "checking for _sincosf declaration... " >&6; }
63446 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63447 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63448 $as_echo_n "(cached) " >&6
63449 else
63452 ac_ext=cpp
63453 ac_cpp='$CXXCPP $CPPFLAGS'
63454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63459 /* end confdefs.h. */
63460 #include <math.h>
63462 main ()
63464 _sincosf(0, 0, 0);
63466 return 0;
63468 _ACEOF
63469 if ac_fn_cxx_try_compile "$LINENO"; then :
63470 glibcxx_cv_func__sincosf_use=yes
63471 else
63472 glibcxx_cv_func__sincosf_use=no
63474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63475 ac_ext=c
63476 ac_cpp='$CPP $CPPFLAGS'
63477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63486 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63488 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63489 for ac_func in _sincosf
63490 do :
63491 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63492 if test "x$ac_cv_func__sincosf" = x""yes; then :
63493 cat >>confdefs.h <<_ACEOF
63494 #define HAVE__SINCOSF 1
63495 _ACEOF
63498 done
63507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63508 $as_echo_n "checking for finitef declaration... " >&6; }
63509 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63510 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63511 $as_echo_n "(cached) " >&6
63512 else
63515 ac_ext=cpp
63516 ac_cpp='$CXXCPP $CPPFLAGS'
63517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63522 /* end confdefs.h. */
63523 #include <math.h>
63524 #ifdef HAVE_IEEEFP_H
63525 #include <ieeefp.h>
63526 #endif
63529 main ()
63531 finitef(0);
63533 return 0;
63535 _ACEOF
63536 if ac_fn_cxx_try_compile "$LINENO"; then :
63537 glibcxx_cv_func_finitef_use=yes
63538 else
63539 glibcxx_cv_func_finitef_use=no
63541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63542 ac_ext=c
63543 ac_cpp='$CPP $CPPFLAGS'
63544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63553 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63555 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63556 for ac_func in finitef
63557 do :
63558 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63559 if test "x$ac_cv_func_finitef" = x""yes; then :
63560 cat >>confdefs.h <<_ACEOF
63561 #define HAVE_FINITEF 1
63562 _ACEOF
63565 done
63567 else
63569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63570 $as_echo_n "checking for _finitef declaration... " >&6; }
63571 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63572 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63573 $as_echo_n "(cached) " >&6
63574 else
63577 ac_ext=cpp
63578 ac_cpp='$CXXCPP $CPPFLAGS'
63579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63584 /* end confdefs.h. */
63585 #include <math.h>
63586 #ifdef HAVE_IEEEFP_H
63587 #include <ieeefp.h>
63588 #endif
63591 main ()
63593 _finitef(0);
63595 return 0;
63597 _ACEOF
63598 if ac_fn_cxx_try_compile "$LINENO"; then :
63599 glibcxx_cv_func__finitef_use=yes
63600 else
63601 glibcxx_cv_func__finitef_use=no
63603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63604 ac_ext=c
63605 ac_cpp='$CPP $CPPFLAGS'
63606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63615 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63617 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63618 for ac_func in _finitef
63619 do :
63620 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63621 if test "x$ac_cv_func__finitef" = x""yes; then :
63622 cat >>confdefs.h <<_ACEOF
63623 #define HAVE__FINITEF 1
63624 _ACEOF
63627 done
63636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63637 $as_echo_n "checking for long double trig functions... " >&6; }
63638 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63639 $as_echo_n "(cached) " >&6
63640 else
63643 ac_ext=cpp
63644 ac_cpp='$CXXCPP $CPPFLAGS'
63645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63650 /* end confdefs.h. */
63651 #include <math.h>
63653 main ()
63655 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63657 return 0;
63659 _ACEOF
63660 if ac_fn_cxx_try_compile "$LINENO"; then :
63661 glibcxx_cv_func_long_double_trig_use=yes
63662 else
63663 glibcxx_cv_func_long_double_trig_use=no
63665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63666 ac_ext=c
63667 ac_cpp='$CPP $CPPFLAGS'
63668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63675 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63676 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63677 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63678 do :
63679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63681 eval as_val=\$$as_ac_var
63682 if test "x$as_val" = x""yes; then :
63683 cat >>confdefs.h <<_ACEOF
63684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63685 _ACEOF
63688 done
63690 else
63691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63692 $as_echo_n "checking for _long double trig functions... " >&6; }
63693 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63694 $as_echo_n "(cached) " >&6
63695 else
63698 ac_ext=cpp
63699 ac_cpp='$CXXCPP $CPPFLAGS'
63700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63705 /* end confdefs.h. */
63706 #include <math.h>
63708 main ()
63710 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63712 return 0;
63714 _ACEOF
63715 if ac_fn_cxx_try_compile "$LINENO"; then :
63716 glibcxx_cv_func__long_double_trig_use=yes
63717 else
63718 glibcxx_cv_func__long_double_trig_use=no
63720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63721 ac_ext=c
63722 ac_cpp='$CPP $CPPFLAGS'
63723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63730 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63731 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63732 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63733 do :
63734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63735 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63736 eval as_val=\$$as_ac_var
63737 if test "x$as_val" = x""yes; then :
63738 cat >>confdefs.h <<_ACEOF
63739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63740 _ACEOF
63743 done
63752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63753 $as_echo_n "checking for long double round functions... " >&6; }
63754 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63755 $as_echo_n "(cached) " >&6
63756 else
63759 ac_ext=cpp
63760 ac_cpp='$CXXCPP $CPPFLAGS'
63761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63766 /* end confdefs.h. */
63767 #include <math.h>
63769 main ()
63771 ceill (0); floorl (0);
63773 return 0;
63775 _ACEOF
63776 if ac_fn_cxx_try_compile "$LINENO"; then :
63777 glibcxx_cv_func_long_double_round_use=yes
63778 else
63779 glibcxx_cv_func_long_double_round_use=no
63781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63782 ac_ext=c
63783 ac_cpp='$CPP $CPPFLAGS'
63784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63791 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63792 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63793 for ac_func in ceill floorl
63794 do :
63795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63797 eval as_val=\$$as_ac_var
63798 if test "x$as_val" = x""yes; then :
63799 cat >>confdefs.h <<_ACEOF
63800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63801 _ACEOF
63804 done
63806 else
63807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63808 $as_echo_n "checking for _long double round functions... " >&6; }
63809 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63810 $as_echo_n "(cached) " >&6
63811 else
63814 ac_ext=cpp
63815 ac_cpp='$CXXCPP $CPPFLAGS'
63816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63821 /* end confdefs.h. */
63822 #include <math.h>
63824 main ()
63826 _ceill (0); _floorl (0);
63828 return 0;
63830 _ACEOF
63831 if ac_fn_cxx_try_compile "$LINENO"; then :
63832 glibcxx_cv_func__long_double_round_use=yes
63833 else
63834 glibcxx_cv_func__long_double_round_use=no
63836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63837 ac_ext=c
63838 ac_cpp='$CPP $CPPFLAGS'
63839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63846 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63847 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63848 for ac_func in _ceill _floorl
63849 do :
63850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63852 eval as_val=\$$as_ac_var
63853 if test "x$as_val" = x""yes; then :
63854 cat >>confdefs.h <<_ACEOF
63855 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63856 _ACEOF
63859 done
63869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63870 $as_echo_n "checking for isnanl declaration... " >&6; }
63871 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63872 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63873 $as_echo_n "(cached) " >&6
63874 else
63877 ac_ext=cpp
63878 ac_cpp='$CXXCPP $CPPFLAGS'
63879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63884 /* end confdefs.h. */
63885 #include <math.h>
63886 #ifdef HAVE_IEEEFP_H
63887 #include <ieeefp.h>
63888 #endif
63891 main ()
63893 isnanl(0);
63895 return 0;
63897 _ACEOF
63898 if ac_fn_cxx_try_compile "$LINENO"; then :
63899 glibcxx_cv_func_isnanl_use=yes
63900 else
63901 glibcxx_cv_func_isnanl_use=no
63903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63904 ac_ext=c
63905 ac_cpp='$CPP $CPPFLAGS'
63906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63915 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63917 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63918 for ac_func in isnanl
63919 do :
63920 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63921 if test "x$ac_cv_func_isnanl" = x""yes; then :
63922 cat >>confdefs.h <<_ACEOF
63923 #define HAVE_ISNANL 1
63924 _ACEOF
63927 done
63929 else
63931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63932 $as_echo_n "checking for _isnanl declaration... " >&6; }
63933 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63934 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63935 $as_echo_n "(cached) " >&6
63936 else
63939 ac_ext=cpp
63940 ac_cpp='$CXXCPP $CPPFLAGS'
63941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63946 /* end confdefs.h. */
63947 #include <math.h>
63948 #ifdef HAVE_IEEEFP_H
63949 #include <ieeefp.h>
63950 #endif
63953 main ()
63955 _isnanl(0);
63957 return 0;
63959 _ACEOF
63960 if ac_fn_cxx_try_compile "$LINENO"; then :
63961 glibcxx_cv_func__isnanl_use=yes
63962 else
63963 glibcxx_cv_func__isnanl_use=no
63965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63966 ac_ext=c
63967 ac_cpp='$CPP $CPPFLAGS'
63968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63977 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63979 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63980 for ac_func in _isnanl
63981 do :
63982 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63983 if test "x$ac_cv_func__isnanl" = x""yes; then :
63984 cat >>confdefs.h <<_ACEOF
63985 #define HAVE__ISNANL 1
63986 _ACEOF
63989 done
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63999 $as_echo_n "checking for isinfl declaration... " >&6; }
64000 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64001 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
64002 $as_echo_n "(cached) " >&6
64003 else
64006 ac_ext=cpp
64007 ac_cpp='$CXXCPP $CPPFLAGS'
64008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64013 /* end confdefs.h. */
64014 #include <math.h>
64015 #ifdef HAVE_IEEEFP_H
64016 #include <ieeefp.h>
64017 #endif
64020 main ()
64022 isinfl(0);
64024 return 0;
64026 _ACEOF
64027 if ac_fn_cxx_try_compile "$LINENO"; then :
64028 glibcxx_cv_func_isinfl_use=yes
64029 else
64030 glibcxx_cv_func_isinfl_use=no
64032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64033 ac_ext=c
64034 ac_cpp='$CPP $CPPFLAGS'
64035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64044 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64046 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64047 for ac_func in isinfl
64048 do :
64049 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64050 if test "x$ac_cv_func_isinfl" = x""yes; then :
64051 cat >>confdefs.h <<_ACEOF
64052 #define HAVE_ISINFL 1
64053 _ACEOF
64056 done
64058 else
64060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64061 $as_echo_n "checking for _isinfl declaration... " >&6; }
64062 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64063 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64064 $as_echo_n "(cached) " >&6
64065 else
64068 ac_ext=cpp
64069 ac_cpp='$CXXCPP $CPPFLAGS'
64070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64075 /* end confdefs.h. */
64076 #include <math.h>
64077 #ifdef HAVE_IEEEFP_H
64078 #include <ieeefp.h>
64079 #endif
64082 main ()
64084 _isinfl(0);
64086 return 0;
64088 _ACEOF
64089 if ac_fn_cxx_try_compile "$LINENO"; then :
64090 glibcxx_cv_func__isinfl_use=yes
64091 else
64092 glibcxx_cv_func__isinfl_use=no
64094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64095 ac_ext=c
64096 ac_cpp='$CPP $CPPFLAGS'
64097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64106 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64108 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64109 for ac_func in _isinfl
64110 do :
64111 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64112 if test "x$ac_cv_func__isinfl" = x""yes; then :
64113 cat >>confdefs.h <<_ACEOF
64114 #define HAVE__ISINFL 1
64115 _ACEOF
64118 done
64127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64128 $as_echo_n "checking for atan2l declaration... " >&6; }
64129 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64130 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64131 $as_echo_n "(cached) " >&6
64132 else
64135 ac_ext=cpp
64136 ac_cpp='$CXXCPP $CPPFLAGS'
64137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64142 /* end confdefs.h. */
64143 #include <math.h>
64145 main ()
64147 atan2l(0, 0);
64149 return 0;
64151 _ACEOF
64152 if ac_fn_cxx_try_compile "$LINENO"; then :
64153 glibcxx_cv_func_atan2l_use=yes
64154 else
64155 glibcxx_cv_func_atan2l_use=no
64157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64158 ac_ext=c
64159 ac_cpp='$CPP $CPPFLAGS'
64160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64169 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64171 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64172 for ac_func in atan2l
64173 do :
64174 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64175 if test "x$ac_cv_func_atan2l" = x""yes; then :
64176 cat >>confdefs.h <<_ACEOF
64177 #define HAVE_ATAN2L 1
64178 _ACEOF
64181 done
64183 else
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64186 $as_echo_n "checking for _atan2l declaration... " >&6; }
64187 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64188 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64189 $as_echo_n "(cached) " >&6
64190 else
64193 ac_ext=cpp
64194 ac_cpp='$CXXCPP $CPPFLAGS'
64195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64200 /* end confdefs.h. */
64201 #include <math.h>
64203 main ()
64205 _atan2l(0, 0);
64207 return 0;
64209 _ACEOF
64210 if ac_fn_cxx_try_compile "$LINENO"; then :
64211 glibcxx_cv_func__atan2l_use=yes
64212 else
64213 glibcxx_cv_func__atan2l_use=no
64215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64216 ac_ext=c
64217 ac_cpp='$CPP $CPPFLAGS'
64218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64227 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64229 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64230 for ac_func in _atan2l
64231 do :
64232 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64233 if test "x$ac_cv_func__atan2l" = x""yes; then :
64234 cat >>confdefs.h <<_ACEOF
64235 #define HAVE__ATAN2L 1
64236 _ACEOF
64239 done
64248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64249 $as_echo_n "checking for expl declaration... " >&6; }
64250 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64251 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64252 $as_echo_n "(cached) " >&6
64253 else
64256 ac_ext=cpp
64257 ac_cpp='$CXXCPP $CPPFLAGS'
64258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64263 /* end confdefs.h. */
64264 #include <math.h>
64265 #ifdef HAVE_IEEEFP_H
64266 #include <ieeefp.h>
64267 #endif
64270 main ()
64272 expl(0);
64274 return 0;
64276 _ACEOF
64277 if ac_fn_cxx_try_compile "$LINENO"; then :
64278 glibcxx_cv_func_expl_use=yes
64279 else
64280 glibcxx_cv_func_expl_use=no
64282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64283 ac_ext=c
64284 ac_cpp='$CPP $CPPFLAGS'
64285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64294 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64296 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64297 for ac_func in expl
64298 do :
64299 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64300 if test "x$ac_cv_func_expl" = x""yes; then :
64301 cat >>confdefs.h <<_ACEOF
64302 #define HAVE_EXPL 1
64303 _ACEOF
64306 done
64308 else
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64311 $as_echo_n "checking for _expl declaration... " >&6; }
64312 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64313 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64314 $as_echo_n "(cached) " >&6
64315 else
64318 ac_ext=cpp
64319 ac_cpp='$CXXCPP $CPPFLAGS'
64320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64325 /* end confdefs.h. */
64326 #include <math.h>
64327 #ifdef HAVE_IEEEFP_H
64328 #include <ieeefp.h>
64329 #endif
64332 main ()
64334 _expl(0);
64336 return 0;
64338 _ACEOF
64339 if ac_fn_cxx_try_compile "$LINENO"; then :
64340 glibcxx_cv_func__expl_use=yes
64341 else
64342 glibcxx_cv_func__expl_use=no
64344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64345 ac_ext=c
64346 ac_cpp='$CPP $CPPFLAGS'
64347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64356 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64358 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64359 for ac_func in _expl
64360 do :
64361 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64362 if test "x$ac_cv_func__expl" = x""yes; then :
64363 cat >>confdefs.h <<_ACEOF
64364 #define HAVE__EXPL 1
64365 _ACEOF
64368 done
64377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64378 $as_echo_n "checking for fabsl declaration... " >&6; }
64379 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64380 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64381 $as_echo_n "(cached) " >&6
64382 else
64385 ac_ext=cpp
64386 ac_cpp='$CXXCPP $CPPFLAGS'
64387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64392 /* end confdefs.h. */
64393 #include <math.h>
64394 #ifdef HAVE_IEEEFP_H
64395 #include <ieeefp.h>
64396 #endif
64399 main ()
64401 fabsl(0);
64403 return 0;
64405 _ACEOF
64406 if ac_fn_cxx_try_compile "$LINENO"; then :
64407 glibcxx_cv_func_fabsl_use=yes
64408 else
64409 glibcxx_cv_func_fabsl_use=no
64411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64412 ac_ext=c
64413 ac_cpp='$CPP $CPPFLAGS'
64414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64423 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64425 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64426 for ac_func in fabsl
64427 do :
64428 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64429 if test "x$ac_cv_func_fabsl" = x""yes; then :
64430 cat >>confdefs.h <<_ACEOF
64431 #define HAVE_FABSL 1
64432 _ACEOF
64435 done
64437 else
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64440 $as_echo_n "checking for _fabsl declaration... " >&6; }
64441 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64442 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64443 $as_echo_n "(cached) " >&6
64444 else
64447 ac_ext=cpp
64448 ac_cpp='$CXXCPP $CPPFLAGS'
64449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64454 /* end confdefs.h. */
64455 #include <math.h>
64456 #ifdef HAVE_IEEEFP_H
64457 #include <ieeefp.h>
64458 #endif
64461 main ()
64463 _fabsl(0);
64465 return 0;
64467 _ACEOF
64468 if ac_fn_cxx_try_compile "$LINENO"; then :
64469 glibcxx_cv_func__fabsl_use=yes
64470 else
64471 glibcxx_cv_func__fabsl_use=no
64473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64474 ac_ext=c
64475 ac_cpp='$CPP $CPPFLAGS'
64476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64485 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64487 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64488 for ac_func in _fabsl
64489 do :
64490 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64491 if test "x$ac_cv_func__fabsl" = x""yes; then :
64492 cat >>confdefs.h <<_ACEOF
64493 #define HAVE__FABSL 1
64494 _ACEOF
64497 done
64506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64507 $as_echo_n "checking for fmodl declaration... " >&6; }
64508 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64509 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64510 $as_echo_n "(cached) " >&6
64511 else
64514 ac_ext=cpp
64515 ac_cpp='$CXXCPP $CPPFLAGS'
64516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64521 /* end confdefs.h. */
64522 #include <math.h>
64524 main ()
64526 fmodl(0, 0);
64528 return 0;
64530 _ACEOF
64531 if ac_fn_cxx_try_compile "$LINENO"; then :
64532 glibcxx_cv_func_fmodl_use=yes
64533 else
64534 glibcxx_cv_func_fmodl_use=no
64536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64537 ac_ext=c
64538 ac_cpp='$CPP $CPPFLAGS'
64539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64548 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64550 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64551 for ac_func in fmodl
64552 do :
64553 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64554 if test "x$ac_cv_func_fmodl" = x""yes; then :
64555 cat >>confdefs.h <<_ACEOF
64556 #define HAVE_FMODL 1
64557 _ACEOF
64560 done
64562 else
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64565 $as_echo_n "checking for _fmodl declaration... " >&6; }
64566 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64567 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64568 $as_echo_n "(cached) " >&6
64569 else
64572 ac_ext=cpp
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64579 /* end confdefs.h. */
64580 #include <math.h>
64582 main ()
64584 _fmodl(0, 0);
64586 return 0;
64588 _ACEOF
64589 if ac_fn_cxx_try_compile "$LINENO"; then :
64590 glibcxx_cv_func__fmodl_use=yes
64591 else
64592 glibcxx_cv_func__fmodl_use=no
64594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64595 ac_ext=c
64596 ac_cpp='$CPP $CPPFLAGS'
64597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64606 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64608 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64609 for ac_func in _fmodl
64610 do :
64611 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64612 if test "x$ac_cv_func__fmodl" = x""yes; then :
64613 cat >>confdefs.h <<_ACEOF
64614 #define HAVE__FMODL 1
64615 _ACEOF
64618 done
64627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64628 $as_echo_n "checking for frexpl declaration... " >&6; }
64629 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64630 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64631 $as_echo_n "(cached) " >&6
64632 else
64635 ac_ext=cpp
64636 ac_cpp='$CXXCPP $CPPFLAGS'
64637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64642 /* end confdefs.h. */
64643 #include <math.h>
64645 main ()
64647 frexpl(0, 0);
64649 return 0;
64651 _ACEOF
64652 if ac_fn_cxx_try_compile "$LINENO"; then :
64653 glibcxx_cv_func_frexpl_use=yes
64654 else
64655 glibcxx_cv_func_frexpl_use=no
64657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64658 ac_ext=c
64659 ac_cpp='$CPP $CPPFLAGS'
64660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64669 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64671 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64672 for ac_func in frexpl
64673 do :
64674 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64675 if test "x$ac_cv_func_frexpl" = x""yes; then :
64676 cat >>confdefs.h <<_ACEOF
64677 #define HAVE_FREXPL 1
64678 _ACEOF
64681 done
64683 else
64685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64686 $as_echo_n "checking for _frexpl declaration... " >&6; }
64687 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64688 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64689 $as_echo_n "(cached) " >&6
64690 else
64693 ac_ext=cpp
64694 ac_cpp='$CXXCPP $CPPFLAGS'
64695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64700 /* end confdefs.h. */
64701 #include <math.h>
64703 main ()
64705 _frexpl(0, 0);
64707 return 0;
64709 _ACEOF
64710 if ac_fn_cxx_try_compile "$LINENO"; then :
64711 glibcxx_cv_func__frexpl_use=yes
64712 else
64713 glibcxx_cv_func__frexpl_use=no
64715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64716 ac_ext=c
64717 ac_cpp='$CPP $CPPFLAGS'
64718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64727 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64729 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64730 for ac_func in _frexpl
64731 do :
64732 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64733 if test "x$ac_cv_func__frexpl" = x""yes; then :
64734 cat >>confdefs.h <<_ACEOF
64735 #define HAVE__FREXPL 1
64736 _ACEOF
64739 done
64748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64749 $as_echo_n "checking for hypotl declaration... " >&6; }
64750 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64751 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64752 $as_echo_n "(cached) " >&6
64753 else
64756 ac_ext=cpp
64757 ac_cpp='$CXXCPP $CPPFLAGS'
64758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64763 /* end confdefs.h. */
64764 #include <math.h>
64766 main ()
64768 hypotl(0, 0);
64770 return 0;
64772 _ACEOF
64773 if ac_fn_cxx_try_compile "$LINENO"; then :
64774 glibcxx_cv_func_hypotl_use=yes
64775 else
64776 glibcxx_cv_func_hypotl_use=no
64778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64779 ac_ext=c
64780 ac_cpp='$CPP $CPPFLAGS'
64781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64790 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64792 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64793 for ac_func in hypotl
64794 do :
64795 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64796 if test "x$ac_cv_func_hypotl" = x""yes; then :
64797 cat >>confdefs.h <<_ACEOF
64798 #define HAVE_HYPOTL 1
64799 _ACEOF
64802 done
64804 else
64806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64807 $as_echo_n "checking for _hypotl declaration... " >&6; }
64808 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64809 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64810 $as_echo_n "(cached) " >&6
64811 else
64814 ac_ext=cpp
64815 ac_cpp='$CXXCPP $CPPFLAGS'
64816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64821 /* end confdefs.h. */
64822 #include <math.h>
64824 main ()
64826 _hypotl(0, 0);
64828 return 0;
64830 _ACEOF
64831 if ac_fn_cxx_try_compile "$LINENO"; then :
64832 glibcxx_cv_func__hypotl_use=yes
64833 else
64834 glibcxx_cv_func__hypotl_use=no
64836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64837 ac_ext=c
64838 ac_cpp='$CPP $CPPFLAGS'
64839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64848 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64850 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64851 for ac_func in _hypotl
64852 do :
64853 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64854 if test "x$ac_cv_func__hypotl" = x""yes; then :
64855 cat >>confdefs.h <<_ACEOF
64856 #define HAVE__HYPOTL 1
64857 _ACEOF
64860 done
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64870 $as_echo_n "checking for ldexpl declaration... " >&6; }
64871 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64872 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64873 $as_echo_n "(cached) " >&6
64874 else
64877 ac_ext=cpp
64878 ac_cpp='$CXXCPP $CPPFLAGS'
64879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64884 /* end confdefs.h. */
64885 #include <math.h>
64887 main ()
64889 ldexpl(0, 0);
64891 return 0;
64893 _ACEOF
64894 if ac_fn_cxx_try_compile "$LINENO"; then :
64895 glibcxx_cv_func_ldexpl_use=yes
64896 else
64897 glibcxx_cv_func_ldexpl_use=no
64899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64900 ac_ext=c
64901 ac_cpp='$CPP $CPPFLAGS'
64902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64911 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64913 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64914 for ac_func in ldexpl
64915 do :
64916 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64917 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64918 cat >>confdefs.h <<_ACEOF
64919 #define HAVE_LDEXPL 1
64920 _ACEOF
64923 done
64925 else
64927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64928 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64929 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64930 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64931 $as_echo_n "(cached) " >&6
64932 else
64935 ac_ext=cpp
64936 ac_cpp='$CXXCPP $CPPFLAGS'
64937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64942 /* end confdefs.h. */
64943 #include <math.h>
64945 main ()
64947 _ldexpl(0, 0);
64949 return 0;
64951 _ACEOF
64952 if ac_fn_cxx_try_compile "$LINENO"; then :
64953 glibcxx_cv_func__ldexpl_use=yes
64954 else
64955 glibcxx_cv_func__ldexpl_use=no
64957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64958 ac_ext=c
64959 ac_cpp='$CPP $CPPFLAGS'
64960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64969 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64971 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64972 for ac_func in _ldexpl
64973 do :
64974 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64975 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64976 cat >>confdefs.h <<_ACEOF
64977 #define HAVE__LDEXPL 1
64978 _ACEOF
64981 done
64990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64991 $as_echo_n "checking for logl declaration... " >&6; }
64992 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64993 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64994 $as_echo_n "(cached) " >&6
64995 else
64998 ac_ext=cpp
64999 ac_cpp='$CXXCPP $CPPFLAGS'
65000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65005 /* end confdefs.h. */
65006 #include <math.h>
65007 #ifdef HAVE_IEEEFP_H
65008 #include <ieeefp.h>
65009 #endif
65012 main ()
65014 logl(0);
65016 return 0;
65018 _ACEOF
65019 if ac_fn_cxx_try_compile "$LINENO"; then :
65020 glibcxx_cv_func_logl_use=yes
65021 else
65022 glibcxx_cv_func_logl_use=no
65024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65025 ac_ext=c
65026 ac_cpp='$CPP $CPPFLAGS'
65027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65036 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65038 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65039 for ac_func in logl
65040 do :
65041 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65042 if test "x$ac_cv_func_logl" = x""yes; then :
65043 cat >>confdefs.h <<_ACEOF
65044 #define HAVE_LOGL 1
65045 _ACEOF
65048 done
65050 else
65052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65053 $as_echo_n "checking for _logl declaration... " >&6; }
65054 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65055 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65056 $as_echo_n "(cached) " >&6
65057 else
65060 ac_ext=cpp
65061 ac_cpp='$CXXCPP $CPPFLAGS'
65062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65067 /* end confdefs.h. */
65068 #include <math.h>
65069 #ifdef HAVE_IEEEFP_H
65070 #include <ieeefp.h>
65071 #endif
65074 main ()
65076 _logl(0);
65078 return 0;
65080 _ACEOF
65081 if ac_fn_cxx_try_compile "$LINENO"; then :
65082 glibcxx_cv_func__logl_use=yes
65083 else
65084 glibcxx_cv_func__logl_use=no
65086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65087 ac_ext=c
65088 ac_cpp='$CPP $CPPFLAGS'
65089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65098 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65100 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65101 for ac_func in _logl
65102 do :
65103 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65104 if test "x$ac_cv_func__logl" = x""yes; then :
65105 cat >>confdefs.h <<_ACEOF
65106 #define HAVE__LOGL 1
65107 _ACEOF
65110 done
65119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65120 $as_echo_n "checking for log10l declaration... " >&6; }
65121 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65122 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65123 $as_echo_n "(cached) " >&6
65124 else
65127 ac_ext=cpp
65128 ac_cpp='$CXXCPP $CPPFLAGS'
65129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65134 /* end confdefs.h. */
65135 #include <math.h>
65136 #ifdef HAVE_IEEEFP_H
65137 #include <ieeefp.h>
65138 #endif
65141 main ()
65143 log10l(0);
65145 return 0;
65147 _ACEOF
65148 if ac_fn_cxx_try_compile "$LINENO"; then :
65149 glibcxx_cv_func_log10l_use=yes
65150 else
65151 glibcxx_cv_func_log10l_use=no
65153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65154 ac_ext=c
65155 ac_cpp='$CPP $CPPFLAGS'
65156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65165 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65167 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65168 for ac_func in log10l
65169 do :
65170 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65171 if test "x$ac_cv_func_log10l" = x""yes; then :
65172 cat >>confdefs.h <<_ACEOF
65173 #define HAVE_LOG10L 1
65174 _ACEOF
65177 done
65179 else
65181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65182 $as_echo_n "checking for _log10l declaration... " >&6; }
65183 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65184 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65185 $as_echo_n "(cached) " >&6
65186 else
65189 ac_ext=cpp
65190 ac_cpp='$CXXCPP $CPPFLAGS'
65191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65196 /* end confdefs.h. */
65197 #include <math.h>
65198 #ifdef HAVE_IEEEFP_H
65199 #include <ieeefp.h>
65200 #endif
65203 main ()
65205 _log10l(0);
65207 return 0;
65209 _ACEOF
65210 if ac_fn_cxx_try_compile "$LINENO"; then :
65211 glibcxx_cv_func__log10l_use=yes
65212 else
65213 glibcxx_cv_func__log10l_use=no
65215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65216 ac_ext=c
65217 ac_cpp='$CPP $CPPFLAGS'
65218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65227 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65229 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65230 for ac_func in _log10l
65231 do :
65232 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65233 if test "x$ac_cv_func__log10l" = x""yes; then :
65234 cat >>confdefs.h <<_ACEOF
65235 #define HAVE__LOG10L 1
65236 _ACEOF
65239 done
65248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65249 $as_echo_n "checking for modfl declaration... " >&6; }
65250 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65251 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65252 $as_echo_n "(cached) " >&6
65253 else
65256 ac_ext=cpp
65257 ac_cpp='$CXXCPP $CPPFLAGS'
65258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65263 /* end confdefs.h. */
65264 #include <math.h>
65266 main ()
65268 modfl(0, 0);
65270 return 0;
65272 _ACEOF
65273 if ac_fn_cxx_try_compile "$LINENO"; then :
65274 glibcxx_cv_func_modfl_use=yes
65275 else
65276 glibcxx_cv_func_modfl_use=no
65278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65279 ac_ext=c
65280 ac_cpp='$CPP $CPPFLAGS'
65281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65290 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65292 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65293 for ac_func in modfl
65294 do :
65295 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65296 if test "x$ac_cv_func_modfl" = x""yes; then :
65297 cat >>confdefs.h <<_ACEOF
65298 #define HAVE_MODFL 1
65299 _ACEOF
65302 done
65304 else
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65307 $as_echo_n "checking for _modfl declaration... " >&6; }
65308 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65309 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65310 $as_echo_n "(cached) " >&6
65311 else
65314 ac_ext=cpp
65315 ac_cpp='$CXXCPP $CPPFLAGS'
65316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65321 /* end confdefs.h. */
65322 #include <math.h>
65324 main ()
65326 _modfl(0, 0);
65328 return 0;
65330 _ACEOF
65331 if ac_fn_cxx_try_compile "$LINENO"; then :
65332 glibcxx_cv_func__modfl_use=yes
65333 else
65334 glibcxx_cv_func__modfl_use=no
65336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65337 ac_ext=c
65338 ac_cpp='$CPP $CPPFLAGS'
65339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65348 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65350 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65351 for ac_func in _modfl
65352 do :
65353 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65354 if test "x$ac_cv_func__modfl" = x""yes; then :
65355 cat >>confdefs.h <<_ACEOF
65356 #define HAVE__MODFL 1
65357 _ACEOF
65360 done
65369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65370 $as_echo_n "checking for powl declaration... " >&6; }
65371 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65372 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65373 $as_echo_n "(cached) " >&6
65374 else
65377 ac_ext=cpp
65378 ac_cpp='$CXXCPP $CPPFLAGS'
65379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65384 /* end confdefs.h. */
65385 #include <math.h>
65387 main ()
65389 powl(0, 0);
65391 return 0;
65393 _ACEOF
65394 if ac_fn_cxx_try_compile "$LINENO"; then :
65395 glibcxx_cv_func_powl_use=yes
65396 else
65397 glibcxx_cv_func_powl_use=no
65399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65400 ac_ext=c
65401 ac_cpp='$CPP $CPPFLAGS'
65402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65411 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65413 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65414 for ac_func in powl
65415 do :
65416 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65417 if test "x$ac_cv_func_powl" = x""yes; then :
65418 cat >>confdefs.h <<_ACEOF
65419 #define HAVE_POWL 1
65420 _ACEOF
65423 done
65425 else
65427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65428 $as_echo_n "checking for _powl declaration... " >&6; }
65429 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65430 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65431 $as_echo_n "(cached) " >&6
65432 else
65435 ac_ext=cpp
65436 ac_cpp='$CXXCPP $CPPFLAGS'
65437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65442 /* end confdefs.h. */
65443 #include <math.h>
65445 main ()
65447 _powl(0, 0);
65449 return 0;
65451 _ACEOF
65452 if ac_fn_cxx_try_compile "$LINENO"; then :
65453 glibcxx_cv_func__powl_use=yes
65454 else
65455 glibcxx_cv_func__powl_use=no
65457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65458 ac_ext=c
65459 ac_cpp='$CPP $CPPFLAGS'
65460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65469 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65471 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65472 for ac_func in _powl
65473 do :
65474 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65475 if test "x$ac_cv_func__powl" = x""yes; then :
65476 cat >>confdefs.h <<_ACEOF
65477 #define HAVE__POWL 1
65478 _ACEOF
65481 done
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65491 $as_echo_n "checking for sqrtl declaration... " >&6; }
65492 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65493 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65494 $as_echo_n "(cached) " >&6
65495 else
65498 ac_ext=cpp
65499 ac_cpp='$CXXCPP $CPPFLAGS'
65500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65505 /* end confdefs.h. */
65506 #include <math.h>
65507 #ifdef HAVE_IEEEFP_H
65508 #include <ieeefp.h>
65509 #endif
65512 main ()
65514 sqrtl(0);
65516 return 0;
65518 _ACEOF
65519 if ac_fn_cxx_try_compile "$LINENO"; then :
65520 glibcxx_cv_func_sqrtl_use=yes
65521 else
65522 glibcxx_cv_func_sqrtl_use=no
65524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65536 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65538 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65539 for ac_func in sqrtl
65540 do :
65541 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65542 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65543 cat >>confdefs.h <<_ACEOF
65544 #define HAVE_SQRTL 1
65545 _ACEOF
65548 done
65550 else
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65553 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65554 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65555 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65556 $as_echo_n "(cached) " >&6
65557 else
65560 ac_ext=cpp
65561 ac_cpp='$CXXCPP $CPPFLAGS'
65562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65567 /* end confdefs.h. */
65568 #include <math.h>
65569 #ifdef HAVE_IEEEFP_H
65570 #include <ieeefp.h>
65571 #endif
65574 main ()
65576 _sqrtl(0);
65578 return 0;
65580 _ACEOF
65581 if ac_fn_cxx_try_compile "$LINENO"; then :
65582 glibcxx_cv_func__sqrtl_use=yes
65583 else
65584 glibcxx_cv_func__sqrtl_use=no
65586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65587 ac_ext=c
65588 ac_cpp='$CPP $CPPFLAGS'
65589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65598 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65600 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65601 for ac_func in _sqrtl
65602 do :
65603 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65604 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65605 cat >>confdefs.h <<_ACEOF
65606 #define HAVE__SQRTL 1
65607 _ACEOF
65610 done
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65620 $as_echo_n "checking for sincosl declaration... " >&6; }
65621 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65622 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65623 $as_echo_n "(cached) " >&6
65624 else
65627 ac_ext=cpp
65628 ac_cpp='$CXXCPP $CPPFLAGS'
65629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65634 /* end confdefs.h. */
65635 #include <math.h>
65637 main ()
65639 sincosl(0, 0, 0);
65641 return 0;
65643 _ACEOF
65644 if ac_fn_cxx_try_compile "$LINENO"; then :
65645 glibcxx_cv_func_sincosl_use=yes
65646 else
65647 glibcxx_cv_func_sincosl_use=no
65649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65650 ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65661 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65663 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65664 for ac_func in sincosl
65665 do :
65666 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65667 if test "x$ac_cv_func_sincosl" = x""yes; then :
65668 cat >>confdefs.h <<_ACEOF
65669 #define HAVE_SINCOSL 1
65670 _ACEOF
65673 done
65675 else
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65678 $as_echo_n "checking for _sincosl declaration... " >&6; }
65679 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65680 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65681 $as_echo_n "(cached) " >&6
65682 else
65685 ac_ext=cpp
65686 ac_cpp='$CXXCPP $CPPFLAGS'
65687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65692 /* end confdefs.h. */
65693 #include <math.h>
65695 main ()
65697 _sincosl(0, 0, 0);
65699 return 0;
65701 _ACEOF
65702 if ac_fn_cxx_try_compile "$LINENO"; then :
65703 glibcxx_cv_func__sincosl_use=yes
65704 else
65705 glibcxx_cv_func__sincosl_use=no
65707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65708 ac_ext=c
65709 ac_cpp='$CPP $CPPFLAGS'
65710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65719 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65721 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65722 for ac_func in _sincosl
65723 do :
65724 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65725 if test "x$ac_cv_func__sincosl" = x""yes; then :
65726 cat >>confdefs.h <<_ACEOF
65727 #define HAVE__SINCOSL 1
65728 _ACEOF
65731 done
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65741 $as_echo_n "checking for finitel declaration... " >&6; }
65742 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65743 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65744 $as_echo_n "(cached) " >&6
65745 else
65748 ac_ext=cpp
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65755 /* end confdefs.h. */
65756 #include <math.h>
65757 #ifdef HAVE_IEEEFP_H
65758 #include <ieeefp.h>
65759 #endif
65762 main ()
65764 finitel(0);
65766 return 0;
65768 _ACEOF
65769 if ac_fn_cxx_try_compile "$LINENO"; then :
65770 glibcxx_cv_func_finitel_use=yes
65771 else
65772 glibcxx_cv_func_finitel_use=no
65774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65775 ac_ext=c
65776 ac_cpp='$CPP $CPPFLAGS'
65777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65786 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65788 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65789 for ac_func in finitel
65790 do :
65791 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65792 if test "x$ac_cv_func_finitel" = x""yes; then :
65793 cat >>confdefs.h <<_ACEOF
65794 #define HAVE_FINITEL 1
65795 _ACEOF
65798 done
65800 else
65802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65803 $as_echo_n "checking for _finitel declaration... " >&6; }
65804 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65805 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65806 $as_echo_n "(cached) " >&6
65807 else
65810 ac_ext=cpp
65811 ac_cpp='$CXXCPP $CPPFLAGS'
65812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65817 /* end confdefs.h. */
65818 #include <math.h>
65819 #ifdef HAVE_IEEEFP_H
65820 #include <ieeefp.h>
65821 #endif
65824 main ()
65826 _finitel(0);
65828 return 0;
65830 _ACEOF
65831 if ac_fn_cxx_try_compile "$LINENO"; then :
65832 glibcxx_cv_func__finitel_use=yes
65833 else
65834 glibcxx_cv_func__finitel_use=no
65836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65837 ac_ext=c
65838 ac_cpp='$CPP $CPPFLAGS'
65839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65848 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65850 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65851 for ac_func in _finitel
65852 do :
65853 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65854 if test "x$ac_cv_func__finitel" = x""yes; then :
65855 cat >>confdefs.h <<_ACEOF
65856 #define HAVE__FINITEL 1
65857 _ACEOF
65860 done
65868 LIBS="$ac_save_LIBS"
65869 CXXFLAGS="$ac_save_CXXFLAGS"
65872 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65873 ac_save_CXXFLAGS="$CXXFLAGS"
65874 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65878 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65879 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65880 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65881 $as_echo_n "(cached) " >&6
65882 else
65885 ac_ext=cpp
65886 ac_cpp='$CXXCPP $CPPFLAGS'
65887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65892 /* end confdefs.h. */
65893 #include <stdlib.h>
65895 main ()
65897 at_quick_exit(0);
65899 return 0;
65901 _ACEOF
65902 if ac_fn_cxx_try_compile "$LINENO"; then :
65903 glibcxx_cv_func_at_quick_exit_use=yes
65904 else
65905 glibcxx_cv_func_at_quick_exit_use=no
65907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65908 ac_ext=c
65909 ac_cpp='$CPP $CPPFLAGS'
65910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65919 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65920 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65921 for ac_func in at_quick_exit
65922 do :
65923 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65924 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65925 cat >>confdefs.h <<_ACEOF
65926 #define HAVE_AT_QUICK_EXIT 1
65927 _ACEOF
65930 done
65935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65936 $as_echo_n "checking for quick_exit declaration... " >&6; }
65937 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65938 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65939 $as_echo_n "(cached) " >&6
65940 else
65943 ac_ext=cpp
65944 ac_cpp='$CXXCPP $CPPFLAGS'
65945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65950 /* end confdefs.h. */
65951 #include <stdlib.h>
65953 main ()
65955 quick_exit(0);
65957 return 0;
65959 _ACEOF
65960 if ac_fn_cxx_try_compile "$LINENO"; then :
65961 glibcxx_cv_func_quick_exit_use=yes
65962 else
65963 glibcxx_cv_func_quick_exit_use=no
65965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65966 ac_ext=c
65967 ac_cpp='$CPP $CPPFLAGS'
65968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65977 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65978 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65979 for ac_func in quick_exit
65980 do :
65981 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65982 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65983 cat >>confdefs.h <<_ACEOF
65984 #define HAVE_QUICK_EXIT 1
65985 _ACEOF
65988 done
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65994 $as_echo_n "checking for strtold declaration... " >&6; }
65995 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65996 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65997 $as_echo_n "(cached) " >&6
65998 else
66001 ac_ext=cpp
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66008 /* end confdefs.h. */
66009 #include <stdlib.h>
66011 main ()
66013 strtold(0, 0);
66015 return 0;
66017 _ACEOF
66018 if ac_fn_cxx_try_compile "$LINENO"; then :
66019 glibcxx_cv_func_strtold_use=yes
66020 else
66021 glibcxx_cv_func_strtold_use=no
66023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66024 ac_ext=c
66025 ac_cpp='$CPP $CPPFLAGS'
66026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66035 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66036 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66037 for ac_func in strtold
66038 do :
66039 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66040 if test "x$ac_cv_func_strtold" = x""yes; then :
66041 cat >>confdefs.h <<_ACEOF
66042 #define HAVE_STRTOLD 1
66043 _ACEOF
66046 done
66053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66054 $as_echo_n "checking for strtof declaration... " >&6; }
66055 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66056 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66057 $as_echo_n "(cached) " >&6
66058 else
66061 ac_ext=cpp
66062 ac_cpp='$CXXCPP $CPPFLAGS'
66063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66068 /* end confdefs.h. */
66069 #include <stdlib.h>
66071 main ()
66073 strtof(0, 0);
66075 return 0;
66077 _ACEOF
66078 if ac_fn_cxx_try_compile "$LINENO"; then :
66079 glibcxx_cv_func_strtof_use=yes
66080 else
66081 glibcxx_cv_func_strtof_use=no
66083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66084 ac_ext=c
66085 ac_cpp='$CPP $CPPFLAGS'
66086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66095 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66096 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66097 for ac_func in strtof
66098 do :
66099 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66100 if test "x$ac_cv_func_strtof" = x""yes; then :
66101 cat >>confdefs.h <<_ACEOF
66102 #define HAVE_STRTOF 1
66103 _ACEOF
66106 done
66113 CXXFLAGS="$ac_save_CXXFLAGS"
66115 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66116 do :
66117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66119 eval as_val=\$$as_ac_var
66120 if test "x$as_val" = x""yes; then :
66121 cat >>confdefs.h <<_ACEOF
66122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66123 _ACEOF
66126 done
66129 *-netbsd*)
66130 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66133 # If we're not using GNU ld, then there's no point in even trying these
66134 # tests. Check for that first. We should have already tested for gld
66135 # by now (in libtool), but require it now just to be safe...
66136 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66137 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66141 # The name set by libtool depends on the version of libtool. Shame on us
66142 # for depending on an impl detail, but c'est la vie. Older versions used
66143 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66144 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66145 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66146 # set (hence we're using an older libtool), then set it.
66147 if test x${with_gnu_ld+set} != xset; then
66148 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66149 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66150 with_gnu_ld=no
66151 else
66152 with_gnu_ld=$ac_cv_prog_gnu_ld
66156 # Start by getting the version number. I think the libtool test already
66157 # does some of this, but throws away the result.
66158 glibcxx_ld_is_gold=no
66159 if test x"$with_gnu_ld" = x"yes"; then
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66161 $as_echo_n "checking for ld version... " >&6; }
66163 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66164 glibcxx_ld_is_gold=yes
66166 ldver=`$LD --version 2>/dev/null |
66167 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'`
66169 glibcxx_gnu_ld_version=`echo $ldver | \
66170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66172 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66175 # Set --gc-sections.
66176 glibcxx_have_gc_sections=no
66177 if test "$glibcxx_ld_is_gold" = "yes"; then
66178 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66179 glibcxx_have_gc_sections=yes
66181 else
66182 glibcxx_gcsections_min_ld=21602
66183 if test x"$with_gnu_ld" = x"yes" &&
66184 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66185 glibcxx_have_gc_sections=yes
66188 if test "$glibcxx_have_gc_sections" = "yes"; then
66189 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66190 # NB: This flag only works reliably after 2.16.1. Configure tests
66191 # for this are difficult, so hard wire a value that should work.
66193 ac_test_CFLAGS="${CFLAGS+set}"
66194 ac_save_CFLAGS="$CFLAGS"
66195 CFLAGS='-Wl,--gc-sections'
66197 # Check for -Wl,--gc-sections
66198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66199 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66200 if test x$gcc_no_link = xyes; then
66201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66204 /* end confdefs.h. */
66205 int one(void) { return 1; }
66206 int two(void) { return 2; }
66209 main ()
66211 two();
66213 return 0;
66215 _ACEOF
66216 if ac_fn_c_try_link "$LINENO"; then :
66217 ac_gcsections=yes
66218 else
66219 ac_gcsections=no
66221 rm -f core conftest.err conftest.$ac_objext \
66222 conftest$ac_exeext conftest.$ac_ext
66223 if test "$ac_gcsections" = "yes"; then
66224 rm -f conftest.c
66225 touch conftest.c
66226 if $CC -c conftest.c; then
66227 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66228 grep "Warning: gc-sections option ignored" > /dev/null; then
66229 ac_gcsections=no
66232 rm -f conftest.c conftest.o conftest
66234 if test "$ac_gcsections" = "yes"; then
66235 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66238 $as_echo "$ac_gcsections" >&6; }
66240 if test "$ac_test_CFLAGS" = set; then
66241 CFLAGS="$ac_save_CFLAGS"
66242 else
66243 # this is the suspicious part
66244 CFLAGS=''
66248 # Set -z,relro.
66249 # Note this is only for shared objects.
66250 ac_ld_relro=no
66251 if test x"$with_gnu_ld" = x"yes"; then
66252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66253 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66254 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66255 if test -n "$cxx_z_relo"; then
66256 OPT_LDFLAGS="-Wl,-z,relro"
66257 ac_ld_relro=yes
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66260 $as_echo "$ac_ld_relro" >&6; }
66263 # Set linker optimization flags.
66264 if test x"$with_gnu_ld" = x"yes"; then
66265 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66271 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66273 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66275 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66277 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66279 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66281 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66283 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66285 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66287 if test x"long_double_math_on_this_cpu" = x"yes"; then
66288 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66290 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66292 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66296 *-qnx6.1* | *-qnx6.2*)
66297 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66300 # If we're not using GNU ld, then there's no point in even trying these
66301 # tests. Check for that first. We should have already tested for gld
66302 # by now (in libtool), but require it now just to be safe...
66303 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66304 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66308 # The name set by libtool depends on the version of libtool. Shame on us
66309 # for depending on an impl detail, but c'est la vie. Older versions used
66310 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66311 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66312 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66313 # set (hence we're using an older libtool), then set it.
66314 if test x${with_gnu_ld+set} != xset; then
66315 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66316 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66317 with_gnu_ld=no
66318 else
66319 with_gnu_ld=$ac_cv_prog_gnu_ld
66323 # Start by getting the version number. I think the libtool test already
66324 # does some of this, but throws away the result.
66325 glibcxx_ld_is_gold=no
66326 if test x"$with_gnu_ld" = x"yes"; then
66327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66328 $as_echo_n "checking for ld version... " >&6; }
66330 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66331 glibcxx_ld_is_gold=yes
66333 ldver=`$LD --version 2>/dev/null |
66334 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'`
66336 glibcxx_gnu_ld_version=`echo $ldver | \
66337 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66339 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66342 # Set --gc-sections.
66343 glibcxx_have_gc_sections=no
66344 if test "$glibcxx_ld_is_gold" = "yes"; then
66345 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66346 glibcxx_have_gc_sections=yes
66348 else
66349 glibcxx_gcsections_min_ld=21602
66350 if test x"$with_gnu_ld" = x"yes" &&
66351 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66352 glibcxx_have_gc_sections=yes
66355 if test "$glibcxx_have_gc_sections" = "yes"; then
66356 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66357 # NB: This flag only works reliably after 2.16.1. Configure tests
66358 # for this are difficult, so hard wire a value that should work.
66360 ac_test_CFLAGS="${CFLAGS+set}"
66361 ac_save_CFLAGS="$CFLAGS"
66362 CFLAGS='-Wl,--gc-sections'
66364 # Check for -Wl,--gc-sections
66365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66366 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66367 if test x$gcc_no_link = xyes; then
66368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66371 /* end confdefs.h. */
66372 int one(void) { return 1; }
66373 int two(void) { return 2; }
66376 main ()
66378 two();
66380 return 0;
66382 _ACEOF
66383 if ac_fn_c_try_link "$LINENO"; then :
66384 ac_gcsections=yes
66385 else
66386 ac_gcsections=no
66388 rm -f core conftest.err conftest.$ac_objext \
66389 conftest$ac_exeext conftest.$ac_ext
66390 if test "$ac_gcsections" = "yes"; then
66391 rm -f conftest.c
66392 touch conftest.c
66393 if $CC -c conftest.c; then
66394 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66395 grep "Warning: gc-sections option ignored" > /dev/null; then
66396 ac_gcsections=no
66399 rm -f conftest.c conftest.o conftest
66401 if test "$ac_gcsections" = "yes"; then
66402 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66405 $as_echo "$ac_gcsections" >&6; }
66407 if test "$ac_test_CFLAGS" = set; then
66408 CFLAGS="$ac_save_CFLAGS"
66409 else
66410 # this is the suspicious part
66411 CFLAGS=''
66415 # Set -z,relro.
66416 # Note this is only for shared objects.
66417 ac_ld_relro=no
66418 if test x"$with_gnu_ld" = x"yes"; then
66419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66420 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66421 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66422 if test -n "$cxx_z_relo"; then
66423 OPT_LDFLAGS="-Wl,-z,relro"
66424 ac_ld_relro=yes
66426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66427 $as_echo "$ac_ld_relro" >&6; }
66430 # Set linker optimization flags.
66431 if test x"$with_gnu_ld" = x"yes"; then
66432 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66438 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66440 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66442 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66444 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66446 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66448 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66450 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66452 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66454 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66456 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66458 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66460 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66463 *-rtems*)
66465 # All these tests are for C++; save the language and the compiler flags.
66466 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66467 # found in GLIBCXX_CONFIGURE.
66469 ac_ext=cpp
66470 ac_cpp='$CXXCPP $CPPFLAGS'
66471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66475 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66476 ac_save_CXXFLAGS="$CXXFLAGS"
66478 # Check for maintainer-mode bits.
66479 if test x"$USE_MAINTAINER_MODE" = xno; then
66480 WERROR=''
66481 else
66482 WERROR='-Werror'
66485 # Check for -ffunction-sections -fdata-sections
66486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66487 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66488 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66490 /* end confdefs.h. */
66491 int foo; void bar() { };
66493 main ()
66497 return 0;
66499 _ACEOF
66500 if ac_fn_cxx_try_compile "$LINENO"; then :
66501 ac_fdsections=yes
66502 else
66503 ac_fdsections=no
66505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66506 if test "$ac_test_CXXFLAGS" = set; then
66507 CXXFLAGS="$ac_save_CXXFLAGS"
66508 else
66509 # this is the suspicious part
66510 CXXFLAGS=''
66512 if test x"$ac_fdsections" = x"yes"; then
66513 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66516 $as_echo "$ac_fdsections" >&6; }
66518 ac_ext=c
66519 ac_cpp='$CPP $CPPFLAGS'
66520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66528 # If we're not using GNU ld, then there's no point in even trying these
66529 # tests. Check for that first. We should have already tested for gld
66530 # by now (in libtool), but require it now just to be safe...
66531 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66532 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66536 # The name set by libtool depends on the version of libtool. Shame on us
66537 # for depending on an impl detail, but c'est la vie. Older versions used
66538 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66539 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66540 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66541 # set (hence we're using an older libtool), then set it.
66542 if test x${with_gnu_ld+set} != xset; then
66543 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66544 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66545 with_gnu_ld=no
66546 else
66547 with_gnu_ld=$ac_cv_prog_gnu_ld
66551 # Start by getting the version number. I think the libtool test already
66552 # does some of this, but throws away the result.
66553 glibcxx_ld_is_gold=no
66554 if test x"$with_gnu_ld" = x"yes"; then
66555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66556 $as_echo_n "checking for ld version... " >&6; }
66558 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66559 glibcxx_ld_is_gold=yes
66561 ldver=`$LD --version 2>/dev/null |
66562 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'`
66564 glibcxx_gnu_ld_version=`echo $ldver | \
66565 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66567 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66570 # Set --gc-sections.
66571 glibcxx_have_gc_sections=no
66572 if test "$glibcxx_ld_is_gold" = "yes"; then
66573 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66574 glibcxx_have_gc_sections=yes
66576 else
66577 glibcxx_gcsections_min_ld=21602
66578 if test x"$with_gnu_ld" = x"yes" &&
66579 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66580 glibcxx_have_gc_sections=yes
66583 if test "$glibcxx_have_gc_sections" = "yes"; then
66584 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66585 # NB: This flag only works reliably after 2.16.1. Configure tests
66586 # for this are difficult, so hard wire a value that should work.
66588 ac_test_CFLAGS="${CFLAGS+set}"
66589 ac_save_CFLAGS="$CFLAGS"
66590 CFLAGS='-Wl,--gc-sections'
66592 # Check for -Wl,--gc-sections
66593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66594 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66595 if test x$gcc_no_link = xyes; then
66596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66599 /* end confdefs.h. */
66600 int one(void) { return 1; }
66601 int two(void) { return 2; }
66604 main ()
66606 two();
66608 return 0;
66610 _ACEOF
66611 if ac_fn_c_try_link "$LINENO"; then :
66612 ac_gcsections=yes
66613 else
66614 ac_gcsections=no
66616 rm -f core conftest.err conftest.$ac_objext \
66617 conftest$ac_exeext conftest.$ac_ext
66618 if test "$ac_gcsections" = "yes"; then
66619 rm -f conftest.c
66620 touch conftest.c
66621 if $CC -c conftest.c; then
66622 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66623 grep "Warning: gc-sections option ignored" > /dev/null; then
66624 ac_gcsections=no
66627 rm -f conftest.c conftest.o conftest
66629 if test "$ac_gcsections" = "yes"; then
66630 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66633 $as_echo "$ac_gcsections" >&6; }
66635 if test "$ac_test_CFLAGS" = set; then
66636 CFLAGS="$ac_save_CFLAGS"
66637 else
66638 # this is the suspicious part
66639 CFLAGS=''
66643 # Set -z,relro.
66644 # Note this is only for shared objects.
66645 ac_ld_relro=no
66646 if test x"$with_gnu_ld" = x"yes"; then
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66648 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66649 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66650 if test -n "$cxx_z_relo"; then
66651 OPT_LDFLAGS="-Wl,-z,relro"
66652 ac_ld_relro=yes
66654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66655 $as_echo "$ac_ld_relro" >&6; }
66658 # Set linker optimization flags.
66659 if test x"$with_gnu_ld" = x"yes"; then
66660 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66667 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66668 ac_save_CXXFLAGS="$CXXFLAGS"
66669 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66672 $as_echo_n "checking for sin in -lm... " >&6; }
66673 if test "${ac_cv_lib_m_sin+set}" = set; then :
66674 $as_echo_n "(cached) " >&6
66675 else
66676 ac_check_lib_save_LIBS=$LIBS
66677 LIBS="-lm $LIBS"
66678 if test x$gcc_no_link = xyes; then
66679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66682 /* end confdefs.h. */
66684 /* Override any GCC internal prototype to avoid an error.
66685 Use char because int might match the return type of a GCC
66686 builtin and then its argument prototype would still apply. */
66687 #ifdef __cplusplus
66688 extern "C"
66689 #endif
66690 char sin ();
66692 main ()
66694 return sin ();
66696 return 0;
66698 _ACEOF
66699 if ac_fn_c_try_link "$LINENO"; then :
66700 ac_cv_lib_m_sin=yes
66701 else
66702 ac_cv_lib_m_sin=no
66704 rm -f core conftest.err conftest.$ac_objext \
66705 conftest$ac_exeext conftest.$ac_ext
66706 LIBS=$ac_check_lib_save_LIBS
66708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66709 $as_echo "$ac_cv_lib_m_sin" >&6; }
66710 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66711 libm="-lm"
66714 ac_save_LIBS="$LIBS"
66715 LIBS="$LIBS $libm"
66719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66720 $as_echo_n "checking for isinf declaration... " >&6; }
66721 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66722 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66723 $as_echo_n "(cached) " >&6
66724 else
66727 ac_ext=cpp
66728 ac_cpp='$CXXCPP $CPPFLAGS'
66729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66734 /* end confdefs.h. */
66735 #include <math.h>
66736 #ifdef HAVE_IEEEFP_H
66737 #include <ieeefp.h>
66738 #endif
66741 main ()
66743 isinf(0);
66745 return 0;
66747 _ACEOF
66748 if ac_fn_cxx_try_compile "$LINENO"; then :
66749 glibcxx_cv_func_isinf_use=yes
66750 else
66751 glibcxx_cv_func_isinf_use=no
66753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66754 ac_ext=c
66755 ac_cpp='$CPP $CPPFLAGS'
66756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66765 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66767 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66768 for ac_func in isinf
66769 do :
66770 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66771 if test "x$ac_cv_func_isinf" = x""yes; then :
66772 cat >>confdefs.h <<_ACEOF
66773 #define HAVE_ISINF 1
66774 _ACEOF
66777 done
66779 else
66781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66782 $as_echo_n "checking for _isinf declaration... " >&6; }
66783 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66784 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66785 $as_echo_n "(cached) " >&6
66786 else
66789 ac_ext=cpp
66790 ac_cpp='$CXXCPP $CPPFLAGS'
66791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66796 /* end confdefs.h. */
66797 #include <math.h>
66798 #ifdef HAVE_IEEEFP_H
66799 #include <ieeefp.h>
66800 #endif
66803 main ()
66805 _isinf(0);
66807 return 0;
66809 _ACEOF
66810 if ac_fn_cxx_try_compile "$LINENO"; then :
66811 glibcxx_cv_func__isinf_use=yes
66812 else
66813 glibcxx_cv_func__isinf_use=no
66815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66816 ac_ext=c
66817 ac_cpp='$CPP $CPPFLAGS'
66818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66827 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66829 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66830 for ac_func in _isinf
66831 do :
66832 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66833 if test "x$ac_cv_func__isinf" = x""yes; then :
66834 cat >>confdefs.h <<_ACEOF
66835 #define HAVE__ISINF 1
66836 _ACEOF
66839 done
66848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66849 $as_echo_n "checking for isnan declaration... " >&6; }
66850 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66851 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66852 $as_echo_n "(cached) " >&6
66853 else
66856 ac_ext=cpp
66857 ac_cpp='$CXXCPP $CPPFLAGS'
66858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66863 /* end confdefs.h. */
66864 #include <math.h>
66865 #ifdef HAVE_IEEEFP_H
66866 #include <ieeefp.h>
66867 #endif
66870 main ()
66872 isnan(0);
66874 return 0;
66876 _ACEOF
66877 if ac_fn_cxx_try_compile "$LINENO"; then :
66878 glibcxx_cv_func_isnan_use=yes
66879 else
66880 glibcxx_cv_func_isnan_use=no
66882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66883 ac_ext=c
66884 ac_cpp='$CPP $CPPFLAGS'
66885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66894 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66896 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66897 for ac_func in isnan
66898 do :
66899 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66900 if test "x$ac_cv_func_isnan" = x""yes; then :
66901 cat >>confdefs.h <<_ACEOF
66902 #define HAVE_ISNAN 1
66903 _ACEOF
66906 done
66908 else
66910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66911 $as_echo_n "checking for _isnan declaration... " >&6; }
66912 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66913 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66914 $as_echo_n "(cached) " >&6
66915 else
66918 ac_ext=cpp
66919 ac_cpp='$CXXCPP $CPPFLAGS'
66920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66925 /* end confdefs.h. */
66926 #include <math.h>
66927 #ifdef HAVE_IEEEFP_H
66928 #include <ieeefp.h>
66929 #endif
66932 main ()
66934 _isnan(0);
66936 return 0;
66938 _ACEOF
66939 if ac_fn_cxx_try_compile "$LINENO"; then :
66940 glibcxx_cv_func__isnan_use=yes
66941 else
66942 glibcxx_cv_func__isnan_use=no
66944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66945 ac_ext=c
66946 ac_cpp='$CPP $CPPFLAGS'
66947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66956 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66958 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66959 for ac_func in _isnan
66960 do :
66961 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66962 if test "x$ac_cv_func__isnan" = x""yes; then :
66963 cat >>confdefs.h <<_ACEOF
66964 #define HAVE__ISNAN 1
66965 _ACEOF
66968 done
66977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66978 $as_echo_n "checking for finite declaration... " >&6; }
66979 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66980 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66981 $as_echo_n "(cached) " >&6
66982 else
66985 ac_ext=cpp
66986 ac_cpp='$CXXCPP $CPPFLAGS'
66987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66992 /* end confdefs.h. */
66993 #include <math.h>
66994 #ifdef HAVE_IEEEFP_H
66995 #include <ieeefp.h>
66996 #endif
66999 main ()
67001 finite(0);
67003 return 0;
67005 _ACEOF
67006 if ac_fn_cxx_try_compile "$LINENO"; then :
67007 glibcxx_cv_func_finite_use=yes
67008 else
67009 glibcxx_cv_func_finite_use=no
67011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67012 ac_ext=c
67013 ac_cpp='$CPP $CPPFLAGS'
67014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67023 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67025 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67026 for ac_func in finite
67027 do :
67028 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67029 if test "x$ac_cv_func_finite" = x""yes; then :
67030 cat >>confdefs.h <<_ACEOF
67031 #define HAVE_FINITE 1
67032 _ACEOF
67035 done
67037 else
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67040 $as_echo_n "checking for _finite declaration... " >&6; }
67041 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67042 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67043 $as_echo_n "(cached) " >&6
67044 else
67047 ac_ext=cpp
67048 ac_cpp='$CXXCPP $CPPFLAGS'
67049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67054 /* end confdefs.h. */
67055 #include <math.h>
67056 #ifdef HAVE_IEEEFP_H
67057 #include <ieeefp.h>
67058 #endif
67061 main ()
67063 _finite(0);
67065 return 0;
67067 _ACEOF
67068 if ac_fn_cxx_try_compile "$LINENO"; then :
67069 glibcxx_cv_func__finite_use=yes
67070 else
67071 glibcxx_cv_func__finite_use=no
67073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67074 ac_ext=c
67075 ac_cpp='$CPP $CPPFLAGS'
67076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67085 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67087 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67088 for ac_func in _finite
67089 do :
67090 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67091 if test "x$ac_cv_func__finite" = x""yes; then :
67092 cat >>confdefs.h <<_ACEOF
67093 #define HAVE__FINITE 1
67094 _ACEOF
67097 done
67106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67107 $as_echo_n "checking for sincos declaration... " >&6; }
67108 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67109 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67110 $as_echo_n "(cached) " >&6
67111 else
67114 ac_ext=cpp
67115 ac_cpp='$CXXCPP $CPPFLAGS'
67116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67121 /* end confdefs.h. */
67122 #include <math.h>
67124 main ()
67126 sincos(0, 0, 0);
67128 return 0;
67130 _ACEOF
67131 if ac_fn_cxx_try_compile "$LINENO"; then :
67132 glibcxx_cv_func_sincos_use=yes
67133 else
67134 glibcxx_cv_func_sincos_use=no
67136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67137 ac_ext=c
67138 ac_cpp='$CPP $CPPFLAGS'
67139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67148 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67150 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67151 for ac_func in sincos
67152 do :
67153 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67154 if test "x$ac_cv_func_sincos" = x""yes; then :
67155 cat >>confdefs.h <<_ACEOF
67156 #define HAVE_SINCOS 1
67157 _ACEOF
67160 done
67162 else
67164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67165 $as_echo_n "checking for _sincos declaration... " >&6; }
67166 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67167 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67168 $as_echo_n "(cached) " >&6
67169 else
67172 ac_ext=cpp
67173 ac_cpp='$CXXCPP $CPPFLAGS'
67174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67179 /* end confdefs.h. */
67180 #include <math.h>
67182 main ()
67184 _sincos(0, 0, 0);
67186 return 0;
67188 _ACEOF
67189 if ac_fn_cxx_try_compile "$LINENO"; then :
67190 glibcxx_cv_func__sincos_use=yes
67191 else
67192 glibcxx_cv_func__sincos_use=no
67194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67195 ac_ext=c
67196 ac_cpp='$CPP $CPPFLAGS'
67197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67206 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67208 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67209 for ac_func in _sincos
67210 do :
67211 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67212 if test "x$ac_cv_func__sincos" = x""yes; then :
67213 cat >>confdefs.h <<_ACEOF
67214 #define HAVE__SINCOS 1
67215 _ACEOF
67218 done
67227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67228 $as_echo_n "checking for fpclass declaration... " >&6; }
67229 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67230 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67231 $as_echo_n "(cached) " >&6
67232 else
67235 ac_ext=cpp
67236 ac_cpp='$CXXCPP $CPPFLAGS'
67237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67242 /* end confdefs.h. */
67243 #include <math.h>
67244 #ifdef HAVE_IEEEFP_H
67245 #include <ieeefp.h>
67246 #endif
67249 main ()
67251 fpclass(0);
67253 return 0;
67255 _ACEOF
67256 if ac_fn_cxx_try_compile "$LINENO"; then :
67257 glibcxx_cv_func_fpclass_use=yes
67258 else
67259 glibcxx_cv_func_fpclass_use=no
67261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67262 ac_ext=c
67263 ac_cpp='$CPP $CPPFLAGS'
67264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67273 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67275 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67276 for ac_func in fpclass
67277 do :
67278 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67279 if test "x$ac_cv_func_fpclass" = x""yes; then :
67280 cat >>confdefs.h <<_ACEOF
67281 #define HAVE_FPCLASS 1
67282 _ACEOF
67285 done
67287 else
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67290 $as_echo_n "checking for _fpclass declaration... " >&6; }
67291 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67292 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67293 $as_echo_n "(cached) " >&6
67294 else
67297 ac_ext=cpp
67298 ac_cpp='$CXXCPP $CPPFLAGS'
67299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67304 /* end confdefs.h. */
67305 #include <math.h>
67306 #ifdef HAVE_IEEEFP_H
67307 #include <ieeefp.h>
67308 #endif
67311 main ()
67313 _fpclass(0);
67315 return 0;
67317 _ACEOF
67318 if ac_fn_cxx_try_compile "$LINENO"; then :
67319 glibcxx_cv_func__fpclass_use=yes
67320 else
67321 glibcxx_cv_func__fpclass_use=no
67323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67324 ac_ext=c
67325 ac_cpp='$CPP $CPPFLAGS'
67326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67335 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67337 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67338 for ac_func in _fpclass
67339 do :
67340 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67341 if test "x$ac_cv_func__fpclass" = x""yes; then :
67342 cat >>confdefs.h <<_ACEOF
67343 #define HAVE__FPCLASS 1
67344 _ACEOF
67347 done
67356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67357 $as_echo_n "checking for qfpclass declaration... " >&6; }
67358 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67359 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67360 $as_echo_n "(cached) " >&6
67361 else
67364 ac_ext=cpp
67365 ac_cpp='$CXXCPP $CPPFLAGS'
67366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67371 /* end confdefs.h. */
67372 #include <math.h>
67373 #ifdef HAVE_IEEEFP_H
67374 #include <ieeefp.h>
67375 #endif
67378 main ()
67380 qfpclass(0);
67382 return 0;
67384 _ACEOF
67385 if ac_fn_cxx_try_compile "$LINENO"; then :
67386 glibcxx_cv_func_qfpclass_use=yes
67387 else
67388 glibcxx_cv_func_qfpclass_use=no
67390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67391 ac_ext=c
67392 ac_cpp='$CPP $CPPFLAGS'
67393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67402 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67404 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67405 for ac_func in qfpclass
67406 do :
67407 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67408 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67409 cat >>confdefs.h <<_ACEOF
67410 #define HAVE_QFPCLASS 1
67411 _ACEOF
67414 done
67416 else
67418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67419 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67420 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67421 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67422 $as_echo_n "(cached) " >&6
67423 else
67426 ac_ext=cpp
67427 ac_cpp='$CXXCPP $CPPFLAGS'
67428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67433 /* end confdefs.h. */
67434 #include <math.h>
67435 #ifdef HAVE_IEEEFP_H
67436 #include <ieeefp.h>
67437 #endif
67440 main ()
67442 _qfpclass(0);
67444 return 0;
67446 _ACEOF
67447 if ac_fn_cxx_try_compile "$LINENO"; then :
67448 glibcxx_cv_func__qfpclass_use=yes
67449 else
67450 glibcxx_cv_func__qfpclass_use=no
67452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67453 ac_ext=c
67454 ac_cpp='$CPP $CPPFLAGS'
67455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67464 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67466 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67467 for ac_func in _qfpclass
67468 do :
67469 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67470 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67471 cat >>confdefs.h <<_ACEOF
67472 #define HAVE__QFPCLASS 1
67473 _ACEOF
67476 done
67485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67486 $as_echo_n "checking for hypot declaration... " >&6; }
67487 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67488 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67489 $as_echo_n "(cached) " >&6
67490 else
67493 ac_ext=cpp
67494 ac_cpp='$CXXCPP $CPPFLAGS'
67495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67500 /* end confdefs.h. */
67501 #include <math.h>
67503 main ()
67505 hypot(0, 0);
67507 return 0;
67509 _ACEOF
67510 if ac_fn_cxx_try_compile "$LINENO"; then :
67511 glibcxx_cv_func_hypot_use=yes
67512 else
67513 glibcxx_cv_func_hypot_use=no
67515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67516 ac_ext=c
67517 ac_cpp='$CPP $CPPFLAGS'
67518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67527 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67529 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67530 for ac_func in hypot
67531 do :
67532 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67533 if test "x$ac_cv_func_hypot" = x""yes; then :
67534 cat >>confdefs.h <<_ACEOF
67535 #define HAVE_HYPOT 1
67536 _ACEOF
67539 done
67541 else
67543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67544 $as_echo_n "checking for _hypot declaration... " >&6; }
67545 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67546 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67547 $as_echo_n "(cached) " >&6
67548 else
67551 ac_ext=cpp
67552 ac_cpp='$CXXCPP $CPPFLAGS'
67553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67558 /* end confdefs.h. */
67559 #include <math.h>
67561 main ()
67563 _hypot(0, 0);
67565 return 0;
67567 _ACEOF
67568 if ac_fn_cxx_try_compile "$LINENO"; then :
67569 glibcxx_cv_func__hypot_use=yes
67570 else
67571 glibcxx_cv_func__hypot_use=no
67573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67574 ac_ext=c
67575 ac_cpp='$CPP $CPPFLAGS'
67576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67585 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67587 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67588 for ac_func in _hypot
67589 do :
67590 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67591 if test "x$ac_cv_func__hypot" = x""yes; then :
67592 cat >>confdefs.h <<_ACEOF
67593 #define HAVE__HYPOT 1
67594 _ACEOF
67597 done
67606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67607 $as_echo_n "checking for float trig functions... " >&6; }
67608 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67609 $as_echo_n "(cached) " >&6
67610 else
67613 ac_ext=cpp
67614 ac_cpp='$CXXCPP $CPPFLAGS'
67615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67620 /* end confdefs.h. */
67621 #include <math.h>
67623 main ()
67625 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67627 return 0;
67629 _ACEOF
67630 if ac_fn_cxx_try_compile "$LINENO"; then :
67631 glibcxx_cv_func_float_trig_use=yes
67632 else
67633 glibcxx_cv_func_float_trig_use=no
67635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67636 ac_ext=c
67637 ac_cpp='$CPP $CPPFLAGS'
67638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67645 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67646 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67647 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67648 do :
67649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67651 eval as_val=\$$as_ac_var
67652 if test "x$as_val" = x""yes; then :
67653 cat >>confdefs.h <<_ACEOF
67654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67655 _ACEOF
67658 done
67660 else
67661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67662 $as_echo_n "checking for _float trig functions... " >&6; }
67663 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67664 $as_echo_n "(cached) " >&6
67665 else
67668 ac_ext=cpp
67669 ac_cpp='$CXXCPP $CPPFLAGS'
67670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67675 /* end confdefs.h. */
67676 #include <math.h>
67678 main ()
67680 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67682 return 0;
67684 _ACEOF
67685 if ac_fn_cxx_try_compile "$LINENO"; then :
67686 glibcxx_cv_func__float_trig_use=yes
67687 else
67688 glibcxx_cv_func__float_trig_use=no
67690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67691 ac_ext=c
67692 ac_cpp='$CPP $CPPFLAGS'
67693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67700 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67701 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67702 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67703 do :
67704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67706 eval as_val=\$$as_ac_var
67707 if test "x$as_val" = x""yes; then :
67708 cat >>confdefs.h <<_ACEOF
67709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67710 _ACEOF
67713 done
67722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67723 $as_echo_n "checking for float round functions... " >&6; }
67724 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67725 $as_echo_n "(cached) " >&6
67726 else
67729 ac_ext=cpp
67730 ac_cpp='$CXXCPP $CPPFLAGS'
67731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67736 /* end confdefs.h. */
67737 #include <math.h>
67739 main ()
67741 ceilf (0); floorf (0);
67743 return 0;
67745 _ACEOF
67746 if ac_fn_cxx_try_compile "$LINENO"; then :
67747 glibcxx_cv_func_float_round_use=yes
67748 else
67749 glibcxx_cv_func_float_round_use=no
67751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67752 ac_ext=c
67753 ac_cpp='$CPP $CPPFLAGS'
67754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67761 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67762 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67763 for ac_func in ceilf floorf
67764 do :
67765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67767 eval as_val=\$$as_ac_var
67768 if test "x$as_val" = x""yes; then :
67769 cat >>confdefs.h <<_ACEOF
67770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67771 _ACEOF
67774 done
67776 else
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67778 $as_echo_n "checking for _float round functions... " >&6; }
67779 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67780 $as_echo_n "(cached) " >&6
67781 else
67784 ac_ext=cpp
67785 ac_cpp='$CXXCPP $CPPFLAGS'
67786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67791 /* end confdefs.h. */
67792 #include <math.h>
67794 main ()
67796 _ceilf (0); _floorf (0);
67798 return 0;
67800 _ACEOF
67801 if ac_fn_cxx_try_compile "$LINENO"; then :
67802 glibcxx_cv_func__float_round_use=yes
67803 else
67804 glibcxx_cv_func__float_round_use=no
67806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67807 ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67816 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67817 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67818 for ac_func in _ceilf _floorf
67819 do :
67820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67822 eval as_val=\$$as_ac_var
67823 if test "x$as_val" = x""yes; then :
67824 cat >>confdefs.h <<_ACEOF
67825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67826 _ACEOF
67829 done
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67840 $as_echo_n "checking for expf declaration... " >&6; }
67841 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67842 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67843 $as_echo_n "(cached) " >&6
67844 else
67847 ac_ext=cpp
67848 ac_cpp='$CXXCPP $CPPFLAGS'
67849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67854 /* end confdefs.h. */
67855 #include <math.h>
67856 #ifdef HAVE_IEEEFP_H
67857 #include <ieeefp.h>
67858 #endif
67861 main ()
67863 expf(0);
67865 return 0;
67867 _ACEOF
67868 if ac_fn_cxx_try_compile "$LINENO"; then :
67869 glibcxx_cv_func_expf_use=yes
67870 else
67871 glibcxx_cv_func_expf_use=no
67873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67874 ac_ext=c
67875 ac_cpp='$CPP $CPPFLAGS'
67876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67885 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67887 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67888 for ac_func in expf
67889 do :
67890 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67891 if test "x$ac_cv_func_expf" = x""yes; then :
67892 cat >>confdefs.h <<_ACEOF
67893 #define HAVE_EXPF 1
67894 _ACEOF
67897 done
67899 else
67901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67902 $as_echo_n "checking for _expf declaration... " >&6; }
67903 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67904 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67905 $as_echo_n "(cached) " >&6
67906 else
67909 ac_ext=cpp
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67916 /* end confdefs.h. */
67917 #include <math.h>
67918 #ifdef HAVE_IEEEFP_H
67919 #include <ieeefp.h>
67920 #endif
67923 main ()
67925 _expf(0);
67927 return 0;
67929 _ACEOF
67930 if ac_fn_cxx_try_compile "$LINENO"; then :
67931 glibcxx_cv_func__expf_use=yes
67932 else
67933 glibcxx_cv_func__expf_use=no
67935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67936 ac_ext=c
67937 ac_cpp='$CPP $CPPFLAGS'
67938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67947 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67949 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67950 for ac_func in _expf
67951 do :
67952 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67953 if test "x$ac_cv_func__expf" = x""yes; then :
67954 cat >>confdefs.h <<_ACEOF
67955 #define HAVE__EXPF 1
67956 _ACEOF
67959 done
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67969 $as_echo_n "checking for isnanf declaration... " >&6; }
67970 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67971 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67972 $as_echo_n "(cached) " >&6
67973 else
67976 ac_ext=cpp
67977 ac_cpp='$CXXCPP $CPPFLAGS'
67978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67983 /* end confdefs.h. */
67984 #include <math.h>
67985 #ifdef HAVE_IEEEFP_H
67986 #include <ieeefp.h>
67987 #endif
67990 main ()
67992 isnanf(0);
67994 return 0;
67996 _ACEOF
67997 if ac_fn_cxx_try_compile "$LINENO"; then :
67998 glibcxx_cv_func_isnanf_use=yes
67999 else
68000 glibcxx_cv_func_isnanf_use=no
68002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68003 ac_ext=c
68004 ac_cpp='$CPP $CPPFLAGS'
68005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68014 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68016 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68017 for ac_func in isnanf
68018 do :
68019 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68020 if test "x$ac_cv_func_isnanf" = x""yes; then :
68021 cat >>confdefs.h <<_ACEOF
68022 #define HAVE_ISNANF 1
68023 _ACEOF
68026 done
68028 else
68030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68031 $as_echo_n "checking for _isnanf declaration... " >&6; }
68032 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68033 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68034 $as_echo_n "(cached) " >&6
68035 else
68038 ac_ext=cpp
68039 ac_cpp='$CXXCPP $CPPFLAGS'
68040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68045 /* end confdefs.h. */
68046 #include <math.h>
68047 #ifdef HAVE_IEEEFP_H
68048 #include <ieeefp.h>
68049 #endif
68052 main ()
68054 _isnanf(0);
68056 return 0;
68058 _ACEOF
68059 if ac_fn_cxx_try_compile "$LINENO"; then :
68060 glibcxx_cv_func__isnanf_use=yes
68061 else
68062 glibcxx_cv_func__isnanf_use=no
68064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065 ac_ext=c
68066 ac_cpp='$CPP $CPPFLAGS'
68067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68076 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68078 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68079 for ac_func in _isnanf
68080 do :
68081 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68082 if test "x$ac_cv_func__isnanf" = x""yes; then :
68083 cat >>confdefs.h <<_ACEOF
68084 #define HAVE__ISNANF 1
68085 _ACEOF
68088 done
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68098 $as_echo_n "checking for isinff declaration... " >&6; }
68099 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68100 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68105 ac_ext=cpp
68106 ac_cpp='$CXXCPP $CPPFLAGS'
68107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68113 #include <math.h>
68114 #ifdef HAVE_IEEEFP_H
68115 #include <ieeefp.h>
68116 #endif
68119 main ()
68121 isinff(0);
68123 return 0;
68125 _ACEOF
68126 if ac_fn_cxx_try_compile "$LINENO"; then :
68127 glibcxx_cv_func_isinff_use=yes
68128 else
68129 glibcxx_cv_func_isinff_use=no
68131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68132 ac_ext=c
68133 ac_cpp='$CPP $CPPFLAGS'
68134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68143 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68145 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68146 for ac_func in isinff
68147 do :
68148 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68149 if test "x$ac_cv_func_isinff" = x""yes; then :
68150 cat >>confdefs.h <<_ACEOF
68151 #define HAVE_ISINFF 1
68152 _ACEOF
68155 done
68157 else
68159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68160 $as_echo_n "checking for _isinff declaration... " >&6; }
68161 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68162 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68163 $as_echo_n "(cached) " >&6
68164 else
68167 ac_ext=cpp
68168 ac_cpp='$CXXCPP $CPPFLAGS'
68169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68174 /* end confdefs.h. */
68175 #include <math.h>
68176 #ifdef HAVE_IEEEFP_H
68177 #include <ieeefp.h>
68178 #endif
68181 main ()
68183 _isinff(0);
68185 return 0;
68187 _ACEOF
68188 if ac_fn_cxx_try_compile "$LINENO"; then :
68189 glibcxx_cv_func__isinff_use=yes
68190 else
68191 glibcxx_cv_func__isinff_use=no
68193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68194 ac_ext=c
68195 ac_cpp='$CPP $CPPFLAGS'
68196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68205 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68207 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68208 for ac_func in _isinff
68209 do :
68210 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68211 if test "x$ac_cv_func__isinff" = x""yes; then :
68212 cat >>confdefs.h <<_ACEOF
68213 #define HAVE__ISINFF 1
68214 _ACEOF
68217 done
68226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68227 $as_echo_n "checking for atan2f declaration... " >&6; }
68228 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68229 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68230 $as_echo_n "(cached) " >&6
68231 else
68234 ac_ext=cpp
68235 ac_cpp='$CXXCPP $CPPFLAGS'
68236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68241 /* end confdefs.h. */
68242 #include <math.h>
68244 main ()
68246 atan2f(0, 0);
68248 return 0;
68250 _ACEOF
68251 if ac_fn_cxx_try_compile "$LINENO"; then :
68252 glibcxx_cv_func_atan2f_use=yes
68253 else
68254 glibcxx_cv_func_atan2f_use=no
68256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68257 ac_ext=c
68258 ac_cpp='$CPP $CPPFLAGS'
68259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68268 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68270 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68271 for ac_func in atan2f
68272 do :
68273 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68274 if test "x$ac_cv_func_atan2f" = x""yes; then :
68275 cat >>confdefs.h <<_ACEOF
68276 #define HAVE_ATAN2F 1
68277 _ACEOF
68280 done
68282 else
68284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68285 $as_echo_n "checking for _atan2f declaration... " >&6; }
68286 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68287 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68288 $as_echo_n "(cached) " >&6
68289 else
68292 ac_ext=cpp
68293 ac_cpp='$CXXCPP $CPPFLAGS'
68294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68299 /* end confdefs.h. */
68300 #include <math.h>
68302 main ()
68304 _atan2f(0, 0);
68306 return 0;
68308 _ACEOF
68309 if ac_fn_cxx_try_compile "$LINENO"; then :
68310 glibcxx_cv_func__atan2f_use=yes
68311 else
68312 glibcxx_cv_func__atan2f_use=no
68314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68315 ac_ext=c
68316 ac_cpp='$CPP $CPPFLAGS'
68317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68326 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68328 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68329 for ac_func in _atan2f
68330 do :
68331 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68332 if test "x$ac_cv_func__atan2f" = x""yes; then :
68333 cat >>confdefs.h <<_ACEOF
68334 #define HAVE__ATAN2F 1
68335 _ACEOF
68338 done
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68348 $as_echo_n "checking for fabsf declaration... " >&6; }
68349 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68350 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68351 $as_echo_n "(cached) " >&6
68352 else
68355 ac_ext=cpp
68356 ac_cpp='$CXXCPP $CPPFLAGS'
68357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68362 /* end confdefs.h. */
68363 #include <math.h>
68364 #ifdef HAVE_IEEEFP_H
68365 #include <ieeefp.h>
68366 #endif
68369 main ()
68371 fabsf(0);
68373 return 0;
68375 _ACEOF
68376 if ac_fn_cxx_try_compile "$LINENO"; then :
68377 glibcxx_cv_func_fabsf_use=yes
68378 else
68379 glibcxx_cv_func_fabsf_use=no
68381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68382 ac_ext=c
68383 ac_cpp='$CPP $CPPFLAGS'
68384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68393 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68395 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68396 for ac_func in fabsf
68397 do :
68398 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68399 if test "x$ac_cv_func_fabsf" = x""yes; then :
68400 cat >>confdefs.h <<_ACEOF
68401 #define HAVE_FABSF 1
68402 _ACEOF
68405 done
68407 else
68409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68410 $as_echo_n "checking for _fabsf declaration... " >&6; }
68411 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68412 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68413 $as_echo_n "(cached) " >&6
68414 else
68417 ac_ext=cpp
68418 ac_cpp='$CXXCPP $CPPFLAGS'
68419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68424 /* end confdefs.h. */
68425 #include <math.h>
68426 #ifdef HAVE_IEEEFP_H
68427 #include <ieeefp.h>
68428 #endif
68431 main ()
68433 _fabsf(0);
68435 return 0;
68437 _ACEOF
68438 if ac_fn_cxx_try_compile "$LINENO"; then :
68439 glibcxx_cv_func__fabsf_use=yes
68440 else
68441 glibcxx_cv_func__fabsf_use=no
68443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68444 ac_ext=c
68445 ac_cpp='$CPP $CPPFLAGS'
68446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68455 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68457 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68458 for ac_func in _fabsf
68459 do :
68460 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68461 if test "x$ac_cv_func__fabsf" = x""yes; then :
68462 cat >>confdefs.h <<_ACEOF
68463 #define HAVE__FABSF 1
68464 _ACEOF
68467 done
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68477 $as_echo_n "checking for fmodf declaration... " >&6; }
68478 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68479 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68480 $as_echo_n "(cached) " >&6
68481 else
68484 ac_ext=cpp
68485 ac_cpp='$CXXCPP $CPPFLAGS'
68486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491 /* end confdefs.h. */
68492 #include <math.h>
68494 main ()
68496 fmodf(0, 0);
68498 return 0;
68500 _ACEOF
68501 if ac_fn_cxx_try_compile "$LINENO"; then :
68502 glibcxx_cv_func_fmodf_use=yes
68503 else
68504 glibcxx_cv_func_fmodf_use=no
68506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68507 ac_ext=c
68508 ac_cpp='$CPP $CPPFLAGS'
68509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68518 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68520 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68521 for ac_func in fmodf
68522 do :
68523 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68524 if test "x$ac_cv_func_fmodf" = x""yes; then :
68525 cat >>confdefs.h <<_ACEOF
68526 #define HAVE_FMODF 1
68527 _ACEOF
68530 done
68532 else
68534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68535 $as_echo_n "checking for _fmodf declaration... " >&6; }
68536 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68537 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68538 $as_echo_n "(cached) " >&6
68539 else
68542 ac_ext=cpp
68543 ac_cpp='$CXXCPP $CPPFLAGS'
68544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68549 /* end confdefs.h. */
68550 #include <math.h>
68552 main ()
68554 _fmodf(0, 0);
68556 return 0;
68558 _ACEOF
68559 if ac_fn_cxx_try_compile "$LINENO"; then :
68560 glibcxx_cv_func__fmodf_use=yes
68561 else
68562 glibcxx_cv_func__fmodf_use=no
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68565 ac_ext=c
68566 ac_cpp='$CPP $CPPFLAGS'
68567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68576 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68578 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68579 for ac_func in _fmodf
68580 do :
68581 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68582 if test "x$ac_cv_func__fmodf" = x""yes; then :
68583 cat >>confdefs.h <<_ACEOF
68584 #define HAVE__FMODF 1
68585 _ACEOF
68588 done
68597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68598 $as_echo_n "checking for frexpf declaration... " >&6; }
68599 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68600 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68601 $as_echo_n "(cached) " >&6
68602 else
68605 ac_ext=cpp
68606 ac_cpp='$CXXCPP $CPPFLAGS'
68607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68612 /* end confdefs.h. */
68613 #include <math.h>
68615 main ()
68617 frexpf(0, 0);
68619 return 0;
68621 _ACEOF
68622 if ac_fn_cxx_try_compile "$LINENO"; then :
68623 glibcxx_cv_func_frexpf_use=yes
68624 else
68625 glibcxx_cv_func_frexpf_use=no
68627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68628 ac_ext=c
68629 ac_cpp='$CPP $CPPFLAGS'
68630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68639 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68641 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68642 for ac_func in frexpf
68643 do :
68644 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68645 if test "x$ac_cv_func_frexpf" = x""yes; then :
68646 cat >>confdefs.h <<_ACEOF
68647 #define HAVE_FREXPF 1
68648 _ACEOF
68651 done
68653 else
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68656 $as_echo_n "checking for _frexpf declaration... " >&6; }
68657 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68658 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68659 $as_echo_n "(cached) " >&6
68660 else
68663 ac_ext=cpp
68664 ac_cpp='$CXXCPP $CPPFLAGS'
68665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68670 /* end confdefs.h. */
68671 #include <math.h>
68673 main ()
68675 _frexpf(0, 0);
68677 return 0;
68679 _ACEOF
68680 if ac_fn_cxx_try_compile "$LINENO"; then :
68681 glibcxx_cv_func__frexpf_use=yes
68682 else
68683 glibcxx_cv_func__frexpf_use=no
68685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68686 ac_ext=c
68687 ac_cpp='$CPP $CPPFLAGS'
68688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68697 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68699 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68700 for ac_func in _frexpf
68701 do :
68702 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68703 if test "x$ac_cv_func__frexpf" = x""yes; then :
68704 cat >>confdefs.h <<_ACEOF
68705 #define HAVE__FREXPF 1
68706 _ACEOF
68709 done
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68719 $as_echo_n "checking for hypotf declaration... " >&6; }
68720 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68721 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68722 $as_echo_n "(cached) " >&6
68723 else
68726 ac_ext=cpp
68727 ac_cpp='$CXXCPP $CPPFLAGS'
68728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68733 /* end confdefs.h. */
68734 #include <math.h>
68736 main ()
68738 hypotf(0, 0);
68740 return 0;
68742 _ACEOF
68743 if ac_fn_cxx_try_compile "$LINENO"; then :
68744 glibcxx_cv_func_hypotf_use=yes
68745 else
68746 glibcxx_cv_func_hypotf_use=no
68748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68749 ac_ext=c
68750 ac_cpp='$CPP $CPPFLAGS'
68751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68760 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68762 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68763 for ac_func in hypotf
68764 do :
68765 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68766 if test "x$ac_cv_func_hypotf" = x""yes; then :
68767 cat >>confdefs.h <<_ACEOF
68768 #define HAVE_HYPOTF 1
68769 _ACEOF
68772 done
68774 else
68776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68777 $as_echo_n "checking for _hypotf declaration... " >&6; }
68778 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68779 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68780 $as_echo_n "(cached) " >&6
68781 else
68784 ac_ext=cpp
68785 ac_cpp='$CXXCPP $CPPFLAGS'
68786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68791 /* end confdefs.h. */
68792 #include <math.h>
68794 main ()
68796 _hypotf(0, 0);
68798 return 0;
68800 _ACEOF
68801 if ac_fn_cxx_try_compile "$LINENO"; then :
68802 glibcxx_cv_func__hypotf_use=yes
68803 else
68804 glibcxx_cv_func__hypotf_use=no
68806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68807 ac_ext=c
68808 ac_cpp='$CPP $CPPFLAGS'
68809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68818 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68820 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68821 for ac_func in _hypotf
68822 do :
68823 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68824 if test "x$ac_cv_func__hypotf" = x""yes; then :
68825 cat >>confdefs.h <<_ACEOF
68826 #define HAVE__HYPOTF 1
68827 _ACEOF
68830 done
68839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68840 $as_echo_n "checking for ldexpf declaration... " >&6; }
68841 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68842 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68843 $as_echo_n "(cached) " >&6
68844 else
68847 ac_ext=cpp
68848 ac_cpp='$CXXCPP $CPPFLAGS'
68849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68854 /* end confdefs.h. */
68855 #include <math.h>
68857 main ()
68859 ldexpf(0, 0);
68861 return 0;
68863 _ACEOF
68864 if ac_fn_cxx_try_compile "$LINENO"; then :
68865 glibcxx_cv_func_ldexpf_use=yes
68866 else
68867 glibcxx_cv_func_ldexpf_use=no
68869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68870 ac_ext=c
68871 ac_cpp='$CPP $CPPFLAGS'
68872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68881 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68883 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68884 for ac_func in ldexpf
68885 do :
68886 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68887 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68888 cat >>confdefs.h <<_ACEOF
68889 #define HAVE_LDEXPF 1
68890 _ACEOF
68893 done
68895 else
68897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68898 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68899 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68900 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68901 $as_echo_n "(cached) " >&6
68902 else
68905 ac_ext=cpp
68906 ac_cpp='$CXXCPP $CPPFLAGS'
68907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68912 /* end confdefs.h. */
68913 #include <math.h>
68915 main ()
68917 _ldexpf(0, 0);
68919 return 0;
68921 _ACEOF
68922 if ac_fn_cxx_try_compile "$LINENO"; then :
68923 glibcxx_cv_func__ldexpf_use=yes
68924 else
68925 glibcxx_cv_func__ldexpf_use=no
68927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68928 ac_ext=c
68929 ac_cpp='$CPP $CPPFLAGS'
68930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68939 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68941 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68942 for ac_func in _ldexpf
68943 do :
68944 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68945 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68946 cat >>confdefs.h <<_ACEOF
68947 #define HAVE__LDEXPF 1
68948 _ACEOF
68951 done
68960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68961 $as_echo_n "checking for logf declaration... " >&6; }
68962 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68963 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68964 $as_echo_n "(cached) " >&6
68965 else
68968 ac_ext=cpp
68969 ac_cpp='$CXXCPP $CPPFLAGS'
68970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68975 /* end confdefs.h. */
68976 #include <math.h>
68977 #ifdef HAVE_IEEEFP_H
68978 #include <ieeefp.h>
68979 #endif
68982 main ()
68984 logf(0);
68986 return 0;
68988 _ACEOF
68989 if ac_fn_cxx_try_compile "$LINENO"; then :
68990 glibcxx_cv_func_logf_use=yes
68991 else
68992 glibcxx_cv_func_logf_use=no
68994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68995 ac_ext=c
68996 ac_cpp='$CPP $CPPFLAGS'
68997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69006 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69008 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69009 for ac_func in logf
69010 do :
69011 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69012 if test "x$ac_cv_func_logf" = x""yes; then :
69013 cat >>confdefs.h <<_ACEOF
69014 #define HAVE_LOGF 1
69015 _ACEOF
69018 done
69020 else
69022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69023 $as_echo_n "checking for _logf declaration... " >&6; }
69024 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69025 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69026 $as_echo_n "(cached) " >&6
69027 else
69030 ac_ext=cpp
69031 ac_cpp='$CXXCPP $CPPFLAGS'
69032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69037 /* end confdefs.h. */
69038 #include <math.h>
69039 #ifdef HAVE_IEEEFP_H
69040 #include <ieeefp.h>
69041 #endif
69044 main ()
69046 _logf(0);
69048 return 0;
69050 _ACEOF
69051 if ac_fn_cxx_try_compile "$LINENO"; then :
69052 glibcxx_cv_func__logf_use=yes
69053 else
69054 glibcxx_cv_func__logf_use=no
69056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69057 ac_ext=c
69058 ac_cpp='$CPP $CPPFLAGS'
69059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69068 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69070 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69071 for ac_func in _logf
69072 do :
69073 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69074 if test "x$ac_cv_func__logf" = x""yes; then :
69075 cat >>confdefs.h <<_ACEOF
69076 #define HAVE__LOGF 1
69077 _ACEOF
69080 done
69089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69090 $as_echo_n "checking for log10f declaration... " >&6; }
69091 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69092 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69093 $as_echo_n "(cached) " >&6
69094 else
69097 ac_ext=cpp
69098 ac_cpp='$CXXCPP $CPPFLAGS'
69099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69104 /* end confdefs.h. */
69105 #include <math.h>
69106 #ifdef HAVE_IEEEFP_H
69107 #include <ieeefp.h>
69108 #endif
69111 main ()
69113 log10f(0);
69115 return 0;
69117 _ACEOF
69118 if ac_fn_cxx_try_compile "$LINENO"; then :
69119 glibcxx_cv_func_log10f_use=yes
69120 else
69121 glibcxx_cv_func_log10f_use=no
69123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69124 ac_ext=c
69125 ac_cpp='$CPP $CPPFLAGS'
69126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69135 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69137 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69138 for ac_func in log10f
69139 do :
69140 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69141 if test "x$ac_cv_func_log10f" = x""yes; then :
69142 cat >>confdefs.h <<_ACEOF
69143 #define HAVE_LOG10F 1
69144 _ACEOF
69147 done
69149 else
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69152 $as_echo_n "checking for _log10f declaration... " >&6; }
69153 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69154 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69155 $as_echo_n "(cached) " >&6
69156 else
69159 ac_ext=cpp
69160 ac_cpp='$CXXCPP $CPPFLAGS'
69161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69166 /* end confdefs.h. */
69167 #include <math.h>
69168 #ifdef HAVE_IEEEFP_H
69169 #include <ieeefp.h>
69170 #endif
69173 main ()
69175 _log10f(0);
69177 return 0;
69179 _ACEOF
69180 if ac_fn_cxx_try_compile "$LINENO"; then :
69181 glibcxx_cv_func__log10f_use=yes
69182 else
69183 glibcxx_cv_func__log10f_use=no
69185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186 ac_ext=c
69187 ac_cpp='$CPP $CPPFLAGS'
69188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69197 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69199 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69200 for ac_func in _log10f
69201 do :
69202 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69203 if test "x$ac_cv_func__log10f" = x""yes; then :
69204 cat >>confdefs.h <<_ACEOF
69205 #define HAVE__LOG10F 1
69206 _ACEOF
69209 done
69218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69219 $as_echo_n "checking for modff declaration... " >&6; }
69220 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69221 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69222 $as_echo_n "(cached) " >&6
69223 else
69226 ac_ext=cpp
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69233 /* end confdefs.h. */
69234 #include <math.h>
69236 main ()
69238 modff(0, 0);
69240 return 0;
69242 _ACEOF
69243 if ac_fn_cxx_try_compile "$LINENO"; then :
69244 glibcxx_cv_func_modff_use=yes
69245 else
69246 glibcxx_cv_func_modff_use=no
69248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69249 ac_ext=c
69250 ac_cpp='$CPP $CPPFLAGS'
69251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69260 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69262 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69263 for ac_func in modff
69264 do :
69265 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69266 if test "x$ac_cv_func_modff" = x""yes; then :
69267 cat >>confdefs.h <<_ACEOF
69268 #define HAVE_MODFF 1
69269 _ACEOF
69272 done
69274 else
69276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69277 $as_echo_n "checking for _modff declaration... " >&6; }
69278 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69279 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69280 $as_echo_n "(cached) " >&6
69281 else
69284 ac_ext=cpp
69285 ac_cpp='$CXXCPP $CPPFLAGS'
69286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69291 /* end confdefs.h. */
69292 #include <math.h>
69294 main ()
69296 _modff(0, 0);
69298 return 0;
69300 _ACEOF
69301 if ac_fn_cxx_try_compile "$LINENO"; then :
69302 glibcxx_cv_func__modff_use=yes
69303 else
69304 glibcxx_cv_func__modff_use=no
69306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69307 ac_ext=c
69308 ac_cpp='$CPP $CPPFLAGS'
69309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69318 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69320 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69321 for ac_func in _modff
69322 do :
69323 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69324 if test "x$ac_cv_func__modff" = x""yes; then :
69325 cat >>confdefs.h <<_ACEOF
69326 #define HAVE__MODFF 1
69327 _ACEOF
69330 done
69339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69340 $as_echo_n "checking for modf declaration... " >&6; }
69341 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69342 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69343 $as_echo_n "(cached) " >&6
69344 else
69347 ac_ext=cpp
69348 ac_cpp='$CXXCPP $CPPFLAGS'
69349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69354 /* end confdefs.h. */
69355 #include <math.h>
69357 main ()
69359 modf(0, 0);
69361 return 0;
69363 _ACEOF
69364 if ac_fn_cxx_try_compile "$LINENO"; then :
69365 glibcxx_cv_func_modf_use=yes
69366 else
69367 glibcxx_cv_func_modf_use=no
69369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69370 ac_ext=c
69371 ac_cpp='$CPP $CPPFLAGS'
69372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69381 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69383 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69384 for ac_func in modf
69385 do :
69386 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69387 if test "x$ac_cv_func_modf" = x""yes; then :
69388 cat >>confdefs.h <<_ACEOF
69389 #define HAVE_MODF 1
69390 _ACEOF
69393 done
69395 else
69397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69398 $as_echo_n "checking for _modf declaration... " >&6; }
69399 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69400 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69401 $as_echo_n "(cached) " >&6
69402 else
69405 ac_ext=cpp
69406 ac_cpp='$CXXCPP $CPPFLAGS'
69407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69412 /* end confdefs.h. */
69413 #include <math.h>
69415 main ()
69417 _modf(0, 0);
69419 return 0;
69421 _ACEOF
69422 if ac_fn_cxx_try_compile "$LINENO"; then :
69423 glibcxx_cv_func__modf_use=yes
69424 else
69425 glibcxx_cv_func__modf_use=no
69427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69428 ac_ext=c
69429 ac_cpp='$CPP $CPPFLAGS'
69430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69439 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69441 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69442 for ac_func in _modf
69443 do :
69444 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69445 if test "x$ac_cv_func__modf" = x""yes; then :
69446 cat >>confdefs.h <<_ACEOF
69447 #define HAVE__MODF 1
69448 _ACEOF
69451 done
69460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69461 $as_echo_n "checking for powf declaration... " >&6; }
69462 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69463 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69464 $as_echo_n "(cached) " >&6
69465 else
69468 ac_ext=cpp
69469 ac_cpp='$CXXCPP $CPPFLAGS'
69470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69475 /* end confdefs.h. */
69476 #include <math.h>
69478 main ()
69480 powf(0, 0);
69482 return 0;
69484 _ACEOF
69485 if ac_fn_cxx_try_compile "$LINENO"; then :
69486 glibcxx_cv_func_powf_use=yes
69487 else
69488 glibcxx_cv_func_powf_use=no
69490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69491 ac_ext=c
69492 ac_cpp='$CPP $CPPFLAGS'
69493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69502 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69504 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69505 for ac_func in powf
69506 do :
69507 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69508 if test "x$ac_cv_func_powf" = x""yes; then :
69509 cat >>confdefs.h <<_ACEOF
69510 #define HAVE_POWF 1
69511 _ACEOF
69514 done
69516 else
69518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69519 $as_echo_n "checking for _powf declaration... " >&6; }
69520 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69521 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69522 $as_echo_n "(cached) " >&6
69523 else
69526 ac_ext=cpp
69527 ac_cpp='$CXXCPP $CPPFLAGS'
69528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69533 /* end confdefs.h. */
69534 #include <math.h>
69536 main ()
69538 _powf(0, 0);
69540 return 0;
69542 _ACEOF
69543 if ac_fn_cxx_try_compile "$LINENO"; then :
69544 glibcxx_cv_func__powf_use=yes
69545 else
69546 glibcxx_cv_func__powf_use=no
69548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69549 ac_ext=c
69550 ac_cpp='$CPP $CPPFLAGS'
69551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69560 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69562 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69563 for ac_func in _powf
69564 do :
69565 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69566 if test "x$ac_cv_func__powf" = x""yes; then :
69567 cat >>confdefs.h <<_ACEOF
69568 #define HAVE__POWF 1
69569 _ACEOF
69572 done
69581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69582 $as_echo_n "checking for sqrtf declaration... " >&6; }
69583 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69584 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69585 $as_echo_n "(cached) " >&6
69586 else
69589 ac_ext=cpp
69590 ac_cpp='$CXXCPP $CPPFLAGS'
69591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69596 /* end confdefs.h. */
69597 #include <math.h>
69598 #ifdef HAVE_IEEEFP_H
69599 #include <ieeefp.h>
69600 #endif
69603 main ()
69605 sqrtf(0);
69607 return 0;
69609 _ACEOF
69610 if ac_fn_cxx_try_compile "$LINENO"; then :
69611 glibcxx_cv_func_sqrtf_use=yes
69612 else
69613 glibcxx_cv_func_sqrtf_use=no
69615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69616 ac_ext=c
69617 ac_cpp='$CPP $CPPFLAGS'
69618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69627 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69629 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69630 for ac_func in sqrtf
69631 do :
69632 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69633 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69634 cat >>confdefs.h <<_ACEOF
69635 #define HAVE_SQRTF 1
69636 _ACEOF
69639 done
69641 else
69643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69644 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69645 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69646 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69647 $as_echo_n "(cached) " >&6
69648 else
69651 ac_ext=cpp
69652 ac_cpp='$CXXCPP $CPPFLAGS'
69653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69658 /* end confdefs.h. */
69659 #include <math.h>
69660 #ifdef HAVE_IEEEFP_H
69661 #include <ieeefp.h>
69662 #endif
69665 main ()
69667 _sqrtf(0);
69669 return 0;
69671 _ACEOF
69672 if ac_fn_cxx_try_compile "$LINENO"; then :
69673 glibcxx_cv_func__sqrtf_use=yes
69674 else
69675 glibcxx_cv_func__sqrtf_use=no
69677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69678 ac_ext=c
69679 ac_cpp='$CPP $CPPFLAGS'
69680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69689 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69691 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69692 for ac_func in _sqrtf
69693 do :
69694 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69695 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69696 cat >>confdefs.h <<_ACEOF
69697 #define HAVE__SQRTF 1
69698 _ACEOF
69701 done
69710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69711 $as_echo_n "checking for sincosf declaration... " >&6; }
69712 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69713 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69714 $as_echo_n "(cached) " >&6
69715 else
69718 ac_ext=cpp
69719 ac_cpp='$CXXCPP $CPPFLAGS'
69720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69725 /* end confdefs.h. */
69726 #include <math.h>
69728 main ()
69730 sincosf(0, 0, 0);
69732 return 0;
69734 _ACEOF
69735 if ac_fn_cxx_try_compile "$LINENO"; then :
69736 glibcxx_cv_func_sincosf_use=yes
69737 else
69738 glibcxx_cv_func_sincosf_use=no
69740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69741 ac_ext=c
69742 ac_cpp='$CPP $CPPFLAGS'
69743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69752 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69754 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69755 for ac_func in sincosf
69756 do :
69757 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69758 if test "x$ac_cv_func_sincosf" = x""yes; then :
69759 cat >>confdefs.h <<_ACEOF
69760 #define HAVE_SINCOSF 1
69761 _ACEOF
69764 done
69766 else
69768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69769 $as_echo_n "checking for _sincosf declaration... " >&6; }
69770 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69771 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69772 $as_echo_n "(cached) " >&6
69773 else
69776 ac_ext=cpp
69777 ac_cpp='$CXXCPP $CPPFLAGS'
69778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69783 /* end confdefs.h. */
69784 #include <math.h>
69786 main ()
69788 _sincosf(0, 0, 0);
69790 return 0;
69792 _ACEOF
69793 if ac_fn_cxx_try_compile "$LINENO"; then :
69794 glibcxx_cv_func__sincosf_use=yes
69795 else
69796 glibcxx_cv_func__sincosf_use=no
69798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69799 ac_ext=c
69800 ac_cpp='$CPP $CPPFLAGS'
69801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69810 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69812 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69813 for ac_func in _sincosf
69814 do :
69815 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69816 if test "x$ac_cv_func__sincosf" = x""yes; then :
69817 cat >>confdefs.h <<_ACEOF
69818 #define HAVE__SINCOSF 1
69819 _ACEOF
69822 done
69831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69832 $as_echo_n "checking for finitef declaration... " >&6; }
69833 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69834 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69835 $as_echo_n "(cached) " >&6
69836 else
69839 ac_ext=cpp
69840 ac_cpp='$CXXCPP $CPPFLAGS'
69841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69846 /* end confdefs.h. */
69847 #include <math.h>
69848 #ifdef HAVE_IEEEFP_H
69849 #include <ieeefp.h>
69850 #endif
69853 main ()
69855 finitef(0);
69857 return 0;
69859 _ACEOF
69860 if ac_fn_cxx_try_compile "$LINENO"; then :
69861 glibcxx_cv_func_finitef_use=yes
69862 else
69863 glibcxx_cv_func_finitef_use=no
69865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69866 ac_ext=c
69867 ac_cpp='$CPP $CPPFLAGS'
69868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69877 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69879 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69880 for ac_func in finitef
69881 do :
69882 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69883 if test "x$ac_cv_func_finitef" = x""yes; then :
69884 cat >>confdefs.h <<_ACEOF
69885 #define HAVE_FINITEF 1
69886 _ACEOF
69889 done
69891 else
69893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69894 $as_echo_n "checking for _finitef declaration... " >&6; }
69895 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69896 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69897 $as_echo_n "(cached) " >&6
69898 else
69901 ac_ext=cpp
69902 ac_cpp='$CXXCPP $CPPFLAGS'
69903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69908 /* end confdefs.h. */
69909 #include <math.h>
69910 #ifdef HAVE_IEEEFP_H
69911 #include <ieeefp.h>
69912 #endif
69915 main ()
69917 _finitef(0);
69919 return 0;
69921 _ACEOF
69922 if ac_fn_cxx_try_compile "$LINENO"; then :
69923 glibcxx_cv_func__finitef_use=yes
69924 else
69925 glibcxx_cv_func__finitef_use=no
69927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69928 ac_ext=c
69929 ac_cpp='$CPP $CPPFLAGS'
69930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69939 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69941 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69942 for ac_func in _finitef
69943 do :
69944 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69945 if test "x$ac_cv_func__finitef" = x""yes; then :
69946 cat >>confdefs.h <<_ACEOF
69947 #define HAVE__FINITEF 1
69948 _ACEOF
69951 done
69960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69961 $as_echo_n "checking for long double trig functions... " >&6; }
69962 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69963 $as_echo_n "(cached) " >&6
69964 else
69967 ac_ext=cpp
69968 ac_cpp='$CXXCPP $CPPFLAGS'
69969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69974 /* end confdefs.h. */
69975 #include <math.h>
69977 main ()
69979 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69981 return 0;
69983 _ACEOF
69984 if ac_fn_cxx_try_compile "$LINENO"; then :
69985 glibcxx_cv_func_long_double_trig_use=yes
69986 else
69987 glibcxx_cv_func_long_double_trig_use=no
69989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69990 ac_ext=c
69991 ac_cpp='$CPP $CPPFLAGS'
69992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69999 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70000 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70001 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70002 do :
70003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70005 eval as_val=\$$as_ac_var
70006 if test "x$as_val" = x""yes; then :
70007 cat >>confdefs.h <<_ACEOF
70008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70009 _ACEOF
70012 done
70014 else
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70016 $as_echo_n "checking for _long double trig functions... " >&6; }
70017 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70018 $as_echo_n "(cached) " >&6
70019 else
70022 ac_ext=cpp
70023 ac_cpp='$CXXCPP $CPPFLAGS'
70024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70029 /* end confdefs.h. */
70030 #include <math.h>
70032 main ()
70034 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70036 return 0;
70038 _ACEOF
70039 if ac_fn_cxx_try_compile "$LINENO"; then :
70040 glibcxx_cv_func__long_double_trig_use=yes
70041 else
70042 glibcxx_cv_func__long_double_trig_use=no
70044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70045 ac_ext=c
70046 ac_cpp='$CPP $CPPFLAGS'
70047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70054 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70055 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70056 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70057 do :
70058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70060 eval as_val=\$$as_ac_var
70061 if test "x$as_val" = x""yes; then :
70062 cat >>confdefs.h <<_ACEOF
70063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70064 _ACEOF
70067 done
70076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70077 $as_echo_n "checking for long double round functions... " >&6; }
70078 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70079 $as_echo_n "(cached) " >&6
70080 else
70083 ac_ext=cpp
70084 ac_cpp='$CXXCPP $CPPFLAGS'
70085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70090 /* end confdefs.h. */
70091 #include <math.h>
70093 main ()
70095 ceill (0); floorl (0);
70097 return 0;
70099 _ACEOF
70100 if ac_fn_cxx_try_compile "$LINENO"; then :
70101 glibcxx_cv_func_long_double_round_use=yes
70102 else
70103 glibcxx_cv_func_long_double_round_use=no
70105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70106 ac_ext=c
70107 ac_cpp='$CPP $CPPFLAGS'
70108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70115 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70116 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70117 for ac_func in ceill floorl
70118 do :
70119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70121 eval as_val=\$$as_ac_var
70122 if test "x$as_val" = x""yes; then :
70123 cat >>confdefs.h <<_ACEOF
70124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70125 _ACEOF
70128 done
70130 else
70131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70132 $as_echo_n "checking for _long double round functions... " >&6; }
70133 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70134 $as_echo_n "(cached) " >&6
70135 else
70138 ac_ext=cpp
70139 ac_cpp='$CXXCPP $CPPFLAGS'
70140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70145 /* end confdefs.h. */
70146 #include <math.h>
70148 main ()
70150 _ceill (0); _floorl (0);
70152 return 0;
70154 _ACEOF
70155 if ac_fn_cxx_try_compile "$LINENO"; then :
70156 glibcxx_cv_func__long_double_round_use=yes
70157 else
70158 glibcxx_cv_func__long_double_round_use=no
70160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70161 ac_ext=c
70162 ac_cpp='$CPP $CPPFLAGS'
70163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70170 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70171 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70172 for ac_func in _ceill _floorl
70173 do :
70174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70176 eval as_val=\$$as_ac_var
70177 if test "x$as_val" = x""yes; then :
70178 cat >>confdefs.h <<_ACEOF
70179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70180 _ACEOF
70183 done
70193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70194 $as_echo_n "checking for isnanl declaration... " >&6; }
70195 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70196 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70197 $as_echo_n "(cached) " >&6
70198 else
70201 ac_ext=cpp
70202 ac_cpp='$CXXCPP $CPPFLAGS'
70203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70208 /* end confdefs.h. */
70209 #include <math.h>
70210 #ifdef HAVE_IEEEFP_H
70211 #include <ieeefp.h>
70212 #endif
70215 main ()
70217 isnanl(0);
70219 return 0;
70221 _ACEOF
70222 if ac_fn_cxx_try_compile "$LINENO"; then :
70223 glibcxx_cv_func_isnanl_use=yes
70224 else
70225 glibcxx_cv_func_isnanl_use=no
70227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70228 ac_ext=c
70229 ac_cpp='$CPP $CPPFLAGS'
70230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70239 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70241 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70242 for ac_func in isnanl
70243 do :
70244 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70245 if test "x$ac_cv_func_isnanl" = x""yes; then :
70246 cat >>confdefs.h <<_ACEOF
70247 #define HAVE_ISNANL 1
70248 _ACEOF
70251 done
70253 else
70255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70256 $as_echo_n "checking for _isnanl declaration... " >&6; }
70257 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70258 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70259 $as_echo_n "(cached) " >&6
70260 else
70263 ac_ext=cpp
70264 ac_cpp='$CXXCPP $CPPFLAGS'
70265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70270 /* end confdefs.h. */
70271 #include <math.h>
70272 #ifdef HAVE_IEEEFP_H
70273 #include <ieeefp.h>
70274 #endif
70277 main ()
70279 _isnanl(0);
70281 return 0;
70283 _ACEOF
70284 if ac_fn_cxx_try_compile "$LINENO"; then :
70285 glibcxx_cv_func__isnanl_use=yes
70286 else
70287 glibcxx_cv_func__isnanl_use=no
70289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70290 ac_ext=c
70291 ac_cpp='$CPP $CPPFLAGS'
70292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70301 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70303 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70304 for ac_func in _isnanl
70305 do :
70306 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70307 if test "x$ac_cv_func__isnanl" = x""yes; then :
70308 cat >>confdefs.h <<_ACEOF
70309 #define HAVE__ISNANL 1
70310 _ACEOF
70313 done
70322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70323 $as_echo_n "checking for isinfl declaration... " >&6; }
70324 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70325 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70326 $as_echo_n "(cached) " >&6
70327 else
70330 ac_ext=cpp
70331 ac_cpp='$CXXCPP $CPPFLAGS'
70332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70337 /* end confdefs.h. */
70338 #include <math.h>
70339 #ifdef HAVE_IEEEFP_H
70340 #include <ieeefp.h>
70341 #endif
70344 main ()
70346 isinfl(0);
70348 return 0;
70350 _ACEOF
70351 if ac_fn_cxx_try_compile "$LINENO"; then :
70352 glibcxx_cv_func_isinfl_use=yes
70353 else
70354 glibcxx_cv_func_isinfl_use=no
70356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70357 ac_ext=c
70358 ac_cpp='$CPP $CPPFLAGS'
70359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70368 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70370 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70371 for ac_func in isinfl
70372 do :
70373 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70374 if test "x$ac_cv_func_isinfl" = x""yes; then :
70375 cat >>confdefs.h <<_ACEOF
70376 #define HAVE_ISINFL 1
70377 _ACEOF
70380 done
70382 else
70384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70385 $as_echo_n "checking for _isinfl declaration... " >&6; }
70386 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70387 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70388 $as_echo_n "(cached) " >&6
70389 else
70392 ac_ext=cpp
70393 ac_cpp='$CXXCPP $CPPFLAGS'
70394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70399 /* end confdefs.h. */
70400 #include <math.h>
70401 #ifdef HAVE_IEEEFP_H
70402 #include <ieeefp.h>
70403 #endif
70406 main ()
70408 _isinfl(0);
70410 return 0;
70412 _ACEOF
70413 if ac_fn_cxx_try_compile "$LINENO"; then :
70414 glibcxx_cv_func__isinfl_use=yes
70415 else
70416 glibcxx_cv_func__isinfl_use=no
70418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70419 ac_ext=c
70420 ac_cpp='$CPP $CPPFLAGS'
70421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70430 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70432 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70433 for ac_func in _isinfl
70434 do :
70435 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70436 if test "x$ac_cv_func__isinfl" = x""yes; then :
70437 cat >>confdefs.h <<_ACEOF
70438 #define HAVE__ISINFL 1
70439 _ACEOF
70442 done
70451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70452 $as_echo_n "checking for atan2l declaration... " >&6; }
70453 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70454 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70455 $as_echo_n "(cached) " >&6
70456 else
70459 ac_ext=cpp
70460 ac_cpp='$CXXCPP $CPPFLAGS'
70461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70466 /* end confdefs.h. */
70467 #include <math.h>
70469 main ()
70471 atan2l(0, 0);
70473 return 0;
70475 _ACEOF
70476 if ac_fn_cxx_try_compile "$LINENO"; then :
70477 glibcxx_cv_func_atan2l_use=yes
70478 else
70479 glibcxx_cv_func_atan2l_use=no
70481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70482 ac_ext=c
70483 ac_cpp='$CPP $CPPFLAGS'
70484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70493 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70495 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70496 for ac_func in atan2l
70497 do :
70498 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70499 if test "x$ac_cv_func_atan2l" = x""yes; then :
70500 cat >>confdefs.h <<_ACEOF
70501 #define HAVE_ATAN2L 1
70502 _ACEOF
70505 done
70507 else
70509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70510 $as_echo_n "checking for _atan2l declaration... " >&6; }
70511 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70512 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70513 $as_echo_n "(cached) " >&6
70514 else
70517 ac_ext=cpp
70518 ac_cpp='$CXXCPP $CPPFLAGS'
70519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70524 /* end confdefs.h. */
70525 #include <math.h>
70527 main ()
70529 _atan2l(0, 0);
70531 return 0;
70533 _ACEOF
70534 if ac_fn_cxx_try_compile "$LINENO"; then :
70535 glibcxx_cv_func__atan2l_use=yes
70536 else
70537 glibcxx_cv_func__atan2l_use=no
70539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70540 ac_ext=c
70541 ac_cpp='$CPP $CPPFLAGS'
70542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70551 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70553 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70554 for ac_func in _atan2l
70555 do :
70556 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70557 if test "x$ac_cv_func__atan2l" = x""yes; then :
70558 cat >>confdefs.h <<_ACEOF
70559 #define HAVE__ATAN2L 1
70560 _ACEOF
70563 done
70572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70573 $as_echo_n "checking for expl declaration... " >&6; }
70574 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70575 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70576 $as_echo_n "(cached) " >&6
70577 else
70580 ac_ext=cpp
70581 ac_cpp='$CXXCPP $CPPFLAGS'
70582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70587 /* end confdefs.h. */
70588 #include <math.h>
70589 #ifdef HAVE_IEEEFP_H
70590 #include <ieeefp.h>
70591 #endif
70594 main ()
70596 expl(0);
70598 return 0;
70600 _ACEOF
70601 if ac_fn_cxx_try_compile "$LINENO"; then :
70602 glibcxx_cv_func_expl_use=yes
70603 else
70604 glibcxx_cv_func_expl_use=no
70606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70607 ac_ext=c
70608 ac_cpp='$CPP $CPPFLAGS'
70609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70618 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70620 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70621 for ac_func in expl
70622 do :
70623 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70624 if test "x$ac_cv_func_expl" = x""yes; then :
70625 cat >>confdefs.h <<_ACEOF
70626 #define HAVE_EXPL 1
70627 _ACEOF
70630 done
70632 else
70634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70635 $as_echo_n "checking for _expl declaration... " >&6; }
70636 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70637 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70638 $as_echo_n "(cached) " >&6
70639 else
70642 ac_ext=cpp
70643 ac_cpp='$CXXCPP $CPPFLAGS'
70644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70649 /* end confdefs.h. */
70650 #include <math.h>
70651 #ifdef HAVE_IEEEFP_H
70652 #include <ieeefp.h>
70653 #endif
70656 main ()
70658 _expl(0);
70660 return 0;
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_func__expl_use=yes
70665 else
70666 glibcxx_cv_func__expl_use=no
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 ac_ext=c
70670 ac_cpp='$CPP $CPPFLAGS'
70671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70680 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70682 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70683 for ac_func in _expl
70684 do :
70685 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70686 if test "x$ac_cv_func__expl" = x""yes; then :
70687 cat >>confdefs.h <<_ACEOF
70688 #define HAVE__EXPL 1
70689 _ACEOF
70692 done
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70702 $as_echo_n "checking for fabsl declaration... " >&6; }
70703 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70704 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70705 $as_echo_n "(cached) " >&6
70706 else
70709 ac_ext=cpp
70710 ac_cpp='$CXXCPP $CPPFLAGS'
70711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717 #include <math.h>
70718 #ifdef HAVE_IEEEFP_H
70719 #include <ieeefp.h>
70720 #endif
70723 main ()
70725 fabsl(0);
70727 return 0;
70729 _ACEOF
70730 if ac_fn_cxx_try_compile "$LINENO"; then :
70731 glibcxx_cv_func_fabsl_use=yes
70732 else
70733 glibcxx_cv_func_fabsl_use=no
70735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70736 ac_ext=c
70737 ac_cpp='$CPP $CPPFLAGS'
70738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70747 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70749 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70750 for ac_func in fabsl
70751 do :
70752 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70753 if test "x$ac_cv_func_fabsl" = x""yes; then :
70754 cat >>confdefs.h <<_ACEOF
70755 #define HAVE_FABSL 1
70756 _ACEOF
70759 done
70761 else
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70764 $as_echo_n "checking for _fabsl declaration... " >&6; }
70765 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70766 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70767 $as_echo_n "(cached) " >&6
70768 else
70771 ac_ext=cpp
70772 ac_cpp='$CXXCPP $CPPFLAGS'
70773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70778 /* end confdefs.h. */
70779 #include <math.h>
70780 #ifdef HAVE_IEEEFP_H
70781 #include <ieeefp.h>
70782 #endif
70785 main ()
70787 _fabsl(0);
70789 return 0;
70791 _ACEOF
70792 if ac_fn_cxx_try_compile "$LINENO"; then :
70793 glibcxx_cv_func__fabsl_use=yes
70794 else
70795 glibcxx_cv_func__fabsl_use=no
70797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70798 ac_ext=c
70799 ac_cpp='$CPP $CPPFLAGS'
70800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70809 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70811 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70812 for ac_func in _fabsl
70813 do :
70814 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70815 if test "x$ac_cv_func__fabsl" = x""yes; then :
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE__FABSL 1
70818 _ACEOF
70821 done
70830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70831 $as_echo_n "checking for fmodl declaration... " >&6; }
70832 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70833 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70834 $as_echo_n "(cached) " >&6
70835 else
70838 ac_ext=cpp
70839 ac_cpp='$CXXCPP $CPPFLAGS'
70840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70845 /* end confdefs.h. */
70846 #include <math.h>
70848 main ()
70850 fmodl(0, 0);
70852 return 0;
70854 _ACEOF
70855 if ac_fn_cxx_try_compile "$LINENO"; then :
70856 glibcxx_cv_func_fmodl_use=yes
70857 else
70858 glibcxx_cv_func_fmodl_use=no
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 ac_ext=c
70862 ac_cpp='$CPP $CPPFLAGS'
70863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70872 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70874 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70875 for ac_func in fmodl
70876 do :
70877 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70878 if test "x$ac_cv_func_fmodl" = x""yes; then :
70879 cat >>confdefs.h <<_ACEOF
70880 #define HAVE_FMODL 1
70881 _ACEOF
70884 done
70886 else
70888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70889 $as_echo_n "checking for _fmodl declaration... " >&6; }
70890 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70891 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70892 $as_echo_n "(cached) " >&6
70893 else
70896 ac_ext=cpp
70897 ac_cpp='$CXXCPP $CPPFLAGS'
70898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70903 /* end confdefs.h. */
70904 #include <math.h>
70906 main ()
70908 _fmodl(0, 0);
70910 return 0;
70912 _ACEOF
70913 if ac_fn_cxx_try_compile "$LINENO"; then :
70914 glibcxx_cv_func__fmodl_use=yes
70915 else
70916 glibcxx_cv_func__fmodl_use=no
70918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70919 ac_ext=c
70920 ac_cpp='$CPP $CPPFLAGS'
70921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70930 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70932 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70933 for ac_func in _fmodl
70934 do :
70935 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70936 if test "x$ac_cv_func__fmodl" = x""yes; then :
70937 cat >>confdefs.h <<_ACEOF
70938 #define HAVE__FMODL 1
70939 _ACEOF
70942 done
70951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70952 $as_echo_n "checking for frexpl declaration... " >&6; }
70953 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70954 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70959 ac_ext=cpp
70960 ac_cpp='$CXXCPP $CPPFLAGS'
70961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70966 /* end confdefs.h. */
70967 #include <math.h>
70969 main ()
70971 frexpl(0, 0);
70973 return 0;
70975 _ACEOF
70976 if ac_fn_cxx_try_compile "$LINENO"; then :
70977 glibcxx_cv_func_frexpl_use=yes
70978 else
70979 glibcxx_cv_func_frexpl_use=no
70981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70982 ac_ext=c
70983 ac_cpp='$CPP $CPPFLAGS'
70984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70993 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70995 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70996 for ac_func in frexpl
70997 do :
70998 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70999 if test "x$ac_cv_func_frexpl" = x""yes; then :
71000 cat >>confdefs.h <<_ACEOF
71001 #define HAVE_FREXPL 1
71002 _ACEOF
71005 done
71007 else
71009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71010 $as_echo_n "checking for _frexpl declaration... " >&6; }
71011 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71012 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71013 $as_echo_n "(cached) " >&6
71014 else
71017 ac_ext=cpp
71018 ac_cpp='$CXXCPP $CPPFLAGS'
71019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71024 /* end confdefs.h. */
71025 #include <math.h>
71027 main ()
71029 _frexpl(0, 0);
71031 return 0;
71033 _ACEOF
71034 if ac_fn_cxx_try_compile "$LINENO"; then :
71035 glibcxx_cv_func__frexpl_use=yes
71036 else
71037 glibcxx_cv_func__frexpl_use=no
71039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71040 ac_ext=c
71041 ac_cpp='$CPP $CPPFLAGS'
71042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71051 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71053 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71054 for ac_func in _frexpl
71055 do :
71056 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71057 if test "x$ac_cv_func__frexpl" = x""yes; then :
71058 cat >>confdefs.h <<_ACEOF
71059 #define HAVE__FREXPL 1
71060 _ACEOF
71063 done
71072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71073 $as_echo_n "checking for hypotl declaration... " >&6; }
71074 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71075 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71076 $as_echo_n "(cached) " >&6
71077 else
71080 ac_ext=cpp
71081 ac_cpp='$CXXCPP $CPPFLAGS'
71082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71087 /* end confdefs.h. */
71088 #include <math.h>
71090 main ()
71092 hypotl(0, 0);
71094 return 0;
71096 _ACEOF
71097 if ac_fn_cxx_try_compile "$LINENO"; then :
71098 glibcxx_cv_func_hypotl_use=yes
71099 else
71100 glibcxx_cv_func_hypotl_use=no
71102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71103 ac_ext=c
71104 ac_cpp='$CPP $CPPFLAGS'
71105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71114 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71116 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71117 for ac_func in hypotl
71118 do :
71119 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71120 if test "x$ac_cv_func_hypotl" = x""yes; then :
71121 cat >>confdefs.h <<_ACEOF
71122 #define HAVE_HYPOTL 1
71123 _ACEOF
71126 done
71128 else
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71131 $as_echo_n "checking for _hypotl declaration... " >&6; }
71132 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71133 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71134 $as_echo_n "(cached) " >&6
71135 else
71138 ac_ext=cpp
71139 ac_cpp='$CXXCPP $CPPFLAGS'
71140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71145 /* end confdefs.h. */
71146 #include <math.h>
71148 main ()
71150 _hypotl(0, 0);
71152 return 0;
71154 _ACEOF
71155 if ac_fn_cxx_try_compile "$LINENO"; then :
71156 glibcxx_cv_func__hypotl_use=yes
71157 else
71158 glibcxx_cv_func__hypotl_use=no
71160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71161 ac_ext=c
71162 ac_cpp='$CPP $CPPFLAGS'
71163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71172 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71174 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71175 for ac_func in _hypotl
71176 do :
71177 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71178 if test "x$ac_cv_func__hypotl" = x""yes; then :
71179 cat >>confdefs.h <<_ACEOF
71180 #define HAVE__HYPOTL 1
71181 _ACEOF
71184 done
71193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71194 $as_echo_n "checking for ldexpl declaration... " >&6; }
71195 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71196 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71197 $as_echo_n "(cached) " >&6
71198 else
71201 ac_ext=cpp
71202 ac_cpp='$CXXCPP $CPPFLAGS'
71203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71208 /* end confdefs.h. */
71209 #include <math.h>
71211 main ()
71213 ldexpl(0, 0);
71215 return 0;
71217 _ACEOF
71218 if ac_fn_cxx_try_compile "$LINENO"; then :
71219 glibcxx_cv_func_ldexpl_use=yes
71220 else
71221 glibcxx_cv_func_ldexpl_use=no
71223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71224 ac_ext=c
71225 ac_cpp='$CPP $CPPFLAGS'
71226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71235 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71237 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71238 for ac_func in ldexpl
71239 do :
71240 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71241 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71242 cat >>confdefs.h <<_ACEOF
71243 #define HAVE_LDEXPL 1
71244 _ACEOF
71247 done
71249 else
71251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71252 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71253 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71254 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71255 $as_echo_n "(cached) " >&6
71256 else
71259 ac_ext=cpp
71260 ac_cpp='$CXXCPP $CPPFLAGS'
71261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71266 /* end confdefs.h. */
71267 #include <math.h>
71269 main ()
71271 _ldexpl(0, 0);
71273 return 0;
71275 _ACEOF
71276 if ac_fn_cxx_try_compile "$LINENO"; then :
71277 glibcxx_cv_func__ldexpl_use=yes
71278 else
71279 glibcxx_cv_func__ldexpl_use=no
71281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71282 ac_ext=c
71283 ac_cpp='$CPP $CPPFLAGS'
71284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71293 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71295 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71296 for ac_func in _ldexpl
71297 do :
71298 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71299 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71300 cat >>confdefs.h <<_ACEOF
71301 #define HAVE__LDEXPL 1
71302 _ACEOF
71305 done
71314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71315 $as_echo_n "checking for logl declaration... " >&6; }
71316 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71317 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71318 $as_echo_n "(cached) " >&6
71319 else
71322 ac_ext=cpp
71323 ac_cpp='$CXXCPP $CPPFLAGS'
71324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71329 /* end confdefs.h. */
71330 #include <math.h>
71331 #ifdef HAVE_IEEEFP_H
71332 #include <ieeefp.h>
71333 #endif
71336 main ()
71338 logl(0);
71340 return 0;
71342 _ACEOF
71343 if ac_fn_cxx_try_compile "$LINENO"; then :
71344 glibcxx_cv_func_logl_use=yes
71345 else
71346 glibcxx_cv_func_logl_use=no
71348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71349 ac_ext=c
71350 ac_cpp='$CPP $CPPFLAGS'
71351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71360 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71362 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71363 for ac_func in logl
71364 do :
71365 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71366 if test "x$ac_cv_func_logl" = x""yes; then :
71367 cat >>confdefs.h <<_ACEOF
71368 #define HAVE_LOGL 1
71369 _ACEOF
71372 done
71374 else
71376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71377 $as_echo_n "checking for _logl declaration... " >&6; }
71378 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71379 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71380 $as_echo_n "(cached) " >&6
71381 else
71384 ac_ext=cpp
71385 ac_cpp='$CXXCPP $CPPFLAGS'
71386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71391 /* end confdefs.h. */
71392 #include <math.h>
71393 #ifdef HAVE_IEEEFP_H
71394 #include <ieeefp.h>
71395 #endif
71398 main ()
71400 _logl(0);
71402 return 0;
71404 _ACEOF
71405 if ac_fn_cxx_try_compile "$LINENO"; then :
71406 glibcxx_cv_func__logl_use=yes
71407 else
71408 glibcxx_cv_func__logl_use=no
71410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71411 ac_ext=c
71412 ac_cpp='$CPP $CPPFLAGS'
71413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71422 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71424 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71425 for ac_func in _logl
71426 do :
71427 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71428 if test "x$ac_cv_func__logl" = x""yes; then :
71429 cat >>confdefs.h <<_ACEOF
71430 #define HAVE__LOGL 1
71431 _ACEOF
71434 done
71443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71444 $as_echo_n "checking for log10l declaration... " >&6; }
71445 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71446 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71447 $as_echo_n "(cached) " >&6
71448 else
71451 ac_ext=cpp
71452 ac_cpp='$CXXCPP $CPPFLAGS'
71453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71458 /* end confdefs.h. */
71459 #include <math.h>
71460 #ifdef HAVE_IEEEFP_H
71461 #include <ieeefp.h>
71462 #endif
71465 main ()
71467 log10l(0);
71469 return 0;
71471 _ACEOF
71472 if ac_fn_cxx_try_compile "$LINENO"; then :
71473 glibcxx_cv_func_log10l_use=yes
71474 else
71475 glibcxx_cv_func_log10l_use=no
71477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71478 ac_ext=c
71479 ac_cpp='$CPP $CPPFLAGS'
71480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71489 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71491 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71492 for ac_func in log10l
71493 do :
71494 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71495 if test "x$ac_cv_func_log10l" = x""yes; then :
71496 cat >>confdefs.h <<_ACEOF
71497 #define HAVE_LOG10L 1
71498 _ACEOF
71501 done
71503 else
71505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71506 $as_echo_n "checking for _log10l declaration... " >&6; }
71507 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71508 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71509 $as_echo_n "(cached) " >&6
71510 else
71513 ac_ext=cpp
71514 ac_cpp='$CXXCPP $CPPFLAGS'
71515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71520 /* end confdefs.h. */
71521 #include <math.h>
71522 #ifdef HAVE_IEEEFP_H
71523 #include <ieeefp.h>
71524 #endif
71527 main ()
71529 _log10l(0);
71531 return 0;
71533 _ACEOF
71534 if ac_fn_cxx_try_compile "$LINENO"; then :
71535 glibcxx_cv_func__log10l_use=yes
71536 else
71537 glibcxx_cv_func__log10l_use=no
71539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71540 ac_ext=c
71541 ac_cpp='$CPP $CPPFLAGS'
71542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71551 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71553 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71554 for ac_func in _log10l
71555 do :
71556 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71557 if test "x$ac_cv_func__log10l" = x""yes; then :
71558 cat >>confdefs.h <<_ACEOF
71559 #define HAVE__LOG10L 1
71560 _ACEOF
71563 done
71572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71573 $as_echo_n "checking for modfl declaration... " >&6; }
71574 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71575 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71576 $as_echo_n "(cached) " >&6
71577 else
71580 ac_ext=cpp
71581 ac_cpp='$CXXCPP $CPPFLAGS'
71582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71587 /* end confdefs.h. */
71588 #include <math.h>
71590 main ()
71592 modfl(0, 0);
71594 return 0;
71596 _ACEOF
71597 if ac_fn_cxx_try_compile "$LINENO"; then :
71598 glibcxx_cv_func_modfl_use=yes
71599 else
71600 glibcxx_cv_func_modfl_use=no
71602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71603 ac_ext=c
71604 ac_cpp='$CPP $CPPFLAGS'
71605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71614 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71616 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71617 for ac_func in modfl
71618 do :
71619 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71620 if test "x$ac_cv_func_modfl" = x""yes; then :
71621 cat >>confdefs.h <<_ACEOF
71622 #define HAVE_MODFL 1
71623 _ACEOF
71626 done
71628 else
71630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71631 $as_echo_n "checking for _modfl declaration... " >&6; }
71632 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71633 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71634 $as_echo_n "(cached) " >&6
71635 else
71638 ac_ext=cpp
71639 ac_cpp='$CXXCPP $CPPFLAGS'
71640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71645 /* end confdefs.h. */
71646 #include <math.h>
71648 main ()
71650 _modfl(0, 0);
71652 return 0;
71654 _ACEOF
71655 if ac_fn_cxx_try_compile "$LINENO"; then :
71656 glibcxx_cv_func__modfl_use=yes
71657 else
71658 glibcxx_cv_func__modfl_use=no
71660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71661 ac_ext=c
71662 ac_cpp='$CPP $CPPFLAGS'
71663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71672 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71674 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71675 for ac_func in _modfl
71676 do :
71677 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71678 if test "x$ac_cv_func__modfl" = x""yes; then :
71679 cat >>confdefs.h <<_ACEOF
71680 #define HAVE__MODFL 1
71681 _ACEOF
71684 done
71693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71694 $as_echo_n "checking for powl declaration... " >&6; }
71695 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71696 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71697 $as_echo_n "(cached) " >&6
71698 else
71701 ac_ext=cpp
71702 ac_cpp='$CXXCPP $CPPFLAGS'
71703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71708 /* end confdefs.h. */
71709 #include <math.h>
71711 main ()
71713 powl(0, 0);
71715 return 0;
71717 _ACEOF
71718 if ac_fn_cxx_try_compile "$LINENO"; then :
71719 glibcxx_cv_func_powl_use=yes
71720 else
71721 glibcxx_cv_func_powl_use=no
71723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71724 ac_ext=c
71725 ac_cpp='$CPP $CPPFLAGS'
71726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71735 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71737 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71738 for ac_func in powl
71739 do :
71740 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71741 if test "x$ac_cv_func_powl" = x""yes; then :
71742 cat >>confdefs.h <<_ACEOF
71743 #define HAVE_POWL 1
71744 _ACEOF
71747 done
71749 else
71751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71752 $as_echo_n "checking for _powl declaration... " >&6; }
71753 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71754 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71755 $as_echo_n "(cached) " >&6
71756 else
71759 ac_ext=cpp
71760 ac_cpp='$CXXCPP $CPPFLAGS'
71761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71766 /* end confdefs.h. */
71767 #include <math.h>
71769 main ()
71771 _powl(0, 0);
71773 return 0;
71775 _ACEOF
71776 if ac_fn_cxx_try_compile "$LINENO"; then :
71777 glibcxx_cv_func__powl_use=yes
71778 else
71779 glibcxx_cv_func__powl_use=no
71781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71782 ac_ext=c
71783 ac_cpp='$CPP $CPPFLAGS'
71784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71793 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71795 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71796 for ac_func in _powl
71797 do :
71798 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71799 if test "x$ac_cv_func__powl" = x""yes; then :
71800 cat >>confdefs.h <<_ACEOF
71801 #define HAVE__POWL 1
71802 _ACEOF
71805 done
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71815 $as_echo_n "checking for sqrtl declaration... " >&6; }
71816 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71817 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71818 $as_echo_n "(cached) " >&6
71819 else
71822 ac_ext=cpp
71823 ac_cpp='$CXXCPP $CPPFLAGS'
71824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71829 /* end confdefs.h. */
71830 #include <math.h>
71831 #ifdef HAVE_IEEEFP_H
71832 #include <ieeefp.h>
71833 #endif
71836 main ()
71838 sqrtl(0);
71840 return 0;
71842 _ACEOF
71843 if ac_fn_cxx_try_compile "$LINENO"; then :
71844 glibcxx_cv_func_sqrtl_use=yes
71845 else
71846 glibcxx_cv_func_sqrtl_use=no
71848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71849 ac_ext=c
71850 ac_cpp='$CPP $CPPFLAGS'
71851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71860 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71862 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71863 for ac_func in sqrtl
71864 do :
71865 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71866 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71867 cat >>confdefs.h <<_ACEOF
71868 #define HAVE_SQRTL 1
71869 _ACEOF
71872 done
71874 else
71876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71877 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71878 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71879 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71880 $as_echo_n "(cached) " >&6
71881 else
71884 ac_ext=cpp
71885 ac_cpp='$CXXCPP $CPPFLAGS'
71886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71891 /* end confdefs.h. */
71892 #include <math.h>
71893 #ifdef HAVE_IEEEFP_H
71894 #include <ieeefp.h>
71895 #endif
71898 main ()
71900 _sqrtl(0);
71902 return 0;
71904 _ACEOF
71905 if ac_fn_cxx_try_compile "$LINENO"; then :
71906 glibcxx_cv_func__sqrtl_use=yes
71907 else
71908 glibcxx_cv_func__sqrtl_use=no
71910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71911 ac_ext=c
71912 ac_cpp='$CPP $CPPFLAGS'
71913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71922 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71924 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71925 for ac_func in _sqrtl
71926 do :
71927 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71928 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71929 cat >>confdefs.h <<_ACEOF
71930 #define HAVE__SQRTL 1
71931 _ACEOF
71934 done
71943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71944 $as_echo_n "checking for sincosl declaration... " >&6; }
71945 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71946 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71947 $as_echo_n "(cached) " >&6
71948 else
71951 ac_ext=cpp
71952 ac_cpp='$CXXCPP $CPPFLAGS'
71953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71958 /* end confdefs.h. */
71959 #include <math.h>
71961 main ()
71963 sincosl(0, 0, 0);
71965 return 0;
71967 _ACEOF
71968 if ac_fn_cxx_try_compile "$LINENO"; then :
71969 glibcxx_cv_func_sincosl_use=yes
71970 else
71971 glibcxx_cv_func_sincosl_use=no
71973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71974 ac_ext=c
71975 ac_cpp='$CPP $CPPFLAGS'
71976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71985 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71987 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71988 for ac_func in sincosl
71989 do :
71990 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71991 if test "x$ac_cv_func_sincosl" = x""yes; then :
71992 cat >>confdefs.h <<_ACEOF
71993 #define HAVE_SINCOSL 1
71994 _ACEOF
71997 done
71999 else
72001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72002 $as_echo_n "checking for _sincosl declaration... " >&6; }
72003 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72004 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72005 $as_echo_n "(cached) " >&6
72006 else
72009 ac_ext=cpp
72010 ac_cpp='$CXXCPP $CPPFLAGS'
72011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72016 /* end confdefs.h. */
72017 #include <math.h>
72019 main ()
72021 _sincosl(0, 0, 0);
72023 return 0;
72025 _ACEOF
72026 if ac_fn_cxx_try_compile "$LINENO"; then :
72027 glibcxx_cv_func__sincosl_use=yes
72028 else
72029 glibcxx_cv_func__sincosl_use=no
72031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72032 ac_ext=c
72033 ac_cpp='$CPP $CPPFLAGS'
72034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72043 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72045 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72046 for ac_func in _sincosl
72047 do :
72048 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72049 if test "x$ac_cv_func__sincosl" = x""yes; then :
72050 cat >>confdefs.h <<_ACEOF
72051 #define HAVE__SINCOSL 1
72052 _ACEOF
72055 done
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72065 $as_echo_n "checking for finitel declaration... " >&6; }
72066 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72067 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72068 $as_echo_n "(cached) " >&6
72069 else
72072 ac_ext=cpp
72073 ac_cpp='$CXXCPP $CPPFLAGS'
72074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72079 /* end confdefs.h. */
72080 #include <math.h>
72081 #ifdef HAVE_IEEEFP_H
72082 #include <ieeefp.h>
72083 #endif
72086 main ()
72088 finitel(0);
72090 return 0;
72092 _ACEOF
72093 if ac_fn_cxx_try_compile "$LINENO"; then :
72094 glibcxx_cv_func_finitel_use=yes
72095 else
72096 glibcxx_cv_func_finitel_use=no
72098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72099 ac_ext=c
72100 ac_cpp='$CPP $CPPFLAGS'
72101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72110 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72112 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72113 for ac_func in finitel
72114 do :
72115 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72116 if test "x$ac_cv_func_finitel" = x""yes; then :
72117 cat >>confdefs.h <<_ACEOF
72118 #define HAVE_FINITEL 1
72119 _ACEOF
72122 done
72124 else
72126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72127 $as_echo_n "checking for _finitel declaration... " >&6; }
72128 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72129 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72130 $as_echo_n "(cached) " >&6
72131 else
72134 ac_ext=cpp
72135 ac_cpp='$CXXCPP $CPPFLAGS'
72136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72141 /* end confdefs.h. */
72142 #include <math.h>
72143 #ifdef HAVE_IEEEFP_H
72144 #include <ieeefp.h>
72145 #endif
72148 main ()
72150 _finitel(0);
72152 return 0;
72154 _ACEOF
72155 if ac_fn_cxx_try_compile "$LINENO"; then :
72156 glibcxx_cv_func__finitel_use=yes
72157 else
72158 glibcxx_cv_func__finitel_use=no
72160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72161 ac_ext=c
72162 ac_cpp='$CPP $CPPFLAGS'
72163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72172 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72174 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72175 for ac_func in _finitel
72176 do :
72177 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72178 if test "x$ac_cv_func__finitel" = x""yes; then :
72179 cat >>confdefs.h <<_ACEOF
72180 #define HAVE__FINITEL 1
72181 _ACEOF
72184 done
72192 LIBS="$ac_save_LIBS"
72193 CXXFLAGS="$ac_save_CXXFLAGS"
72196 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72197 ac_save_CXXFLAGS="$CXXFLAGS"
72198 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72202 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72203 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72204 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72205 $as_echo_n "(cached) " >&6
72206 else
72209 ac_ext=cpp
72210 ac_cpp='$CXXCPP $CPPFLAGS'
72211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72216 /* end confdefs.h. */
72217 #include <stdlib.h>
72219 main ()
72221 at_quick_exit(0);
72223 return 0;
72225 _ACEOF
72226 if ac_fn_cxx_try_compile "$LINENO"; then :
72227 glibcxx_cv_func_at_quick_exit_use=yes
72228 else
72229 glibcxx_cv_func_at_quick_exit_use=no
72231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72232 ac_ext=c
72233 ac_cpp='$CPP $CPPFLAGS'
72234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72243 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72244 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72245 for ac_func in at_quick_exit
72246 do :
72247 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72248 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72249 cat >>confdefs.h <<_ACEOF
72250 #define HAVE_AT_QUICK_EXIT 1
72251 _ACEOF
72254 done
72259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72260 $as_echo_n "checking for quick_exit declaration... " >&6; }
72261 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72262 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72263 $as_echo_n "(cached) " >&6
72264 else
72267 ac_ext=cpp
72268 ac_cpp='$CXXCPP $CPPFLAGS'
72269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72274 /* end confdefs.h. */
72275 #include <stdlib.h>
72277 main ()
72279 quick_exit(0);
72281 return 0;
72283 _ACEOF
72284 if ac_fn_cxx_try_compile "$LINENO"; then :
72285 glibcxx_cv_func_quick_exit_use=yes
72286 else
72287 glibcxx_cv_func_quick_exit_use=no
72289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72301 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72302 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72303 for ac_func in quick_exit
72304 do :
72305 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72306 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72307 cat >>confdefs.h <<_ACEOF
72308 #define HAVE_QUICK_EXIT 1
72309 _ACEOF
72312 done
72317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72318 $as_echo_n "checking for strtold declaration... " >&6; }
72319 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72320 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72321 $as_echo_n "(cached) " >&6
72322 else
72325 ac_ext=cpp
72326 ac_cpp='$CXXCPP $CPPFLAGS'
72327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72332 /* end confdefs.h. */
72333 #include <stdlib.h>
72335 main ()
72337 strtold(0, 0);
72339 return 0;
72341 _ACEOF
72342 if ac_fn_cxx_try_compile "$LINENO"; then :
72343 glibcxx_cv_func_strtold_use=yes
72344 else
72345 glibcxx_cv_func_strtold_use=no
72347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72348 ac_ext=c
72349 ac_cpp='$CPP $CPPFLAGS'
72350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72359 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72360 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72361 for ac_func in strtold
72362 do :
72363 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72364 if test "x$ac_cv_func_strtold" = x""yes; then :
72365 cat >>confdefs.h <<_ACEOF
72366 #define HAVE_STRTOLD 1
72367 _ACEOF
72370 done
72377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72378 $as_echo_n "checking for strtof declaration... " >&6; }
72379 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72380 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72381 $as_echo_n "(cached) " >&6
72382 else
72385 ac_ext=cpp
72386 ac_cpp='$CXXCPP $CPPFLAGS'
72387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72392 /* end confdefs.h. */
72393 #include <stdlib.h>
72395 main ()
72397 strtof(0, 0);
72399 return 0;
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 glibcxx_cv_func_strtof_use=yes
72404 else
72405 glibcxx_cv_func_strtof_use=no
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72419 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72420 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72421 for ac_func in strtof
72422 do :
72423 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72424 if test "x$ac_cv_func_strtof" = x""yes; then :
72425 cat >>confdefs.h <<_ACEOF
72426 #define HAVE_STRTOF 1
72427 _ACEOF
72430 done
72437 CXXFLAGS="$ac_save_CXXFLAGS"
72440 *-tpf)
72441 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72442 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72444 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72446 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72448 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72450 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72452 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72454 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72456 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72458 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72460 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72462 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72464 if test x"long_double_math_on_this_cpu" = x"yes"; then
72465 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72467 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72469 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72471 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72475 *-*vms*)
72476 # Check for available headers.
72477 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72479 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72480 ac_save_CXXFLAGS="$CXXFLAGS"
72481 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72484 $as_echo_n "checking for sin in -lm... " >&6; }
72485 if test "${ac_cv_lib_m_sin+set}" = set; then :
72486 $as_echo_n "(cached) " >&6
72487 else
72488 ac_check_lib_save_LIBS=$LIBS
72489 LIBS="-lm $LIBS"
72490 if test x$gcc_no_link = xyes; then
72491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72494 /* end confdefs.h. */
72496 /* Override any GCC internal prototype to avoid an error.
72497 Use char because int might match the return type of a GCC
72498 builtin and then its argument prototype would still apply. */
72499 #ifdef __cplusplus
72500 extern "C"
72501 #endif
72502 char sin ();
72504 main ()
72506 return sin ();
72508 return 0;
72510 _ACEOF
72511 if ac_fn_c_try_link "$LINENO"; then :
72512 ac_cv_lib_m_sin=yes
72513 else
72514 ac_cv_lib_m_sin=no
72516 rm -f core conftest.err conftest.$ac_objext \
72517 conftest$ac_exeext conftest.$ac_ext
72518 LIBS=$ac_check_lib_save_LIBS
72520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72521 $as_echo "$ac_cv_lib_m_sin" >&6; }
72522 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72523 libm="-lm"
72526 ac_save_LIBS="$LIBS"
72527 LIBS="$LIBS $libm"
72531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72532 $as_echo_n "checking for isinf declaration... " >&6; }
72533 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72534 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72535 $as_echo_n "(cached) " >&6
72536 else
72539 ac_ext=cpp
72540 ac_cpp='$CXXCPP $CPPFLAGS'
72541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72546 /* end confdefs.h. */
72547 #include <math.h>
72548 #ifdef HAVE_IEEEFP_H
72549 #include <ieeefp.h>
72550 #endif
72553 main ()
72555 isinf(0);
72557 return 0;
72559 _ACEOF
72560 if ac_fn_cxx_try_compile "$LINENO"; then :
72561 glibcxx_cv_func_isinf_use=yes
72562 else
72563 glibcxx_cv_func_isinf_use=no
72565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72566 ac_ext=c
72567 ac_cpp='$CPP $CPPFLAGS'
72568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72577 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72579 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72580 for ac_func in isinf
72581 do :
72582 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72583 if test "x$ac_cv_func_isinf" = x""yes; then :
72584 cat >>confdefs.h <<_ACEOF
72585 #define HAVE_ISINF 1
72586 _ACEOF
72589 done
72591 else
72593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72594 $as_echo_n "checking for _isinf declaration... " >&6; }
72595 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72596 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72597 $as_echo_n "(cached) " >&6
72598 else
72601 ac_ext=cpp
72602 ac_cpp='$CXXCPP $CPPFLAGS'
72603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72608 /* end confdefs.h. */
72609 #include <math.h>
72610 #ifdef HAVE_IEEEFP_H
72611 #include <ieeefp.h>
72612 #endif
72615 main ()
72617 _isinf(0);
72619 return 0;
72621 _ACEOF
72622 if ac_fn_cxx_try_compile "$LINENO"; then :
72623 glibcxx_cv_func__isinf_use=yes
72624 else
72625 glibcxx_cv_func__isinf_use=no
72627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72628 ac_ext=c
72629 ac_cpp='$CPP $CPPFLAGS'
72630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72639 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72641 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72642 for ac_func in _isinf
72643 do :
72644 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72645 if test "x$ac_cv_func__isinf" = x""yes; then :
72646 cat >>confdefs.h <<_ACEOF
72647 #define HAVE__ISINF 1
72648 _ACEOF
72651 done
72660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72661 $as_echo_n "checking for isnan declaration... " >&6; }
72662 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72663 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72664 $as_echo_n "(cached) " >&6
72665 else
72668 ac_ext=cpp
72669 ac_cpp='$CXXCPP $CPPFLAGS'
72670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72675 /* end confdefs.h. */
72676 #include <math.h>
72677 #ifdef HAVE_IEEEFP_H
72678 #include <ieeefp.h>
72679 #endif
72682 main ()
72684 isnan(0);
72686 return 0;
72688 _ACEOF
72689 if ac_fn_cxx_try_compile "$LINENO"; then :
72690 glibcxx_cv_func_isnan_use=yes
72691 else
72692 glibcxx_cv_func_isnan_use=no
72694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72695 ac_ext=c
72696 ac_cpp='$CPP $CPPFLAGS'
72697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72706 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72708 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72709 for ac_func in isnan
72710 do :
72711 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72712 if test "x$ac_cv_func_isnan" = x""yes; then :
72713 cat >>confdefs.h <<_ACEOF
72714 #define HAVE_ISNAN 1
72715 _ACEOF
72718 done
72720 else
72722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72723 $as_echo_n "checking for _isnan declaration... " >&6; }
72724 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72725 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72726 $as_echo_n "(cached) " >&6
72727 else
72730 ac_ext=cpp
72731 ac_cpp='$CXXCPP $CPPFLAGS'
72732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72737 /* end confdefs.h. */
72738 #include <math.h>
72739 #ifdef HAVE_IEEEFP_H
72740 #include <ieeefp.h>
72741 #endif
72744 main ()
72746 _isnan(0);
72748 return 0;
72750 _ACEOF
72751 if ac_fn_cxx_try_compile "$LINENO"; then :
72752 glibcxx_cv_func__isnan_use=yes
72753 else
72754 glibcxx_cv_func__isnan_use=no
72756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72757 ac_ext=c
72758 ac_cpp='$CPP $CPPFLAGS'
72759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72768 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72770 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72771 for ac_func in _isnan
72772 do :
72773 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72774 if test "x$ac_cv_func__isnan" = x""yes; then :
72775 cat >>confdefs.h <<_ACEOF
72776 #define HAVE__ISNAN 1
72777 _ACEOF
72780 done
72789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72790 $as_echo_n "checking for finite declaration... " >&6; }
72791 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72792 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72793 $as_echo_n "(cached) " >&6
72794 else
72797 ac_ext=cpp
72798 ac_cpp='$CXXCPP $CPPFLAGS'
72799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72804 /* end confdefs.h. */
72805 #include <math.h>
72806 #ifdef HAVE_IEEEFP_H
72807 #include <ieeefp.h>
72808 #endif
72811 main ()
72813 finite(0);
72815 return 0;
72817 _ACEOF
72818 if ac_fn_cxx_try_compile "$LINENO"; then :
72819 glibcxx_cv_func_finite_use=yes
72820 else
72821 glibcxx_cv_func_finite_use=no
72823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72824 ac_ext=c
72825 ac_cpp='$CPP $CPPFLAGS'
72826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72835 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72837 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72838 for ac_func in finite
72839 do :
72840 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72841 if test "x$ac_cv_func_finite" = x""yes; then :
72842 cat >>confdefs.h <<_ACEOF
72843 #define HAVE_FINITE 1
72844 _ACEOF
72847 done
72849 else
72851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72852 $as_echo_n "checking for _finite declaration... " >&6; }
72853 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72854 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72855 $as_echo_n "(cached) " >&6
72856 else
72859 ac_ext=cpp
72860 ac_cpp='$CXXCPP $CPPFLAGS'
72861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72866 /* end confdefs.h. */
72867 #include <math.h>
72868 #ifdef HAVE_IEEEFP_H
72869 #include <ieeefp.h>
72870 #endif
72873 main ()
72875 _finite(0);
72877 return 0;
72879 _ACEOF
72880 if ac_fn_cxx_try_compile "$LINENO"; then :
72881 glibcxx_cv_func__finite_use=yes
72882 else
72883 glibcxx_cv_func__finite_use=no
72885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72886 ac_ext=c
72887 ac_cpp='$CPP $CPPFLAGS'
72888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72897 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72899 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72900 for ac_func in _finite
72901 do :
72902 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72903 if test "x$ac_cv_func__finite" = x""yes; then :
72904 cat >>confdefs.h <<_ACEOF
72905 #define HAVE__FINITE 1
72906 _ACEOF
72909 done
72918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72919 $as_echo_n "checking for sincos declaration... " >&6; }
72920 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72921 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72922 $as_echo_n "(cached) " >&6
72923 else
72926 ac_ext=cpp
72927 ac_cpp='$CXXCPP $CPPFLAGS'
72928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72933 /* end confdefs.h. */
72934 #include <math.h>
72936 main ()
72938 sincos(0, 0, 0);
72940 return 0;
72942 _ACEOF
72943 if ac_fn_cxx_try_compile "$LINENO"; then :
72944 glibcxx_cv_func_sincos_use=yes
72945 else
72946 glibcxx_cv_func_sincos_use=no
72948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72949 ac_ext=c
72950 ac_cpp='$CPP $CPPFLAGS'
72951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72960 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72962 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72963 for ac_func in sincos
72964 do :
72965 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72966 if test "x$ac_cv_func_sincos" = x""yes; then :
72967 cat >>confdefs.h <<_ACEOF
72968 #define HAVE_SINCOS 1
72969 _ACEOF
72972 done
72974 else
72976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72977 $as_echo_n "checking for _sincos declaration... " >&6; }
72978 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72979 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72980 $as_echo_n "(cached) " >&6
72981 else
72984 ac_ext=cpp
72985 ac_cpp='$CXXCPP $CPPFLAGS'
72986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72991 /* end confdefs.h. */
72992 #include <math.h>
72994 main ()
72996 _sincos(0, 0, 0);
72998 return 0;
73000 _ACEOF
73001 if ac_fn_cxx_try_compile "$LINENO"; then :
73002 glibcxx_cv_func__sincos_use=yes
73003 else
73004 glibcxx_cv_func__sincos_use=no
73006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73007 ac_ext=c
73008 ac_cpp='$CPP $CPPFLAGS'
73009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73018 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73020 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73021 for ac_func in _sincos
73022 do :
73023 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73024 if test "x$ac_cv_func__sincos" = x""yes; then :
73025 cat >>confdefs.h <<_ACEOF
73026 #define HAVE__SINCOS 1
73027 _ACEOF
73030 done
73039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73040 $as_echo_n "checking for fpclass declaration... " >&6; }
73041 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73042 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73043 $as_echo_n "(cached) " >&6
73044 else
73047 ac_ext=cpp
73048 ac_cpp='$CXXCPP $CPPFLAGS'
73049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73054 /* end confdefs.h. */
73055 #include <math.h>
73056 #ifdef HAVE_IEEEFP_H
73057 #include <ieeefp.h>
73058 #endif
73061 main ()
73063 fpclass(0);
73065 return 0;
73067 _ACEOF
73068 if ac_fn_cxx_try_compile "$LINENO"; then :
73069 glibcxx_cv_func_fpclass_use=yes
73070 else
73071 glibcxx_cv_func_fpclass_use=no
73073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73074 ac_ext=c
73075 ac_cpp='$CPP $CPPFLAGS'
73076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73085 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73087 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73088 for ac_func in fpclass
73089 do :
73090 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73091 if test "x$ac_cv_func_fpclass" = x""yes; then :
73092 cat >>confdefs.h <<_ACEOF
73093 #define HAVE_FPCLASS 1
73094 _ACEOF
73097 done
73099 else
73101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73102 $as_echo_n "checking for _fpclass declaration... " >&6; }
73103 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73104 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73105 $as_echo_n "(cached) " >&6
73106 else
73109 ac_ext=cpp
73110 ac_cpp='$CXXCPP $CPPFLAGS'
73111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73116 /* end confdefs.h. */
73117 #include <math.h>
73118 #ifdef HAVE_IEEEFP_H
73119 #include <ieeefp.h>
73120 #endif
73123 main ()
73125 _fpclass(0);
73127 return 0;
73129 _ACEOF
73130 if ac_fn_cxx_try_compile "$LINENO"; then :
73131 glibcxx_cv_func__fpclass_use=yes
73132 else
73133 glibcxx_cv_func__fpclass_use=no
73135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73136 ac_ext=c
73137 ac_cpp='$CPP $CPPFLAGS'
73138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73147 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73149 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73150 for ac_func in _fpclass
73151 do :
73152 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73153 if test "x$ac_cv_func__fpclass" = x""yes; then :
73154 cat >>confdefs.h <<_ACEOF
73155 #define HAVE__FPCLASS 1
73156 _ACEOF
73159 done
73168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73169 $as_echo_n "checking for qfpclass declaration... " >&6; }
73170 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73171 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73172 $as_echo_n "(cached) " >&6
73173 else
73176 ac_ext=cpp
73177 ac_cpp='$CXXCPP $CPPFLAGS'
73178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73183 /* end confdefs.h. */
73184 #include <math.h>
73185 #ifdef HAVE_IEEEFP_H
73186 #include <ieeefp.h>
73187 #endif
73190 main ()
73192 qfpclass(0);
73194 return 0;
73196 _ACEOF
73197 if ac_fn_cxx_try_compile "$LINENO"; then :
73198 glibcxx_cv_func_qfpclass_use=yes
73199 else
73200 glibcxx_cv_func_qfpclass_use=no
73202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73203 ac_ext=c
73204 ac_cpp='$CPP $CPPFLAGS'
73205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73214 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73216 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73217 for ac_func in qfpclass
73218 do :
73219 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73220 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73221 cat >>confdefs.h <<_ACEOF
73222 #define HAVE_QFPCLASS 1
73223 _ACEOF
73226 done
73228 else
73230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73231 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73232 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73233 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73234 $as_echo_n "(cached) " >&6
73235 else
73238 ac_ext=cpp
73239 ac_cpp='$CXXCPP $CPPFLAGS'
73240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73245 /* end confdefs.h. */
73246 #include <math.h>
73247 #ifdef HAVE_IEEEFP_H
73248 #include <ieeefp.h>
73249 #endif
73252 main ()
73254 _qfpclass(0);
73256 return 0;
73258 _ACEOF
73259 if ac_fn_cxx_try_compile "$LINENO"; then :
73260 glibcxx_cv_func__qfpclass_use=yes
73261 else
73262 glibcxx_cv_func__qfpclass_use=no
73264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73265 ac_ext=c
73266 ac_cpp='$CPP $CPPFLAGS'
73267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73276 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73278 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73279 for ac_func in _qfpclass
73280 do :
73281 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73282 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73283 cat >>confdefs.h <<_ACEOF
73284 #define HAVE__QFPCLASS 1
73285 _ACEOF
73288 done
73297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73298 $as_echo_n "checking for hypot declaration... " >&6; }
73299 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73300 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73301 $as_echo_n "(cached) " >&6
73302 else
73305 ac_ext=cpp
73306 ac_cpp='$CXXCPP $CPPFLAGS'
73307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73312 /* end confdefs.h. */
73313 #include <math.h>
73315 main ()
73317 hypot(0, 0);
73319 return 0;
73321 _ACEOF
73322 if ac_fn_cxx_try_compile "$LINENO"; then :
73323 glibcxx_cv_func_hypot_use=yes
73324 else
73325 glibcxx_cv_func_hypot_use=no
73327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73328 ac_ext=c
73329 ac_cpp='$CPP $CPPFLAGS'
73330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73339 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73341 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73342 for ac_func in hypot
73343 do :
73344 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73345 if test "x$ac_cv_func_hypot" = x""yes; then :
73346 cat >>confdefs.h <<_ACEOF
73347 #define HAVE_HYPOT 1
73348 _ACEOF
73351 done
73353 else
73355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73356 $as_echo_n "checking for _hypot declaration... " >&6; }
73357 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73358 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73359 $as_echo_n "(cached) " >&6
73360 else
73363 ac_ext=cpp
73364 ac_cpp='$CXXCPP $CPPFLAGS'
73365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73370 /* end confdefs.h. */
73371 #include <math.h>
73373 main ()
73375 _hypot(0, 0);
73377 return 0;
73379 _ACEOF
73380 if ac_fn_cxx_try_compile "$LINENO"; then :
73381 glibcxx_cv_func__hypot_use=yes
73382 else
73383 glibcxx_cv_func__hypot_use=no
73385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73386 ac_ext=c
73387 ac_cpp='$CPP $CPPFLAGS'
73388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73397 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73399 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73400 for ac_func in _hypot
73401 do :
73402 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73403 if test "x$ac_cv_func__hypot" = x""yes; then :
73404 cat >>confdefs.h <<_ACEOF
73405 #define HAVE__HYPOT 1
73406 _ACEOF
73409 done
73418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73419 $as_echo_n "checking for float trig functions... " >&6; }
73420 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73421 $as_echo_n "(cached) " >&6
73422 else
73425 ac_ext=cpp
73426 ac_cpp='$CXXCPP $CPPFLAGS'
73427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73432 /* end confdefs.h. */
73433 #include <math.h>
73435 main ()
73437 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73439 return 0;
73441 _ACEOF
73442 if ac_fn_cxx_try_compile "$LINENO"; then :
73443 glibcxx_cv_func_float_trig_use=yes
73444 else
73445 glibcxx_cv_func_float_trig_use=no
73447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73448 ac_ext=c
73449 ac_cpp='$CPP $CPPFLAGS'
73450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73457 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73458 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73459 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73460 do :
73461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73463 eval as_val=\$$as_ac_var
73464 if test "x$as_val" = x""yes; then :
73465 cat >>confdefs.h <<_ACEOF
73466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73467 _ACEOF
73470 done
73472 else
73473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73474 $as_echo_n "checking for _float trig functions... " >&6; }
73475 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73476 $as_echo_n "(cached) " >&6
73477 else
73480 ac_ext=cpp
73481 ac_cpp='$CXXCPP $CPPFLAGS'
73482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73487 /* end confdefs.h. */
73488 #include <math.h>
73490 main ()
73492 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73494 return 0;
73496 _ACEOF
73497 if ac_fn_cxx_try_compile "$LINENO"; then :
73498 glibcxx_cv_func__float_trig_use=yes
73499 else
73500 glibcxx_cv_func__float_trig_use=no
73502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73503 ac_ext=c
73504 ac_cpp='$CPP $CPPFLAGS'
73505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73512 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73513 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73514 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73515 do :
73516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73518 eval as_val=\$$as_ac_var
73519 if test "x$as_val" = x""yes; then :
73520 cat >>confdefs.h <<_ACEOF
73521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73522 _ACEOF
73525 done
73534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73535 $as_echo_n "checking for float round functions... " >&6; }
73536 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73537 $as_echo_n "(cached) " >&6
73538 else
73541 ac_ext=cpp
73542 ac_cpp='$CXXCPP $CPPFLAGS'
73543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73548 /* end confdefs.h. */
73549 #include <math.h>
73551 main ()
73553 ceilf (0); floorf (0);
73555 return 0;
73557 _ACEOF
73558 if ac_fn_cxx_try_compile "$LINENO"; then :
73559 glibcxx_cv_func_float_round_use=yes
73560 else
73561 glibcxx_cv_func_float_round_use=no
73563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73564 ac_ext=c
73565 ac_cpp='$CPP $CPPFLAGS'
73566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73573 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73574 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73575 for ac_func in ceilf floorf
73576 do :
73577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73579 eval as_val=\$$as_ac_var
73580 if test "x$as_val" = x""yes; then :
73581 cat >>confdefs.h <<_ACEOF
73582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73583 _ACEOF
73586 done
73588 else
73589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73590 $as_echo_n "checking for _float round functions... " >&6; }
73591 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73592 $as_echo_n "(cached) " >&6
73593 else
73596 ac_ext=cpp
73597 ac_cpp='$CXXCPP $CPPFLAGS'
73598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73603 /* end confdefs.h. */
73604 #include <math.h>
73606 main ()
73608 _ceilf (0); _floorf (0);
73610 return 0;
73612 _ACEOF
73613 if ac_fn_cxx_try_compile "$LINENO"; then :
73614 glibcxx_cv_func__float_round_use=yes
73615 else
73616 glibcxx_cv_func__float_round_use=no
73618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73619 ac_ext=c
73620 ac_cpp='$CPP $CPPFLAGS'
73621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73628 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73629 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73630 for ac_func in _ceilf _floorf
73631 do :
73632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73634 eval as_val=\$$as_ac_var
73635 if test "x$as_val" = x""yes; then :
73636 cat >>confdefs.h <<_ACEOF
73637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73638 _ACEOF
73641 done
73651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73652 $as_echo_n "checking for expf declaration... " >&6; }
73653 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73654 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73655 $as_echo_n "(cached) " >&6
73656 else
73659 ac_ext=cpp
73660 ac_cpp='$CXXCPP $CPPFLAGS'
73661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73666 /* end confdefs.h. */
73667 #include <math.h>
73668 #ifdef HAVE_IEEEFP_H
73669 #include <ieeefp.h>
73670 #endif
73673 main ()
73675 expf(0);
73677 return 0;
73679 _ACEOF
73680 if ac_fn_cxx_try_compile "$LINENO"; then :
73681 glibcxx_cv_func_expf_use=yes
73682 else
73683 glibcxx_cv_func_expf_use=no
73685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73686 ac_ext=c
73687 ac_cpp='$CPP $CPPFLAGS'
73688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73697 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73699 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73700 for ac_func in expf
73701 do :
73702 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73703 if test "x$ac_cv_func_expf" = x""yes; then :
73704 cat >>confdefs.h <<_ACEOF
73705 #define HAVE_EXPF 1
73706 _ACEOF
73709 done
73711 else
73713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73714 $as_echo_n "checking for _expf declaration... " >&6; }
73715 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73716 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73717 $as_echo_n "(cached) " >&6
73718 else
73721 ac_ext=cpp
73722 ac_cpp='$CXXCPP $CPPFLAGS'
73723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73728 /* end confdefs.h. */
73729 #include <math.h>
73730 #ifdef HAVE_IEEEFP_H
73731 #include <ieeefp.h>
73732 #endif
73735 main ()
73737 _expf(0);
73739 return 0;
73741 _ACEOF
73742 if ac_fn_cxx_try_compile "$LINENO"; then :
73743 glibcxx_cv_func__expf_use=yes
73744 else
73745 glibcxx_cv_func__expf_use=no
73747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73748 ac_ext=c
73749 ac_cpp='$CPP $CPPFLAGS'
73750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73759 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73761 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73762 for ac_func in _expf
73763 do :
73764 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73765 if test "x$ac_cv_func__expf" = x""yes; then :
73766 cat >>confdefs.h <<_ACEOF
73767 #define HAVE__EXPF 1
73768 _ACEOF
73771 done
73780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73781 $as_echo_n "checking for isnanf declaration... " >&6; }
73782 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73783 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73784 $as_echo_n "(cached) " >&6
73785 else
73788 ac_ext=cpp
73789 ac_cpp='$CXXCPP $CPPFLAGS'
73790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73795 /* end confdefs.h. */
73796 #include <math.h>
73797 #ifdef HAVE_IEEEFP_H
73798 #include <ieeefp.h>
73799 #endif
73802 main ()
73804 isnanf(0);
73806 return 0;
73808 _ACEOF
73809 if ac_fn_cxx_try_compile "$LINENO"; then :
73810 glibcxx_cv_func_isnanf_use=yes
73811 else
73812 glibcxx_cv_func_isnanf_use=no
73814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73815 ac_ext=c
73816 ac_cpp='$CPP $CPPFLAGS'
73817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73826 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73828 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73829 for ac_func in isnanf
73830 do :
73831 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73832 if test "x$ac_cv_func_isnanf" = x""yes; then :
73833 cat >>confdefs.h <<_ACEOF
73834 #define HAVE_ISNANF 1
73835 _ACEOF
73838 done
73840 else
73842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73843 $as_echo_n "checking for _isnanf declaration... " >&6; }
73844 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73845 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73846 $as_echo_n "(cached) " >&6
73847 else
73850 ac_ext=cpp
73851 ac_cpp='$CXXCPP $CPPFLAGS'
73852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73857 /* end confdefs.h. */
73858 #include <math.h>
73859 #ifdef HAVE_IEEEFP_H
73860 #include <ieeefp.h>
73861 #endif
73864 main ()
73866 _isnanf(0);
73868 return 0;
73870 _ACEOF
73871 if ac_fn_cxx_try_compile "$LINENO"; then :
73872 glibcxx_cv_func__isnanf_use=yes
73873 else
73874 glibcxx_cv_func__isnanf_use=no
73876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73877 ac_ext=c
73878 ac_cpp='$CPP $CPPFLAGS'
73879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73888 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73890 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73891 for ac_func in _isnanf
73892 do :
73893 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73894 if test "x$ac_cv_func__isnanf" = x""yes; then :
73895 cat >>confdefs.h <<_ACEOF
73896 #define HAVE__ISNANF 1
73897 _ACEOF
73900 done
73909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73910 $as_echo_n "checking for isinff declaration... " >&6; }
73911 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73912 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73913 $as_echo_n "(cached) " >&6
73914 else
73917 ac_ext=cpp
73918 ac_cpp='$CXXCPP $CPPFLAGS'
73919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73924 /* end confdefs.h. */
73925 #include <math.h>
73926 #ifdef HAVE_IEEEFP_H
73927 #include <ieeefp.h>
73928 #endif
73931 main ()
73933 isinff(0);
73935 return 0;
73937 _ACEOF
73938 if ac_fn_cxx_try_compile "$LINENO"; then :
73939 glibcxx_cv_func_isinff_use=yes
73940 else
73941 glibcxx_cv_func_isinff_use=no
73943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73944 ac_ext=c
73945 ac_cpp='$CPP $CPPFLAGS'
73946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73955 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73957 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73958 for ac_func in isinff
73959 do :
73960 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73961 if test "x$ac_cv_func_isinff" = x""yes; then :
73962 cat >>confdefs.h <<_ACEOF
73963 #define HAVE_ISINFF 1
73964 _ACEOF
73967 done
73969 else
73971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73972 $as_echo_n "checking for _isinff declaration... " >&6; }
73973 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73974 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73975 $as_echo_n "(cached) " >&6
73976 else
73979 ac_ext=cpp
73980 ac_cpp='$CXXCPP $CPPFLAGS'
73981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73986 /* end confdefs.h. */
73987 #include <math.h>
73988 #ifdef HAVE_IEEEFP_H
73989 #include <ieeefp.h>
73990 #endif
73993 main ()
73995 _isinff(0);
73997 return 0;
73999 _ACEOF
74000 if ac_fn_cxx_try_compile "$LINENO"; then :
74001 glibcxx_cv_func__isinff_use=yes
74002 else
74003 glibcxx_cv_func__isinff_use=no
74005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74006 ac_ext=c
74007 ac_cpp='$CPP $CPPFLAGS'
74008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74017 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74019 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74020 for ac_func in _isinff
74021 do :
74022 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74023 if test "x$ac_cv_func__isinff" = x""yes; then :
74024 cat >>confdefs.h <<_ACEOF
74025 #define HAVE__ISINFF 1
74026 _ACEOF
74029 done
74038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74039 $as_echo_n "checking for atan2f declaration... " >&6; }
74040 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74041 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74042 $as_echo_n "(cached) " >&6
74043 else
74046 ac_ext=cpp
74047 ac_cpp='$CXXCPP $CPPFLAGS'
74048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74053 /* end confdefs.h. */
74054 #include <math.h>
74056 main ()
74058 atan2f(0, 0);
74060 return 0;
74062 _ACEOF
74063 if ac_fn_cxx_try_compile "$LINENO"; then :
74064 glibcxx_cv_func_atan2f_use=yes
74065 else
74066 glibcxx_cv_func_atan2f_use=no
74068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74069 ac_ext=c
74070 ac_cpp='$CPP $CPPFLAGS'
74071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74080 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74082 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74083 for ac_func in atan2f
74084 do :
74085 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74086 if test "x$ac_cv_func_atan2f" = x""yes; then :
74087 cat >>confdefs.h <<_ACEOF
74088 #define HAVE_ATAN2F 1
74089 _ACEOF
74092 done
74094 else
74096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74097 $as_echo_n "checking for _atan2f declaration... " >&6; }
74098 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74099 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74100 $as_echo_n "(cached) " >&6
74101 else
74104 ac_ext=cpp
74105 ac_cpp='$CXXCPP $CPPFLAGS'
74106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74111 /* end confdefs.h. */
74112 #include <math.h>
74114 main ()
74116 _atan2f(0, 0);
74118 return 0;
74120 _ACEOF
74121 if ac_fn_cxx_try_compile "$LINENO"; then :
74122 glibcxx_cv_func__atan2f_use=yes
74123 else
74124 glibcxx_cv_func__atan2f_use=no
74126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74127 ac_ext=c
74128 ac_cpp='$CPP $CPPFLAGS'
74129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74138 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74140 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74141 for ac_func in _atan2f
74142 do :
74143 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74144 if test "x$ac_cv_func__atan2f" = x""yes; then :
74145 cat >>confdefs.h <<_ACEOF
74146 #define HAVE__ATAN2F 1
74147 _ACEOF
74150 done
74159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74160 $as_echo_n "checking for fabsf declaration... " >&6; }
74161 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74162 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74163 $as_echo_n "(cached) " >&6
74164 else
74167 ac_ext=cpp
74168 ac_cpp='$CXXCPP $CPPFLAGS'
74169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74174 /* end confdefs.h. */
74175 #include <math.h>
74176 #ifdef HAVE_IEEEFP_H
74177 #include <ieeefp.h>
74178 #endif
74181 main ()
74183 fabsf(0);
74185 return 0;
74187 _ACEOF
74188 if ac_fn_cxx_try_compile "$LINENO"; then :
74189 glibcxx_cv_func_fabsf_use=yes
74190 else
74191 glibcxx_cv_func_fabsf_use=no
74193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74194 ac_ext=c
74195 ac_cpp='$CPP $CPPFLAGS'
74196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74205 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74207 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74208 for ac_func in fabsf
74209 do :
74210 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74211 if test "x$ac_cv_func_fabsf" = x""yes; then :
74212 cat >>confdefs.h <<_ACEOF
74213 #define HAVE_FABSF 1
74214 _ACEOF
74217 done
74219 else
74221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74222 $as_echo_n "checking for _fabsf declaration... " >&6; }
74223 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74224 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74225 $as_echo_n "(cached) " >&6
74226 else
74229 ac_ext=cpp
74230 ac_cpp='$CXXCPP $CPPFLAGS'
74231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74236 /* end confdefs.h. */
74237 #include <math.h>
74238 #ifdef HAVE_IEEEFP_H
74239 #include <ieeefp.h>
74240 #endif
74243 main ()
74245 _fabsf(0);
74247 return 0;
74249 _ACEOF
74250 if ac_fn_cxx_try_compile "$LINENO"; then :
74251 glibcxx_cv_func__fabsf_use=yes
74252 else
74253 glibcxx_cv_func__fabsf_use=no
74255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74256 ac_ext=c
74257 ac_cpp='$CPP $CPPFLAGS'
74258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74267 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74269 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74270 for ac_func in _fabsf
74271 do :
74272 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74273 if test "x$ac_cv_func__fabsf" = x""yes; then :
74274 cat >>confdefs.h <<_ACEOF
74275 #define HAVE__FABSF 1
74276 _ACEOF
74279 done
74288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74289 $as_echo_n "checking for fmodf declaration... " >&6; }
74290 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74291 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74292 $as_echo_n "(cached) " >&6
74293 else
74296 ac_ext=cpp
74297 ac_cpp='$CXXCPP $CPPFLAGS'
74298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74303 /* end confdefs.h. */
74304 #include <math.h>
74306 main ()
74308 fmodf(0, 0);
74310 return 0;
74312 _ACEOF
74313 if ac_fn_cxx_try_compile "$LINENO"; then :
74314 glibcxx_cv_func_fmodf_use=yes
74315 else
74316 glibcxx_cv_func_fmodf_use=no
74318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74319 ac_ext=c
74320 ac_cpp='$CPP $CPPFLAGS'
74321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74330 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74332 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74333 for ac_func in fmodf
74334 do :
74335 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74336 if test "x$ac_cv_func_fmodf" = x""yes; then :
74337 cat >>confdefs.h <<_ACEOF
74338 #define HAVE_FMODF 1
74339 _ACEOF
74342 done
74344 else
74346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74347 $as_echo_n "checking for _fmodf declaration... " >&6; }
74348 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74349 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74350 $as_echo_n "(cached) " >&6
74351 else
74354 ac_ext=cpp
74355 ac_cpp='$CXXCPP $CPPFLAGS'
74356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74361 /* end confdefs.h. */
74362 #include <math.h>
74364 main ()
74366 _fmodf(0, 0);
74368 return 0;
74370 _ACEOF
74371 if ac_fn_cxx_try_compile "$LINENO"; then :
74372 glibcxx_cv_func__fmodf_use=yes
74373 else
74374 glibcxx_cv_func__fmodf_use=no
74376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74377 ac_ext=c
74378 ac_cpp='$CPP $CPPFLAGS'
74379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74388 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74390 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74391 for ac_func in _fmodf
74392 do :
74393 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74394 if test "x$ac_cv_func__fmodf" = x""yes; then :
74395 cat >>confdefs.h <<_ACEOF
74396 #define HAVE__FMODF 1
74397 _ACEOF
74400 done
74409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74410 $as_echo_n "checking for frexpf declaration... " >&6; }
74411 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74412 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74413 $as_echo_n "(cached) " >&6
74414 else
74417 ac_ext=cpp
74418 ac_cpp='$CXXCPP $CPPFLAGS'
74419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74424 /* end confdefs.h. */
74425 #include <math.h>
74427 main ()
74429 frexpf(0, 0);
74431 return 0;
74433 _ACEOF
74434 if ac_fn_cxx_try_compile "$LINENO"; then :
74435 glibcxx_cv_func_frexpf_use=yes
74436 else
74437 glibcxx_cv_func_frexpf_use=no
74439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74440 ac_ext=c
74441 ac_cpp='$CPP $CPPFLAGS'
74442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74451 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74453 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74454 for ac_func in frexpf
74455 do :
74456 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74457 if test "x$ac_cv_func_frexpf" = x""yes; then :
74458 cat >>confdefs.h <<_ACEOF
74459 #define HAVE_FREXPF 1
74460 _ACEOF
74463 done
74465 else
74467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74468 $as_echo_n "checking for _frexpf declaration... " >&6; }
74469 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74470 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74471 $as_echo_n "(cached) " >&6
74472 else
74475 ac_ext=cpp
74476 ac_cpp='$CXXCPP $CPPFLAGS'
74477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74482 /* end confdefs.h. */
74483 #include <math.h>
74485 main ()
74487 _frexpf(0, 0);
74489 return 0;
74491 _ACEOF
74492 if ac_fn_cxx_try_compile "$LINENO"; then :
74493 glibcxx_cv_func__frexpf_use=yes
74494 else
74495 glibcxx_cv_func__frexpf_use=no
74497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74498 ac_ext=c
74499 ac_cpp='$CPP $CPPFLAGS'
74500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74509 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74511 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74512 for ac_func in _frexpf
74513 do :
74514 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74515 if test "x$ac_cv_func__frexpf" = x""yes; then :
74516 cat >>confdefs.h <<_ACEOF
74517 #define HAVE__FREXPF 1
74518 _ACEOF
74521 done
74530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74531 $as_echo_n "checking for hypotf declaration... " >&6; }
74532 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74533 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74534 $as_echo_n "(cached) " >&6
74535 else
74538 ac_ext=cpp
74539 ac_cpp='$CXXCPP $CPPFLAGS'
74540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74545 /* end confdefs.h. */
74546 #include <math.h>
74548 main ()
74550 hypotf(0, 0);
74552 return 0;
74554 _ACEOF
74555 if ac_fn_cxx_try_compile "$LINENO"; then :
74556 glibcxx_cv_func_hypotf_use=yes
74557 else
74558 glibcxx_cv_func_hypotf_use=no
74560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74561 ac_ext=c
74562 ac_cpp='$CPP $CPPFLAGS'
74563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74572 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74574 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74575 for ac_func in hypotf
74576 do :
74577 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74578 if test "x$ac_cv_func_hypotf" = x""yes; then :
74579 cat >>confdefs.h <<_ACEOF
74580 #define HAVE_HYPOTF 1
74581 _ACEOF
74584 done
74586 else
74588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74589 $as_echo_n "checking for _hypotf declaration... " >&6; }
74590 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74591 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74592 $as_echo_n "(cached) " >&6
74593 else
74596 ac_ext=cpp
74597 ac_cpp='$CXXCPP $CPPFLAGS'
74598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74603 /* end confdefs.h. */
74604 #include <math.h>
74606 main ()
74608 _hypotf(0, 0);
74610 return 0;
74612 _ACEOF
74613 if ac_fn_cxx_try_compile "$LINENO"; then :
74614 glibcxx_cv_func__hypotf_use=yes
74615 else
74616 glibcxx_cv_func__hypotf_use=no
74618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74619 ac_ext=c
74620 ac_cpp='$CPP $CPPFLAGS'
74621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74630 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74632 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74633 for ac_func in _hypotf
74634 do :
74635 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74636 if test "x$ac_cv_func__hypotf" = x""yes; then :
74637 cat >>confdefs.h <<_ACEOF
74638 #define HAVE__HYPOTF 1
74639 _ACEOF
74642 done
74651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74652 $as_echo_n "checking for ldexpf declaration... " >&6; }
74653 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74654 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74655 $as_echo_n "(cached) " >&6
74656 else
74659 ac_ext=cpp
74660 ac_cpp='$CXXCPP $CPPFLAGS'
74661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74666 /* end confdefs.h. */
74667 #include <math.h>
74669 main ()
74671 ldexpf(0, 0);
74673 return 0;
74675 _ACEOF
74676 if ac_fn_cxx_try_compile "$LINENO"; then :
74677 glibcxx_cv_func_ldexpf_use=yes
74678 else
74679 glibcxx_cv_func_ldexpf_use=no
74681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74682 ac_ext=c
74683 ac_cpp='$CPP $CPPFLAGS'
74684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74693 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74695 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74696 for ac_func in ldexpf
74697 do :
74698 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74699 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74700 cat >>confdefs.h <<_ACEOF
74701 #define HAVE_LDEXPF 1
74702 _ACEOF
74705 done
74707 else
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74710 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74711 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74712 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74713 $as_echo_n "(cached) " >&6
74714 else
74717 ac_ext=cpp
74718 ac_cpp='$CXXCPP $CPPFLAGS'
74719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74724 /* end confdefs.h. */
74725 #include <math.h>
74727 main ()
74729 _ldexpf(0, 0);
74731 return 0;
74733 _ACEOF
74734 if ac_fn_cxx_try_compile "$LINENO"; then :
74735 glibcxx_cv_func__ldexpf_use=yes
74736 else
74737 glibcxx_cv_func__ldexpf_use=no
74739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74740 ac_ext=c
74741 ac_cpp='$CPP $CPPFLAGS'
74742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74751 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74753 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74754 for ac_func in _ldexpf
74755 do :
74756 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74757 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74758 cat >>confdefs.h <<_ACEOF
74759 #define HAVE__LDEXPF 1
74760 _ACEOF
74763 done
74772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74773 $as_echo_n "checking for logf declaration... " >&6; }
74774 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74775 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74776 $as_echo_n "(cached) " >&6
74777 else
74780 ac_ext=cpp
74781 ac_cpp='$CXXCPP $CPPFLAGS'
74782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74787 /* end confdefs.h. */
74788 #include <math.h>
74789 #ifdef HAVE_IEEEFP_H
74790 #include <ieeefp.h>
74791 #endif
74794 main ()
74796 logf(0);
74798 return 0;
74800 _ACEOF
74801 if ac_fn_cxx_try_compile "$LINENO"; then :
74802 glibcxx_cv_func_logf_use=yes
74803 else
74804 glibcxx_cv_func_logf_use=no
74806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74807 ac_ext=c
74808 ac_cpp='$CPP $CPPFLAGS'
74809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74818 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74820 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74821 for ac_func in logf
74822 do :
74823 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74824 if test "x$ac_cv_func_logf" = x""yes; then :
74825 cat >>confdefs.h <<_ACEOF
74826 #define HAVE_LOGF 1
74827 _ACEOF
74830 done
74832 else
74834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74835 $as_echo_n "checking for _logf declaration... " >&6; }
74836 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74837 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74838 $as_echo_n "(cached) " >&6
74839 else
74842 ac_ext=cpp
74843 ac_cpp='$CXXCPP $CPPFLAGS'
74844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74849 /* end confdefs.h. */
74850 #include <math.h>
74851 #ifdef HAVE_IEEEFP_H
74852 #include <ieeefp.h>
74853 #endif
74856 main ()
74858 _logf(0);
74860 return 0;
74862 _ACEOF
74863 if ac_fn_cxx_try_compile "$LINENO"; then :
74864 glibcxx_cv_func__logf_use=yes
74865 else
74866 glibcxx_cv_func__logf_use=no
74868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74869 ac_ext=c
74870 ac_cpp='$CPP $CPPFLAGS'
74871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74880 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74882 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74883 for ac_func in _logf
74884 do :
74885 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74886 if test "x$ac_cv_func__logf" = x""yes; then :
74887 cat >>confdefs.h <<_ACEOF
74888 #define HAVE__LOGF 1
74889 _ACEOF
74892 done
74901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74902 $as_echo_n "checking for log10f declaration... " >&6; }
74903 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74904 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74905 $as_echo_n "(cached) " >&6
74906 else
74909 ac_ext=cpp
74910 ac_cpp='$CXXCPP $CPPFLAGS'
74911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74916 /* end confdefs.h. */
74917 #include <math.h>
74918 #ifdef HAVE_IEEEFP_H
74919 #include <ieeefp.h>
74920 #endif
74923 main ()
74925 log10f(0);
74927 return 0;
74929 _ACEOF
74930 if ac_fn_cxx_try_compile "$LINENO"; then :
74931 glibcxx_cv_func_log10f_use=yes
74932 else
74933 glibcxx_cv_func_log10f_use=no
74935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74936 ac_ext=c
74937 ac_cpp='$CPP $CPPFLAGS'
74938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74947 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74949 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74950 for ac_func in log10f
74951 do :
74952 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74953 if test "x$ac_cv_func_log10f" = x""yes; then :
74954 cat >>confdefs.h <<_ACEOF
74955 #define HAVE_LOG10F 1
74956 _ACEOF
74959 done
74961 else
74963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74964 $as_echo_n "checking for _log10f declaration... " >&6; }
74965 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74966 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74967 $as_echo_n "(cached) " >&6
74968 else
74971 ac_ext=cpp
74972 ac_cpp='$CXXCPP $CPPFLAGS'
74973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74978 /* end confdefs.h. */
74979 #include <math.h>
74980 #ifdef HAVE_IEEEFP_H
74981 #include <ieeefp.h>
74982 #endif
74985 main ()
74987 _log10f(0);
74989 return 0;
74991 _ACEOF
74992 if ac_fn_cxx_try_compile "$LINENO"; then :
74993 glibcxx_cv_func__log10f_use=yes
74994 else
74995 glibcxx_cv_func__log10f_use=no
74997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74998 ac_ext=c
74999 ac_cpp='$CPP $CPPFLAGS'
75000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75009 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75011 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75012 for ac_func in _log10f
75013 do :
75014 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75015 if test "x$ac_cv_func__log10f" = x""yes; then :
75016 cat >>confdefs.h <<_ACEOF
75017 #define HAVE__LOG10F 1
75018 _ACEOF
75021 done
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75031 $as_echo_n "checking for modff declaration... " >&6; }
75032 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75033 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75034 $as_echo_n "(cached) " >&6
75035 else
75038 ac_ext=cpp
75039 ac_cpp='$CXXCPP $CPPFLAGS'
75040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75045 /* end confdefs.h. */
75046 #include <math.h>
75048 main ()
75050 modff(0, 0);
75052 return 0;
75054 _ACEOF
75055 if ac_fn_cxx_try_compile "$LINENO"; then :
75056 glibcxx_cv_func_modff_use=yes
75057 else
75058 glibcxx_cv_func_modff_use=no
75060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75061 ac_ext=c
75062 ac_cpp='$CPP $CPPFLAGS'
75063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75072 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75074 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75075 for ac_func in modff
75076 do :
75077 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75078 if test "x$ac_cv_func_modff" = x""yes; then :
75079 cat >>confdefs.h <<_ACEOF
75080 #define HAVE_MODFF 1
75081 _ACEOF
75084 done
75086 else
75088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75089 $as_echo_n "checking for _modff declaration... " >&6; }
75090 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75091 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75092 $as_echo_n "(cached) " >&6
75093 else
75096 ac_ext=cpp
75097 ac_cpp='$CXXCPP $CPPFLAGS'
75098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75103 /* end confdefs.h. */
75104 #include <math.h>
75106 main ()
75108 _modff(0, 0);
75110 return 0;
75112 _ACEOF
75113 if ac_fn_cxx_try_compile "$LINENO"; then :
75114 glibcxx_cv_func__modff_use=yes
75115 else
75116 glibcxx_cv_func__modff_use=no
75118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75119 ac_ext=c
75120 ac_cpp='$CPP $CPPFLAGS'
75121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75130 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75132 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75133 for ac_func in _modff
75134 do :
75135 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75136 if test "x$ac_cv_func__modff" = x""yes; then :
75137 cat >>confdefs.h <<_ACEOF
75138 #define HAVE__MODFF 1
75139 _ACEOF
75142 done
75151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75152 $as_echo_n "checking for modf declaration... " >&6; }
75153 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75154 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75155 $as_echo_n "(cached) " >&6
75156 else
75159 ac_ext=cpp
75160 ac_cpp='$CXXCPP $CPPFLAGS'
75161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75166 /* end confdefs.h. */
75167 #include <math.h>
75169 main ()
75171 modf(0, 0);
75173 return 0;
75175 _ACEOF
75176 if ac_fn_cxx_try_compile "$LINENO"; then :
75177 glibcxx_cv_func_modf_use=yes
75178 else
75179 glibcxx_cv_func_modf_use=no
75181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75182 ac_ext=c
75183 ac_cpp='$CPP $CPPFLAGS'
75184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75193 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75195 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75196 for ac_func in modf
75197 do :
75198 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75199 if test "x$ac_cv_func_modf" = x""yes; then :
75200 cat >>confdefs.h <<_ACEOF
75201 #define HAVE_MODF 1
75202 _ACEOF
75205 done
75207 else
75209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75210 $as_echo_n "checking for _modf declaration... " >&6; }
75211 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75212 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75213 $as_echo_n "(cached) " >&6
75214 else
75217 ac_ext=cpp
75218 ac_cpp='$CXXCPP $CPPFLAGS'
75219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75224 /* end confdefs.h. */
75225 #include <math.h>
75227 main ()
75229 _modf(0, 0);
75231 return 0;
75233 _ACEOF
75234 if ac_fn_cxx_try_compile "$LINENO"; then :
75235 glibcxx_cv_func__modf_use=yes
75236 else
75237 glibcxx_cv_func__modf_use=no
75239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75240 ac_ext=c
75241 ac_cpp='$CPP $CPPFLAGS'
75242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75251 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75253 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75254 for ac_func in _modf
75255 do :
75256 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75257 if test "x$ac_cv_func__modf" = x""yes; then :
75258 cat >>confdefs.h <<_ACEOF
75259 #define HAVE__MODF 1
75260 _ACEOF
75263 done
75272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75273 $as_echo_n "checking for powf declaration... " >&6; }
75274 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75275 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75276 $as_echo_n "(cached) " >&6
75277 else
75280 ac_ext=cpp
75281 ac_cpp='$CXXCPP $CPPFLAGS'
75282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75287 /* end confdefs.h. */
75288 #include <math.h>
75290 main ()
75292 powf(0, 0);
75294 return 0;
75296 _ACEOF
75297 if ac_fn_cxx_try_compile "$LINENO"; then :
75298 glibcxx_cv_func_powf_use=yes
75299 else
75300 glibcxx_cv_func_powf_use=no
75302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75303 ac_ext=c
75304 ac_cpp='$CPP $CPPFLAGS'
75305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75314 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75316 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75317 for ac_func in powf
75318 do :
75319 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75320 if test "x$ac_cv_func_powf" = x""yes; then :
75321 cat >>confdefs.h <<_ACEOF
75322 #define HAVE_POWF 1
75323 _ACEOF
75326 done
75328 else
75330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75331 $as_echo_n "checking for _powf declaration... " >&6; }
75332 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75333 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75334 $as_echo_n "(cached) " >&6
75335 else
75338 ac_ext=cpp
75339 ac_cpp='$CXXCPP $CPPFLAGS'
75340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75345 /* end confdefs.h. */
75346 #include <math.h>
75348 main ()
75350 _powf(0, 0);
75352 return 0;
75354 _ACEOF
75355 if ac_fn_cxx_try_compile "$LINENO"; then :
75356 glibcxx_cv_func__powf_use=yes
75357 else
75358 glibcxx_cv_func__powf_use=no
75360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75361 ac_ext=c
75362 ac_cpp='$CPP $CPPFLAGS'
75363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75372 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75374 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75375 for ac_func in _powf
75376 do :
75377 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75378 if test "x$ac_cv_func__powf" = x""yes; then :
75379 cat >>confdefs.h <<_ACEOF
75380 #define HAVE__POWF 1
75381 _ACEOF
75384 done
75393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75394 $as_echo_n "checking for sqrtf declaration... " >&6; }
75395 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75396 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75397 $as_echo_n "(cached) " >&6
75398 else
75401 ac_ext=cpp
75402 ac_cpp='$CXXCPP $CPPFLAGS'
75403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75408 /* end confdefs.h. */
75409 #include <math.h>
75410 #ifdef HAVE_IEEEFP_H
75411 #include <ieeefp.h>
75412 #endif
75415 main ()
75417 sqrtf(0);
75419 return 0;
75421 _ACEOF
75422 if ac_fn_cxx_try_compile "$LINENO"; then :
75423 glibcxx_cv_func_sqrtf_use=yes
75424 else
75425 glibcxx_cv_func_sqrtf_use=no
75427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75428 ac_ext=c
75429 ac_cpp='$CPP $CPPFLAGS'
75430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75439 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75441 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75442 for ac_func in sqrtf
75443 do :
75444 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75445 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75446 cat >>confdefs.h <<_ACEOF
75447 #define HAVE_SQRTF 1
75448 _ACEOF
75451 done
75453 else
75455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75456 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75457 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75458 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75459 $as_echo_n "(cached) " >&6
75460 else
75463 ac_ext=cpp
75464 ac_cpp='$CXXCPP $CPPFLAGS'
75465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75470 /* end confdefs.h. */
75471 #include <math.h>
75472 #ifdef HAVE_IEEEFP_H
75473 #include <ieeefp.h>
75474 #endif
75477 main ()
75479 _sqrtf(0);
75481 return 0;
75483 _ACEOF
75484 if ac_fn_cxx_try_compile "$LINENO"; then :
75485 glibcxx_cv_func__sqrtf_use=yes
75486 else
75487 glibcxx_cv_func__sqrtf_use=no
75489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75490 ac_ext=c
75491 ac_cpp='$CPP $CPPFLAGS'
75492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75501 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75503 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75504 for ac_func in _sqrtf
75505 do :
75506 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75507 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75508 cat >>confdefs.h <<_ACEOF
75509 #define HAVE__SQRTF 1
75510 _ACEOF
75513 done
75522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75523 $as_echo_n "checking for sincosf declaration... " >&6; }
75524 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75525 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75526 $as_echo_n "(cached) " >&6
75527 else
75530 ac_ext=cpp
75531 ac_cpp='$CXXCPP $CPPFLAGS'
75532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75537 /* end confdefs.h. */
75538 #include <math.h>
75540 main ()
75542 sincosf(0, 0, 0);
75544 return 0;
75546 _ACEOF
75547 if ac_fn_cxx_try_compile "$LINENO"; then :
75548 glibcxx_cv_func_sincosf_use=yes
75549 else
75550 glibcxx_cv_func_sincosf_use=no
75552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75553 ac_ext=c
75554 ac_cpp='$CPP $CPPFLAGS'
75555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75564 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75566 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75567 for ac_func in sincosf
75568 do :
75569 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75570 if test "x$ac_cv_func_sincosf" = x""yes; then :
75571 cat >>confdefs.h <<_ACEOF
75572 #define HAVE_SINCOSF 1
75573 _ACEOF
75576 done
75578 else
75580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75581 $as_echo_n "checking for _sincosf declaration... " >&6; }
75582 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75583 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75584 $as_echo_n "(cached) " >&6
75585 else
75588 ac_ext=cpp
75589 ac_cpp='$CXXCPP $CPPFLAGS'
75590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75595 /* end confdefs.h. */
75596 #include <math.h>
75598 main ()
75600 _sincosf(0, 0, 0);
75602 return 0;
75604 _ACEOF
75605 if ac_fn_cxx_try_compile "$LINENO"; then :
75606 glibcxx_cv_func__sincosf_use=yes
75607 else
75608 glibcxx_cv_func__sincosf_use=no
75610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75611 ac_ext=c
75612 ac_cpp='$CPP $CPPFLAGS'
75613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75622 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75624 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75625 for ac_func in _sincosf
75626 do :
75627 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75628 if test "x$ac_cv_func__sincosf" = x""yes; then :
75629 cat >>confdefs.h <<_ACEOF
75630 #define HAVE__SINCOSF 1
75631 _ACEOF
75634 done
75643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75644 $as_echo_n "checking for finitef declaration... " >&6; }
75645 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75646 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75647 $as_echo_n "(cached) " >&6
75648 else
75651 ac_ext=cpp
75652 ac_cpp='$CXXCPP $CPPFLAGS'
75653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75658 /* end confdefs.h. */
75659 #include <math.h>
75660 #ifdef HAVE_IEEEFP_H
75661 #include <ieeefp.h>
75662 #endif
75665 main ()
75667 finitef(0);
75669 return 0;
75671 _ACEOF
75672 if ac_fn_cxx_try_compile "$LINENO"; then :
75673 glibcxx_cv_func_finitef_use=yes
75674 else
75675 glibcxx_cv_func_finitef_use=no
75677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75678 ac_ext=c
75679 ac_cpp='$CPP $CPPFLAGS'
75680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75689 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75691 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75692 for ac_func in finitef
75693 do :
75694 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75695 if test "x$ac_cv_func_finitef" = x""yes; then :
75696 cat >>confdefs.h <<_ACEOF
75697 #define HAVE_FINITEF 1
75698 _ACEOF
75701 done
75703 else
75705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75706 $as_echo_n "checking for _finitef declaration... " >&6; }
75707 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75708 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75709 $as_echo_n "(cached) " >&6
75710 else
75713 ac_ext=cpp
75714 ac_cpp='$CXXCPP $CPPFLAGS'
75715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75720 /* end confdefs.h. */
75721 #include <math.h>
75722 #ifdef HAVE_IEEEFP_H
75723 #include <ieeefp.h>
75724 #endif
75727 main ()
75729 _finitef(0);
75731 return 0;
75733 _ACEOF
75734 if ac_fn_cxx_try_compile "$LINENO"; then :
75735 glibcxx_cv_func__finitef_use=yes
75736 else
75737 glibcxx_cv_func__finitef_use=no
75739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75740 ac_ext=c
75741 ac_cpp='$CPP $CPPFLAGS'
75742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75751 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75753 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75754 for ac_func in _finitef
75755 do :
75756 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75757 if test "x$ac_cv_func__finitef" = x""yes; then :
75758 cat >>confdefs.h <<_ACEOF
75759 #define HAVE__FINITEF 1
75760 _ACEOF
75763 done
75772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75773 $as_echo_n "checking for long double trig functions... " >&6; }
75774 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75775 $as_echo_n "(cached) " >&6
75776 else
75779 ac_ext=cpp
75780 ac_cpp='$CXXCPP $CPPFLAGS'
75781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75786 /* end confdefs.h. */
75787 #include <math.h>
75789 main ()
75791 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75793 return 0;
75795 _ACEOF
75796 if ac_fn_cxx_try_compile "$LINENO"; then :
75797 glibcxx_cv_func_long_double_trig_use=yes
75798 else
75799 glibcxx_cv_func_long_double_trig_use=no
75801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75802 ac_ext=c
75803 ac_cpp='$CPP $CPPFLAGS'
75804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75811 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75812 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75813 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75814 do :
75815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75817 eval as_val=\$$as_ac_var
75818 if test "x$as_val" = x""yes; then :
75819 cat >>confdefs.h <<_ACEOF
75820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75821 _ACEOF
75824 done
75826 else
75827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75828 $as_echo_n "checking for _long double trig functions... " >&6; }
75829 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75830 $as_echo_n "(cached) " >&6
75831 else
75834 ac_ext=cpp
75835 ac_cpp='$CXXCPP $CPPFLAGS'
75836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75841 /* end confdefs.h. */
75842 #include <math.h>
75844 main ()
75846 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75848 return 0;
75850 _ACEOF
75851 if ac_fn_cxx_try_compile "$LINENO"; then :
75852 glibcxx_cv_func__long_double_trig_use=yes
75853 else
75854 glibcxx_cv_func__long_double_trig_use=no
75856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75857 ac_ext=c
75858 ac_cpp='$CPP $CPPFLAGS'
75859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75866 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75867 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75868 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75869 do :
75870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75872 eval as_val=\$$as_ac_var
75873 if test "x$as_val" = x""yes; then :
75874 cat >>confdefs.h <<_ACEOF
75875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75876 _ACEOF
75879 done
75888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75889 $as_echo_n "checking for long double round functions... " >&6; }
75890 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75891 $as_echo_n "(cached) " >&6
75892 else
75895 ac_ext=cpp
75896 ac_cpp='$CXXCPP $CPPFLAGS'
75897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75902 /* end confdefs.h. */
75903 #include <math.h>
75905 main ()
75907 ceill (0); floorl (0);
75909 return 0;
75911 _ACEOF
75912 if ac_fn_cxx_try_compile "$LINENO"; then :
75913 glibcxx_cv_func_long_double_round_use=yes
75914 else
75915 glibcxx_cv_func_long_double_round_use=no
75917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75918 ac_ext=c
75919 ac_cpp='$CPP $CPPFLAGS'
75920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75927 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75928 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75929 for ac_func in ceill floorl
75930 do :
75931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75933 eval as_val=\$$as_ac_var
75934 if test "x$as_val" = x""yes; then :
75935 cat >>confdefs.h <<_ACEOF
75936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75937 _ACEOF
75940 done
75942 else
75943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75944 $as_echo_n "checking for _long double round functions... " >&6; }
75945 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75946 $as_echo_n "(cached) " >&6
75947 else
75950 ac_ext=cpp
75951 ac_cpp='$CXXCPP $CPPFLAGS'
75952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75957 /* end confdefs.h. */
75958 #include <math.h>
75960 main ()
75962 _ceill (0); _floorl (0);
75964 return 0;
75966 _ACEOF
75967 if ac_fn_cxx_try_compile "$LINENO"; then :
75968 glibcxx_cv_func__long_double_round_use=yes
75969 else
75970 glibcxx_cv_func__long_double_round_use=no
75972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75973 ac_ext=c
75974 ac_cpp='$CPP $CPPFLAGS'
75975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75982 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75983 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75984 for ac_func in _ceill _floorl
75985 do :
75986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75988 eval as_val=\$$as_ac_var
75989 if test "x$as_val" = x""yes; then :
75990 cat >>confdefs.h <<_ACEOF
75991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75992 _ACEOF
75995 done
76005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76006 $as_echo_n "checking for isnanl declaration... " >&6; }
76007 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76008 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76009 $as_echo_n "(cached) " >&6
76010 else
76013 ac_ext=cpp
76014 ac_cpp='$CXXCPP $CPPFLAGS'
76015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76020 /* end confdefs.h. */
76021 #include <math.h>
76022 #ifdef HAVE_IEEEFP_H
76023 #include <ieeefp.h>
76024 #endif
76027 main ()
76029 isnanl(0);
76031 return 0;
76033 _ACEOF
76034 if ac_fn_cxx_try_compile "$LINENO"; then :
76035 glibcxx_cv_func_isnanl_use=yes
76036 else
76037 glibcxx_cv_func_isnanl_use=no
76039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76040 ac_ext=c
76041 ac_cpp='$CPP $CPPFLAGS'
76042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76051 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76053 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76054 for ac_func in isnanl
76055 do :
76056 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76057 if test "x$ac_cv_func_isnanl" = x""yes; then :
76058 cat >>confdefs.h <<_ACEOF
76059 #define HAVE_ISNANL 1
76060 _ACEOF
76063 done
76065 else
76067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76068 $as_echo_n "checking for _isnanl declaration... " >&6; }
76069 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76070 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76071 $as_echo_n "(cached) " >&6
76072 else
76075 ac_ext=cpp
76076 ac_cpp='$CXXCPP $CPPFLAGS'
76077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76082 /* end confdefs.h. */
76083 #include <math.h>
76084 #ifdef HAVE_IEEEFP_H
76085 #include <ieeefp.h>
76086 #endif
76089 main ()
76091 _isnanl(0);
76093 return 0;
76095 _ACEOF
76096 if ac_fn_cxx_try_compile "$LINENO"; then :
76097 glibcxx_cv_func__isnanl_use=yes
76098 else
76099 glibcxx_cv_func__isnanl_use=no
76101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76102 ac_ext=c
76103 ac_cpp='$CPP $CPPFLAGS'
76104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76113 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76115 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76116 for ac_func in _isnanl
76117 do :
76118 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76119 if test "x$ac_cv_func__isnanl" = x""yes; then :
76120 cat >>confdefs.h <<_ACEOF
76121 #define HAVE__ISNANL 1
76122 _ACEOF
76125 done
76134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76135 $as_echo_n "checking for isinfl declaration... " >&6; }
76136 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76137 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76138 $as_echo_n "(cached) " >&6
76139 else
76142 ac_ext=cpp
76143 ac_cpp='$CXXCPP $CPPFLAGS'
76144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76149 /* end confdefs.h. */
76150 #include <math.h>
76151 #ifdef HAVE_IEEEFP_H
76152 #include <ieeefp.h>
76153 #endif
76156 main ()
76158 isinfl(0);
76160 return 0;
76162 _ACEOF
76163 if ac_fn_cxx_try_compile "$LINENO"; then :
76164 glibcxx_cv_func_isinfl_use=yes
76165 else
76166 glibcxx_cv_func_isinfl_use=no
76168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76169 ac_ext=c
76170 ac_cpp='$CPP $CPPFLAGS'
76171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76180 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76182 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76183 for ac_func in isinfl
76184 do :
76185 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76186 if test "x$ac_cv_func_isinfl" = x""yes; then :
76187 cat >>confdefs.h <<_ACEOF
76188 #define HAVE_ISINFL 1
76189 _ACEOF
76192 done
76194 else
76196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76197 $as_echo_n "checking for _isinfl declaration... " >&6; }
76198 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76199 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76200 $as_echo_n "(cached) " >&6
76201 else
76204 ac_ext=cpp
76205 ac_cpp='$CXXCPP $CPPFLAGS'
76206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76211 /* end confdefs.h. */
76212 #include <math.h>
76213 #ifdef HAVE_IEEEFP_H
76214 #include <ieeefp.h>
76215 #endif
76218 main ()
76220 _isinfl(0);
76222 return 0;
76224 _ACEOF
76225 if ac_fn_cxx_try_compile "$LINENO"; then :
76226 glibcxx_cv_func__isinfl_use=yes
76227 else
76228 glibcxx_cv_func__isinfl_use=no
76230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76231 ac_ext=c
76232 ac_cpp='$CPP $CPPFLAGS'
76233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76242 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76244 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76245 for ac_func in _isinfl
76246 do :
76247 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76248 if test "x$ac_cv_func__isinfl" = x""yes; then :
76249 cat >>confdefs.h <<_ACEOF
76250 #define HAVE__ISINFL 1
76251 _ACEOF
76254 done
76263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76264 $as_echo_n "checking for atan2l declaration... " >&6; }
76265 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76266 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76267 $as_echo_n "(cached) " >&6
76268 else
76271 ac_ext=cpp
76272 ac_cpp='$CXXCPP $CPPFLAGS'
76273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76278 /* end confdefs.h. */
76279 #include <math.h>
76281 main ()
76283 atan2l(0, 0);
76285 return 0;
76287 _ACEOF
76288 if ac_fn_cxx_try_compile "$LINENO"; then :
76289 glibcxx_cv_func_atan2l_use=yes
76290 else
76291 glibcxx_cv_func_atan2l_use=no
76293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76294 ac_ext=c
76295 ac_cpp='$CPP $CPPFLAGS'
76296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76305 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76307 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76308 for ac_func in atan2l
76309 do :
76310 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76311 if test "x$ac_cv_func_atan2l" = x""yes; then :
76312 cat >>confdefs.h <<_ACEOF
76313 #define HAVE_ATAN2L 1
76314 _ACEOF
76317 done
76319 else
76321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76322 $as_echo_n "checking for _atan2l declaration... " >&6; }
76323 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76324 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76325 $as_echo_n "(cached) " >&6
76326 else
76329 ac_ext=cpp
76330 ac_cpp='$CXXCPP $CPPFLAGS'
76331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76336 /* end confdefs.h. */
76337 #include <math.h>
76339 main ()
76341 _atan2l(0, 0);
76343 return 0;
76345 _ACEOF
76346 if ac_fn_cxx_try_compile "$LINENO"; then :
76347 glibcxx_cv_func__atan2l_use=yes
76348 else
76349 glibcxx_cv_func__atan2l_use=no
76351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76352 ac_ext=c
76353 ac_cpp='$CPP $CPPFLAGS'
76354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76363 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76365 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76366 for ac_func in _atan2l
76367 do :
76368 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76369 if test "x$ac_cv_func__atan2l" = x""yes; then :
76370 cat >>confdefs.h <<_ACEOF
76371 #define HAVE__ATAN2L 1
76372 _ACEOF
76375 done
76384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76385 $as_echo_n "checking for expl declaration... " >&6; }
76386 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76387 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76388 $as_echo_n "(cached) " >&6
76389 else
76392 ac_ext=cpp
76393 ac_cpp='$CXXCPP $CPPFLAGS'
76394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76399 /* end confdefs.h. */
76400 #include <math.h>
76401 #ifdef HAVE_IEEEFP_H
76402 #include <ieeefp.h>
76403 #endif
76406 main ()
76408 expl(0);
76410 return 0;
76412 _ACEOF
76413 if ac_fn_cxx_try_compile "$LINENO"; then :
76414 glibcxx_cv_func_expl_use=yes
76415 else
76416 glibcxx_cv_func_expl_use=no
76418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76419 ac_ext=c
76420 ac_cpp='$CPP $CPPFLAGS'
76421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76430 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76432 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76433 for ac_func in expl
76434 do :
76435 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76436 if test "x$ac_cv_func_expl" = x""yes; then :
76437 cat >>confdefs.h <<_ACEOF
76438 #define HAVE_EXPL 1
76439 _ACEOF
76442 done
76444 else
76446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76447 $as_echo_n "checking for _expl declaration... " >&6; }
76448 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76449 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76450 $as_echo_n "(cached) " >&6
76451 else
76454 ac_ext=cpp
76455 ac_cpp='$CXXCPP $CPPFLAGS'
76456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76461 /* end confdefs.h. */
76462 #include <math.h>
76463 #ifdef HAVE_IEEEFP_H
76464 #include <ieeefp.h>
76465 #endif
76468 main ()
76470 _expl(0);
76472 return 0;
76474 _ACEOF
76475 if ac_fn_cxx_try_compile "$LINENO"; then :
76476 glibcxx_cv_func__expl_use=yes
76477 else
76478 glibcxx_cv_func__expl_use=no
76480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76481 ac_ext=c
76482 ac_cpp='$CPP $CPPFLAGS'
76483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76492 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76494 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76495 for ac_func in _expl
76496 do :
76497 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76498 if test "x$ac_cv_func__expl" = x""yes; then :
76499 cat >>confdefs.h <<_ACEOF
76500 #define HAVE__EXPL 1
76501 _ACEOF
76504 done
76513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76514 $as_echo_n "checking for fabsl declaration... " >&6; }
76515 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76516 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76517 $as_echo_n "(cached) " >&6
76518 else
76521 ac_ext=cpp
76522 ac_cpp='$CXXCPP $CPPFLAGS'
76523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76528 /* end confdefs.h. */
76529 #include <math.h>
76530 #ifdef HAVE_IEEEFP_H
76531 #include <ieeefp.h>
76532 #endif
76535 main ()
76537 fabsl(0);
76539 return 0;
76541 _ACEOF
76542 if ac_fn_cxx_try_compile "$LINENO"; then :
76543 glibcxx_cv_func_fabsl_use=yes
76544 else
76545 glibcxx_cv_func_fabsl_use=no
76547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76548 ac_ext=c
76549 ac_cpp='$CPP $CPPFLAGS'
76550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76559 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76561 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76562 for ac_func in fabsl
76563 do :
76564 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76565 if test "x$ac_cv_func_fabsl" = x""yes; then :
76566 cat >>confdefs.h <<_ACEOF
76567 #define HAVE_FABSL 1
76568 _ACEOF
76571 done
76573 else
76575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76576 $as_echo_n "checking for _fabsl declaration... " >&6; }
76577 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76578 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76579 $as_echo_n "(cached) " >&6
76580 else
76583 ac_ext=cpp
76584 ac_cpp='$CXXCPP $CPPFLAGS'
76585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76590 /* end confdefs.h. */
76591 #include <math.h>
76592 #ifdef HAVE_IEEEFP_H
76593 #include <ieeefp.h>
76594 #endif
76597 main ()
76599 _fabsl(0);
76601 return 0;
76603 _ACEOF
76604 if ac_fn_cxx_try_compile "$LINENO"; then :
76605 glibcxx_cv_func__fabsl_use=yes
76606 else
76607 glibcxx_cv_func__fabsl_use=no
76609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76610 ac_ext=c
76611 ac_cpp='$CPP $CPPFLAGS'
76612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76621 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76623 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76624 for ac_func in _fabsl
76625 do :
76626 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76627 if test "x$ac_cv_func__fabsl" = x""yes; then :
76628 cat >>confdefs.h <<_ACEOF
76629 #define HAVE__FABSL 1
76630 _ACEOF
76633 done
76642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76643 $as_echo_n "checking for fmodl declaration... " >&6; }
76644 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76645 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76646 $as_echo_n "(cached) " >&6
76647 else
76650 ac_ext=cpp
76651 ac_cpp='$CXXCPP $CPPFLAGS'
76652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76657 /* end confdefs.h. */
76658 #include <math.h>
76660 main ()
76662 fmodl(0, 0);
76664 return 0;
76666 _ACEOF
76667 if ac_fn_cxx_try_compile "$LINENO"; then :
76668 glibcxx_cv_func_fmodl_use=yes
76669 else
76670 glibcxx_cv_func_fmodl_use=no
76672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76673 ac_ext=c
76674 ac_cpp='$CPP $CPPFLAGS'
76675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76684 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76686 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76687 for ac_func in fmodl
76688 do :
76689 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76690 if test "x$ac_cv_func_fmodl" = x""yes; then :
76691 cat >>confdefs.h <<_ACEOF
76692 #define HAVE_FMODL 1
76693 _ACEOF
76696 done
76698 else
76700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76701 $as_echo_n "checking for _fmodl declaration... " >&6; }
76702 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76703 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76704 $as_echo_n "(cached) " >&6
76705 else
76708 ac_ext=cpp
76709 ac_cpp='$CXXCPP $CPPFLAGS'
76710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76715 /* end confdefs.h. */
76716 #include <math.h>
76718 main ()
76720 _fmodl(0, 0);
76722 return 0;
76724 _ACEOF
76725 if ac_fn_cxx_try_compile "$LINENO"; then :
76726 glibcxx_cv_func__fmodl_use=yes
76727 else
76728 glibcxx_cv_func__fmodl_use=no
76730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76731 ac_ext=c
76732 ac_cpp='$CPP $CPPFLAGS'
76733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76742 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76744 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76745 for ac_func in _fmodl
76746 do :
76747 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76748 if test "x$ac_cv_func__fmodl" = x""yes; then :
76749 cat >>confdefs.h <<_ACEOF
76750 #define HAVE__FMODL 1
76751 _ACEOF
76754 done
76763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76764 $as_echo_n "checking for frexpl declaration... " >&6; }
76765 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76766 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76767 $as_echo_n "(cached) " >&6
76768 else
76771 ac_ext=cpp
76772 ac_cpp='$CXXCPP $CPPFLAGS'
76773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76778 /* end confdefs.h. */
76779 #include <math.h>
76781 main ()
76783 frexpl(0, 0);
76785 return 0;
76787 _ACEOF
76788 if ac_fn_cxx_try_compile "$LINENO"; then :
76789 glibcxx_cv_func_frexpl_use=yes
76790 else
76791 glibcxx_cv_func_frexpl_use=no
76793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76794 ac_ext=c
76795 ac_cpp='$CPP $CPPFLAGS'
76796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76805 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76807 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76808 for ac_func in frexpl
76809 do :
76810 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76811 if test "x$ac_cv_func_frexpl" = x""yes; then :
76812 cat >>confdefs.h <<_ACEOF
76813 #define HAVE_FREXPL 1
76814 _ACEOF
76817 done
76819 else
76821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76822 $as_echo_n "checking for _frexpl declaration... " >&6; }
76823 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76824 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76825 $as_echo_n "(cached) " >&6
76826 else
76829 ac_ext=cpp
76830 ac_cpp='$CXXCPP $CPPFLAGS'
76831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76836 /* end confdefs.h. */
76837 #include <math.h>
76839 main ()
76841 _frexpl(0, 0);
76843 return 0;
76845 _ACEOF
76846 if ac_fn_cxx_try_compile "$LINENO"; then :
76847 glibcxx_cv_func__frexpl_use=yes
76848 else
76849 glibcxx_cv_func__frexpl_use=no
76851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76852 ac_ext=c
76853 ac_cpp='$CPP $CPPFLAGS'
76854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76863 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76865 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76866 for ac_func in _frexpl
76867 do :
76868 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76869 if test "x$ac_cv_func__frexpl" = x""yes; then :
76870 cat >>confdefs.h <<_ACEOF
76871 #define HAVE__FREXPL 1
76872 _ACEOF
76875 done
76884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76885 $as_echo_n "checking for hypotl declaration... " >&6; }
76886 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76887 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76888 $as_echo_n "(cached) " >&6
76889 else
76892 ac_ext=cpp
76893 ac_cpp='$CXXCPP $CPPFLAGS'
76894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76899 /* end confdefs.h. */
76900 #include <math.h>
76902 main ()
76904 hypotl(0, 0);
76906 return 0;
76908 _ACEOF
76909 if ac_fn_cxx_try_compile "$LINENO"; then :
76910 glibcxx_cv_func_hypotl_use=yes
76911 else
76912 glibcxx_cv_func_hypotl_use=no
76914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76915 ac_ext=c
76916 ac_cpp='$CPP $CPPFLAGS'
76917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76926 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76928 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76929 for ac_func in hypotl
76930 do :
76931 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76932 if test "x$ac_cv_func_hypotl" = x""yes; then :
76933 cat >>confdefs.h <<_ACEOF
76934 #define HAVE_HYPOTL 1
76935 _ACEOF
76938 done
76940 else
76942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76943 $as_echo_n "checking for _hypotl declaration... " >&6; }
76944 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76945 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76946 $as_echo_n "(cached) " >&6
76947 else
76950 ac_ext=cpp
76951 ac_cpp='$CXXCPP $CPPFLAGS'
76952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76957 /* end confdefs.h. */
76958 #include <math.h>
76960 main ()
76962 _hypotl(0, 0);
76964 return 0;
76966 _ACEOF
76967 if ac_fn_cxx_try_compile "$LINENO"; then :
76968 glibcxx_cv_func__hypotl_use=yes
76969 else
76970 glibcxx_cv_func__hypotl_use=no
76972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76973 ac_ext=c
76974 ac_cpp='$CPP $CPPFLAGS'
76975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76984 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76986 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76987 for ac_func in _hypotl
76988 do :
76989 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76990 if test "x$ac_cv_func__hypotl" = x""yes; then :
76991 cat >>confdefs.h <<_ACEOF
76992 #define HAVE__HYPOTL 1
76993 _ACEOF
76996 done
77005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77006 $as_echo_n "checking for ldexpl declaration... " >&6; }
77007 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77008 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77009 $as_echo_n "(cached) " >&6
77010 else
77013 ac_ext=cpp
77014 ac_cpp='$CXXCPP $CPPFLAGS'
77015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77020 /* end confdefs.h. */
77021 #include <math.h>
77023 main ()
77025 ldexpl(0, 0);
77027 return 0;
77029 _ACEOF
77030 if ac_fn_cxx_try_compile "$LINENO"; then :
77031 glibcxx_cv_func_ldexpl_use=yes
77032 else
77033 glibcxx_cv_func_ldexpl_use=no
77035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77036 ac_ext=c
77037 ac_cpp='$CPP $CPPFLAGS'
77038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77047 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77049 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77050 for ac_func in ldexpl
77051 do :
77052 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77053 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77054 cat >>confdefs.h <<_ACEOF
77055 #define HAVE_LDEXPL 1
77056 _ACEOF
77059 done
77061 else
77063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77064 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77065 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77066 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77067 $as_echo_n "(cached) " >&6
77068 else
77071 ac_ext=cpp
77072 ac_cpp='$CXXCPP $CPPFLAGS'
77073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77078 /* end confdefs.h. */
77079 #include <math.h>
77081 main ()
77083 _ldexpl(0, 0);
77085 return 0;
77087 _ACEOF
77088 if ac_fn_cxx_try_compile "$LINENO"; then :
77089 glibcxx_cv_func__ldexpl_use=yes
77090 else
77091 glibcxx_cv_func__ldexpl_use=no
77093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77094 ac_ext=c
77095 ac_cpp='$CPP $CPPFLAGS'
77096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77105 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77107 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77108 for ac_func in _ldexpl
77109 do :
77110 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77111 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77112 cat >>confdefs.h <<_ACEOF
77113 #define HAVE__LDEXPL 1
77114 _ACEOF
77117 done
77126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77127 $as_echo_n "checking for logl declaration... " >&6; }
77128 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77129 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77130 $as_echo_n "(cached) " >&6
77131 else
77134 ac_ext=cpp
77135 ac_cpp='$CXXCPP $CPPFLAGS'
77136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77141 /* end confdefs.h. */
77142 #include <math.h>
77143 #ifdef HAVE_IEEEFP_H
77144 #include <ieeefp.h>
77145 #endif
77148 main ()
77150 logl(0);
77152 return 0;
77154 _ACEOF
77155 if ac_fn_cxx_try_compile "$LINENO"; then :
77156 glibcxx_cv_func_logl_use=yes
77157 else
77158 glibcxx_cv_func_logl_use=no
77160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77161 ac_ext=c
77162 ac_cpp='$CPP $CPPFLAGS'
77163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77172 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77174 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77175 for ac_func in logl
77176 do :
77177 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77178 if test "x$ac_cv_func_logl" = x""yes; then :
77179 cat >>confdefs.h <<_ACEOF
77180 #define HAVE_LOGL 1
77181 _ACEOF
77184 done
77186 else
77188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77189 $as_echo_n "checking for _logl declaration... " >&6; }
77190 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77191 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77192 $as_echo_n "(cached) " >&6
77193 else
77196 ac_ext=cpp
77197 ac_cpp='$CXXCPP $CPPFLAGS'
77198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77203 /* end confdefs.h. */
77204 #include <math.h>
77205 #ifdef HAVE_IEEEFP_H
77206 #include <ieeefp.h>
77207 #endif
77210 main ()
77212 _logl(0);
77214 return 0;
77216 _ACEOF
77217 if ac_fn_cxx_try_compile "$LINENO"; then :
77218 glibcxx_cv_func__logl_use=yes
77219 else
77220 glibcxx_cv_func__logl_use=no
77222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77223 ac_ext=c
77224 ac_cpp='$CPP $CPPFLAGS'
77225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77234 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77236 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77237 for ac_func in _logl
77238 do :
77239 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77240 if test "x$ac_cv_func__logl" = x""yes; then :
77241 cat >>confdefs.h <<_ACEOF
77242 #define HAVE__LOGL 1
77243 _ACEOF
77246 done
77255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77256 $as_echo_n "checking for log10l declaration... " >&6; }
77257 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77258 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77259 $as_echo_n "(cached) " >&6
77260 else
77263 ac_ext=cpp
77264 ac_cpp='$CXXCPP $CPPFLAGS'
77265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77270 /* end confdefs.h. */
77271 #include <math.h>
77272 #ifdef HAVE_IEEEFP_H
77273 #include <ieeefp.h>
77274 #endif
77277 main ()
77279 log10l(0);
77281 return 0;
77283 _ACEOF
77284 if ac_fn_cxx_try_compile "$LINENO"; then :
77285 glibcxx_cv_func_log10l_use=yes
77286 else
77287 glibcxx_cv_func_log10l_use=no
77289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77290 ac_ext=c
77291 ac_cpp='$CPP $CPPFLAGS'
77292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77301 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77303 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77304 for ac_func in log10l
77305 do :
77306 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77307 if test "x$ac_cv_func_log10l" = x""yes; then :
77308 cat >>confdefs.h <<_ACEOF
77309 #define HAVE_LOG10L 1
77310 _ACEOF
77313 done
77315 else
77317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77318 $as_echo_n "checking for _log10l declaration... " >&6; }
77319 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77320 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77321 $as_echo_n "(cached) " >&6
77322 else
77325 ac_ext=cpp
77326 ac_cpp='$CXXCPP $CPPFLAGS'
77327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77332 /* end confdefs.h. */
77333 #include <math.h>
77334 #ifdef HAVE_IEEEFP_H
77335 #include <ieeefp.h>
77336 #endif
77339 main ()
77341 _log10l(0);
77343 return 0;
77345 _ACEOF
77346 if ac_fn_cxx_try_compile "$LINENO"; then :
77347 glibcxx_cv_func__log10l_use=yes
77348 else
77349 glibcxx_cv_func__log10l_use=no
77351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77352 ac_ext=c
77353 ac_cpp='$CPP $CPPFLAGS'
77354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77363 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77365 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77366 for ac_func in _log10l
77367 do :
77368 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77369 if test "x$ac_cv_func__log10l" = x""yes; then :
77370 cat >>confdefs.h <<_ACEOF
77371 #define HAVE__LOG10L 1
77372 _ACEOF
77375 done
77384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77385 $as_echo_n "checking for modfl declaration... " >&6; }
77386 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77387 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77388 $as_echo_n "(cached) " >&6
77389 else
77392 ac_ext=cpp
77393 ac_cpp='$CXXCPP $CPPFLAGS'
77394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77399 /* end confdefs.h. */
77400 #include <math.h>
77402 main ()
77404 modfl(0, 0);
77406 return 0;
77408 _ACEOF
77409 if ac_fn_cxx_try_compile "$LINENO"; then :
77410 glibcxx_cv_func_modfl_use=yes
77411 else
77412 glibcxx_cv_func_modfl_use=no
77414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77415 ac_ext=c
77416 ac_cpp='$CPP $CPPFLAGS'
77417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77426 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77428 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77429 for ac_func in modfl
77430 do :
77431 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77432 if test "x$ac_cv_func_modfl" = x""yes; then :
77433 cat >>confdefs.h <<_ACEOF
77434 #define HAVE_MODFL 1
77435 _ACEOF
77438 done
77440 else
77442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77443 $as_echo_n "checking for _modfl declaration... " >&6; }
77444 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77445 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77446 $as_echo_n "(cached) " >&6
77447 else
77450 ac_ext=cpp
77451 ac_cpp='$CXXCPP $CPPFLAGS'
77452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77457 /* end confdefs.h. */
77458 #include <math.h>
77460 main ()
77462 _modfl(0, 0);
77464 return 0;
77466 _ACEOF
77467 if ac_fn_cxx_try_compile "$LINENO"; then :
77468 glibcxx_cv_func__modfl_use=yes
77469 else
77470 glibcxx_cv_func__modfl_use=no
77472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77473 ac_ext=c
77474 ac_cpp='$CPP $CPPFLAGS'
77475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77484 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77486 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77487 for ac_func in _modfl
77488 do :
77489 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77490 if test "x$ac_cv_func__modfl" = x""yes; then :
77491 cat >>confdefs.h <<_ACEOF
77492 #define HAVE__MODFL 1
77493 _ACEOF
77496 done
77505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77506 $as_echo_n "checking for powl declaration... " >&6; }
77507 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77508 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77509 $as_echo_n "(cached) " >&6
77510 else
77513 ac_ext=cpp
77514 ac_cpp='$CXXCPP $CPPFLAGS'
77515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77520 /* end confdefs.h. */
77521 #include <math.h>
77523 main ()
77525 powl(0, 0);
77527 return 0;
77529 _ACEOF
77530 if ac_fn_cxx_try_compile "$LINENO"; then :
77531 glibcxx_cv_func_powl_use=yes
77532 else
77533 glibcxx_cv_func_powl_use=no
77535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77536 ac_ext=c
77537 ac_cpp='$CPP $CPPFLAGS'
77538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77547 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77549 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77550 for ac_func in powl
77551 do :
77552 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77553 if test "x$ac_cv_func_powl" = x""yes; then :
77554 cat >>confdefs.h <<_ACEOF
77555 #define HAVE_POWL 1
77556 _ACEOF
77559 done
77561 else
77563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77564 $as_echo_n "checking for _powl declaration... " >&6; }
77565 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77566 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77567 $as_echo_n "(cached) " >&6
77568 else
77571 ac_ext=cpp
77572 ac_cpp='$CXXCPP $CPPFLAGS'
77573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77578 /* end confdefs.h. */
77579 #include <math.h>
77581 main ()
77583 _powl(0, 0);
77585 return 0;
77587 _ACEOF
77588 if ac_fn_cxx_try_compile "$LINENO"; then :
77589 glibcxx_cv_func__powl_use=yes
77590 else
77591 glibcxx_cv_func__powl_use=no
77593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77594 ac_ext=c
77595 ac_cpp='$CPP $CPPFLAGS'
77596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77605 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77607 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77608 for ac_func in _powl
77609 do :
77610 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77611 if test "x$ac_cv_func__powl" = x""yes; then :
77612 cat >>confdefs.h <<_ACEOF
77613 #define HAVE__POWL 1
77614 _ACEOF
77617 done
77626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77627 $as_echo_n "checking for sqrtl declaration... " >&6; }
77628 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77629 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77630 $as_echo_n "(cached) " >&6
77631 else
77634 ac_ext=cpp
77635 ac_cpp='$CXXCPP $CPPFLAGS'
77636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77641 /* end confdefs.h. */
77642 #include <math.h>
77643 #ifdef HAVE_IEEEFP_H
77644 #include <ieeefp.h>
77645 #endif
77648 main ()
77650 sqrtl(0);
77652 return 0;
77654 _ACEOF
77655 if ac_fn_cxx_try_compile "$LINENO"; then :
77656 glibcxx_cv_func_sqrtl_use=yes
77657 else
77658 glibcxx_cv_func_sqrtl_use=no
77660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77661 ac_ext=c
77662 ac_cpp='$CPP $CPPFLAGS'
77663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77672 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77674 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77675 for ac_func in sqrtl
77676 do :
77677 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77678 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77679 cat >>confdefs.h <<_ACEOF
77680 #define HAVE_SQRTL 1
77681 _ACEOF
77684 done
77686 else
77688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77689 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77690 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77691 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77692 $as_echo_n "(cached) " >&6
77693 else
77696 ac_ext=cpp
77697 ac_cpp='$CXXCPP $CPPFLAGS'
77698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77703 /* end confdefs.h. */
77704 #include <math.h>
77705 #ifdef HAVE_IEEEFP_H
77706 #include <ieeefp.h>
77707 #endif
77710 main ()
77712 _sqrtl(0);
77714 return 0;
77716 _ACEOF
77717 if ac_fn_cxx_try_compile "$LINENO"; then :
77718 glibcxx_cv_func__sqrtl_use=yes
77719 else
77720 glibcxx_cv_func__sqrtl_use=no
77722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77723 ac_ext=c
77724 ac_cpp='$CPP $CPPFLAGS'
77725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77734 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77736 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77737 for ac_func in _sqrtl
77738 do :
77739 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77740 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77741 cat >>confdefs.h <<_ACEOF
77742 #define HAVE__SQRTL 1
77743 _ACEOF
77746 done
77755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77756 $as_echo_n "checking for sincosl declaration... " >&6; }
77757 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77758 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77759 $as_echo_n "(cached) " >&6
77760 else
77763 ac_ext=cpp
77764 ac_cpp='$CXXCPP $CPPFLAGS'
77765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77770 /* end confdefs.h. */
77771 #include <math.h>
77773 main ()
77775 sincosl(0, 0, 0);
77777 return 0;
77779 _ACEOF
77780 if ac_fn_cxx_try_compile "$LINENO"; then :
77781 glibcxx_cv_func_sincosl_use=yes
77782 else
77783 glibcxx_cv_func_sincosl_use=no
77785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77786 ac_ext=c
77787 ac_cpp='$CPP $CPPFLAGS'
77788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77797 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77799 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77800 for ac_func in sincosl
77801 do :
77802 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77803 if test "x$ac_cv_func_sincosl" = x""yes; then :
77804 cat >>confdefs.h <<_ACEOF
77805 #define HAVE_SINCOSL 1
77806 _ACEOF
77809 done
77811 else
77813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77814 $as_echo_n "checking for _sincosl declaration... " >&6; }
77815 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77816 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77817 $as_echo_n "(cached) " >&6
77818 else
77821 ac_ext=cpp
77822 ac_cpp='$CXXCPP $CPPFLAGS'
77823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77828 /* end confdefs.h. */
77829 #include <math.h>
77831 main ()
77833 _sincosl(0, 0, 0);
77835 return 0;
77837 _ACEOF
77838 if ac_fn_cxx_try_compile "$LINENO"; then :
77839 glibcxx_cv_func__sincosl_use=yes
77840 else
77841 glibcxx_cv_func__sincosl_use=no
77843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77844 ac_ext=c
77845 ac_cpp='$CPP $CPPFLAGS'
77846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77855 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77857 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77858 for ac_func in _sincosl
77859 do :
77860 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77861 if test "x$ac_cv_func__sincosl" = x""yes; then :
77862 cat >>confdefs.h <<_ACEOF
77863 #define HAVE__SINCOSL 1
77864 _ACEOF
77867 done
77876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77877 $as_echo_n "checking for finitel declaration... " >&6; }
77878 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77879 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77880 $as_echo_n "(cached) " >&6
77881 else
77884 ac_ext=cpp
77885 ac_cpp='$CXXCPP $CPPFLAGS'
77886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77891 /* end confdefs.h. */
77892 #include <math.h>
77893 #ifdef HAVE_IEEEFP_H
77894 #include <ieeefp.h>
77895 #endif
77898 main ()
77900 finitel(0);
77902 return 0;
77904 _ACEOF
77905 if ac_fn_cxx_try_compile "$LINENO"; then :
77906 glibcxx_cv_func_finitel_use=yes
77907 else
77908 glibcxx_cv_func_finitel_use=no
77910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77911 ac_ext=c
77912 ac_cpp='$CPP $CPPFLAGS'
77913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77922 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77924 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77925 for ac_func in finitel
77926 do :
77927 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77928 if test "x$ac_cv_func_finitel" = x""yes; then :
77929 cat >>confdefs.h <<_ACEOF
77930 #define HAVE_FINITEL 1
77931 _ACEOF
77934 done
77936 else
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77939 $as_echo_n "checking for _finitel declaration... " >&6; }
77940 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77941 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77942 $as_echo_n "(cached) " >&6
77943 else
77946 ac_ext=cpp
77947 ac_cpp='$CXXCPP $CPPFLAGS'
77948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77953 /* end confdefs.h. */
77954 #include <math.h>
77955 #ifdef HAVE_IEEEFP_H
77956 #include <ieeefp.h>
77957 #endif
77960 main ()
77962 _finitel(0);
77964 return 0;
77966 _ACEOF
77967 if ac_fn_cxx_try_compile "$LINENO"; then :
77968 glibcxx_cv_func__finitel_use=yes
77969 else
77970 glibcxx_cv_func__finitel_use=no
77972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77973 ac_ext=c
77974 ac_cpp='$CPP $CPPFLAGS'
77975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77984 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77986 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77987 for ac_func in _finitel
77988 do :
77989 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77990 if test "x$ac_cv_func__finitel" = x""yes; then :
77991 cat >>confdefs.h <<_ACEOF
77992 #define HAVE__FINITEL 1
77993 _ACEOF
77996 done
78004 LIBS="$ac_save_LIBS"
78005 CXXFLAGS="$ac_save_CXXFLAGS"
78008 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78009 ac_save_CXXFLAGS="$CXXFLAGS"
78010 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78014 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78015 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78016 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78017 $as_echo_n "(cached) " >&6
78018 else
78021 ac_ext=cpp
78022 ac_cpp='$CXXCPP $CPPFLAGS'
78023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78028 /* end confdefs.h. */
78029 #include <stdlib.h>
78031 main ()
78033 at_quick_exit(0);
78035 return 0;
78037 _ACEOF
78038 if ac_fn_cxx_try_compile "$LINENO"; then :
78039 glibcxx_cv_func_at_quick_exit_use=yes
78040 else
78041 glibcxx_cv_func_at_quick_exit_use=no
78043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78044 ac_ext=c
78045 ac_cpp='$CPP $CPPFLAGS'
78046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78055 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78056 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78057 for ac_func in at_quick_exit
78058 do :
78059 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78060 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78061 cat >>confdefs.h <<_ACEOF
78062 #define HAVE_AT_QUICK_EXIT 1
78063 _ACEOF
78066 done
78071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78072 $as_echo_n "checking for quick_exit declaration... " >&6; }
78073 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78074 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78075 $as_echo_n "(cached) " >&6
78076 else
78079 ac_ext=cpp
78080 ac_cpp='$CXXCPP $CPPFLAGS'
78081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78086 /* end confdefs.h. */
78087 #include <stdlib.h>
78089 main ()
78091 quick_exit(0);
78093 return 0;
78095 _ACEOF
78096 if ac_fn_cxx_try_compile "$LINENO"; then :
78097 glibcxx_cv_func_quick_exit_use=yes
78098 else
78099 glibcxx_cv_func_quick_exit_use=no
78101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78102 ac_ext=c
78103 ac_cpp='$CPP $CPPFLAGS'
78104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78113 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78114 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78115 for ac_func in quick_exit
78116 do :
78117 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78118 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78119 cat >>confdefs.h <<_ACEOF
78120 #define HAVE_QUICK_EXIT 1
78121 _ACEOF
78124 done
78129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78130 $as_echo_n "checking for strtold declaration... " >&6; }
78131 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78132 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78133 $as_echo_n "(cached) " >&6
78134 else
78137 ac_ext=cpp
78138 ac_cpp='$CXXCPP $CPPFLAGS'
78139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78144 /* end confdefs.h. */
78145 #include <stdlib.h>
78147 main ()
78149 strtold(0, 0);
78151 return 0;
78153 _ACEOF
78154 if ac_fn_cxx_try_compile "$LINENO"; then :
78155 glibcxx_cv_func_strtold_use=yes
78156 else
78157 glibcxx_cv_func_strtold_use=no
78159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78160 ac_ext=c
78161 ac_cpp='$CPP $CPPFLAGS'
78162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78171 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78172 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78173 for ac_func in strtold
78174 do :
78175 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78176 if test "x$ac_cv_func_strtold" = x""yes; then :
78177 cat >>confdefs.h <<_ACEOF
78178 #define HAVE_STRTOLD 1
78179 _ACEOF
78182 done
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78190 $as_echo_n "checking for strtof declaration... " >&6; }
78191 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78192 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78193 $as_echo_n "(cached) " >&6
78194 else
78197 ac_ext=cpp
78198 ac_cpp='$CXXCPP $CPPFLAGS'
78199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78204 /* end confdefs.h. */
78205 #include <stdlib.h>
78207 main ()
78209 strtof(0, 0);
78211 return 0;
78213 _ACEOF
78214 if ac_fn_cxx_try_compile "$LINENO"; then :
78215 glibcxx_cv_func_strtof_use=yes
78216 else
78217 glibcxx_cv_func_strtof_use=no
78219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78220 ac_ext=c
78221 ac_cpp='$CPP $CPPFLAGS'
78222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78231 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78232 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78233 for ac_func in strtof
78234 do :
78235 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78236 if test "x$ac_cv_func_strtof" = x""yes; then :
78237 cat >>confdefs.h <<_ACEOF
78238 #define HAVE_STRTOF 1
78239 _ACEOF
78242 done
78249 CXXFLAGS="$ac_save_CXXFLAGS"
78252 *-vxworks)
78253 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78255 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78257 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78259 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78261 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78263 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78265 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78267 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78269 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78271 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78273 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78275 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78277 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78279 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78281 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78283 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78285 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78287 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78289 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78291 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78295 as_fn_error "No support for this host/target combination." "$LINENO" 5
78297 esac
78301 # At some point, we should differentiate between architectures
78302 # like x86, which have long double versions, and alpha/powerpc/etc.,
78303 # which don't. For the time being, punt.
78304 if test x"long_double_math_on_this_cpu" = x"yes"; then
78305 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78307 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78309 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78311 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78313 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78315 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78317 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78319 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78321 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78323 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78325 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78327 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78329 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78331 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78333 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78335 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78337 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78339 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78341 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78343 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78345 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78347 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78349 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78354 # Check for _Unwind_GetIPInfo.
78357 # Check whether --with-system-libunwind was given.
78358 if test "${with_system_libunwind+set}" = set; then :
78359 withval=$with_system_libunwind;
78362 # If system-libunwind was not specifically set, pick a default setting.
78363 if test x$with_system_libunwind = x; then
78364 case ${target} in
78365 ia64-*-hpux*) with_system_libunwind=yes ;;
78366 *) with_system_libunwind=no ;;
78367 esac
78369 # Based on system-libunwind and target, do we have ipinfo?
78370 if test x$with_system_libunwind = xyes; then
78371 case ${target} in
78372 ia64-*-*) have_unwind_getipinfo=no ;;
78373 *) have_unwind_getipinfo=yes ;;
78374 esac
78375 else
78376 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78378 case ${target} in
78379 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78380 *) have_unwind_getipinfo=yes ;;
78381 esac
78385 if test x$have_unwind_getipinfo = xyes; then
78387 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78392 # Check whether --enable-linux-futex was given.
78393 if test "${enable_linux_futex+set}" = set; then :
78394 enableval=$enable_linux_futex;
78395 case "$enableval" in
78396 yes|no|default) ;;
78397 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78398 esac
78400 else
78401 enable_linux_futex=default
78405 case "$target" in
78406 *-linux*)
78407 case "$enable_linux_futex" in
78408 default)
78409 # If headers don't have gettid/futex syscalls definition, then
78410 # default to no, otherwise there will be compile time failures.
78411 # Otherwise, default to yes. If we don't detect we are
78412 # compiled/linked against NPTL and not cross-compiling, check
78413 # if programs are run by default against NPTL and if not, issue
78414 # a warning.
78415 enable_linux_futex=no
78416 if test x$gcc_no_link = xyes; then
78417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78420 /* end confdefs.h. */
78421 #include <sys/syscall.h>
78422 int lk;
78424 main ()
78426 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78428 return 0;
78430 _ACEOF
78431 if ac_fn_c_try_link "$LINENO"; then :
78432 save_LIBS="$LIBS"
78433 LIBS="-lpthread $LIBS"
78434 if test x$gcc_no_link = xyes; then
78435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78438 /* end confdefs.h. */
78439 #ifndef _GNU_SOURCE
78440 #define _GNU_SOURCE 1
78441 #endif
78442 #include <pthread.h>
78443 pthread_t th; void *status;
78445 main ()
78447 pthread_tryjoin_np (th, &status);
78449 return 0;
78451 _ACEOF
78452 if ac_fn_c_try_link "$LINENO"; then :
78453 enable_linux_futex=yes
78454 else
78455 if test x$cross_compiling = xno; then
78456 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78457 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78459 If so, please configure with --disable-linux-futex" >&5
78460 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78461 If so, please configure with --disable-linux-futex" >&2;}
78464 enable_linux_futex=yes
78466 rm -f core conftest.err conftest.$ac_objext \
78467 conftest$ac_exeext conftest.$ac_ext
78468 LIBS="$save_LIBS"
78470 rm -f core conftest.err conftest.$ac_objext \
78471 conftest$ac_exeext conftest.$ac_ext
78473 yes)
78474 if test x$gcc_no_link = xyes; then
78475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78478 /* end confdefs.h. */
78479 #include <sys/syscall.h>
78480 int lk;
78482 main ()
78484 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78486 return 0;
78488 _ACEOF
78489 if ac_fn_c_try_link "$LINENO"; then :
78491 else
78492 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78494 rm -f core conftest.err conftest.$ac_objext \
78495 conftest$ac_exeext conftest.$ac_ext
78497 esac
78500 enable_linux_futex=no
78502 esac
78503 if test x$enable_linux_futex = xyes; then
78505 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78512 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78514 acx_cv_header_stdint=stddef.h
78515 acx_cv_header_stdint_kind="(already complete)"
78516 for i in stdint.h $inttype_headers; do
78517 unset ac_cv_type_uintptr_t
78518 unset ac_cv_type_uintmax_t
78519 unset ac_cv_type_int_least32_t
78520 unset ac_cv_type_int_fast32_t
78521 unset ac_cv_type_uint64_t
78522 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78523 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78524 #include <$i>
78526 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78527 acx_cv_header_stdint=$i
78528 else
78529 continue
78532 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78533 #include <$i>
78535 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78537 else
78538 acx_cv_header_stdint_kind="(mostly complete)"
78541 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78542 #include <$i>
78544 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78546 else
78547 acx_cv_header_stdint_kind="(mostly complete)"
78550 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78551 #include <$i>
78553 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78555 else
78556 acx_cv_header_stdint_kind="(mostly complete)"
78559 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78560 #include <$i>
78562 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78564 else
78565 acx_cv_header_stdint_kind="(lacks uint64_t)"
78568 break
78569 done
78570 if test "$acx_cv_header_stdint" = stddef.h; then
78571 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78572 for i in stdint.h $inttype_headers; do
78573 unset ac_cv_type_uintptr_t
78574 unset ac_cv_type_uint32_t
78575 unset ac_cv_type_uint64_t
78576 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78577 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78578 #include <$i>
78580 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78581 acx_cv_header_stdint=$i
78582 else
78583 continue
78586 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78587 #include <$i>
78589 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78593 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78594 #include <$i>
78596 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78600 break
78601 done
78603 if test "$acx_cv_header_stdint" = stddef.h; then
78604 acx_cv_header_stdint_kind="(u_intXX_t style)"
78605 for i in sys/types.h $inttype_headers; do
78606 unset ac_cv_type_u_int32_t
78607 unset ac_cv_type_u_int64_t
78608 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78609 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78610 #include <$i>
78612 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78613 acx_cv_header_stdint=$i
78614 else
78615 continue
78618 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78619 #include <$i>
78621 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78625 break
78626 done
78628 if test "$acx_cv_header_stdint" = stddef.h; then
78629 acx_cv_header_stdint_kind="(using manual detection)"
78632 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78633 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78634 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78635 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78636 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78638 # ----------------- Summarize what we found so far
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78641 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78643 case `$as_basename -- include/gstdint.h ||
78644 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78645 Xinclude/gstdint.h : 'X\(//\)$' \| \
78646 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78647 $as_echo X/include/gstdint.h |
78648 sed '/^.*\/\([^/][^/]*\)\/*$/{
78649 s//\1/
78652 /^X\/\(\/\/\)$/{
78653 s//\1/
78656 /^X\/\(\/\).*/{
78657 s//\1/
78660 s/.*/./; q'` in
78661 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78662 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78663 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78664 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78665 *) ;;
78666 esac
78668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78669 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78671 # ----------------- done included file, check C basic types --------
78673 # Lacking an uintptr_t? Test size of void *
78674 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78675 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78676 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78677 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78678 # This bug is HP SR number 8606223364.
78679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78680 $as_echo_n "checking size of void *... " >&6; }
78681 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78682 $as_echo_n "(cached) " >&6
78683 else
78684 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78686 else
78687 if test "$ac_cv_type_void_p" = yes; then
78688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78690 { as_fn_set_status 77
78691 as_fn_error "cannot compute sizeof (void *)
78692 See \`config.log' for more details." "$LINENO" 5; }; }
78693 else
78694 ac_cv_sizeof_void_p=0
78699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78700 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78704 cat >>confdefs.h <<_ACEOF
78705 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78706 _ACEOF
78709 esac
78711 # Lacking an uint64_t? Test size of long
78712 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78713 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78714 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78715 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78716 # This bug is HP SR number 8606223364.
78717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78718 $as_echo_n "checking size of long... " >&6; }
78719 if test "${ac_cv_sizeof_long+set}" = set; then :
78720 $as_echo_n "(cached) " >&6
78721 else
78722 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78724 else
78725 if test "$ac_cv_type_long" = yes; then
78726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78728 { as_fn_set_status 77
78729 as_fn_error "cannot compute sizeof (long)
78730 See \`config.log' for more details." "$LINENO" 5; }; }
78731 else
78732 ac_cv_sizeof_long=0
78737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78738 $as_echo "$ac_cv_sizeof_long" >&6; }
78742 cat >>confdefs.h <<_ACEOF
78743 #define SIZEOF_LONG $ac_cv_sizeof_long
78744 _ACEOF
78747 esac
78749 if test $acx_cv_header_stdint = stddef.h; then
78750 # Lacking a good header? Test size of everything and deduce all types.
78751 # The cast to long int works around a bug in the HP C Compiler
78752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78754 # This bug is HP SR number 8606223364.
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78756 $as_echo_n "checking size of int... " >&6; }
78757 if test "${ac_cv_sizeof_int+set}" = set; then :
78758 $as_echo_n "(cached) " >&6
78759 else
78760 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78762 else
78763 if test "$ac_cv_type_int" = yes; then
78764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78766 { as_fn_set_status 77
78767 as_fn_error "cannot compute sizeof (int)
78768 See \`config.log' for more details." "$LINENO" 5; }; }
78769 else
78770 ac_cv_sizeof_int=0
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78776 $as_echo "$ac_cv_sizeof_int" >&6; }
78780 cat >>confdefs.h <<_ACEOF
78781 #define SIZEOF_INT $ac_cv_sizeof_int
78782 _ACEOF
78785 # The cast to long int works around a bug in the HP C Compiler
78786 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78787 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78788 # This bug is HP SR number 8606223364.
78789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78790 $as_echo_n "checking size of short... " >&6; }
78791 if test "${ac_cv_sizeof_short+set}" = set; then :
78792 $as_echo_n "(cached) " >&6
78793 else
78794 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78796 else
78797 if test "$ac_cv_type_short" = yes; then
78798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78800 { as_fn_set_status 77
78801 as_fn_error "cannot compute sizeof (short)
78802 See \`config.log' for more details." "$LINENO" 5; }; }
78803 else
78804 ac_cv_sizeof_short=0
78809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78810 $as_echo "$ac_cv_sizeof_short" >&6; }
78814 cat >>confdefs.h <<_ACEOF
78815 #define SIZEOF_SHORT $ac_cv_sizeof_short
78816 _ACEOF
78819 # The cast to long int works around a bug in the HP C Compiler
78820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78822 # This bug is HP SR number 8606223364.
78823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78824 $as_echo_n "checking size of char... " >&6; }
78825 if test "${ac_cv_sizeof_char+set}" = set; then :
78826 $as_echo_n "(cached) " >&6
78827 else
78828 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78830 else
78831 if test "$ac_cv_type_char" = yes; then
78832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78834 { as_fn_set_status 77
78835 as_fn_error "cannot compute sizeof (char)
78836 See \`config.log' for more details." "$LINENO" 5; }; }
78837 else
78838 ac_cv_sizeof_char=0
78843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78844 $as_echo "$ac_cv_sizeof_char" >&6; }
78848 cat >>confdefs.h <<_ACEOF
78849 #define SIZEOF_CHAR $ac_cv_sizeof_char
78850 _ACEOF
78854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78855 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78856 case "$ac_cv_sizeof_char" in
78857 1) acx_cv_type_int8_t=char ;;
78858 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78859 esac
78860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78861 $as_echo "$acx_cv_type_int8_t" >&6; }
78863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78864 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78865 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78866 2:*) acx_cv_type_int16_t=int ;;
78867 *:2) acx_cv_type_int16_t=short ;;
78868 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78869 esac
78870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78871 $as_echo "$acx_cv_type_int16_t" >&6; }
78873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78874 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78875 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78876 4:*) acx_cv_type_int32_t=int ;;
78877 *:4) acx_cv_type_int32_t=long ;;
78878 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78879 esac
78880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78881 $as_echo "$acx_cv_type_int32_t" >&6; }
78884 # These tests are here to make the output prettier
78886 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78887 case "$ac_cv_sizeof_long" in
78888 8) acx_cv_type_int64_t=long ;;
78889 esac
78890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78891 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78893 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78896 # Now we can use the above types
78898 if test "$ac_cv_type_uintptr_t" != yes; then
78899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78900 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78901 case $ac_cv_sizeof_void_p in
78902 2) acx_cv_type_intptr_t=int16_t ;;
78903 4) acx_cv_type_intptr_t=int32_t ;;
78904 8) acx_cv_type_intptr_t=int64_t ;;
78905 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78906 esac
78907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78908 $as_echo "$acx_cv_type_intptr_t" >&6; }
78911 # ----------------- done all checks, emit header -------------
78912 ac_config_commands="$ac_config_commands include/gstdint.h"
78918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78919 $as_echo_n "checking for GNU c++filt... " >&6; }
78920 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78921 $as_echo_n "(cached) " >&6
78922 else
78923 if test -z "$CXXFILT"; then
78924 ac_path_CXXFILT_found=false
78925 # Loop through the user's path and test for each of PROGNAME-LIST
78926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78927 for as_dir in $PATH
78929 IFS=$as_save_IFS
78930 test -z "$as_dir" && as_dir=.
78931 for ac_prog in c++filt gc++filt; do
78932 for ac_exec_ext in '' $ac_executable_extensions; do
78933 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78934 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78935 # Check for GNU $ac_path_CXXFILT
78936 case `"$ac_path_CXXFILT" --version 2>&1` in
78937 *GNU*)
78938 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78939 esac
78941 $ac_path_CXXFILT_found && break 3
78942 done
78943 done
78944 done
78945 IFS=$as_save_IFS
78946 if test -z "$ac_cv_path_CXXFILT"; then
78949 else
78950 ac_cv_path_CXXFILT=$CXXFILT
78954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78955 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78956 CXXFILT=$ac_cv_path_CXXFILT
78960 # Check whether --enable-symvers was given.
78961 if test "${enable_symvers+set}" = set; then :
78962 enableval=$enable_symvers;
78963 case "$enableval" in
78964 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78965 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78966 esac
78968 else
78969 enable_symvers=yes
78974 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78975 # don't know enough about $LD to do tricks...
78977 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78978 # with extern "C++" in version scripts.
78981 # Turn a 'yes' into a suitable default.
78982 if test x$enable_symvers = xyes ; then
78983 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78984 enable_symvers=no
78985 else
78986 if test $with_gnu_ld = yes ; then
78987 case ${target_os} in
78988 hpux*)
78989 enable_symvers=no ;;
78991 enable_symvers=gnu ;;
78992 esac
78993 else
78994 case ${target_os} in
78995 darwin*)
78996 enable_symvers=darwin ;;
78997 # Sun symbol versioning exists since Solaris 2.5.
78998 solaris2.[5-9]* | solaris2.1[0-9]*)
78999 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79000 # version scripts, so disable symbol versioning if none can be
79001 # found.
79002 if test -z "$ac_cv_path_CXXFILT"; then
79003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79004 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79006 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79008 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79009 enable_symvers=no
79010 else
79011 enable_symvers=sun
79015 enable_symvers=no ;;
79016 esac
79021 # Check to see if 'darwin' or 'darwin-export' can win.
79022 if test x$enable_symvers = xdarwin-export ; then
79023 enable_symvers=darwin
79026 # Check if 'sun' was requested on non-Solaris 2 platforms.
79027 if test x$enable_symvers = xsun ; then
79028 case ${target_os} in
79029 solaris2*)
79030 # All fine.
79033 # Unlikely to work.
79034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79035 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79037 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79039 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79040 enable_symvers=no
79042 esac
79045 # Check to see if 'gnu' can win.
79046 if test $enable_symvers = gnu ||
79047 test $enable_symvers = gnu-versioned-namespace ||
79048 test $enable_symvers = sun; then
79049 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79051 $as_echo_n "checking for shared libgcc... " >&6; }
79052 ac_save_CFLAGS="$CFLAGS"
79053 CFLAGS=' -lgcc_s'
79054 if test x$gcc_no_link = xyes; then
79055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79058 /* end confdefs.h. */
79061 main ()
79063 return 0;
79065 return 0;
79067 _ACEOF
79068 if ac_fn_c_try_link "$LINENO"; then :
79069 glibcxx_shared_libgcc=yes
79070 else
79071 glibcxx_shared_libgcc=no
79073 rm -f core conftest.err conftest.$ac_objext \
79074 conftest$ac_exeext conftest.$ac_ext
79075 CFLAGS="$ac_save_CFLAGS"
79076 if test $glibcxx_shared_libgcc = no; then
79077 cat > conftest.c <<EOF
79078 int main (void) { return 0; }
79080 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79081 -shared -shared-libgcc -o conftest.so \
79082 conftest.c -v 2>&1 >/dev/null \
79083 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79084 rm -f conftest.c conftest.so
79085 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79086 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79087 if test x$gcc_no_link = xyes; then
79088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79091 /* end confdefs.h. */
79094 main ()
79096 return 0;
79098 return 0;
79100 _ACEOF
79101 if ac_fn_c_try_link "$LINENO"; then :
79102 glibcxx_shared_libgcc=yes
79104 rm -f core conftest.err conftest.$ac_objext \
79105 conftest$ac_exeext conftest.$ac_ext
79106 CFLAGS="$ac_save_CFLAGS"
79109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79110 $as_echo "$glibcxx_shared_libgcc" >&6; }
79112 # For GNU ld, we need at least this version. The format is described in
79113 # GLIBCXX_CHECK_LINKER_FEATURES above.
79114 glibcxx_min_gnu_ld_version=21400
79116 # If no shared libgcc, can't win.
79117 if test $glibcxx_shared_libgcc != yes; then
79118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79119 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79121 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79123 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79124 enable_symvers=no
79125 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79126 : All interesting versions of Sun ld support sun style symbol versioning.
79127 elif test $with_gnu_ld != yes ; then
79128 # just fail for now
79129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79130 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79132 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79134 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79135 enable_symvers=no
79136 elif test $glibcxx_ld_is_gold = yes ; then
79137 : All versions of gold support symbol versioning.
79138 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79139 # The right tools, the right setup, but too old. Fallbacks?
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79141 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79143 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79145 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79147 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79149 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79150 enable_symvers=no
79154 # For libtool versioning info, format is CURRENT:REVISION:AGE
79155 libtool_VERSION=6:25:0
79157 # Everything parsed; figure out what files and settings to use.
79158 case $enable_symvers in
79160 SYMVER_FILE=config/abi/pre/none.ver
79162 gnu)
79163 SYMVER_FILE=config/abi/pre/gnu.ver
79165 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79168 gnu-versioned-namespace)
79169 libtool_VERSION=8:0:0
79170 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79172 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79175 darwin)
79176 SYMVER_FILE=config/abi/pre/gnu.ver
79178 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79181 sun)
79182 SYMVER_FILE=config/abi/pre/gnu.ver
79184 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79187 esac
79189 if test x$enable_symvers != xno ; then
79191 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79196 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79197 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79198 $as_echo_n "(cached) " >&6
79199 else
79201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79202 /* end confdefs.h. */
79203 void foo (void); __asm (".symver foo, bar@SYMVER");
79205 main ()
79209 return 0;
79211 _ACEOF
79212 if ac_fn_c_try_compile "$LINENO"; then :
79213 glibcxx_cv_have_as_symver_directive=yes
79214 else
79215 glibcxx_cv_have_as_symver_directive=no
79217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79220 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79221 if test $glibcxx_cv_have_as_symver_directive = yes; then
79223 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79234 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79235 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79237 if test $enable_symvers != no ; then
79238 case ${target_os} in
79239 # The Solaris 2 runtime linker doesn't support the GNU extension of
79240 # binding the same symbol to different versions
79241 solaris2*)
79243 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79246 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79249 esac
79252 # Now, set up compatibility support, if any.
79253 # In addition, need this to deal with std::size_t mangling in
79254 # src/compatibility.cc. In a perfect world, could use
79255 # typeid(std::size_t).name()[0] to do direct substitution.
79256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79257 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79258 ac_save_CFLAGS="$CFLAGS"
79259 CFLAGS="-Werror"
79260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79261 /* end confdefs.h. */
79264 main ()
79266 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79268 return 0;
79270 _ACEOF
79271 if ac_fn_c_try_compile "$LINENO"; then :
79272 glibcxx_size_t_is_i=yes
79273 else
79274 glibcxx_size_t_is_i=no
79276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79277 CFLAGS=$ac_save_CFLAGS
79278 if test "$glibcxx_size_t_is_i" = yes; then
79280 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79284 $as_echo "$glibcxx_size_t_is_i" >&6; }
79286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79287 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79288 ac_save_CFLAGS="$CFLAGS"
79289 CFLAGS="-Werror"
79290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79291 /* end confdefs.h. */
79294 main ()
79296 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79298 return 0;
79300 _ACEOF
79301 if ac_fn_c_try_compile "$LINENO"; then :
79302 glibcxx_ptrdiff_t_is_i=yes
79303 else
79304 glibcxx_ptrdiff_t_is_i=no
79306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79307 CFLAGS=$ac_save_CFLAGS
79308 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79310 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79314 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79319 # Check whether --enable-libstdcxx-visibility was given.
79320 if test "${enable_libstdcxx_visibility+set}" = set; then :
79321 enableval=$enable_libstdcxx_visibility;
79322 case "$enableval" in
79323 yes|no) ;;
79324 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79325 esac
79327 else
79328 enable_libstdcxx_visibility=yes
79333 if test x$enable_libstdcxx_visibility = xyes ; then
79334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79335 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79336 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79337 $as_echo_n "(cached) " >&6
79338 else
79340 save_CFLAGS="$CFLAGS"
79341 CFLAGS="$CFLAGS -Werror"
79342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79343 /* end confdefs.h. */
79344 void __attribute__((visibility("hidden"))) foo(void) { }
79346 main ()
79350 return 0;
79352 _ACEOF
79353 if ac_fn_c_try_compile "$LINENO"; then :
79354 glibcxx_cv_have_attribute_visibility=yes
79355 else
79356 glibcxx_cv_have_attribute_visibility=no
79358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79359 CFLAGS="$save_CFLAGS"
79361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79362 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79363 if test $glibcxx_cv_have_attribute_visibility = no; then
79364 enable_libstdcxx_visibility=no
79369 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79370 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79374 # Check whether --enable-libstdcxx-dual-abi was given.
79375 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79376 enableval=$enable_libstdcxx_dual_abi;
79377 case "$enableval" in
79378 yes|no) ;;
79379 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79380 esac
79382 else
79383 enable_libstdcxx_dual_abi=yes
79387 if test x$enable_symvers = xgnu-versioned-namespace; then
79388 # gnu-versioned-namespace is incompatible with the dual ABI.
79389 enable_libstdcxx_dual_abi="no"
79391 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79392 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79393 $as_echo "$as_me: dual ABI is disabled" >&6;}
79394 default_libstdcxx_abi="gcc4-compatible"
79399 if test x$enable_libstdcxx_dual_abi = xyes; then
79400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79401 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79403 # Check whether --with-default-libstdcxx-abi was given.
79404 if test "${with_default_libstdcxx_abi+set}" = set; then :
79405 withval=$with_default_libstdcxx_abi; case "$withval" in
79406 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79407 new|cxx11) default_libstdcxx_abi="new" ;;
79408 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79409 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79410 esac
79412 else
79413 default_libstdcxx_abi="new"
79416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79417 $as_echo "${default_libstdcxx_abi}" >&6; }
79419 if test $default_libstdcxx_abi = "new"; then
79420 glibcxx_cxx11_abi=1
79421 glibcxx_cxx98_abi=0
79422 else
79423 glibcxx_cxx11_abi=0
79424 glibcxx_cxx98_abi=1
79430 ac_ldbl_compat=no
79431 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79432 case "$target" in
79433 powerpc*-*-linux* | \
79434 sparc*-*-linux* | \
79435 s390*-*-linux* | \
79436 alpha*-*-linux*)
79437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79438 /* end confdefs.h. */
79441 main ()
79444 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79445 #error no need for long double compatibility
79446 #endif
79449 return 0;
79451 _ACEOF
79452 if ac_fn_c_try_compile "$LINENO"; then :
79453 ac_ldbl_compat=yes
79454 else
79455 ac_ldbl_compat=no
79457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79458 if test "$ac_ldbl_compat" = yes; then
79460 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79462 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79463 case "$target" in
79464 powerpc*-*-linux*)
79465 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79466 esac
79468 esac
79472 # Check if assembler supports disabling hardware capability support.
79474 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79476 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79477 # with a different meaning.
79478 case ${target_os} in
79479 solaris2*)
79480 ac_save_CFLAGS="$CFLAGS"
79481 CFLAGS="$CFLAGS -Wa,-nH"
79483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79484 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79486 /* end confdefs.h. */
79489 main ()
79491 return 0;
79493 return 0;
79495 _ACEOF
79496 if ac_fn_c_try_compile "$LINENO"; then :
79497 ac_hwcap_flags=yes
79498 else
79499 ac_hwcap_flags=no
79501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79502 if test "$ac_hwcap_flags" = "yes"; then
79503 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79506 $as_echo "$ac_hwcap_flags" >&6; }
79508 CFLAGS="$ac_save_CFLAGS"
79510 esac
79515 # Check if assembler supports rdrand opcode.
79517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79518 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79519 if test "${ac_cv_x86_rdrand+set}" = set; then :
79520 $as_echo_n "(cached) " >&6
79521 else
79523 ac_cv_x86_rdrand=no
79524 case "$target" in
79525 i?86-*-* | \
79526 x86_64-*-*)
79527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79528 /* end confdefs.h. */
79531 main ()
79533 asm("rdrand %eax");
79535 return 0;
79537 _ACEOF
79538 if ac_fn_c_try_compile "$LINENO"; then :
79539 ac_cv_x86_rdrand=yes
79540 else
79541 ac_cv_x86_rdrand=no
79543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79544 esac
79548 if test $ac_cv_x86_rdrand = yes; then
79550 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79554 $as_echo "$ac_cv_x86_rdrand" >&6; }
79557 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79559 # Do checks for resource limit functions.
79561 setrlimit_have_headers=yes
79562 for ac_header in unistd.h sys/time.h sys/resource.h
79563 do :
79564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79565 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79566 eval as_val=\$$as_ac_Header
79567 if test "x$as_val" = x""yes; then :
79568 cat >>confdefs.h <<_ACEOF
79569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79570 _ACEOF
79572 else
79573 setrlimit_have_headers=no
79576 done
79578 # If don't have the headers, then we can't run the tests now, and we
79579 # won't be seeing any of these during testsuite compilation.
79580 if test $setrlimit_have_headers = yes; then
79581 # Can't do these in a loop, else the resulting syntax is wrong.
79583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79584 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79586 /* end confdefs.h. */
79587 #include <unistd.h>
79588 #include <sys/time.h>
79589 #include <sys/resource.h>
79592 main ()
79594 int f = RLIMIT_DATA ;
79596 return 0;
79598 _ACEOF
79599 if ac_fn_c_try_compile "$LINENO"; then :
79600 glibcxx_mresult=1
79601 else
79602 glibcxx_mresult=0
79604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79606 cat >>confdefs.h <<_ACEOF
79607 #define HAVE_LIMIT_DATA $glibcxx_mresult
79608 _ACEOF
79610 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79612 $as_echo "$res" >&6; }
79615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79616 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79618 /* end confdefs.h. */
79619 #include <unistd.h>
79620 #include <sys/time.h>
79621 #include <sys/resource.h>
79624 main ()
79626 int f = RLIMIT_RSS ;
79628 return 0;
79630 _ACEOF
79631 if ac_fn_c_try_compile "$LINENO"; then :
79632 glibcxx_mresult=1
79633 else
79634 glibcxx_mresult=0
79636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79638 cat >>confdefs.h <<_ACEOF
79639 #define HAVE_LIMIT_RSS $glibcxx_mresult
79640 _ACEOF
79642 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79644 $as_echo "$res" >&6; }
79647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79648 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79650 /* end confdefs.h. */
79651 #include <unistd.h>
79652 #include <sys/time.h>
79653 #include <sys/resource.h>
79656 main ()
79658 int f = RLIMIT_VMEM ;
79660 return 0;
79662 _ACEOF
79663 if ac_fn_c_try_compile "$LINENO"; then :
79664 glibcxx_mresult=1
79665 else
79666 glibcxx_mresult=0
79668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79670 cat >>confdefs.h <<_ACEOF
79671 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79672 _ACEOF
79674 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79676 $as_echo "$res" >&6; }
79679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79680 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79682 /* end confdefs.h. */
79683 #include <unistd.h>
79684 #include <sys/time.h>
79685 #include <sys/resource.h>
79688 main ()
79690 int f = RLIMIT_AS ;
79692 return 0;
79694 _ACEOF
79695 if ac_fn_c_try_compile "$LINENO"; then :
79696 glibcxx_mresult=1
79697 else
79698 glibcxx_mresult=0
79700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79702 cat >>confdefs.h <<_ACEOF
79703 #define HAVE_LIMIT_AS $glibcxx_mresult
79704 _ACEOF
79706 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79708 $as_echo "$res" >&6; }
79711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79712 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79714 /* end confdefs.h. */
79715 #include <unistd.h>
79716 #include <sys/time.h>
79717 #include <sys/resource.h>
79720 main ()
79722 int f = RLIMIT_FSIZE ;
79724 return 0;
79726 _ACEOF
79727 if ac_fn_c_try_compile "$LINENO"; then :
79728 glibcxx_mresult=1
79729 else
79730 glibcxx_mresult=0
79732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79734 cat >>confdefs.h <<_ACEOF
79735 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79736 _ACEOF
79738 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79740 $as_echo "$res" >&6; }
79743 # Check for rlimit, setrlimit.
79744 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79745 $as_echo_n "(cached) " >&6
79746 else
79748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79749 /* end confdefs.h. */
79750 #include <unistd.h>
79751 #include <sys/time.h>
79752 #include <sys/resource.h>
79755 main ()
79757 struct rlimit r;
79758 setrlimit(0, &r);
79760 return 0;
79762 _ACEOF
79763 if ac_fn_c_try_compile "$LINENO"; then :
79764 glibcxx_cv_setrlimit=yes
79765 else
79766 glibcxx_cv_setrlimit=no
79768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79775 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79776 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79777 ac_res_limits=yes
79779 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79781 else
79782 ac_res_limits=no
79784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79785 $as_echo "$ac_res_limits" >&6; }
79788 if $GLIBCXX_IS_NATIVE ; then
79789 # Look for setenv, so that extended locale tests can be performed.
79791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79792 $as_echo_n "checking for setenv declaration... " >&6; }
79793 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79794 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79795 $as_echo_n "(cached) " >&6
79796 else
79799 ac_ext=cpp
79800 ac_cpp='$CXXCPP $CPPFLAGS'
79801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79806 /* end confdefs.h. */
79807 #include <stdlib.h>
79809 main ()
79811 setenv(0, 0, 0);
79813 return 0;
79815 _ACEOF
79816 if ac_fn_cxx_try_compile "$LINENO"; then :
79817 glibcxx_cv_func_setenv_use=yes
79818 else
79819 glibcxx_cv_func_setenv_use=no
79821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79822 ac_ext=c
79823 ac_cpp='$CPP $CPPFLAGS'
79824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79833 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79834 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79835 for ac_func in setenv
79836 do :
79837 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79838 if test "x$ac_cv_func_setenv" = x""yes; then :
79839 cat >>confdefs.h <<_ACEOF
79840 #define HAVE_SETENV 1
79841 _ACEOF
79844 done
79850 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79851 test $enable_symvers != no; then
79852 case "$host" in
79853 *-*-cygwin*)
79854 enable_abi_check=no ;;
79856 enable_abi_check=yes ;;
79857 esac
79858 else
79859 # Only build this as native, since automake does not understand
79860 # CXX_FOR_BUILD.
79861 enable_abi_check=no
79864 # Export file names for ABI checking.
79865 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79867 baseline_subdir_switch="$abi_baseline_subdir_switch"
79871 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79873 # Check whether --enable-libstdcxx-threads was given.
79874 if test "${enable_libstdcxx_threads+set}" = set; then :
79875 enableval=$enable_libstdcxx_threads;
79876 case "$enableval" in
79877 yes|no) ;;
79878 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79879 esac
79881 else
79882 enable_libstdcxx_threads=auto
79887 if test x$enable_libstdcxx_threads = xauto ||
79888 test x$enable_libstdcxx_threads = xyes; then
79891 ac_ext=cpp
79892 ac_cpp='$CXXCPP $CPPFLAGS'
79893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79898 ac_save_CXXFLAGS="$CXXFLAGS"
79899 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79900 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79902 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79903 case $target_thread_file in
79904 posix)
79905 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79906 esac
79908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79909 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79912 /* end confdefs.h. */
79913 #include <unistd.h>
79915 main ()
79918 // In case of POSIX threads check _POSIX_TIMEOUTS.
79919 #if (defined(_PTHREADS) \
79920 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79921 #error
79922 #endif
79925 return 0;
79927 _ACEOF
79928 if ac_fn_cxx_try_compile "$LINENO"; then :
79929 ac_gthread_use_mutex_timedlock=1
79930 else
79931 ac_gthread_use_mutex_timedlock=0
79933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79936 cat >>confdefs.h <<_ACEOF
79937 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79938 _ACEOF
79941 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79942 else res_mutex_timedlock=no ; fi
79943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79944 $as_echo "$res_mutex_timedlock" >&6; }
79946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79947 $as_echo_n "checking for gthreads library... " >&6; }
79949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79950 /* end confdefs.h. */
79951 #include "gthr.h"
79953 main ()
79956 #ifndef __GTHREADS_CXX0X
79957 #error
79958 #endif
79961 return 0;
79963 _ACEOF
79964 if ac_fn_cxx_try_compile "$LINENO"; then :
79965 ac_has_gthreads=yes
79966 else
79967 ac_has_gthreads=no
79969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79970 else
79971 ac_has_gthreads=no
79974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79975 $as_echo "$ac_has_gthreads" >&6; }
79977 if test x"$ac_has_gthreads" = x"yes"; then
79979 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79982 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79983 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79985 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79987 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79993 CXXFLAGS="$ac_save_CXXFLAGS"
79994 ac_ext=c
79995 ac_cpp='$CPP $CPPFLAGS'
79996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80002 # For Filesystem TS.
80003 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80004 do :
80005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80006 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80007 eval as_val=\$$as_ac_Header
80008 if test "x$as_val" = x""yes; then :
80009 cat >>confdefs.h <<_ACEOF
80010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80011 _ACEOF
80015 done
80018 # Check whether --enable-libstdcxx-filesystem-ts was given.
80019 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80020 enableval=$enable_libstdcxx_filesystem_ts;
80021 case "$enableval" in
80022 yes|no|auto) ;;
80023 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80024 esac
80026 else
80027 enable_libstdcxx_filesystem_ts=auto
80032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80033 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80034 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80035 enable_libstdcxx_filesystem_ts=no
80037 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80038 case "${target_os}" in
80039 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80040 enable_libstdcxx_filesystem_ts=yes
80042 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80043 enable_libstdcxx_filesystem_ts=yes
80045 rtems*)
80046 enable_libstdcxx_filesystem_ts=yes
80048 solaris*)
80049 enable_libstdcxx_filesystem_ts=yes
80052 enable_libstdcxx_filesystem_ts=no
80054 esac
80056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80057 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80061 ac_ext=cpp
80062 ac_cpp='$CXXCPP $CPPFLAGS'
80063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80067 ac_save_CXXFLAGS="$CXXFLAGS"
80068 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80070 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80071 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80072 $as_echo_n "(cached) " >&6
80073 else
80074 if test x$gcc_no_link = xyes; then
80075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80076 /* end confdefs.h. */
80077 #include <dirent.h>
80079 main ()
80082 struct dirent d;
80083 if (sizeof d.d_type) return 0;
80086 return 0;
80088 _ACEOF
80089 if ac_fn_cxx_try_compile "$LINENO"; then :
80090 glibcxx_cv_dirent_d_type=yes
80091 else
80092 glibcxx_cv_dirent_d_type=no
80094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80095 else
80096 if test x$gcc_no_link = xyes; then
80097 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80100 /* end confdefs.h. */
80101 #include <dirent.h>
80103 main ()
80106 struct dirent d;
80107 if (sizeof d.d_type) return 0;
80110 return 0;
80112 _ACEOF
80113 if ac_fn_cxx_try_link "$LINENO"; then :
80114 glibcxx_cv_dirent_d_type=yes
80115 else
80116 glibcxx_cv_dirent_d_type=no
80118 rm -f core conftest.err conftest.$ac_objext \
80119 conftest$ac_exeext conftest.$ac_ext
80124 if test $glibcxx_cv_dirent_d_type = yes; then
80126 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80130 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80132 $as_echo_n "checking for realpath... " >&6; }
80133 if test "${glibcxx_cv_realpath+set}" = set; then :
80134 $as_echo_n "(cached) " >&6
80135 else
80136 if test x$gcc_no_link = xyes; then
80137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80138 /* end confdefs.h. */
80140 #include <limits.h>
80141 #include <stdlib.h>
80142 #include <unistd.h>
80145 main ()
80148 #if _XOPEN_VERSION < 500
80149 #error
80150 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80151 char *tmp = realpath((const char*)NULL, (char*)NULL);
80152 #else
80153 #error
80154 #endif
80157 return 0;
80159 _ACEOF
80160 if ac_fn_cxx_try_compile "$LINENO"; then :
80161 glibcxx_cv_realpath=yes
80162 else
80163 glibcxx_cv_realpath=no
80165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80166 else
80167 if test x$gcc_no_link = xyes; then
80168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80171 /* end confdefs.h. */
80173 #include <limits.h>
80174 #include <stdlib.h>
80175 #include <unistd.h>
80178 main ()
80181 #if _XOPEN_VERSION < 500
80182 #error
80183 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80184 char *tmp = realpath((const char*)NULL, (char*)NULL);
80185 #else
80186 #error
80187 #endif
80190 return 0;
80192 _ACEOF
80193 if ac_fn_cxx_try_link "$LINENO"; then :
80194 glibcxx_cv_realpath=yes
80195 else
80196 glibcxx_cv_realpath=no
80198 rm -f core conftest.err conftest.$ac_objext \
80199 conftest$ac_exeext conftest.$ac_ext
80204 if test $glibcxx_cv_realpath = yes; then
80206 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80210 $as_echo "$glibcxx_cv_realpath" >&6; }
80211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80212 $as_echo_n "checking for utimensat... " >&6; }
80213 if test "${glibcxx_cv_utimensat+set}" = set; then :
80214 $as_echo_n "(cached) " >&6
80215 else
80216 if test x$gcc_no_link = xyes; then
80217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80218 /* end confdefs.h. */
80220 #include <fcntl.h>
80221 #include <sys/stat.h>
80224 main ()
80227 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80228 int i = utimensat(AT_FDCWD, "path", ts, 0);
80231 return 0;
80233 _ACEOF
80234 if ac_fn_cxx_try_compile "$LINENO"; then :
80235 glibcxx_cv_utimensat=yes
80236 else
80237 glibcxx_cv_utimensat=no
80239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80240 else
80241 if test x$gcc_no_link = xyes; then
80242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80245 /* end confdefs.h. */
80247 #include <fcntl.h>
80248 #include <sys/stat.h>
80251 main ()
80254 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80255 int i = utimensat(AT_FDCWD, "path", ts, 0);
80258 return 0;
80260 _ACEOF
80261 if ac_fn_cxx_try_link "$LINENO"; then :
80262 glibcxx_cv_utimensat=yes
80263 else
80264 glibcxx_cv_utimensat=no
80266 rm -f core conftest.err conftest.$ac_objext \
80267 conftest$ac_exeext conftest.$ac_ext
80272 if test $glibcxx_cv_utimensat = yes; then
80274 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80278 $as_echo "$glibcxx_cv_utimensat" >&6; }
80279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80280 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80281 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80282 $as_echo_n "(cached) " >&6
80283 else
80284 if test x$gcc_no_link = xyes; then
80285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80286 /* end confdefs.h. */
80287 #include <sys/stat.h>
80289 main ()
80292 struct stat st;
80293 return st.st_mtim.tv_nsec;
80296 return 0;
80298 _ACEOF
80299 if ac_fn_cxx_try_compile "$LINENO"; then :
80300 glibcxx_cv_st_mtim=yes
80301 else
80302 glibcxx_cv_st_mtim=no
80304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80305 else
80306 if test x$gcc_no_link = xyes; then
80307 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80310 /* end confdefs.h. */
80311 #include <sys/stat.h>
80313 main ()
80316 struct stat st;
80317 return st.st_mtim.tv_nsec;
80320 return 0;
80322 _ACEOF
80323 if ac_fn_cxx_try_link "$LINENO"; then :
80324 glibcxx_cv_st_mtim=yes
80325 else
80326 glibcxx_cv_st_mtim=no
80328 rm -f core conftest.err conftest.$ac_objext \
80329 conftest$ac_exeext conftest.$ac_ext
80334 if test $glibcxx_cv_st_mtim = yes; then
80336 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80340 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80342 $as_echo_n "checking for fchmod... " >&6; }
80343 if test "${glibcxx_cv_fchmod+set}" = set; then :
80344 $as_echo_n "(cached) " >&6
80345 else
80346 if test x$gcc_no_link = xyes; then
80347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80348 /* end confdefs.h. */
80349 #include <sys/stat.h>
80351 main ()
80353 fchmod(1, S_IWUSR);
80355 return 0;
80357 _ACEOF
80358 if ac_fn_cxx_try_compile "$LINENO"; then :
80359 glibcxx_cv_fchmod=yes
80360 else
80361 glibcxx_cv_fchmod=no
80363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80364 else
80365 if test x$gcc_no_link = xyes; then
80366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80369 /* end confdefs.h. */
80370 #include <sys/stat.h>
80372 main ()
80374 fchmod(1, S_IWUSR);
80376 return 0;
80378 _ACEOF
80379 if ac_fn_cxx_try_link "$LINENO"; then :
80380 glibcxx_cv_fchmod=yes
80381 else
80382 glibcxx_cv_fchmod=no
80384 rm -f core conftest.err conftest.$ac_objext \
80385 conftest$ac_exeext conftest.$ac_ext
80390 if test $glibcxx_cv_fchmod = yes; then
80392 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80396 $as_echo "$glibcxx_cv_fchmod" >&6; }
80397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80398 $as_echo_n "checking for fchmodat... " >&6; }
80399 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80400 $as_echo_n "(cached) " >&6
80401 else
80402 if test x$gcc_no_link = xyes; then
80403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80404 /* end confdefs.h. */
80406 #include <fcntl.h>
80407 #include <sys/stat.h>
80410 main ()
80412 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80414 return 0;
80416 _ACEOF
80417 if ac_fn_cxx_try_compile "$LINENO"; then :
80418 glibcxx_cv_fchmodat=yes
80419 else
80420 glibcxx_cv_fchmodat=no
80422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80423 else
80424 if test x$gcc_no_link = xyes; then
80425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80428 /* end confdefs.h. */
80430 #include <fcntl.h>
80431 #include <sys/stat.h>
80434 main ()
80436 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80438 return 0;
80440 _ACEOF
80441 if ac_fn_cxx_try_link "$LINENO"; then :
80442 glibcxx_cv_fchmodat=yes
80443 else
80444 glibcxx_cv_fchmodat=no
80446 rm -f core conftest.err conftest.$ac_objext \
80447 conftest$ac_exeext conftest.$ac_ext
80452 if test $glibcxx_cv_fchmodat = yes; then
80454 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80458 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80460 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80461 if test "${glibcxx_cv_sendfile+set}" = set; then :
80462 $as_echo_n "(cached) " >&6
80463 else
80464 case "${target_os}" in
80465 gnu* | linux* | solaris*)
80466 if test x$gcc_no_link = xyes; then
80467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80468 /* end confdefs.h. */
80469 #include <sys/sendfile.h>
80471 main ()
80473 sendfile(1, 2, (off_t*)0, sizeof 1);
80475 return 0;
80477 _ACEOF
80478 if ac_fn_cxx_try_compile "$LINENO"; then :
80479 glibcxx_cv_sendfile=yes
80480 else
80481 glibcxx_cv_sendfile=no
80483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80484 else
80485 if test x$gcc_no_link = xyes; then
80486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80489 /* end confdefs.h. */
80490 #include <sys/sendfile.h>
80492 main ()
80494 sendfile(1, 2, (off_t*)0, sizeof 1);
80496 return 0;
80498 _ACEOF
80499 if ac_fn_cxx_try_link "$LINENO"; then :
80500 glibcxx_cv_sendfile=yes
80501 else
80502 glibcxx_cv_sendfile=no
80504 rm -f core conftest.err conftest.$ac_objext \
80505 conftest$ac_exeext conftest.$ac_ext
80509 glibcxx_cv_sendfile=no
80511 esac
80515 if test $glibcxx_cv_sendfile = yes; then
80517 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80521 $as_echo "$glibcxx_cv_sendfile" >&6; }
80522 CXXFLAGS="$ac_save_CXXFLAGS"
80523 ac_ext=c
80524 ac_cpp='$CPP $CPPFLAGS'
80525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80531 # For Transactional Memory TS
80533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80534 $as_echo_n "checking how size_t is mangled... " >&6; }
80535 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80536 $as_echo_n "(cached) " >&6
80537 else
80539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80540 /* end confdefs.h. */
80543 main ()
80545 extern __SIZE_TYPE__ x; extern unsigned long x;
80547 return 0;
80549 _ACEOF
80550 if ac_fn_c_try_compile "$LINENO"; then :
80551 glibcxx_cv_size_t_mangling=m
80552 else
80554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80555 /* end confdefs.h. */
80558 main ()
80560 extern __SIZE_TYPE__ x; extern unsigned int x;
80562 return 0;
80564 _ACEOF
80565 if ac_fn_c_try_compile "$LINENO"; then :
80566 glibcxx_cv_size_t_mangling=j
80567 else
80569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80570 /* end confdefs.h. */
80573 main ()
80575 extern __SIZE_TYPE__ x; extern unsigned long long x;
80577 return 0;
80579 _ACEOF
80580 if ac_fn_c_try_compile "$LINENO"; then :
80581 glibcxx_cv_size_t_mangling=y
80582 else
80584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80585 /* end confdefs.h. */
80588 main ()
80590 extern __SIZE_TYPE__ x; extern unsigned short x;
80592 return 0;
80594 _ACEOF
80595 if ac_fn_c_try_compile "$LINENO"; then :
80596 glibcxx_cv_size_t_mangling=t
80597 else
80599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80600 /* end confdefs.h. */
80603 main ()
80605 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80607 return 0;
80609 _ACEOF
80610 if ac_fn_c_try_compile "$LINENO"; then :
80611 glibcxx_cv_size_t_mangling=u6uint20
80612 else
80613 glibcxx_cv_size_t_mangling=x
80615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80631 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80632 if test $glibcxx_cv_size_t_mangling = x; then
80633 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80636 cat >>confdefs.h <<_ACEOF
80637 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80638 _ACEOF
80642 # Check which release added std::exception_ptr for the target
80644 if test $enable_symvers != no; then
80645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80646 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80647 case ${target} in
80648 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80649 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80650 ac_exception_ptr_since_gcc46=yes
80653 # If the value of this macro changes then we will need to hardcode
80654 # yes/no here for additional targets based on the original value.
80655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80656 /* end confdefs.h. */
80659 main ()
80662 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80663 # error atomic int not always lock free
80664 #endif
80667 return 0;
80669 _ACEOF
80670 if ac_fn_c_try_compile "$LINENO"; then :
80671 ac_exception_ptr_since_gcc46=yes
80672 else
80673 ac_exception_ptr_since_gcc46=no
80675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80677 esac
80678 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80680 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80683 $as_echo "4.6.0" >&6; }
80684 else
80685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80686 $as_echo "7.1.0" >&6; }
80691 # Define documentation rules conditionally.
80693 # See if makeinfo has been installed and is modern enough
80694 # that we can use it.
80696 # Extract the first word of "makeinfo", so it can be a program name with args.
80697 set dummy makeinfo; ac_word=$2
80698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80699 $as_echo_n "checking for $ac_word... " >&6; }
80700 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80701 $as_echo_n "(cached) " >&6
80702 else
80703 if test -n "$MAKEINFO"; then
80704 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80705 else
80706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80707 for as_dir in $PATH
80709 IFS=$as_save_IFS
80710 test -z "$as_dir" && as_dir=.
80711 for ac_exec_ext in '' $ac_executable_extensions; do
80712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80713 ac_cv_prog_MAKEINFO="makeinfo"
80714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80715 break 2
80717 done
80718 done
80719 IFS=$as_save_IFS
80723 MAKEINFO=$ac_cv_prog_MAKEINFO
80724 if test -n "$MAKEINFO"; then
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80726 $as_echo "$MAKEINFO" >&6; }
80727 else
80728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80729 $as_echo "no" >&6; }
80733 if test -n "$MAKEINFO"; then
80734 # Found it, now check the version.
80735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80736 $as_echo_n "checking for modern makeinfo... " >&6; }
80737 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80738 $as_echo_n "(cached) " >&6
80739 else
80740 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80741 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80743 case $ac_prog_version in
80744 '') gcc_cv_prog_makeinfo_modern=no;;
80745 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80746 *) gcc_cv_prog_makeinfo_modern=no;;
80747 esac
80750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80751 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80752 else
80753 gcc_cv_prog_makeinfo_modern=no
80755 if test $gcc_cv_prog_makeinfo_modern = no; then
80756 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80759 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80760 BUILD_INFO_TRUE=
80761 BUILD_INFO_FALSE='#'
80762 else
80763 BUILD_INFO_TRUE='#'
80764 BUILD_INFO_FALSE=
80768 # Check for doxygen
80769 # Extract the first word of "doxygen", so it can be a program name with args.
80770 set dummy doxygen; ac_word=$2
80771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80772 $as_echo_n "checking for $ac_word... " >&6; }
80773 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80774 $as_echo_n "(cached) " >&6
80775 else
80776 if test -n "$DOXYGEN"; then
80777 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80778 else
80779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80780 for as_dir in $PATH
80782 IFS=$as_save_IFS
80783 test -z "$as_dir" && as_dir=.
80784 for ac_exec_ext in '' $ac_executable_extensions; do
80785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80786 ac_cv_prog_DOXYGEN="yes"
80787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80788 break 2
80790 done
80791 done
80792 IFS=$as_save_IFS
80794 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80797 DOXYGEN=$ac_cv_prog_DOXYGEN
80798 if test -n "$DOXYGEN"; then
80799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80800 $as_echo "$DOXYGEN" >&6; }
80801 else
80802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80803 $as_echo "no" >&6; }
80807 # Extract the first word of "dot", so it can be a program name with args.
80808 set dummy dot; ac_word=$2
80809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80810 $as_echo_n "checking for $ac_word... " >&6; }
80811 if test "${ac_cv_prog_DOT+set}" = set; then :
80812 $as_echo_n "(cached) " >&6
80813 else
80814 if test -n "$DOT"; then
80815 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80816 else
80817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80818 for as_dir in $PATH
80820 IFS=$as_save_IFS
80821 test -z "$as_dir" && as_dir=.
80822 for ac_exec_ext in '' $ac_executable_extensions; do
80823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80824 ac_cv_prog_DOT="yes"
80825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80826 break 2
80828 done
80829 done
80830 IFS=$as_save_IFS
80832 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80835 DOT=$ac_cv_prog_DOT
80836 if test -n "$DOT"; then
80837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80838 $as_echo "$DOT" >&6; }
80839 else
80840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80841 $as_echo "no" >&6; }
80846 # Check for docbook
80847 # Extract the first word of "xsltproc", so it can be a program name with args.
80848 set dummy xsltproc; ac_word=$2
80849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80850 $as_echo_n "checking for $ac_word... " >&6; }
80851 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80852 $as_echo_n "(cached) " >&6
80853 else
80854 if test -n "$XSLTPROC"; then
80855 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80856 else
80857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80858 for as_dir in $PATH
80860 IFS=$as_save_IFS
80861 test -z "$as_dir" && as_dir=.
80862 for ac_exec_ext in '' $ac_executable_extensions; do
80863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80864 ac_cv_prog_XSLTPROC="yes"
80865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80866 break 2
80868 done
80869 done
80870 IFS=$as_save_IFS
80872 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80875 XSLTPROC=$ac_cv_prog_XSLTPROC
80876 if test -n "$XSLTPROC"; then
80877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80878 $as_echo "$XSLTPROC" >&6; }
80879 else
80880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80881 $as_echo "no" >&6; }
80885 # Extract the first word of "xmllint", so it can be a program name with args.
80886 set dummy xmllint; ac_word=$2
80887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80888 $as_echo_n "checking for $ac_word... " >&6; }
80889 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80890 $as_echo_n "(cached) " >&6
80891 else
80892 if test -n "$XMLLINT"; then
80893 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80894 else
80895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80896 for as_dir in $PATH
80898 IFS=$as_save_IFS
80899 test -z "$as_dir" && as_dir=.
80900 for ac_exec_ext in '' $ac_executable_extensions; do
80901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80902 ac_cv_prog_XMLLINT="yes"
80903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80904 break 2
80906 done
80907 done
80908 IFS=$as_save_IFS
80910 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80913 XMLLINT=$ac_cv_prog_XMLLINT
80914 if test -n "$XMLLINT"; then
80915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80916 $as_echo "$XMLLINT" >&6; }
80917 else
80918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80919 $as_echo "no" >&6; }
80925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80926 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80927 glibcxx_stylesheets=no
80928 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
80929 glibcxx_stylesheets=yes
80931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80932 $as_echo "$glibcxx_stylesheets" >&6; }
80934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80935 $as_echo_n "checking for local stylesheet directory... " >&6; }
80936 glibcxx_local_stylesheets=no
80937 if test x"$glibcxx_stylesheets" = x"yes"; then
80938 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80939 glibcxx_local_stylesheets=yes
80940 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80942 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80943 glibcxx_local_stylesheets=yes
80944 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80946 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80947 glibcxx_local_stylesheets=yes
80948 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80952 $as_echo "$glibcxx_local_stylesheets" >&6; }
80954 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80956 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80957 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80958 else
80959 glibcxx_stylesheets=no
80962 # Check for epub3 dependencies.
80963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80964 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80965 glibcxx_epub_stylesheets=no
80966 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80967 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80968 glibcxx_epub_stylesheets=yes
80971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80972 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80973 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80974 BUILD_EPUB_TRUE=
80975 BUILD_EPUB_FALSE='#'
80976 else
80977 BUILD_EPUB_TRUE='#'
80978 BUILD_EPUB_FALSE=
80984 # Check for xml/html dependencies.
80985 if test $ac_cv_prog_DOXYGEN = "yes" &&
80986 test $ac_cv_prog_DOT = "yes" &&
80987 test $ac_cv_prog_XSLTPROC = "yes" &&
80988 test $ac_cv_prog_XMLLINT = "yes" &&
80989 test $glibcxx_stylesheets = "yes"; then
80990 BUILD_XML_TRUE=
80991 BUILD_XML_FALSE='#'
80992 else
80993 BUILD_XML_TRUE='#'
80994 BUILD_XML_FALSE=
80998 if test $ac_cv_prog_DOXYGEN = "yes" &&
80999 test $ac_cv_prog_DOT = "yes" &&
81000 test $ac_cv_prog_XSLTPROC = "yes" &&
81001 test $ac_cv_prog_XMLLINT = "yes" &&
81002 test $glibcxx_stylesheets = "yes"; then
81003 BUILD_HTML_TRUE=
81004 BUILD_HTML_FALSE='#'
81005 else
81006 BUILD_HTML_TRUE='#'
81007 BUILD_HTML_FALSE=
81011 # Check for man dependencies.
81012 if test $ac_cv_prog_DOXYGEN = "yes" &&
81013 test $ac_cv_prog_DOT = "yes"; then
81014 BUILD_MAN_TRUE=
81015 BUILD_MAN_FALSE='#'
81016 else
81017 BUILD_MAN_TRUE='#'
81018 BUILD_MAN_FALSE=
81022 # Check for pdf dependencies.
81023 # Extract the first word of "dblatex", so it can be a program name with args.
81024 set dummy dblatex; ac_word=$2
81025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81026 $as_echo_n "checking for $ac_word... " >&6; }
81027 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81028 $as_echo_n "(cached) " >&6
81029 else
81030 if test -n "$DBLATEX"; then
81031 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81032 else
81033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81034 for as_dir in $PATH
81036 IFS=$as_save_IFS
81037 test -z "$as_dir" && as_dir=.
81038 for ac_exec_ext in '' $ac_executable_extensions; do
81039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81040 ac_cv_prog_DBLATEX="yes"
81041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81042 break 2
81044 done
81045 done
81046 IFS=$as_save_IFS
81048 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81051 DBLATEX=$ac_cv_prog_DBLATEX
81052 if test -n "$DBLATEX"; then
81053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81054 $as_echo "$DBLATEX" >&6; }
81055 else
81056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81057 $as_echo "no" >&6; }
81061 # Extract the first word of "pdflatex", so it can be a program name with args.
81062 set dummy pdflatex; ac_word=$2
81063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81064 $as_echo_n "checking for $ac_word... " >&6; }
81065 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81066 $as_echo_n "(cached) " >&6
81067 else
81068 if test -n "$PDFLATEX"; then
81069 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81070 else
81071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81072 for as_dir in $PATH
81074 IFS=$as_save_IFS
81075 test -z "$as_dir" && as_dir=.
81076 for ac_exec_ext in '' $ac_executable_extensions; do
81077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81078 ac_cv_prog_PDFLATEX="yes"
81079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81080 break 2
81082 done
81083 done
81084 IFS=$as_save_IFS
81086 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81089 PDFLATEX=$ac_cv_prog_PDFLATEX
81090 if test -n "$PDFLATEX"; then
81091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81092 $as_echo "$PDFLATEX" >&6; }
81093 else
81094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81095 $as_echo "no" >&6; }
81099 if test $ac_cv_prog_DBLATEX = "yes" &&
81100 test $ac_cv_prog_PDFLATEX = "yes"; then
81101 BUILD_PDF_TRUE=
81102 BUILD_PDF_FALSE='#'
81103 else
81104 BUILD_PDF_TRUE='#'
81105 BUILD_PDF_FALSE=
81109 case "$build" in
81110 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81111 * ) glibcxx_include_dir_notparallel=no ;;
81112 esac
81113 if test $glibcxx_include_dir_notparallel = "yes"; then
81114 INCLUDE_DIR_NOTPARALLEL_TRUE=
81115 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81116 else
81117 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81118 INCLUDE_DIR_NOTPARALLEL_FALSE=
81122 # Propagate the target-specific source directories through the build chain.
81123 ATOMICITY_SRCDIR=config/${atomicity_dir}
81124 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81125 ATOMIC_FLAGS=${atomic_flags}
81126 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81127 OS_INC_SRCDIR=config/${os_include_dir}
81128 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81129 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81130 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81131 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81143 # Add CET specific flags if Intel CET is enabled.
81144 # Check whether --enable-cet was given.
81145 if test "${enable_cet+set}" = set; then :
81146 enableval=$enable_cet;
81147 case "$enableval" in
81148 yes|no|auto) ;;
81149 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81150 esac
81152 else
81153 enable_cet=no
81157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81158 $as_echo_n "checking for CET support... " >&6; }
81160 case "$host" in
81161 i[34567]86-*-linux* | x86_64-*-linux*)
81162 case "$enable_cet" in
81163 auto)
81164 # Check if target supports multi-byte NOPs
81165 # and if assembler supports CET insn.
81166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81167 /* end confdefs.h. */
81170 main ()
81173 #if !defined(__SSE2__)
81174 #error target does not support multi-byte NOPs
81175 #else
81176 asm ("setssbsy");
81177 #endif
81180 return 0;
81182 _ACEOF
81183 if ac_fn_c_try_compile "$LINENO"; then :
81184 enable_cet=yes
81185 else
81186 enable_cet=no
81188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81190 yes)
81191 # Check if assembler supports CET.
81192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81193 /* end confdefs.h. */
81196 main ()
81198 asm ("setssbsy");
81200 return 0;
81202 _ACEOF
81203 if ac_fn_c_try_compile "$LINENO"; then :
81205 else
81206 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81210 esac
81213 enable_cet=no
81215 esac
81216 if test x$enable_cet = xyes; then
81217 CET_FLAGS="-fcf-protection -mshstk"
81218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81219 $as_echo "yes" >&6; }
81220 else
81221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81222 $as_echo "no" >&6; }
81225 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81226 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81230 # Determine cross-compile flags and AM_CONDITIONALs.
81231 #AC_SUBST(GLIBCXX_IS_NATIVE)
81232 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81233 if test $is_hosted = yes; then
81234 GLIBCXX_HOSTED_TRUE=
81235 GLIBCXX_HOSTED_FALSE='#'
81236 else
81237 GLIBCXX_HOSTED_TRUE='#'
81238 GLIBCXX_HOSTED_FALSE=
81242 if test $enable_libstdcxx_pch = yes; then
81243 GLIBCXX_BUILD_PCH_TRUE=
81244 GLIBCXX_BUILD_PCH_FALSE='#'
81245 else
81246 GLIBCXX_BUILD_PCH_TRUE='#'
81247 GLIBCXX_BUILD_PCH_FALSE=
81251 if test $enable_float128 = yes; then
81252 ENABLE_FLOAT128_TRUE=
81253 ENABLE_FLOAT128_FALSE='#'
81254 else
81255 ENABLE_FLOAT128_TRUE='#'
81256 ENABLE_FLOAT128_FALSE=
81260 if test $enable_libstdcxx_allocator_flag = new; then
81261 ENABLE_ALLOCATOR_NEW_TRUE=
81262 ENABLE_ALLOCATOR_NEW_FALSE='#'
81263 else
81264 ENABLE_ALLOCATOR_NEW_TRUE='#'
81265 ENABLE_ALLOCATOR_NEW_FALSE=
81269 if test $enable_cheaders = c; then
81270 GLIBCXX_C_HEADERS_C_TRUE=
81271 GLIBCXX_C_HEADERS_C_FALSE='#'
81272 else
81273 GLIBCXX_C_HEADERS_C_TRUE='#'
81274 GLIBCXX_C_HEADERS_C_FALSE=
81278 if test $enable_cheaders = c_std; then
81279 GLIBCXX_C_HEADERS_C_STD_TRUE=
81280 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81281 else
81282 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81283 GLIBCXX_C_HEADERS_C_STD_FALSE=
81287 if test $enable_cheaders = c_global; then
81288 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81289 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81290 else
81291 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81292 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81296 if test $c_compatibility = yes; then
81297 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81298 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81299 else
81300 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81301 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81305 if test $enable_libstdcxx_debug = yes; then
81306 GLIBCXX_BUILD_DEBUG_TRUE=
81307 GLIBCXX_BUILD_DEBUG_FALSE='#'
81308 else
81309 GLIBCXX_BUILD_DEBUG_TRUE='#'
81310 GLIBCXX_BUILD_DEBUG_FALSE=
81314 if test $enable_extern_template = yes; then
81315 ENABLE_EXTERN_TEMPLATE_TRUE=
81316 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81317 else
81318 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81319 ENABLE_EXTERN_TEMPLATE_FALSE=
81323 if test $python_mod_dir != no; then
81324 ENABLE_PYTHONDIR_TRUE=
81325 ENABLE_PYTHONDIR_FALSE='#'
81326 else
81327 ENABLE_PYTHONDIR_TRUE='#'
81328 ENABLE_PYTHONDIR_FALSE=
81332 if test $enable_werror = yes; then
81333 ENABLE_WERROR_TRUE=
81334 ENABLE_WERROR_FALSE='#'
81335 else
81336 ENABLE_WERROR_TRUE='#'
81337 ENABLE_WERROR_FALSE=
81341 if test $enable_vtable_verify = yes; then
81342 ENABLE_VTABLE_VERIFY_TRUE=
81343 ENABLE_VTABLE_VERIFY_FALSE='#'
81344 else
81345 ENABLE_VTABLE_VERIFY_TRUE='#'
81346 ENABLE_VTABLE_VERIFY_FALSE=
81350 if test $enable_symvers != no; then
81351 ENABLE_SYMVERS_TRUE=
81352 ENABLE_SYMVERS_FALSE='#'
81353 else
81354 ENABLE_SYMVERS_TRUE='#'
81355 ENABLE_SYMVERS_FALSE=
81359 if test $enable_symvers = gnu; then
81360 ENABLE_SYMVERS_GNU_TRUE=
81361 ENABLE_SYMVERS_GNU_FALSE='#'
81362 else
81363 ENABLE_SYMVERS_GNU_TRUE='#'
81364 ENABLE_SYMVERS_GNU_FALSE=
81368 if test $enable_symvers = gnu-versioned-namespace; then
81369 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81370 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81371 else
81372 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81373 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81377 if test $enable_symvers = darwin; then
81378 ENABLE_SYMVERS_DARWIN_TRUE=
81379 ENABLE_SYMVERS_DARWIN_FALSE='#'
81380 else
81381 ENABLE_SYMVERS_DARWIN_TRUE='#'
81382 ENABLE_SYMVERS_DARWIN_FALSE=
81386 if test $enable_symvers = sun; then
81387 ENABLE_SYMVERS_SUN_TRUE=
81388 ENABLE_SYMVERS_SUN_FALSE='#'
81389 else
81390 ENABLE_SYMVERS_SUN_TRUE='#'
81391 ENABLE_SYMVERS_SUN_FALSE=
81395 if test $enable_libstdcxx_visibility = yes; then
81396 ENABLE_VISIBILITY_TRUE=
81397 ENABLE_VISIBILITY_FALSE='#'
81398 else
81399 ENABLE_VISIBILITY_TRUE='#'
81400 ENABLE_VISIBILITY_FALSE=
81404 if test $enable_libstdcxx_dual_abi = yes; then
81405 ENABLE_DUAL_ABI_TRUE=
81406 ENABLE_DUAL_ABI_FALSE='#'
81407 else
81408 ENABLE_DUAL_ABI_TRUE='#'
81409 ENABLE_DUAL_ABI_FALSE=
81413 if test $glibcxx_cxx11_abi = 1; then
81414 ENABLE_CXX11_ABI_TRUE=
81415 ENABLE_CXX11_ABI_FALSE='#'
81416 else
81417 ENABLE_CXX11_ABI_TRUE='#'
81418 ENABLE_CXX11_ABI_FALSE=
81422 if test $ac_ldbl_compat = yes; then
81423 GLIBCXX_LDBL_COMPAT_TRUE=
81424 GLIBCXX_LDBL_COMPAT_FALSE='#'
81425 else
81426 GLIBCXX_LDBL_COMPAT_TRUE='#'
81427 GLIBCXX_LDBL_COMPAT_FALSE=
81431 if test $enable_libstdcxx_filesystem_ts = yes; then
81432 ENABLE_FILESYSTEM_TS_TRUE=
81433 ENABLE_FILESYSTEM_TS_FALSE='#'
81434 else
81435 ENABLE_FILESYSTEM_TS_TRUE='#'
81436 ENABLE_FILESYSTEM_TS_FALSE=
81442 cat >confcache <<\_ACEOF
81443 # This file is a shell script that caches the results of configure
81444 # tests run on this system so they can be shared between configure
81445 # scripts and configure runs, see configure's option --config-cache.
81446 # It is not useful on other systems. If it contains results you don't
81447 # want to keep, you may remove or edit it.
81449 # config.status only pays attention to the cache file if you give it
81450 # the --recheck option to rerun configure.
81452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81454 # following values.
81456 _ACEOF
81458 # The following way of writing the cache mishandles newlines in values,
81459 # but we know of no workaround that is simple, portable, and efficient.
81460 # So, we kill variables containing newlines.
81461 # Ultrix sh set writes to stderr and can't be redirected directly,
81462 # and sets the high bit in the cache file unless we assign to the vars.
81464 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81465 eval ac_val=\$$ac_var
81466 case $ac_val in #(
81467 *${as_nl}*)
81468 case $ac_var in #(
81469 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81470 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81471 esac
81472 case $ac_var in #(
81473 _ | IFS | as_nl) ;; #(
81474 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81475 *) { eval $ac_var=; unset $ac_var;} ;;
81476 esac ;;
81477 esac
81478 done
81480 (set) 2>&1 |
81481 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81482 *${as_nl}ac_space=\ *)
81483 # `set' does not quote correctly, so add quotes: double-quote
81484 # substitution turns \\\\ into \\, and sed turns \\ into \.
81485 sed -n \
81486 "s/'/'\\\\''/g;
81487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81488 ;; #(
81490 # `set' quotes correctly as required by POSIX, so do not add quotes.
81491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81493 esac |
81494 sort
81496 sed '
81497 /^ac_cv_env_/b end
81498 t clear
81499 :clear
81500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81501 t end
81502 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81503 :end' >>confcache
81504 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81505 if test -w "$cache_file"; then
81506 test "x$cache_file" != "x/dev/null" &&
81507 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81508 $as_echo "$as_me: updating cache $cache_file" >&6;}
81509 cat confcache >$cache_file
81510 else
81511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81515 rm -f confcache
81517 if test ${multilib} = yes; then
81518 multilib_arg="--enable-multilib"
81519 else
81520 multilib_arg=
81523 # Export all the install information.
81525 glibcxx_toolexecdir=no
81526 glibcxx_toolexeclibdir=no
81527 glibcxx_prefixdir=$prefix
81529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81530 $as_echo_n "checking for gxx-include-dir... " >&6; }
81532 # Check whether --with-gxx-include-dir was given.
81533 if test "${with_gxx_include_dir+set}" = set; then :
81534 withval=$with_gxx_include_dir; case "$withval" in
81535 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81536 no) gxx_include_dir=no ;;
81537 *) gxx_include_dir=$withval ;;
81538 esac
81539 else
81540 gxx_include_dir=no
81543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81544 $as_echo "$gxx_include_dir" >&6; }
81546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81547 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81548 # Check whether --enable-version-specific-runtime-libs was given.
81549 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81550 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81551 yes) version_specific_libs=yes ;;
81552 no) version_specific_libs=no ;;
81553 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81554 esac
81555 else
81556 version_specific_libs=no
81559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81560 $as_echo "$version_specific_libs" >&6; }
81562 # Default case for install directory for include files.
81563 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81564 gxx_include_dir='include/c++/${gcc_version}'
81565 if test -n "$with_cross_host" &&
81566 test x"$with_cross_host" != x"no"; then
81567 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81568 else
81569 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81573 # Version-specific runtime libs processing.
81574 if test $version_specific_libs = yes; then
81575 # Need the gcc compiler version to know where to install libraries
81576 # and header files if --enable-version-specific-runtime-libs option
81577 # is selected. FIXME: these variables are misnamed, there are
81578 # no executables installed in _toolexecdir or _toolexeclibdir.
81579 if test x"$gxx_include_dir" = x"no"; then
81580 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81582 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81583 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81586 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81587 # Install a library built with a cross compiler in tooldir, not libdir.
81588 if test x"$glibcxx_toolexecdir" = x"no"; then
81589 if test -n "$with_cross_host" &&
81590 test x"$with_cross_host" != x"no"; then
81591 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81592 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81593 else
81594 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81595 glibcxx_toolexeclibdir='${libdir}'
81597 multi_os_directory=`$CXX -print-multi-os-directory`
81598 case $multi_os_directory in
81599 .) ;; # Avoid trailing /.
81600 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81601 esac
81604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81605 $as_echo_n "checking for install location... " >&6; }
81606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81607 $as_echo "$gxx_include_dir" >&6; }
81615 # Export all the include and flag information to Makefiles.
81617 # Used for every C++ compile we perform.
81618 GLIBCXX_INCLUDES="\
81619 -I$glibcxx_builddir/include/$host_alias \
81620 -I$glibcxx_builddir/include \
81621 -I$glibcxx_srcdir/libsupc++"
81623 # For Canadian crosses, pick this up too.
81624 if test $CANADIAN = yes; then
81625 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81628 # Stuff in the actual top level. Currently only used by libsupc++ to
81629 # get unwind* headers from the libgcc dir.
81630 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81631 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81633 # Now, export this to all the little Makefiles....
81638 # Optimization flags that are probably a good idea for thrill-seekers. Just
81639 # uncomment the lines below and make, everything else is ready to go...
81640 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81641 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81644 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81648 # Determine what GCC version number to use in filesystem paths.
81650 get_gcc_base_ver="cat"
81652 # Check whether --with-gcc-major-version-only was given.
81653 if test "${with_gcc_major_version_only+set}" = set; then :
81654 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81655 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81663 ac_config_files="$ac_config_files Makefile"
81665 ac_config_files="$ac_config_files scripts/testsuite_flags"
81667 ac_config_files="$ac_config_files scripts/extract_symvers"
81669 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81672 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81673 # that multilib installs will end up installed in the correct place.
81674 # The testsuite needs it for multilib-aware ABI baseline files.
81675 # To work around this not being passed down from config-ml.in ->
81676 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81677 # append it here. Only modify Makefiles that have just been created.
81679 # Also, get rid of this simulated-VPATH thing that automake does.
81680 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81683 ac_config_commands="$ac_config_commands generate-headers"
81686 cat >confcache <<\_ACEOF
81687 # This file is a shell script that caches the results of configure
81688 # tests run on this system so they can be shared between configure
81689 # scripts and configure runs, see configure's option --config-cache.
81690 # It is not useful on other systems. If it contains results you don't
81691 # want to keep, you may remove or edit it.
81693 # config.status only pays attention to the cache file if you give it
81694 # the --recheck option to rerun configure.
81696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81698 # following values.
81700 _ACEOF
81702 # The following way of writing the cache mishandles newlines in values,
81703 # but we know of no workaround that is simple, portable, and efficient.
81704 # So, we kill variables containing newlines.
81705 # Ultrix sh set writes to stderr and can't be redirected directly,
81706 # and sets the high bit in the cache file unless we assign to the vars.
81708 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81709 eval ac_val=\$$ac_var
81710 case $ac_val in #(
81711 *${as_nl}*)
81712 case $ac_var in #(
81713 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81714 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81715 esac
81716 case $ac_var in #(
81717 _ | IFS | as_nl) ;; #(
81718 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81719 *) { eval $ac_var=; unset $ac_var;} ;;
81720 esac ;;
81721 esac
81722 done
81724 (set) 2>&1 |
81725 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81726 *${as_nl}ac_space=\ *)
81727 # `set' does not quote correctly, so add quotes: double-quote
81728 # substitution turns \\\\ into \\, and sed turns \\ into \.
81729 sed -n \
81730 "s/'/'\\\\''/g;
81731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81732 ;; #(
81734 # `set' quotes correctly as required by POSIX, so do not add quotes.
81735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81737 esac |
81738 sort
81740 sed '
81741 /^ac_cv_env_/b end
81742 t clear
81743 :clear
81744 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81745 t end
81746 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81747 :end' >>confcache
81748 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81749 if test -w "$cache_file"; then
81750 test "x$cache_file" != "x/dev/null" &&
81751 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81752 $as_echo "$as_me: updating cache $cache_file" >&6;}
81753 cat confcache >$cache_file
81754 else
81755 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81756 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81759 rm -f confcache
81761 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81762 # Let make expand exec_prefix.
81763 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81765 DEFS=-DHAVE_CONFIG_H
81767 ac_libobjs=
81768 ac_ltlibobjs=
81769 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81770 # 1. Remove the extension, and $U if already installed.
81771 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81772 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81774 # will be set to the directory where LIBOBJS objects are built.
81775 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81776 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81777 done
81778 LIBOBJS=$ac_libobjs
81780 LTLIBOBJS=$ac_ltlibobjs
81783 if test -n "$EXEEXT"; then
81784 am__EXEEXT_TRUE=
81785 am__EXEEXT_FALSE='#'
81786 else
81787 am__EXEEXT_TRUE='#'
81788 am__EXEEXT_FALSE=
81791 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81792 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81795 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81796 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81799 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81800 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81803 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
81804 as_fn_error "conditional \"ENABLE_FLOAT128\" was never defined.
81805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81807 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81808 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81811 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81812 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81815 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81816 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81819 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81820 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81823 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81824 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81827 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81828 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81831 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81832 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81835 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81836 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81839 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81840 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81843 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81844 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81847 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81848 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81851 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81852 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81855 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81856 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81859 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81860 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81863 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81864 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81867 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81868 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81871 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81872 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81875 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81876 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81879 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81880 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81883 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81884 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81887 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81888 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81891 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81892 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81895 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81896 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81899 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81900 as_fn_error "conditional \"BUILD_XML\" was never defined.
81901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81903 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81904 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81907 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81908 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81911 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81912 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81915 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
81916 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
81917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81920 : ${CONFIG_STATUS=./config.status}
81921 ac_write_fail=0
81922 ac_clean_files_save=$ac_clean_files
81923 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81925 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81926 as_write_fail=0
81927 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81928 #! $SHELL
81929 # Generated by $as_me.
81930 # Run this file to recreate the current configuration.
81931 # Compiler output produced by configure, useful for debugging
81932 # configure, is in config.log if it exists.
81934 debug=false
81935 ac_cs_recheck=false
81936 ac_cs_silent=false
81938 SHELL=\${CONFIG_SHELL-$SHELL}
81939 export SHELL
81940 _ASEOF
81941 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81942 ## -------------------- ##
81943 ## M4sh Initialization. ##
81944 ## -------------------- ##
81946 # Be more Bourne compatible
81947 DUALCASE=1; export DUALCASE # for MKS sh
81948 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81949 emulate sh
81950 NULLCMD=:
81951 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81952 # is contrary to our usage. Disable this feature.
81953 alias -g '${1+"$@"}'='"$@"'
81954 setopt NO_GLOB_SUBST
81955 else
81956 case `(set -o) 2>/dev/null` in #(
81957 *posix*) :
81958 set -o posix ;; #(
81959 *) :
81961 esac
81965 as_nl='
81967 export as_nl
81968 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81969 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81970 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81972 # Prefer a ksh shell builtin over an external printf program on Solaris,
81973 # but without wasting forks for bash or zsh.
81974 if test -z "$BASH_VERSION$ZSH_VERSION" \
81975 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81976 as_echo='print -r --'
81977 as_echo_n='print -rn --'
81978 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81979 as_echo='printf %s\n'
81980 as_echo_n='printf %s'
81981 else
81982 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81983 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81984 as_echo_n='/usr/ucb/echo -n'
81985 else
81986 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81987 as_echo_n_body='eval
81988 arg=$1;
81989 case $arg in #(
81990 *"$as_nl"*)
81991 expr "X$arg" : "X\\(.*\\)$as_nl";
81992 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81993 esac;
81994 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81996 export as_echo_n_body
81997 as_echo_n='sh -c $as_echo_n_body as_echo'
81999 export as_echo_body
82000 as_echo='sh -c $as_echo_body as_echo'
82003 # The user is always right.
82004 if test "${PATH_SEPARATOR+set}" != set; then
82005 PATH_SEPARATOR=:
82006 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82007 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82008 PATH_SEPARATOR=';'
82013 # IFS
82014 # We need space, tab and new line, in precisely that order. Quoting is
82015 # there to prevent editors from complaining about space-tab.
82016 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82017 # splitting by setting IFS to empty value.)
82018 IFS=" "" $as_nl"
82020 # Find who we are. Look in the path if we contain no directory separator.
82021 case $0 in #((
82022 *[\\/]* ) as_myself=$0 ;;
82023 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82024 for as_dir in $PATH
82026 IFS=$as_save_IFS
82027 test -z "$as_dir" && as_dir=.
82028 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82029 done
82030 IFS=$as_save_IFS
82033 esac
82034 # We did not find ourselves, most probably we were run as `sh COMMAND'
82035 # in which case we are not to be found in the path.
82036 if test "x$as_myself" = x; then
82037 as_myself=$0
82039 if test ! -f "$as_myself"; then
82040 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82041 exit 1
82044 # Unset variables that we do not need and which cause bugs (e.g. in
82045 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82046 # suppresses any "Segmentation fault" message there. '((' could
82047 # trigger a bug in pdksh 5.2.14.
82048 for as_var in BASH_ENV ENV MAIL MAILPATH
82049 do eval test x\${$as_var+set} = xset \
82050 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82051 done
82052 PS1='$ '
82053 PS2='> '
82054 PS4='+ '
82056 # NLS nuisances.
82057 LC_ALL=C
82058 export LC_ALL
82059 LANGUAGE=C
82060 export LANGUAGE
82062 # CDPATH.
82063 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82066 # as_fn_error ERROR [LINENO LOG_FD]
82067 # ---------------------------------
82068 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82069 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82070 # script with status $?, using 1 if that was 0.
82071 as_fn_error ()
82073 as_status=$?; test $as_status -eq 0 && as_status=1
82074 if test "$3"; then
82075 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82076 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82078 $as_echo "$as_me: error: $1" >&2
82079 as_fn_exit $as_status
82080 } # as_fn_error
82083 # as_fn_set_status STATUS
82084 # -----------------------
82085 # Set $? to STATUS, without forking.
82086 as_fn_set_status ()
82088 return $1
82089 } # as_fn_set_status
82091 # as_fn_exit STATUS
82092 # -----------------
82093 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82094 as_fn_exit ()
82096 set +e
82097 as_fn_set_status $1
82098 exit $1
82099 } # as_fn_exit
82101 # as_fn_unset VAR
82102 # ---------------
82103 # Portably unset VAR.
82104 as_fn_unset ()
82106 { eval $1=; unset $1;}
82108 as_unset=as_fn_unset
82109 # as_fn_append VAR VALUE
82110 # ----------------------
82111 # Append the text in VALUE to the end of the definition contained in VAR. Take
82112 # advantage of any shell optimizations that allow amortized linear growth over
82113 # repeated appends, instead of the typical quadratic growth present in naive
82114 # implementations.
82115 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82116 eval 'as_fn_append ()
82118 eval $1+=\$2
82120 else
82121 as_fn_append ()
82123 eval $1=\$$1\$2
82125 fi # as_fn_append
82127 # as_fn_arith ARG...
82128 # ------------------
82129 # Perform arithmetic evaluation on the ARGs, and store the result in the
82130 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82131 # must be portable across $(()) and expr.
82132 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82133 eval 'as_fn_arith ()
82135 as_val=$(( $* ))
82137 else
82138 as_fn_arith ()
82140 as_val=`expr "$@" || test $? -eq 1`
82142 fi # as_fn_arith
82145 if expr a : '\(a\)' >/dev/null 2>&1 &&
82146 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82147 as_expr=expr
82148 else
82149 as_expr=false
82152 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82153 as_basename=basename
82154 else
82155 as_basename=false
82158 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82159 as_dirname=dirname
82160 else
82161 as_dirname=false
82164 as_me=`$as_basename -- "$0" ||
82165 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82166 X"$0" : 'X\(//\)$' \| \
82167 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82168 $as_echo X/"$0" |
82169 sed '/^.*\/\([^/][^/]*\)\/*$/{
82170 s//\1/
82173 /^X\/\(\/\/\)$/{
82174 s//\1/
82177 /^X\/\(\/\).*/{
82178 s//\1/
82181 s/.*/./; q'`
82183 # Avoid depending upon Character Ranges.
82184 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82185 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82186 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82187 as_cr_digits='0123456789'
82188 as_cr_alnum=$as_cr_Letters$as_cr_digits
82190 ECHO_C= ECHO_N= ECHO_T=
82191 case `echo -n x` in #(((((
82192 -n*)
82193 case `echo 'xy\c'` in
82194 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82195 xy) ECHO_C='\c';;
82196 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82197 ECHO_T=' ';;
82198 esac;;
82200 ECHO_N='-n';;
82201 esac
82203 rm -f conf$$ conf$$.exe conf$$.file
82204 if test -d conf$$.dir; then
82205 rm -f conf$$.dir/conf$$.file
82206 else
82207 rm -f conf$$.dir
82208 mkdir conf$$.dir 2>/dev/null
82210 if (echo >conf$$.file) 2>/dev/null; then
82211 if ln -s conf$$.file conf$$ 2>/dev/null; then
82212 as_ln_s='ln -s'
82213 # ... but there are two gotchas:
82214 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82215 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82216 # In both cases, we have to default to `cp -p'.
82217 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82218 as_ln_s='cp -p'
82219 elif ln conf$$.file conf$$ 2>/dev/null; then
82220 as_ln_s=ln
82221 else
82222 as_ln_s='cp -p'
82224 else
82225 as_ln_s='cp -p'
82227 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82228 rmdir conf$$.dir 2>/dev/null
82231 # as_fn_mkdir_p
82232 # -------------
82233 # Create "$as_dir" as a directory, including parents if necessary.
82234 as_fn_mkdir_p ()
82237 case $as_dir in #(
82238 -*) as_dir=./$as_dir;;
82239 esac
82240 test -d "$as_dir" || eval $as_mkdir_p || {
82241 as_dirs=
82242 while :; do
82243 case $as_dir in #(
82244 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82245 *) as_qdir=$as_dir;;
82246 esac
82247 as_dirs="'$as_qdir' $as_dirs"
82248 as_dir=`$as_dirname -- "$as_dir" ||
82249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82250 X"$as_dir" : 'X\(//\)[^/]' \| \
82251 X"$as_dir" : 'X\(//\)$' \| \
82252 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82253 $as_echo X"$as_dir" |
82254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82255 s//\1/
82258 /^X\(\/\/\)[^/].*/{
82259 s//\1/
82262 /^X\(\/\/\)$/{
82263 s//\1/
82266 /^X\(\/\).*/{
82267 s//\1/
82270 s/.*/./; q'`
82271 test -d "$as_dir" && break
82272 done
82273 test -z "$as_dirs" || eval "mkdir $as_dirs"
82274 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82277 } # as_fn_mkdir_p
82278 if mkdir -p . 2>/dev/null; then
82279 as_mkdir_p='mkdir -p "$as_dir"'
82280 else
82281 test -d ./-p && rmdir ./-p
82282 as_mkdir_p=false
82285 if test -x / >/dev/null 2>&1; then
82286 as_test_x='test -x'
82287 else
82288 if ls -dL / >/dev/null 2>&1; then
82289 as_ls_L_option=L
82290 else
82291 as_ls_L_option=
82293 as_test_x='
82294 eval sh -c '\''
82295 if test -d "$1"; then
82296 test -d "$1/.";
82297 else
82298 case $1 in #(
82299 -*)set "./$1";;
82300 esac;
82301 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82302 ???[sx]*):;;*)false;;esac;fi
82303 '\'' sh
82306 as_executable_p=$as_test_x
82308 # Sed expression to map a string onto a valid CPP name.
82309 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82311 # Sed expression to map a string onto a valid variable name.
82312 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82315 exec 6>&1
82316 ## ----------------------------------- ##
82317 ## Main body of $CONFIG_STATUS script. ##
82318 ## ----------------------------------- ##
82319 _ASEOF
82320 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82323 # Save the log message, to keep $0 and so on meaningful, and to
82324 # report actual input values of CONFIG_FILES etc. instead of their
82325 # values after options handling.
82326 ac_log="
82327 This file was extended by package-unused $as_me version-unused, which was
82328 generated by GNU Autoconf 2.64. Invocation command line was
82330 CONFIG_FILES = $CONFIG_FILES
82331 CONFIG_HEADERS = $CONFIG_HEADERS
82332 CONFIG_LINKS = $CONFIG_LINKS
82333 CONFIG_COMMANDS = $CONFIG_COMMANDS
82334 $ $0 $@
82336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82339 _ACEOF
82341 case $ac_config_files in *"
82342 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82343 esac
82345 case $ac_config_headers in *"
82346 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82347 esac
82350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82351 # Files that config.status was made for.
82352 config_files="$ac_config_files"
82353 config_headers="$ac_config_headers"
82354 config_commands="$ac_config_commands"
82356 _ACEOF
82358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82359 ac_cs_usage="\
82360 \`$as_me' instantiates files and other configuration actions
82361 from templates according to the current configuration. Unless the files
82362 and actions are specified as TAGs, all are instantiated by default.
82364 Usage: $0 [OPTION]... [TAG]...
82366 -h, --help print this help, then exit
82367 -V, --version print version number and configuration settings, then exit
82368 -q, --quiet, --silent
82369 do not print progress messages
82370 -d, --debug don't remove temporary files
82371 --recheck update $as_me by reconfiguring in the same conditions
82372 --file=FILE[:TEMPLATE]
82373 instantiate the configuration file FILE
82374 --header=FILE[:TEMPLATE]
82375 instantiate the configuration header FILE
82377 Configuration files:
82378 $config_files
82380 Configuration headers:
82381 $config_headers
82383 Configuration commands:
82384 $config_commands
82386 Report bugs to the package provider."
82388 _ACEOF
82389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82390 ac_cs_version="\\
82391 package-unused config.status version-unused
82392 configured by $0, generated by GNU Autoconf 2.64,
82393 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82395 Copyright (C) 2009 Free Software Foundation, Inc.
82396 This config.status script is free software; the Free Software Foundation
82397 gives unlimited permission to copy, distribute and modify it."
82399 ac_pwd='$ac_pwd'
82400 srcdir='$srcdir'
82401 INSTALL='$INSTALL'
82402 MKDIR_P='$MKDIR_P'
82403 AWK='$AWK'
82404 test -n "\$AWK" || AWK=awk
82405 _ACEOF
82407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82408 # The default lists apply if the user does not specify any file.
82409 ac_need_defaults=:
82410 while test $# != 0
82412 case $1 in
82413 --*=*)
82414 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82415 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82416 ac_shift=:
82419 ac_option=$1
82420 ac_optarg=$2
82421 ac_shift=shift
82423 esac
82425 case $ac_option in
82426 # Handling of the options.
82427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82428 ac_cs_recheck=: ;;
82429 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82430 $as_echo "$ac_cs_version"; exit ;;
82431 --debug | --debu | --deb | --de | --d | -d )
82432 debug=: ;;
82433 --file | --fil | --fi | --f )
82434 $ac_shift
82435 case $ac_optarg in
82436 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82437 esac
82438 as_fn_append CONFIG_FILES " '$ac_optarg'"
82439 ac_need_defaults=false;;
82440 --header | --heade | --head | --hea )
82441 $ac_shift
82442 case $ac_optarg in
82443 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82444 esac
82445 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82446 ac_need_defaults=false;;
82447 --he | --h)
82448 # Conflict between --help and --header
82449 as_fn_error "ambiguous option: \`$1'
82450 Try \`$0 --help' for more information.";;
82451 --help | --hel | -h )
82452 $as_echo "$ac_cs_usage"; exit ;;
82453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82454 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82455 ac_cs_silent=: ;;
82457 # This is an error.
82458 -*) as_fn_error "unrecognized option: \`$1'
82459 Try \`$0 --help' for more information." ;;
82461 *) as_fn_append ac_config_targets " $1"
82462 ac_need_defaults=false ;;
82464 esac
82465 shift
82466 done
82468 ac_configure_extra_args=
82470 if $ac_cs_silent; then
82471 exec 6>/dev/null
82472 ac_configure_extra_args="$ac_configure_extra_args --silent"
82475 _ACEOF
82476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82477 if \$ac_cs_recheck; then
82478 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82479 shift
82480 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82481 CONFIG_SHELL='$SHELL'
82482 export CONFIG_SHELL
82483 exec "\$@"
82486 _ACEOF
82487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82488 exec 5>>config.log
82490 echo
82491 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82492 ## Running $as_me. ##
82493 _ASBOX
82494 $as_echo "$ac_log"
82495 } >&5
82497 _ACEOF
82498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82500 # INIT-COMMANDS
82503 srcdir="$srcdir"
82504 host="$host"
82505 target="$target"
82506 with_multisubdir="$with_multisubdir"
82507 with_multisrctop="$with_multisrctop"
82508 with_target_subdir="$with_target_subdir"
82509 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82510 multi_basedir="$multi_basedir"
82511 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82512 CC="$CC"
82513 CXX="$CXX"
82514 GFORTRAN="$GFORTRAN"
82517 # The HP-UX ksh and POSIX shell print the target directory to stdout
82518 # if CDPATH is set.
82519 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82521 sed_quote_subst='$sed_quote_subst'
82522 double_quote_subst='$double_quote_subst'
82523 delay_variable_subst='$delay_variable_subst'
82524 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82525 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82526 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82527 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82528 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82529 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82530 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82531 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82532 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82533 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82534 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82535 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82536 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82537 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82538 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82539 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82540 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82541 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82542 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82543 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82544 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82545 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82546 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82547 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82548 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82549 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82550 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82551 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82552 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82553 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82554 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82555 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82556 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82557 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82558 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82559 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82560 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82561 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82562 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82563 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82564 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82565 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82566 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82567 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82568 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82569 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82570 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82571 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82572 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"`'
82573 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82574 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82575 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82576 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82577 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82578 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82579 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82580 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82581 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82582 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82583 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82584 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82585 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82586 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82587 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82588 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82589 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82590 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82591 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82592 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82593 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82594 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82595 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82596 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82597 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82598 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82599 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82600 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82601 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82602 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82603 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82604 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82605 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82606 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82607 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82608 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82609 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82610 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82611 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82612 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82613 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82614 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82615 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82616 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82617 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82618 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82619 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82620 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82621 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82622 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82623 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82624 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82625 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82626 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82627 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82628 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82629 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82630 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82631 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82632 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82633 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82634 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82635 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82636 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82637 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82638 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82639 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82640 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82641 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82642 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82643 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82644 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82645 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82646 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82647 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82648 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82649 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82650 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82651 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82652 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82653 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82654 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82655 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82656 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82657 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82658 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82659 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82660 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82661 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82662 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82663 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82664 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82665 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82666 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82667 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82668 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82669 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82670 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82671 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82672 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82673 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82674 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82675 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82676 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82677 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82678 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82679 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82680 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82681 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82682 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82683 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82684 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82685 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82686 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82687 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82688 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82689 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82690 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82691 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82692 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82693 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82694 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82695 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82696 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82697 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82698 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82700 LTCC='$LTCC'
82701 LTCFLAGS='$LTCFLAGS'
82702 compiler='$compiler_DEFAULT'
82704 # A function that is used when there is no print builtin or printf.
82705 func_fallback_echo ()
82707 eval 'cat <<_LTECHO_EOF
82709 _LTECHO_EOF'
82712 # Quote evaled strings.
82713 for var in SHELL \
82714 ECHO \
82715 SED \
82716 GREP \
82717 EGREP \
82718 FGREP \
82719 LD \
82720 NM \
82721 LN_S \
82722 lt_SP2NL \
82723 lt_NL2SP \
82724 reload_flag \
82725 OBJDUMP \
82726 deplibs_check_method \
82727 file_magic_cmd \
82728 AR \
82729 AR_FLAGS \
82730 STRIP \
82731 RANLIB \
82732 CC \
82733 CFLAGS \
82734 compiler \
82735 lt_cv_sys_global_symbol_pipe \
82736 lt_cv_sys_global_symbol_to_cdecl \
82737 lt_cv_sys_global_symbol_to_c_name_address \
82738 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82739 lt_prog_compiler_no_builtin_flag \
82740 lt_prog_compiler_wl \
82741 lt_prog_compiler_pic \
82742 lt_prog_compiler_static \
82743 lt_cv_prog_compiler_c_o \
82744 need_locks \
82745 DSYMUTIL \
82746 NMEDIT \
82747 LIPO \
82748 OTOOL \
82749 OTOOL64 \
82750 shrext_cmds \
82751 export_dynamic_flag_spec \
82752 whole_archive_flag_spec \
82753 compiler_needs_object \
82754 with_gnu_ld \
82755 allow_undefined_flag \
82756 no_undefined_flag \
82757 hardcode_libdir_flag_spec \
82758 hardcode_libdir_flag_spec_ld \
82759 hardcode_libdir_separator \
82760 fix_srcfile_path \
82761 exclude_expsyms \
82762 include_expsyms \
82763 file_list_spec \
82764 variables_saved_for_relink \
82765 libname_spec \
82766 library_names_spec \
82767 soname_spec \
82768 install_override_mode \
82769 finish_eval \
82770 old_striplib \
82771 striplib \
82772 compiler_lib_search_dirs \
82773 predep_objects \
82774 postdep_objects \
82775 predeps \
82776 postdeps \
82777 compiler_lib_search_path \
82778 LD_CXX \
82779 reload_flag_CXX \
82780 compiler_CXX \
82781 lt_prog_compiler_no_builtin_flag_CXX \
82782 lt_prog_compiler_wl_CXX \
82783 lt_prog_compiler_pic_CXX \
82784 lt_prog_compiler_static_CXX \
82785 lt_cv_prog_compiler_c_o_CXX \
82786 export_dynamic_flag_spec_CXX \
82787 whole_archive_flag_spec_CXX \
82788 compiler_needs_object_CXX \
82789 with_gnu_ld_CXX \
82790 allow_undefined_flag_CXX \
82791 no_undefined_flag_CXX \
82792 hardcode_libdir_flag_spec_CXX \
82793 hardcode_libdir_flag_spec_ld_CXX \
82794 hardcode_libdir_separator_CXX \
82795 fix_srcfile_path_CXX \
82796 exclude_expsyms_CXX \
82797 include_expsyms_CXX \
82798 file_list_spec_CXX \
82799 compiler_lib_search_dirs_CXX \
82800 predep_objects_CXX \
82801 postdep_objects_CXX \
82802 predeps_CXX \
82803 postdeps_CXX \
82804 compiler_lib_search_path_CXX; do
82805 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82806 *[\\\\\\\`\\"\\\$]*)
82807 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82810 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82812 esac
82813 done
82815 # Double-quote double-evaled strings.
82816 for var in reload_cmds \
82817 old_postinstall_cmds \
82818 old_postuninstall_cmds \
82819 old_archive_cmds \
82820 extract_expsyms_cmds \
82821 old_archive_from_new_cmds \
82822 old_archive_from_expsyms_cmds \
82823 archive_cmds \
82824 archive_expsym_cmds \
82825 module_cmds \
82826 module_expsym_cmds \
82827 export_symbols_cmds \
82828 prelink_cmds \
82829 postinstall_cmds \
82830 postuninstall_cmds \
82831 finish_cmds \
82832 sys_lib_search_path_spec \
82833 sys_lib_dlsearch_path_spec \
82834 reload_cmds_CXX \
82835 old_archive_cmds_CXX \
82836 old_archive_from_new_cmds_CXX \
82837 old_archive_from_expsyms_cmds_CXX \
82838 archive_cmds_CXX \
82839 archive_expsym_cmds_CXX \
82840 module_cmds_CXX \
82841 module_expsym_cmds_CXX \
82842 export_symbols_cmds_CXX \
82843 prelink_cmds_CXX; do
82844 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82845 *[\\\\\\\`\\"\\\$]*)
82846 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82849 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82851 esac
82852 done
82854 ac_aux_dir='$ac_aux_dir'
82855 xsi_shell='$xsi_shell'
82856 lt_shell_append='$lt_shell_append'
82858 # See if we are running on zsh, and set the options which allow our
82859 # commands through without removal of \ escapes INIT.
82860 if test -n "\${ZSH_VERSION+set}" ; then
82861 setopt NO_GLOB_SUBST
82865 PACKAGE='$PACKAGE'
82866 VERSION='$VERSION'
82867 TIMESTAMP='$TIMESTAMP'
82868 RM='$RM'
82869 ofile='$ofile'
82876 GCC="$GCC"
82877 CC="$CC"
82878 acx_cv_header_stdint="$acx_cv_header_stdint"
82879 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82880 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82881 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82882 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82883 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82884 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82885 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82886 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82887 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82888 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82889 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82890 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82891 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82894 _ACEOF
82896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82898 # Handling of arguments.
82899 for ac_config_target in $ac_config_targets
82901 case $ac_config_target in
82902 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82903 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82904 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82905 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82906 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82907 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82908 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82909 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82910 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82911 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82912 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82913 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82914 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82915 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82916 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82917 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82918 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82919 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82920 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82922 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82923 esac
82924 done
82927 # If the user did not use the arguments to specify the items to instantiate,
82928 # then the envvar interface is used. Set only those that are not.
82929 # We use the long form for the default assignment because of an extremely
82930 # bizarre bug on SunOS 4.1.3.
82931 if $ac_need_defaults; then
82932 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82933 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82934 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82937 # Have a temporary directory for convenience. Make it in the build tree
82938 # simply because there is no reason against having it here, and in addition,
82939 # creating and moving files from /tmp can sometimes cause problems.
82940 # Hook for its removal unless debugging.
82941 # Note that there is a small window in which the directory will not be cleaned:
82942 # after its creation but before its name has been assigned to `$tmp'.
82943 $debug ||
82945 tmp=
82946 trap 'exit_status=$?
82947 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82949 trap 'as_fn_exit 1' 1 2 13 15
82951 # Create a (secure) tmp directory for tmp files.
82954 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82955 test -n "$tmp" && test -d "$tmp"
82956 } ||
82958 tmp=./conf$$-$RANDOM
82959 (umask 077 && mkdir "$tmp")
82960 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82962 # Set up the scripts for CONFIG_FILES section.
82963 # No need to generate them if there are no CONFIG_FILES.
82964 # This happens for instance with `./config.status config.h'.
82965 if test -n "$CONFIG_FILES"; then
82968 ac_cr=`echo X | tr X '\015'`
82969 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82970 # But we know of no other shell where ac_cr would be empty at this
82971 # point, so we can use a bashism as a fallback.
82972 if test "x$ac_cr" = x; then
82973 eval ac_cr=\$\'\\r\'
82975 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82976 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82977 ac_cs_awk_cr='\r'
82978 else
82979 ac_cs_awk_cr=$ac_cr
82982 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82983 _ACEOF
82987 echo "cat >conf$$subs.awk <<_ACEOF" &&
82988 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82989 echo "_ACEOF"
82990 } >conf$$subs.sh ||
82991 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82992 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82993 ac_delim='%!_!# '
82994 for ac_last_try in false false false false false :; do
82995 . ./conf$$subs.sh ||
82996 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82998 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82999 if test $ac_delim_n = $ac_delim_num; then
83000 break
83001 elif $ac_last_try; then
83002 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
83003 else
83004 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83006 done
83007 rm -f conf$$subs.sh
83009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83010 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83011 _ACEOF
83012 sed -n '
83014 s/^/S["/; s/!.*/"]=/
83017 s/^[^!]*!//
83018 :repl
83019 t repl
83020 s/'"$ac_delim"'$//
83021 t delim
83024 s/\(.\{148\}\).*/\1/
83025 t more1
83026 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83029 b repl
83030 :more1
83031 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83034 s/.\{148\}//
83035 t nl
83036 :delim
83038 s/\(.\{148\}\).*/\1/
83039 t more2
83040 s/["\\]/\\&/g; s/^/"/; s/$/"/
83043 :more2
83044 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83047 s/.\{148\}//
83048 t delim
83049 ' <conf$$subs.awk | sed '
83050 /^[^""]/{
83052 s/\n//
83054 ' >>$CONFIG_STATUS || ac_write_fail=1
83055 rm -f conf$$subs.awk
83056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83057 _ACAWK
83058 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83059 for (key in S) S_is_set[key] = 1
83060 FS = "\a"
83064 line = $ 0
83065 nfields = split(line, field, "@")
83066 substed = 0
83067 len = length(field[1])
83068 for (i = 2; i < nfields; i++) {
83069 key = field[i]
83070 keylen = length(key)
83071 if (S_is_set[key]) {
83072 value = S[key]
83073 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83074 len += length(value) + length(field[++i])
83075 substed = 1
83076 } else
83077 len += 1 + keylen
83080 print line
83083 _ACAWK
83084 _ACEOF
83085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83086 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83087 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83088 else
83090 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83091 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83092 _ACEOF
83094 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83095 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83096 # trailing colons and then remove the whole line if VPATH becomes empty
83097 # (actually we leave an empty line to preserve line numbers).
83098 if test "x$srcdir" = x.; then
83099 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83100 s/:*\$(srcdir):*/:/
83101 s/:*\${srcdir}:*/:/
83102 s/:*@srcdir@:*/:/
83103 s/^\([^=]*=[ ]*\):*/\1/
83104 s/:*$//
83105 s/^[^=]*=[ ]*$//
83109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83110 fi # test -n "$CONFIG_FILES"
83112 # Set up the scripts for CONFIG_HEADERS section.
83113 # No need to generate them if there are no CONFIG_HEADERS.
83114 # This happens for instance with `./config.status Makefile'.
83115 if test -n "$CONFIG_HEADERS"; then
83116 cat >"$tmp/defines.awk" <<\_ACAWK ||
83117 BEGIN {
83118 _ACEOF
83120 # Transform confdefs.h into an awk script `defines.awk', embedded as
83121 # here-document in config.status, that substitutes the proper values into
83122 # config.h.in to produce config.h.
83124 # Create a delimiter string that does not exist in confdefs.h, to ease
83125 # handling of long lines.
83126 ac_delim='%!_!# '
83127 for ac_last_try in false false :; do
83128 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83129 if test -z "$ac_t"; then
83130 break
83131 elif $ac_last_try; then
83132 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83133 else
83134 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83136 done
83138 # For the awk script, D is an array of macro values keyed by name,
83139 # likewise P contains macro parameters if any. Preserve backslash
83140 # newline sequences.
83142 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83143 sed -n '
83144 s/.\{148\}/&'"$ac_delim"'/g
83145 t rset
83146 :rset
83147 s/^[ ]*#[ ]*define[ ][ ]*/ /
83148 t def
83150 :def
83151 s/\\$//
83152 t bsnl
83153 s/["\\]/\\&/g
83154 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83155 D["\1"]=" \3"/p
83156 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83158 :bsnl
83159 s/["\\]/\\&/g
83160 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83161 D["\1"]=" \3\\\\\\n"\\/p
83162 t cont
83163 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83164 t cont
83166 :cont
83168 s/.\{148\}/&'"$ac_delim"'/g
83169 t clear
83170 :clear
83171 s/\\$//
83172 t bsnlc
83173 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83175 :bsnlc
83176 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83177 b cont
83178 ' <confdefs.h | sed '
83179 s/'"$ac_delim"'/"\\\
83180 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83183 for (key in D) D_is_set[key] = 1
83184 FS = "\a"
83186 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83187 line = \$ 0
83188 split(line, arg, " ")
83189 if (arg[1] == "#") {
83190 defundef = arg[2]
83191 mac1 = arg[3]
83192 } else {
83193 defundef = substr(arg[1], 2)
83194 mac1 = arg[2]
83196 split(mac1, mac2, "(") #)
83197 macro = mac2[1]
83198 prefix = substr(line, 1, index(line, defundef) - 1)
83199 if (D_is_set[macro]) {
83200 # Preserve the white space surrounding the "#".
83201 print prefix "define", macro P[macro] D[macro]
83202 next
83203 } else {
83204 # Replace #undef with comments. This is necessary, for example,
83205 # in the case of _POSIX_SOURCE, which is predefined and required
83206 # on some systems where configure will not decide to define it.
83207 if (defundef == "undef") {
83208 print "/*", prefix defundef, macro, "*/"
83209 next
83213 { print }
83214 _ACAWK
83215 _ACEOF
83216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83217 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83218 fi # test -n "$CONFIG_HEADERS"
83221 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83222 shift
83223 for ac_tag
83225 case $ac_tag in
83226 :[FHLC]) ac_mode=$ac_tag; continue;;
83227 esac
83228 case $ac_mode$ac_tag in
83229 :[FHL]*:*);;
83230 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83231 :[FH]-) ac_tag=-:-;;
83232 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83233 esac
83234 ac_save_IFS=$IFS
83235 IFS=:
83236 set x $ac_tag
83237 IFS=$ac_save_IFS
83238 shift
83239 ac_file=$1
83240 shift
83242 case $ac_mode in
83243 :L) ac_source=$1;;
83244 :[FH])
83245 ac_file_inputs=
83246 for ac_f
83248 case $ac_f in
83249 -) ac_f="$tmp/stdin";;
83250 *) # Look for the file first in the build tree, then in the source tree
83251 # (if the path is not absolute). The absolute path cannot be DOS-style,
83252 # because $ac_f cannot contain `:'.
83253 test -f "$ac_f" ||
83254 case $ac_f in
83255 [\\/$]*) false;;
83256 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83257 esac ||
83258 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83259 esac
83260 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83261 as_fn_append ac_file_inputs " '$ac_f'"
83262 done
83264 # Let's still pretend it is `configure' which instantiates (i.e., don't
83265 # use $as_me), people would be surprised to read:
83266 # /* config.h. Generated by config.status. */
83267 configure_input='Generated from '`
83268 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83269 `' by configure.'
83270 if test x"$ac_file" != x-; then
83271 configure_input="$ac_file. $configure_input"
83272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83273 $as_echo "$as_me: creating $ac_file" >&6;}
83275 # Neutralize special characters interpreted by sed in replacement strings.
83276 case $configure_input in #(
83277 *\&* | *\|* | *\\* )
83278 ac_sed_conf_input=`$as_echo "$configure_input" |
83279 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83280 *) ac_sed_conf_input=$configure_input;;
83281 esac
83283 case $ac_tag in
83284 *:-:* | *:-) cat >"$tmp/stdin" \
83285 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83286 esac
83288 esac
83290 ac_dir=`$as_dirname -- "$ac_file" ||
83291 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83292 X"$ac_file" : 'X\(//\)[^/]' \| \
83293 X"$ac_file" : 'X\(//\)$' \| \
83294 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83295 $as_echo X"$ac_file" |
83296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83297 s//\1/
83300 /^X\(\/\/\)[^/].*/{
83301 s//\1/
83304 /^X\(\/\/\)$/{
83305 s//\1/
83308 /^X\(\/\).*/{
83309 s//\1/
83312 s/.*/./; q'`
83313 as_dir="$ac_dir"; as_fn_mkdir_p
83314 ac_builddir=.
83316 case "$ac_dir" in
83317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83319 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83320 # A ".." for each directory in $ac_dir_suffix.
83321 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83322 case $ac_top_builddir_sub in
83323 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83324 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83325 esac ;;
83326 esac
83327 ac_abs_top_builddir=$ac_pwd
83328 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83329 # for backward compatibility:
83330 ac_top_builddir=$ac_top_build_prefix
83332 case $srcdir in
83333 .) # We are building in place.
83334 ac_srcdir=.
83335 ac_top_srcdir=$ac_top_builddir_sub
83336 ac_abs_top_srcdir=$ac_pwd ;;
83337 [\\/]* | ?:[\\/]* ) # Absolute name.
83338 ac_srcdir=$srcdir$ac_dir_suffix;
83339 ac_top_srcdir=$srcdir
83340 ac_abs_top_srcdir=$srcdir ;;
83341 *) # Relative name.
83342 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83343 ac_top_srcdir=$ac_top_build_prefix$srcdir
83344 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83345 esac
83346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83349 case $ac_mode in
83352 # CONFIG_FILE
83355 case $INSTALL in
83356 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83357 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83358 esac
83359 ac_MKDIR_P=$MKDIR_P
83360 case $MKDIR_P in
83361 [\\/$]* | ?:[\\/]* ) ;;
83362 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83363 esac
83364 _ACEOF
83366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83367 # If the template does not know about datarootdir, expand it.
83368 # FIXME: This hack should be removed a few years after 2.60.
83369 ac_datarootdir_hack=; ac_datarootdir_seen=
83370 ac_sed_dataroot='
83371 /datarootdir/ {
83375 /@datadir@/p
83376 /@docdir@/p
83377 /@infodir@/p
83378 /@localedir@/p
83379 /@mandir@/p'
83380 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83381 *datarootdir*) ac_datarootdir_seen=yes;;
83382 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83384 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83385 _ACEOF
83386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83387 ac_datarootdir_hack='
83388 s&@datadir@&$datadir&g
83389 s&@docdir@&$docdir&g
83390 s&@infodir@&$infodir&g
83391 s&@localedir@&$localedir&g
83392 s&@mandir@&$mandir&g
83393 s&\\\${datarootdir}&$datarootdir&g' ;;
83394 esac
83395 _ACEOF
83397 # Neutralize VPATH when `$srcdir' = `.'.
83398 # Shell code in configure.ac might set extrasub.
83399 # FIXME: do we really want to maintain this feature?
83400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83401 ac_sed_extra="$ac_vpsub
83402 $extrasub
83403 _ACEOF
83404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83407 s|@configure_input@|$ac_sed_conf_input|;t t
83408 s&@top_builddir@&$ac_top_builddir_sub&;t t
83409 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83410 s&@srcdir@&$ac_srcdir&;t t
83411 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83412 s&@top_srcdir@&$ac_top_srcdir&;t t
83413 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83414 s&@builddir@&$ac_builddir&;t t
83415 s&@abs_builddir@&$ac_abs_builddir&;t t
83416 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83417 s&@INSTALL@&$ac_INSTALL&;t t
83418 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83419 $ac_datarootdir_hack
83421 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83422 || as_fn_error "could not create $ac_file" "$LINENO" 5
83424 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83425 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83426 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83428 which seems to be undefined. Please make sure it is defined." >&5
83429 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83430 which seems to be undefined. Please make sure it is defined." >&2;}
83432 rm -f "$tmp/stdin"
83433 case $ac_file in
83434 -) cat "$tmp/out" && rm -f "$tmp/out";;
83435 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83436 esac \
83437 || as_fn_error "could not create $ac_file" "$LINENO" 5
83441 # CONFIG_HEADER
83443 if test x"$ac_file" != x-; then
83445 $as_echo "/* $configure_input */" \
83446 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83447 } >"$tmp/config.h" \
83448 || as_fn_error "could not create $ac_file" "$LINENO" 5
83449 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83450 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83451 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83452 else
83453 rm -f "$ac_file"
83454 mv "$tmp/config.h" "$ac_file" \
83455 || as_fn_error "could not create $ac_file" "$LINENO" 5
83457 else
83458 $as_echo "/* $configure_input */" \
83459 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83460 || as_fn_error "could not create -" "$LINENO" 5
83462 # Compute "$ac_file"'s index in $config_headers.
83463 _am_arg="$ac_file"
83464 _am_stamp_count=1
83465 for _am_header in $config_headers :; do
83466 case $_am_header in
83467 $_am_arg | $_am_arg:* )
83468 break ;;
83470 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83471 esac
83472 done
83473 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83474 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83475 X"$_am_arg" : 'X\(//\)[^/]' \| \
83476 X"$_am_arg" : 'X\(//\)$' \| \
83477 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83478 $as_echo X"$_am_arg" |
83479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83480 s//\1/
83483 /^X\(\/\/\)[^/].*/{
83484 s//\1/
83487 /^X\(\/\/\)$/{
83488 s//\1/
83491 /^X\(\/\).*/{
83492 s//\1/
83495 s/.*/./; q'`/stamp-h$_am_stamp_count
83498 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83499 $as_echo "$as_me: executing $ac_file commands" >&6;}
83501 esac
83504 case $ac_file$ac_mode in
83505 "default-1":C)
83506 # Only add multilib support code if we just rebuilt the top-level
83507 # Makefile.
83508 case " $CONFIG_FILES " in
83509 *" Makefile "*)
83510 ac_file=Makefile . ${multi_basedir}/config-ml.in
83512 esac ;;
83513 "libtool":C)
83515 # See if we are running on zsh, and set the options which allow our
83516 # commands through without removal of \ escapes.
83517 if test -n "${ZSH_VERSION+set}" ; then
83518 setopt NO_GLOB_SUBST
83521 cfgfile="${ofile}T"
83522 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83523 $RM "$cfgfile"
83525 cat <<_LT_EOF >> "$cfgfile"
83526 #! $SHELL
83528 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83529 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83530 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83531 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83533 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83534 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83535 # Written by Gordon Matzigkeit, 1996
83537 # This file is part of GNU Libtool.
83539 # GNU Libtool is free software; you can redistribute it and/or
83540 # modify it under the terms of the GNU General Public License as
83541 # published by the Free Software Foundation; either version 2 of
83542 # the License, or (at your option) any later version.
83544 # As a special exception to the GNU General Public License,
83545 # if you distribute this file as part of a program or library that
83546 # is built using GNU Libtool, you may include this file under the
83547 # same distribution terms that you use for the rest of that program.
83549 # GNU Libtool is distributed in the hope that it will be useful,
83550 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83551 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83552 # GNU General Public License for more details.
83554 # You should have received a copy of the GNU General Public License
83555 # along with GNU Libtool; see the file COPYING. If not, a copy
83556 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83557 # obtained by writing to the Free Software Foundation, Inc.,
83558 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83561 # The names of the tagged configurations supported by this script.
83562 available_tags="CXX "
83564 # ### BEGIN LIBTOOL CONFIG
83566 # Which release of libtool.m4 was used?
83567 macro_version=$macro_version
83568 macro_revision=$macro_revision
83570 # Whether or not to build shared libraries.
83571 build_libtool_libs=$enable_shared
83573 # Whether or not to build static libraries.
83574 build_old_libs=$enable_static
83576 # What type of objects to build.
83577 pic_mode=$pic_mode
83579 # Whether or not to optimize for fast installation.
83580 fast_install=$enable_fast_install
83582 # Shell to use when invoking shell scripts.
83583 SHELL=$lt_SHELL
83585 # An echo program that protects backslashes.
83586 ECHO=$lt_ECHO
83588 # The host system.
83589 host_alias=$host_alias
83590 host=$host
83591 host_os=$host_os
83593 # The build system.
83594 build_alias=$build_alias
83595 build=$build
83596 build_os=$build_os
83598 # A sed program that does not truncate output.
83599 SED=$lt_SED
83601 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83602 Xsed="\$SED -e 1s/^X//"
83604 # A grep program that handles long lines.
83605 GREP=$lt_GREP
83607 # An ERE matcher.
83608 EGREP=$lt_EGREP
83610 # A literal string matcher.
83611 FGREP=$lt_FGREP
83613 # A BSD- or MS-compatible name lister.
83614 NM=$lt_NM
83616 # Whether we need soft or hard links.
83617 LN_S=$lt_LN_S
83619 # What is the maximum length of a command?
83620 max_cmd_len=$max_cmd_len
83622 # Object file suffix (normally "o").
83623 objext=$ac_objext
83625 # Executable file suffix (normally "").
83626 exeext=$exeext
83628 # whether the shell understands "unset".
83629 lt_unset=$lt_unset
83631 # turn spaces into newlines.
83632 SP2NL=$lt_lt_SP2NL
83634 # turn newlines into spaces.
83635 NL2SP=$lt_lt_NL2SP
83637 # An object symbol dumper.
83638 OBJDUMP=$lt_OBJDUMP
83640 # Method to check whether dependent libraries are shared objects.
83641 deplibs_check_method=$lt_deplibs_check_method
83643 # Command to use when deplibs_check_method == "file_magic".
83644 file_magic_cmd=$lt_file_magic_cmd
83646 # The archiver.
83647 AR=$lt_AR
83648 AR_FLAGS=$lt_AR_FLAGS
83650 # A symbol stripping program.
83651 STRIP=$lt_STRIP
83653 # Commands used to install an old-style archive.
83654 RANLIB=$lt_RANLIB
83655 old_postinstall_cmds=$lt_old_postinstall_cmds
83656 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83658 # Whether to use a lock for old archive extraction.
83659 lock_old_archive_extraction=$lock_old_archive_extraction
83661 # A C compiler.
83662 LTCC=$lt_CC
83664 # LTCC compiler flags.
83665 LTCFLAGS=$lt_CFLAGS
83667 # Take the output of nm and produce a listing of raw symbols and C names.
83668 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83670 # Transform the output of nm in a proper C declaration.
83671 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83673 # Transform the output of nm in a C name address pair.
83674 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83676 # Transform the output of nm in a C name address pair when lib prefix is needed.
83677 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83679 # The name of the directory that contains temporary libtool files.
83680 objdir=$objdir
83682 # Used to examine libraries when file_magic_cmd begins with "file".
83683 MAGIC_CMD=$MAGIC_CMD
83685 # Must we lock files when doing compilation?
83686 need_locks=$lt_need_locks
83688 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83689 DSYMUTIL=$lt_DSYMUTIL
83691 # Tool to change global to local symbols on Mac OS X.
83692 NMEDIT=$lt_NMEDIT
83694 # Tool to manipulate fat objects and archives on Mac OS X.
83695 LIPO=$lt_LIPO
83697 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83698 OTOOL=$lt_OTOOL
83700 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83701 OTOOL64=$lt_OTOOL64
83703 # Old archive suffix (normally "a").
83704 libext=$libext
83706 # Shared library suffix (normally ".so").
83707 shrext_cmds=$lt_shrext_cmds
83709 # The commands to extract the exported symbol list from a shared archive.
83710 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83712 # Variables whose values should be saved in libtool wrapper scripts and
83713 # restored at link time.
83714 variables_saved_for_relink=$lt_variables_saved_for_relink
83716 # Do we need the "lib" prefix for modules?
83717 need_lib_prefix=$need_lib_prefix
83719 # Do we need a version for libraries?
83720 need_version=$need_version
83722 # Library versioning type.
83723 version_type=$version_type
83725 # Shared library runtime path variable.
83726 runpath_var=$runpath_var
83728 # Shared library path variable.
83729 shlibpath_var=$shlibpath_var
83731 # Is shlibpath searched before the hard-coded library search path?
83732 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83734 # Format of library name prefix.
83735 libname_spec=$lt_libname_spec
83737 # List of archive names. First name is the real one, the rest are links.
83738 # The last name is the one that the linker finds with -lNAME
83739 library_names_spec=$lt_library_names_spec
83741 # The coded name of the library, if different from the real name.
83742 soname_spec=$lt_soname_spec
83744 # Permission mode override for installation of shared libraries.
83745 install_override_mode=$lt_install_override_mode
83747 # Command to use after installation of a shared archive.
83748 postinstall_cmds=$lt_postinstall_cmds
83750 # Command to use after uninstallation of a shared archive.
83751 postuninstall_cmds=$lt_postuninstall_cmds
83753 # Commands used to finish a libtool library installation in a directory.
83754 finish_cmds=$lt_finish_cmds
83756 # As "finish_cmds", except a single script fragment to be evaled but
83757 # not shown.
83758 finish_eval=$lt_finish_eval
83760 # Whether we should hardcode library paths into libraries.
83761 hardcode_into_libs=$hardcode_into_libs
83763 # Compile-time system search path for libraries.
83764 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83766 # Run-time system search path for libraries.
83767 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83769 # Whether dlopen is supported.
83770 dlopen_support=$enable_dlopen
83772 # Whether dlopen of programs is supported.
83773 dlopen_self=$enable_dlopen_self
83775 # Whether dlopen of statically linked programs is supported.
83776 dlopen_self_static=$enable_dlopen_self_static
83778 # Commands to strip libraries.
83779 old_striplib=$lt_old_striplib
83780 striplib=$lt_striplib
83783 # The linker used to build libraries.
83784 LD=$lt_LD
83786 # How to create reloadable object files.
83787 reload_flag=$lt_reload_flag
83788 reload_cmds=$lt_reload_cmds
83790 # Commands used to build an old-style archive.
83791 old_archive_cmds=$lt_old_archive_cmds
83793 # A language specific compiler.
83794 CC=$lt_compiler
83796 # Is the compiler the GNU compiler?
83797 with_gcc=$GCC
83799 # Compiler flag to turn off builtin functions.
83800 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83802 # How to pass a linker flag through the compiler.
83803 wl=$lt_lt_prog_compiler_wl
83805 # Additional compiler flags for building library objects.
83806 pic_flag=$lt_lt_prog_compiler_pic
83808 # Compiler flag to prevent dynamic linking.
83809 link_static_flag=$lt_lt_prog_compiler_static
83811 # Does compiler simultaneously support -c and -o options?
83812 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83814 # Whether or not to add -lc for building shared libraries.
83815 build_libtool_need_lc=$archive_cmds_need_lc
83817 # Whether or not to disallow shared libs when runtime libs are static.
83818 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83820 # Compiler flag to allow reflexive dlopens.
83821 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83823 # Compiler flag to generate shared objects directly from archives.
83824 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83826 # Whether the compiler copes with passing no objects directly.
83827 compiler_needs_object=$lt_compiler_needs_object
83829 # Create an old-style archive from a shared archive.
83830 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83832 # Create a temporary old-style archive to link instead of a shared archive.
83833 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83835 # Commands used to build a shared archive.
83836 archive_cmds=$lt_archive_cmds
83837 archive_expsym_cmds=$lt_archive_expsym_cmds
83839 # Commands used to build a loadable module if different from building
83840 # a shared archive.
83841 module_cmds=$lt_module_cmds
83842 module_expsym_cmds=$lt_module_expsym_cmds
83844 # Whether we are building with GNU ld or not.
83845 with_gnu_ld=$lt_with_gnu_ld
83847 # Flag that allows shared libraries with undefined symbols to be built.
83848 allow_undefined_flag=$lt_allow_undefined_flag
83850 # Flag that enforces no undefined symbols.
83851 no_undefined_flag=$lt_no_undefined_flag
83853 # Flag to hardcode \$libdir into a binary during linking.
83854 # This must work even if \$libdir does not exist
83855 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83857 # If ld is used when linking, flag to hardcode \$libdir into a binary
83858 # during linking. This must work even if \$libdir does not exist.
83859 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83861 # Whether we need a single "-rpath" flag with a separated argument.
83862 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83864 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83865 # DIR into the resulting binary.
83866 hardcode_direct=$hardcode_direct
83868 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83869 # DIR into the resulting binary and the resulting library dependency is
83870 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83871 # library is relocated.
83872 hardcode_direct_absolute=$hardcode_direct_absolute
83874 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83875 # into the resulting binary.
83876 hardcode_minus_L=$hardcode_minus_L
83878 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83879 # into the resulting binary.
83880 hardcode_shlibpath_var=$hardcode_shlibpath_var
83882 # Set to "yes" if building a shared library automatically hardcodes DIR
83883 # into the library and all subsequent libraries and executables linked
83884 # against it.
83885 hardcode_automatic=$hardcode_automatic
83887 # Set to yes if linker adds runtime paths of dependent libraries
83888 # to runtime path list.
83889 inherit_rpath=$inherit_rpath
83891 # Whether libtool must link a program against all its dependency libraries.
83892 link_all_deplibs=$link_all_deplibs
83894 # Fix the shell variable \$srcfile for the compiler.
83895 fix_srcfile_path=$lt_fix_srcfile_path
83897 # Set to "yes" if exported symbols are required.
83898 always_export_symbols=$always_export_symbols
83900 # The commands to list exported symbols.
83901 export_symbols_cmds=$lt_export_symbols_cmds
83903 # Symbols that should not be listed in the preloaded symbols.
83904 exclude_expsyms=$lt_exclude_expsyms
83906 # Symbols that must always be exported.
83907 include_expsyms=$lt_include_expsyms
83909 # Commands necessary for linking programs (against libraries) with templates.
83910 prelink_cmds=$lt_prelink_cmds
83912 # Specify filename containing input files.
83913 file_list_spec=$lt_file_list_spec
83915 # How to hardcode a shared library path into an executable.
83916 hardcode_action=$hardcode_action
83918 # The directories searched by this compiler when creating a shared library.
83919 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83921 # Dependencies to place before and after the objects being linked to
83922 # create a shared library.
83923 predep_objects=$lt_predep_objects
83924 postdep_objects=$lt_postdep_objects
83925 predeps=$lt_predeps
83926 postdeps=$lt_postdeps
83928 # The library search path used internally by the compiler when linking
83929 # a shared library.
83930 compiler_lib_search_path=$lt_compiler_lib_search_path
83932 # ### END LIBTOOL CONFIG
83934 _LT_EOF
83936 case $host_os in
83937 aix3*)
83938 cat <<\_LT_EOF >> "$cfgfile"
83939 # AIX sometimes has problems with the GCC collect2 program. For some
83940 # reason, if we set the COLLECT_NAMES environment variable, the problems
83941 # vanish in a puff of smoke.
83942 if test "X${COLLECT_NAMES+set}" != Xset; then
83943 COLLECT_NAMES=
83944 export COLLECT_NAMES
83946 _LT_EOF
83948 esac
83951 ltmain="$ac_aux_dir/ltmain.sh"
83954 # We use sed instead of cat because bash on DJGPP gets confused if
83955 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83956 # text mode, it properly converts lines to CR/LF. This bash problem
83957 # is reportedly fixed, but why not run on old versions too?
83958 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83959 || (rm -f "$cfgfile"; exit 1)
83961 case $xsi_shell in
83962 yes)
83963 cat << \_LT_EOF >> "$cfgfile"
83965 # func_dirname file append nondir_replacement
83966 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83967 # otherwise set result to NONDIR_REPLACEMENT.
83968 func_dirname ()
83970 case ${1} in
83971 */*) func_dirname_result="${1%/*}${2}" ;;
83972 * ) func_dirname_result="${3}" ;;
83973 esac
83976 # func_basename file
83977 func_basename ()
83979 func_basename_result="${1##*/}"
83982 # func_dirname_and_basename file append nondir_replacement
83983 # perform func_basename and func_dirname in a single function
83984 # call:
83985 # dirname: Compute the dirname of FILE. If nonempty,
83986 # add APPEND to the result, otherwise set result
83987 # to NONDIR_REPLACEMENT.
83988 # value returned in "$func_dirname_result"
83989 # basename: Compute filename of FILE.
83990 # value retuned in "$func_basename_result"
83991 # Implementation must be kept synchronized with func_dirname
83992 # and func_basename. For efficiency, we do not delegate to
83993 # those functions but instead duplicate the functionality here.
83994 func_dirname_and_basename ()
83996 case ${1} in
83997 */*) func_dirname_result="${1%/*}${2}" ;;
83998 * ) func_dirname_result="${3}" ;;
83999 esac
84000 func_basename_result="${1##*/}"
84003 # func_stripname prefix suffix name
84004 # strip PREFIX and SUFFIX off of NAME.
84005 # PREFIX and SUFFIX must not contain globbing or regex special
84006 # characters, hashes, percent signs, but SUFFIX may contain a leading
84007 # dot (in which case that matches only a dot).
84008 func_stripname ()
84010 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84011 # positional parameters, so assign one to ordinary parameter first.
84012 func_stripname_result=${3}
84013 func_stripname_result=${func_stripname_result#"${1}"}
84014 func_stripname_result=${func_stripname_result%"${2}"}
84017 # func_opt_split
84018 func_opt_split ()
84020 func_opt_split_opt=${1%%=*}
84021 func_opt_split_arg=${1#*=}
84024 # func_lo2o object
84025 func_lo2o ()
84027 case ${1} in
84028 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84029 *) func_lo2o_result=${1} ;;
84030 esac
84033 # func_xform libobj-or-source
84034 func_xform ()
84036 func_xform_result=${1%.*}.lo
84039 # func_arith arithmetic-term...
84040 func_arith ()
84042 func_arith_result=$(( $* ))
84045 # func_len string
84046 # STRING may not start with a hyphen.
84047 func_len ()
84049 func_len_result=${#1}
84052 _LT_EOF
84054 *) # Bourne compatible functions.
84055 cat << \_LT_EOF >> "$cfgfile"
84057 # func_dirname file append nondir_replacement
84058 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84059 # otherwise set result to NONDIR_REPLACEMENT.
84060 func_dirname ()
84062 # Extract subdirectory from the argument.
84063 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84064 if test "X$func_dirname_result" = "X${1}"; then
84065 func_dirname_result="${3}"
84066 else
84067 func_dirname_result="$func_dirname_result${2}"
84071 # func_basename file
84072 func_basename ()
84074 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84078 # func_stripname prefix suffix name
84079 # strip PREFIX and SUFFIX off of NAME.
84080 # PREFIX and SUFFIX must not contain globbing or regex special
84081 # characters, hashes, percent signs, but SUFFIX may contain a leading
84082 # dot (in which case that matches only a dot).
84083 # func_strip_suffix prefix name
84084 func_stripname ()
84086 case ${2} in
84087 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84088 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84089 esac
84092 # sed scripts:
84093 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84094 my_sed_long_arg='1s/^-[^=]*=//'
84096 # func_opt_split
84097 func_opt_split ()
84099 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84100 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84103 # func_lo2o object
84104 func_lo2o ()
84106 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84109 # func_xform libobj-or-source
84110 func_xform ()
84112 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84115 # func_arith arithmetic-term...
84116 func_arith ()
84118 func_arith_result=`expr "$@"`
84121 # func_len string
84122 # STRING may not start with a hyphen.
84123 func_len ()
84125 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84128 _LT_EOF
84129 esac
84131 case $lt_shell_append in
84132 yes)
84133 cat << \_LT_EOF >> "$cfgfile"
84135 # func_append var value
84136 # Append VALUE to the end of shell variable VAR.
84137 func_append ()
84139 eval "$1+=\$2"
84141 _LT_EOF
84144 cat << \_LT_EOF >> "$cfgfile"
84146 # func_append var value
84147 # Append VALUE to the end of shell variable VAR.
84148 func_append ()
84150 eval "$1=\$$1\$2"
84153 _LT_EOF
84155 esac
84158 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84159 || (rm -f "$cfgfile"; exit 1)
84161 mv -f "$cfgfile" "$ofile" ||
84162 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84163 chmod +x "$ofile"
84166 cat <<_LT_EOF >> "$ofile"
84168 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84170 # The linker used to build libraries.
84171 LD=$lt_LD_CXX
84173 # How to create reloadable object files.
84174 reload_flag=$lt_reload_flag_CXX
84175 reload_cmds=$lt_reload_cmds_CXX
84177 # Commands used to build an old-style archive.
84178 old_archive_cmds=$lt_old_archive_cmds_CXX
84180 # A language specific compiler.
84181 CC=$lt_compiler_CXX
84183 # Is the compiler the GNU compiler?
84184 with_gcc=$GCC_CXX
84186 # Compiler flag to turn off builtin functions.
84187 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84189 # How to pass a linker flag through the compiler.
84190 wl=$lt_lt_prog_compiler_wl_CXX
84192 # Additional compiler flags for building library objects.
84193 pic_flag=$lt_lt_prog_compiler_pic_CXX
84195 # Compiler flag to prevent dynamic linking.
84196 link_static_flag=$lt_lt_prog_compiler_static_CXX
84198 # Does compiler simultaneously support -c and -o options?
84199 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84201 # Whether or not to add -lc for building shared libraries.
84202 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84204 # Whether or not to disallow shared libs when runtime libs are static.
84205 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84207 # Compiler flag to allow reflexive dlopens.
84208 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84210 # Compiler flag to generate shared objects directly from archives.
84211 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84213 # Whether the compiler copes with passing no objects directly.
84214 compiler_needs_object=$lt_compiler_needs_object_CXX
84216 # Create an old-style archive from a shared archive.
84217 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84219 # Create a temporary old-style archive to link instead of a shared archive.
84220 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84222 # Commands used to build a shared archive.
84223 archive_cmds=$lt_archive_cmds_CXX
84224 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84226 # Commands used to build a loadable module if different from building
84227 # a shared archive.
84228 module_cmds=$lt_module_cmds_CXX
84229 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84231 # Whether we are building with GNU ld or not.
84232 with_gnu_ld=$lt_with_gnu_ld_CXX
84234 # Flag that allows shared libraries with undefined symbols to be built.
84235 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84237 # Flag that enforces no undefined symbols.
84238 no_undefined_flag=$lt_no_undefined_flag_CXX
84240 # Flag to hardcode \$libdir into a binary during linking.
84241 # This must work even if \$libdir does not exist
84242 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84244 # If ld is used when linking, flag to hardcode \$libdir into a binary
84245 # during linking. This must work even if \$libdir does not exist.
84246 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84248 # Whether we need a single "-rpath" flag with a separated argument.
84249 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84251 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84252 # DIR into the resulting binary.
84253 hardcode_direct=$hardcode_direct_CXX
84255 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84256 # DIR into the resulting binary and the resulting library dependency is
84257 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84258 # library is relocated.
84259 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84261 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84262 # into the resulting binary.
84263 hardcode_minus_L=$hardcode_minus_L_CXX
84265 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84266 # into the resulting binary.
84267 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84269 # Set to "yes" if building a shared library automatically hardcodes DIR
84270 # into the library and all subsequent libraries and executables linked
84271 # against it.
84272 hardcode_automatic=$hardcode_automatic_CXX
84274 # Set to yes if linker adds runtime paths of dependent libraries
84275 # to runtime path list.
84276 inherit_rpath=$inherit_rpath_CXX
84278 # Whether libtool must link a program against all its dependency libraries.
84279 link_all_deplibs=$link_all_deplibs_CXX
84281 # Fix the shell variable \$srcfile for the compiler.
84282 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84284 # Set to "yes" if exported symbols are required.
84285 always_export_symbols=$always_export_symbols_CXX
84287 # The commands to list exported symbols.
84288 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84290 # Symbols that should not be listed in the preloaded symbols.
84291 exclude_expsyms=$lt_exclude_expsyms_CXX
84293 # Symbols that must always be exported.
84294 include_expsyms=$lt_include_expsyms_CXX
84296 # Commands necessary for linking programs (against libraries) with templates.
84297 prelink_cmds=$lt_prelink_cmds_CXX
84299 # Specify filename containing input files.
84300 file_list_spec=$lt_file_list_spec_CXX
84302 # How to hardcode a shared library path into an executable.
84303 hardcode_action=$hardcode_action_CXX
84305 # The directories searched by this compiler when creating a shared library.
84306 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84308 # Dependencies to place before and after the objects being linked to
84309 # create a shared library.
84310 predep_objects=$lt_predep_objects_CXX
84311 postdep_objects=$lt_postdep_objects_CXX
84312 predeps=$lt_predeps_CXX
84313 postdeps=$lt_postdeps_CXX
84315 # The library search path used internally by the compiler when linking
84316 # a shared library.
84317 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84319 # ### END LIBTOOL TAG CONFIG: CXX
84320 _LT_EOF
84323 "include/gstdint.h":C)
84324 if test "$GCC" = yes; then
84325 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84326 else
84327 echo "/* generated for $CC */" > tmp-stdint.h
84330 sed 's/^ *//' >> tmp-stdint.h <<EOF
84332 #ifndef GCC_GENERATED_STDINT_H
84333 #define GCC_GENERATED_STDINT_H 1
84335 #include <sys/types.h>
84338 if test "$acx_cv_header_stdint" != stdint.h; then
84339 echo "#include <stddef.h>" >> tmp-stdint.h
84341 if test "$acx_cv_header_stdint" != stddef.h; then
84342 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84345 sed 's/^ *//' >> tmp-stdint.h <<EOF
84346 /* glibc uses these symbols as guards to prevent redefinitions. */
84347 #ifdef __int8_t_defined
84348 #define _INT8_T
84349 #define _INT16_T
84350 #define _INT32_T
84351 #endif
84352 #ifdef __uint32_t_defined
84353 #define _UINT32_T
84354 #endif
84358 # ----------------- done header, emit basic int types -------------
84359 if test "$acx_cv_header_stdint" = stddef.h; then
84360 sed 's/^ *//' >> tmp-stdint.h <<EOF
84362 #ifndef _UINT8_T
84363 #define _UINT8_T
84364 #ifndef __uint8_t_defined
84365 #define __uint8_t_defined
84366 #ifndef uint8_t
84367 typedef unsigned $acx_cv_type_int8_t uint8_t;
84368 #endif
84369 #endif
84370 #endif
84372 #ifndef _UINT16_T
84373 #define _UINT16_T
84374 #ifndef __uint16_t_defined
84375 #define __uint16_t_defined
84376 #ifndef uint16_t
84377 typedef unsigned $acx_cv_type_int16_t uint16_t;
84378 #endif
84379 #endif
84380 #endif
84382 #ifndef _UINT32_T
84383 #define _UINT32_T
84384 #ifndef __uint32_t_defined
84385 #define __uint32_t_defined
84386 #ifndef uint32_t
84387 typedef unsigned $acx_cv_type_int32_t uint32_t;
84388 #endif
84389 #endif
84390 #endif
84392 #ifndef _INT8_T
84393 #define _INT8_T
84394 #ifndef __int8_t_defined
84395 #define __int8_t_defined
84396 #ifndef int8_t
84397 typedef $acx_cv_type_int8_t int8_t;
84398 #endif
84399 #endif
84400 #endif
84402 #ifndef _INT16_T
84403 #define _INT16_T
84404 #ifndef __int16_t_defined
84405 #define __int16_t_defined
84406 #ifndef int16_t
84407 typedef $acx_cv_type_int16_t int16_t;
84408 #endif
84409 #endif
84410 #endif
84412 #ifndef _INT32_T
84413 #define _INT32_T
84414 #ifndef __int32_t_defined
84415 #define __int32_t_defined
84416 #ifndef int32_t
84417 typedef $acx_cv_type_int32_t int32_t;
84418 #endif
84419 #endif
84420 #endif
84422 elif test "$ac_cv_type_u_int32_t" = yes; then
84423 sed 's/^ *//' >> tmp-stdint.h <<EOF
84425 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84426 #ifndef _INT8_T
84427 #define _INT8_T
84428 #endif
84429 #ifndef _INT16_T
84430 #define _INT16_T
84431 #endif
84432 #ifndef _INT32_T
84433 #define _INT32_T
84434 #endif
84436 #ifndef _UINT8_T
84437 #define _UINT8_T
84438 #ifndef __uint8_t_defined
84439 #define __uint8_t_defined
84440 #ifndef uint8_t
84441 typedef u_int8_t uint8_t;
84442 #endif
84443 #endif
84444 #endif
84446 #ifndef _UINT16_T
84447 #define _UINT16_T
84448 #ifndef __uint16_t_defined
84449 #define __uint16_t_defined
84450 #ifndef uint16_t
84451 typedef u_int16_t uint16_t;
84452 #endif
84453 #endif
84454 #endif
84456 #ifndef _UINT32_T
84457 #define _UINT32_T
84458 #ifndef __uint32_t_defined
84459 #define __uint32_t_defined
84460 #ifndef uint32_t
84461 typedef u_int32_t uint32_t;
84462 #endif
84463 #endif
84464 #endif
84466 else
84467 sed 's/^ *//' >> tmp-stdint.h <<EOF
84469 /* Some systems have guard macros to prevent redefinitions, define them. */
84470 #ifndef _INT8_T
84471 #define _INT8_T
84472 #endif
84473 #ifndef _INT16_T
84474 #define _INT16_T
84475 #endif
84476 #ifndef _INT32_T
84477 #define _INT32_T
84478 #endif
84479 #ifndef _UINT8_T
84480 #define _UINT8_T
84481 #endif
84482 #ifndef _UINT16_T
84483 #define _UINT16_T
84484 #endif
84485 #ifndef _UINT32_T
84486 #define _UINT32_T
84487 #endif
84491 # ------------- done basic int types, emit int64_t types ------------
84492 if test "$ac_cv_type_uint64_t" = yes; then
84493 sed 's/^ *//' >> tmp-stdint.h <<EOF
84495 /* system headers have good uint64_t and int64_t */
84496 #ifndef _INT64_T
84497 #define _INT64_T
84498 #endif
84499 #ifndef _UINT64_T
84500 #define _UINT64_T
84501 #endif
84503 elif test "$ac_cv_type_u_int64_t" = yes; then
84504 sed 's/^ *//' >> tmp-stdint.h <<EOF
84506 /* system headers have an u_int64_t (and int64_t) */
84507 #ifndef _INT64_T
84508 #define _INT64_T
84509 #endif
84510 #ifndef _UINT64_T
84511 #define _UINT64_T
84512 #ifndef __uint64_t_defined
84513 #define __uint64_t_defined
84514 #ifndef uint64_t
84515 typedef u_int64_t uint64_t;
84516 #endif
84517 #endif
84518 #endif
84520 elif test -n "$acx_cv_type_int64_t"; then
84521 sed 's/^ *//' >> tmp-stdint.h <<EOF
84523 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84524 #ifndef _INT64_T
84525 #define _INT64_T
84526 #ifndef int64_t
84527 typedef $acx_cv_type_int64_t int64_t;
84528 #endif
84529 #endif
84530 #ifndef _UINT64_T
84531 #define _UINT64_T
84532 #ifndef __uint64_t_defined
84533 #define __uint64_t_defined
84534 #ifndef uint64_t
84535 typedef unsigned $acx_cv_type_int64_t uint64_t;
84536 #endif
84537 #endif
84538 #endif
84540 else
84541 sed 's/^ *//' >> tmp-stdint.h <<EOF
84543 /* some common heuristics for int64_t, using compiler-specific tests */
84544 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84545 #ifndef _INT64_T
84546 #define _INT64_T
84547 #ifndef __int64_t_defined
84548 #ifndef int64_t
84549 typedef long long int64_t;
84550 #endif
84551 #endif
84552 #endif
84553 #ifndef _UINT64_T
84554 #define _UINT64_T
84555 #ifndef uint64_t
84556 typedef unsigned long long uint64_t;
84557 #endif
84558 #endif
84560 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84561 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84562 does not implement __extension__. But that compiler doesn't define
84563 __GNUC_MINOR__. */
84564 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84565 # define __extension__
84566 # endif
84568 # ifndef _INT64_T
84569 # define _INT64_T
84570 # ifndef int64_t
84571 __extension__ typedef long long int64_t;
84572 # endif
84573 # endif
84574 # ifndef _UINT64_T
84575 # define _UINT64_T
84576 # ifndef uint64_t
84577 __extension__ typedef unsigned long long uint64_t;
84578 # endif
84579 # endif
84581 #elif !defined __STRICT_ANSI__
84582 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84584 # ifndef _INT64_T
84585 # define _INT64_T
84586 # ifndef int64_t
84587 typedef __int64 int64_t;
84588 # endif
84589 # endif
84590 # ifndef _UINT64_T
84591 # define _UINT64_T
84592 # ifndef uint64_t
84593 typedef unsigned __int64 uint64_t;
84594 # endif
84595 # endif
84596 # endif /* compiler */
84598 #endif /* ANSI version */
84602 # ------------- done int64_t types, emit intptr types ------------
84603 if test "$ac_cv_type_uintptr_t" != yes; then
84604 sed 's/^ *//' >> tmp-stdint.h <<EOF
84606 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84607 #ifndef __uintptr_t_defined
84608 #ifndef uintptr_t
84609 typedef u$acx_cv_type_intptr_t uintptr_t;
84610 #endif
84611 #endif
84612 #ifndef __intptr_t_defined
84613 #ifndef intptr_t
84614 typedef $acx_cv_type_intptr_t intptr_t;
84615 #endif
84616 #endif
84620 # ------------- done intptr types, emit int_least types ------------
84621 if test "$ac_cv_type_int_least32_t" != yes; then
84622 sed 's/^ *//' >> tmp-stdint.h <<EOF
84624 /* Define int_least types */
84625 typedef int8_t int_least8_t;
84626 typedef int16_t int_least16_t;
84627 typedef int32_t int_least32_t;
84628 #ifdef _INT64_T
84629 typedef int64_t int_least64_t;
84630 #endif
84632 typedef uint8_t uint_least8_t;
84633 typedef uint16_t uint_least16_t;
84634 typedef uint32_t uint_least32_t;
84635 #ifdef _UINT64_T
84636 typedef uint64_t uint_least64_t;
84637 #endif
84641 # ------------- done intptr types, emit int_fast types ------------
84642 if test "$ac_cv_type_int_fast32_t" != yes; then
84643 sed 's/^ *//' >> tmp-stdint.h <<EOF
84645 /* Define int_fast types. short is often slow */
84646 typedef int8_t int_fast8_t;
84647 typedef int int_fast16_t;
84648 typedef int32_t int_fast32_t;
84649 #ifdef _INT64_T
84650 typedef int64_t int_fast64_t;
84651 #endif
84653 typedef uint8_t uint_fast8_t;
84654 typedef unsigned int uint_fast16_t;
84655 typedef uint32_t uint_fast32_t;
84656 #ifdef _UINT64_T
84657 typedef uint64_t uint_fast64_t;
84658 #endif
84662 if test "$ac_cv_type_uintmax_t" != yes; then
84663 sed 's/^ *//' >> tmp-stdint.h <<EOF
84665 /* Define intmax based on what we found */
84666 #ifndef intmax_t
84667 #ifdef _INT64_T
84668 typedef int64_t intmax_t;
84669 #else
84670 typedef long intmax_t;
84671 #endif
84672 #endif
84673 #ifndef uintmax_t
84674 #ifdef _UINT64_T
84675 typedef uint64_t uintmax_t;
84676 #else
84677 typedef unsigned long uintmax_t;
84678 #endif
84679 #endif
84683 sed 's/^ *//' >> tmp-stdint.h <<EOF
84685 #endif /* GCC_GENERATED_STDINT_H */
84688 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84689 rm -f tmp-stdint.h
84690 else
84691 mv -f tmp-stdint.h include/gstdint.h
84695 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84696 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84697 "include/Makefile":F) cat > vpsed$$ << \_EOF
84698 s!`test -f '$<' || echo '$(srcdir)/'`!!
84699 _EOF
84700 sed -f vpsed$$ $ac_file > tmp$$
84701 mv tmp$$ $ac_file
84702 rm vpsed$$
84703 echo 'MULTISUBDIR =' >> $ac_file
84704 ml_norecursion=yes
84705 . ${multi_basedir}/config-ml.in
84706 { ml_norecursion=; unset ml_norecursion;}
84708 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84709 s!`test -f '$<' || echo '$(srcdir)/'`!!
84710 _EOF
84711 sed -f vpsed$$ $ac_file > tmp$$
84712 mv tmp$$ $ac_file
84713 rm vpsed$$
84714 echo 'MULTISUBDIR =' >> $ac_file
84715 ml_norecursion=yes
84716 . ${multi_basedir}/config-ml.in
84717 { ml_norecursion=; unset ml_norecursion;}
84719 "src/Makefile":F) cat > vpsed$$ << \_EOF
84720 s!`test -f '$<' || echo '$(srcdir)/'`!!
84721 _EOF
84722 sed -f vpsed$$ $ac_file > tmp$$
84723 mv tmp$$ $ac_file
84724 rm vpsed$$
84725 echo 'MULTISUBDIR =' >> $ac_file
84726 ml_norecursion=yes
84727 . ${multi_basedir}/config-ml.in
84728 { ml_norecursion=; unset ml_norecursion;}
84730 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84731 s!`test -f '$<' || echo '$(srcdir)/'`!!
84732 _EOF
84733 sed -f vpsed$$ $ac_file > tmp$$
84734 mv tmp$$ $ac_file
84735 rm vpsed$$
84736 echo 'MULTISUBDIR =' >> $ac_file
84737 ml_norecursion=yes
84738 . ${multi_basedir}/config-ml.in
84739 { ml_norecursion=; unset ml_norecursion;}
84741 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84742 s!`test -f '$<' || echo '$(srcdir)/'`!!
84743 _EOF
84744 sed -f vpsed$$ $ac_file > tmp$$
84745 mv tmp$$ $ac_file
84746 rm vpsed$$
84747 echo 'MULTISUBDIR =' >> $ac_file
84748 ml_norecursion=yes
84749 . ${multi_basedir}/config-ml.in
84750 { ml_norecursion=; unset ml_norecursion;}
84752 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84753 s!`test -f '$<' || echo '$(srcdir)/'`!!
84754 _EOF
84755 sed -f vpsed$$ $ac_file > tmp$$
84756 mv tmp$$ $ac_file
84757 rm vpsed$$
84758 echo 'MULTISUBDIR =' >> $ac_file
84759 ml_norecursion=yes
84760 . ${multi_basedir}/config-ml.in
84761 { ml_norecursion=; unset ml_norecursion;}
84763 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84764 s!`test -f '$<' || echo '$(srcdir)/'`!!
84765 _EOF
84766 sed -f vpsed$$ $ac_file > tmp$$
84767 mv tmp$$ $ac_file
84768 rm vpsed$$
84769 echo 'MULTISUBDIR =' >> $ac_file
84770 ml_norecursion=yes
84771 . ${multi_basedir}/config-ml.in
84772 { ml_norecursion=; unset ml_norecursion;}
84774 "po/Makefile":F) cat > vpsed$$ << \_EOF
84775 s!`test -f '$<' || echo '$(srcdir)/'`!!
84776 _EOF
84777 sed -f vpsed$$ $ac_file > tmp$$
84778 mv tmp$$ $ac_file
84779 rm vpsed$$
84780 echo 'MULTISUBDIR =' >> $ac_file
84781 ml_norecursion=yes
84782 . ${multi_basedir}/config-ml.in
84783 { ml_norecursion=; unset ml_norecursion;}
84785 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84786 s!`test -f '$<' || echo '$(srcdir)/'`!!
84787 _EOF
84788 sed -f vpsed$$ $ac_file > tmp$$
84789 mv tmp$$ $ac_file
84790 rm vpsed$$
84791 echo 'MULTISUBDIR =' >> $ac_file
84792 ml_norecursion=yes
84793 . ${multi_basedir}/config-ml.in
84794 { ml_norecursion=; unset ml_norecursion;}
84796 "python/Makefile":F) cat > vpsed$$ << \_EOF
84797 s!`test -f '$<' || echo '$(srcdir)/'`!!
84798 _EOF
84799 sed -f vpsed$$ $ac_file > tmp$$
84800 mv tmp$$ $ac_file
84801 rm vpsed$$
84802 echo 'MULTISUBDIR =' >> $ac_file
84803 ml_norecursion=yes
84804 . ${multi_basedir}/config-ml.in
84805 { ml_norecursion=; unset ml_norecursion;}
84807 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84809 esac
84810 done # for ac_tag
84813 as_fn_exit 0
84814 _ACEOF
84815 ac_clean_files=$ac_clean_files_save
84817 test $ac_write_fail = 0 ||
84818 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84821 # configure is writing to config.log, and then calls config.status.
84822 # config.status does its own redirection, appending to config.log.
84823 # Unfortunately, on DOS this fails, as config.log is still kept open
84824 # by configure, so config.status won't be able to write to it; its
84825 # output is simply discarded. So we exec the FD to /dev/null,
84826 # effectively closing config.log, so it can be properly (re)opened and
84827 # appended to by config.status. When coming back to configure, we
84828 # need to make the FD available again.
84829 if test "$no_create" != yes; then
84830 ac_cs_success=:
84831 ac_config_status_args=
84832 test "$silent" = yes &&
84833 ac_config_status_args="$ac_config_status_args --quiet"
84834 exec 5>/dev/null
84835 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84836 exec 5>>config.log
84837 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84838 # would make configure fail if this is the last instruction.
84839 $ac_cs_success || as_fn_exit $?
84841 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84843 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}